diff --git a/_maps/map_files/RandomRuins/SpaceRuins/abandoned_engi_sat.dmm b/_maps/map_files/RandomRuins/SpaceRuins/abandoned_engi_sat.dmm index 0d2555c7a029..17b1b003e196 100644 --- a/_maps/map_files/RandomRuins/SpaceRuins/abandoned_engi_sat.dmm +++ b/_maps/map_files/RandomRuins/SpaceRuins/abandoned_engi_sat.dmm @@ -1109,7 +1109,6 @@ }, /obj/structure/cable{ icon_state = "0-2"; - pixel_y = 1; d2 = 2 }, /obj/machinery/computer/nonfunctional, diff --git a/_maps/map_files/RandomRuins/SpaceRuins/abandonedzoo.dmm b/_maps/map_files/RandomRuins/SpaceRuins/abandonedzoo.dmm index 4a808d0dbe34..a6166b2c411f 100644 --- a/_maps/map_files/RandomRuins/SpaceRuins/abandonedzoo.dmm +++ b/_maps/map_files/RandomRuins/SpaceRuins/abandonedzoo.dmm @@ -46,8 +46,7 @@ /obj/structure/cable{ d1 = 2; d2 = 4; - icon_state = "2-4"; - tag = "" + icon_state = "2-4" }, /obj/structure/cable{ d2 = 2; @@ -223,8 +222,7 @@ /obj/structure/cable{ d1 = 2; d2 = 4; - icon_state = "2-4"; - tag = "" + icon_state = "2-4" }, /turf/simulated/floor/plating/airless, /area/ruin/space/unpowered) @@ -281,8 +279,7 @@ /obj/structure/cable{ d1 = 1; d2 = 8; - icon_state = "1-8"; - tag = "" + icon_state = "1-8" }, /obj/structure/cable{ d2 = 8; @@ -560,8 +557,7 @@ /obj/structure/cable{ d1 = 1; d2 = 8; - icon_state = "1-8"; - tag = "" + icon_state = "1-8" }, /obj/structure/cable, /obj/structure/cable{ @@ -748,8 +744,7 @@ /obj/structure/cable{ d1 = 1; d2 = 8; - icon_state = "1-8"; - tag = "" + icon_state = "1-8" }, /obj/structure/cable, /turf/simulated/floor/plating/airless, diff --git a/_maps/map_files/RandomRuins/SpaceRuins/debris1.dmm b/_maps/map_files/RandomRuins/SpaceRuins/debris1.dmm index 4fabbe1c4c7d..0685cdb39eb4 100644 --- a/_maps/map_files/RandomRuins/SpaceRuins/debris1.dmm +++ b/_maps/map_files/RandomRuins/SpaceRuins/debris1.dmm @@ -96,8 +96,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /turf/simulated/floor/plating/burnt/airless, /area/space) diff --git a/_maps/map_files/RandomRuins/SpaceRuins/deepstorage.dmm b/_maps/map_files/RandomRuins/SpaceRuins/deepstorage.dmm index c0071384ce9a..0d2e9575100d 100644 --- a/_maps/map_files/RandomRuins/SpaceRuins/deepstorage.dmm +++ b/_maps/map_files/RandomRuins/SpaceRuins/deepstorage.dmm @@ -681,8 +681,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /turf/simulated/floor/plasteel, /area/ruin/space/unpowered) @@ -690,8 +689,7 @@ /obj/structure/cable{ d1 = 1; d2 = 8; - icon_state = "1-8"; - tag = "" + icon_state = "1-8" }, /turf/simulated/floor/plasteel, /area/ruin/space/unpowered) diff --git a/_maps/map_files/RandomRuins/SpaceRuins/listeningpost.dmm b/_maps/map_files/RandomRuins/SpaceRuins/listeningpost.dmm index 565716ca4b3b..6ce8c2e053f7 100644 --- a/_maps/map_files/RandomRuins/SpaceRuins/listeningpost.dmm +++ b/_maps/map_files/RandomRuins/SpaceRuins/listeningpost.dmm @@ -44,8 +44,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /turf/simulated/floor/plating/airless, /area/ruin/space/syndicate_listening_station/asteroid) @@ -72,8 +71,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /obj/structure/fans/tiny, /obj/effect/decal/cleanable/dirt, @@ -93,8 +91,7 @@ /obj/structure/cable{ d1 = 1; d2 = 2; - icon_state = "1-2"; - tag = "" + icon_state = "1-2" }, /obj/machinery/light{ dir = 8 @@ -136,8 +133,7 @@ /obj/structure/cable{ d1 = 1; d2 = 2; - icon_state = "1-2"; - tag = "" + icon_state = "1-2" }, /obj/structure/falsewall/rock_ancient, /turf/simulated/floor/plating/airless, @@ -146,8 +142,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /obj/structure/cable{ d1 = 2; @@ -157,8 +152,7 @@ /obj/structure/cable{ d1 = 1; d2 = 4; - icon_state = "1-4"; - tag = "90Curve" + icon_state = "1-4" }, /turf/simulated/floor/plating/airless, /area/ruin/space/syndicate_listening_station/asteroid) @@ -166,8 +160,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /obj/structure/falsewall/rock_ancient, /turf/simulated/floor/plating/airless, @@ -176,8 +169,7 @@ /obj/structure/cable{ d1 = 1; d2 = 2; - icon_state = "1-2"; - tag = "" + icon_state = "1-2" }, /turf/simulated/floor/plating/airless, /area/ruin/space/syndicate_listening_station/asteroid) @@ -189,8 +181,7 @@ }, /obj/structure/cable{ d2 = 2; - icon_state = "0-2"; - pixel_y = 1 + icon_state = "0-2" }, /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, @@ -246,8 +237,7 @@ /obj/structure/cable{ d1 = 1; d2 = 2; - icon_state = "1-2"; - tag = "" + icon_state = "1-2" }, /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel/dark, @@ -299,8 +289,7 @@ /obj/structure/cable{ d1 = 1; d2 = 2; - icon_state = "1-2"; - tag = "" + icon_state = "1-2" }, /obj/structure/cable{ d1 = 1; @@ -369,8 +358,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /obj/machinery/light/small{ dir = 1 @@ -389,8 +377,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, @@ -426,8 +413,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /obj/machinery/atmospherics/portable/canister/air, /obj/effect/decal/cleanable/dirt, @@ -502,16 +488,6 @@ }, /turf/simulated/floor/plating/airless, /area/ruin/space/syndicate_listening_station/asteroid) -"Pc" = ( -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2"; - tag = "" - }, -/obj/effect/decal/cleanable/dirt, -/turf/simulated/floor/plating, -/area/ruin/space/syndicate_listening_station) "PH" = ( /obj/item/gps/ruin{ gpstag = "Encrypted Signal" @@ -532,8 +508,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel/dark, @@ -546,8 +521,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, @@ -576,8 +550,7 @@ /obj/structure/cable{ d1 = 1; d2 = 2; - icon_state = "1-2"; - tag = "" + icon_state = "1-2" }, /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel/dark, @@ -598,8 +571,7 @@ /obj/structure/cable{ d1 = 1; d2 = 4; - icon_state = "1-4"; - tag = "90Curve" + icon_state = "1-4" }, /turf/simulated/floor/plating/airless, /area/ruin/space/syndicate_listening_station/asteroid) @@ -618,8 +590,7 @@ /obj/structure/cable{ d1 = 2; d2 = 8; - icon_state = "2-8"; - tag = "" + icon_state = "2-8" }, /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, @@ -1366,7 +1337,7 @@ yn kJ Em tF -Pc +Bt UM yv nC diff --git a/_maps/map_files/RandomRuins/SpaceRuins/meatpackers.dmm b/_maps/map_files/RandomRuins/SpaceRuins/meatpackers.dmm index c69993f78e3d..2a7e57d89d3c 100644 --- a/_maps/map_files/RandomRuins/SpaceRuins/meatpackers.dmm +++ b/_maps/map_files/RandomRuins/SpaceRuins/meatpackers.dmm @@ -137,8 +137,7 @@ "aC" = ( /obj/structure/cable{ d2 = 2; - icon_state = "0-2"; - pixel_y = 1 + icon_state = "0-2" }, /obj/machinery/power/apc/off_station/directional/north{ environment_channel = 2; @@ -188,8 +187,7 @@ /obj/structure/cable{ d1 = 1; d2 = 2; - icon_state = "1-2"; - tag = "" + icon_state = "1-2" }, /turf/simulated/floor/plating, /area/ruin/unpowered/BMPship/Delta) @@ -279,8 +277,7 @@ /obj/structure/cable{ d1 = 1; d2 = 2; - icon_state = "1-2"; - tag = "" + icon_state = "1-2" }, /turf/simulated/floor/plating, /area/ruin/unpowered/BMPship/Delta) @@ -440,8 +437,7 @@ /obj/structure/cable{ d1 = 1; d2 = 2; - icon_state = "1-2"; - tag = "" + icon_state = "1-2" }, /obj/effect/turf_decal/stripes/line, /turf/simulated/floor/plating, @@ -602,8 +598,7 @@ /obj/structure/cable{ d1 = 1; d2 = 2; - icon_state = "1-2"; - tag = "" + icon_state = "1-2" }, /obj/machinery/door/poddoor/shutters{ dir = 2; @@ -690,8 +685,7 @@ /obj/structure/cable{ d1 = 1; d2 = 2; - icon_state = "1-2"; - tag = "" + icon_state = "1-2" }, /turf/simulated/floor/plasteel, /area/ruin/unpowered/BMPship/Aft) @@ -702,8 +696,7 @@ /obj/structure/cable{ d1 = 1; d2 = 4; - icon_state = "1-4"; - tag = "" + icon_state = "1-4" }, /turf/simulated/floor/carpet, /area/ruin/unpowered/BMPship/Fore) @@ -711,8 +704,7 @@ /obj/structure/cable{ d1 = 2; d2 = 8; - icon_state = "2-8"; - tag = "" + icon_state = "2-8" }, /turf/simulated/floor/carpet, /area/ruin/unpowered/BMPship/Fore) @@ -789,8 +781,7 @@ "cU" = ( /obj/structure/cable{ d2 = 2; - icon_state = "0-2"; - pixel_y = 1 + icon_state = "0-2" }, /obj/machinery/power/apc/off_station/directional/north{ environment_channel = 0; @@ -841,8 +832,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /turf/simulated/floor/plasteel{ icon_state = "bar" @@ -852,8 +842,7 @@ /obj/structure/cable{ d1 = 2; d2 = 8; - icon_state = "2-8"; - tag = "" + icon_state = "2-8" }, /turf/simulated/floor/plasteel{ icon_state = "bar" @@ -880,20 +869,17 @@ /obj/structure/cable{ d1 = 1; d2 = 4; - icon_state = "1-4"; - tag = "" + icon_state = "1-4" }, /obj/structure/cable{ d1 = 2; d2 = 4; - icon_state = "2-4"; - tag = "" + icon_state = "2-4" }, /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /turf/simulated/floor/plasteel, /area/ruin/unpowered/BMPship/Aft) @@ -901,8 +887,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /turf/simulated/floor/plating, /area/ruin/unpowered/BMPship/Aft) @@ -910,8 +895,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /obj/structure/cable{ d1 = 2; @@ -924,14 +908,12 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /obj/structure/cable{ d1 = 1; d2 = 4; - icon_state = "1-4"; - tag = "" + icon_state = "1-4" }, /turf/simulated/floor/plating, /area/ruin/unpowered/BMPship/Aft) @@ -939,8 +921,7 @@ /obj/structure/cable{ d1 = 2; d2 = 8; - icon_state = "2-8"; - tag = "" + icon_state = "2-8" }, /obj/machinery/light/small{ dir = 4 @@ -985,8 +966,7 @@ /obj/structure/cable{ d1 = 1; d2 = 2; - icon_state = "1-2"; - tag = "" + icon_state = "1-2" }, /turf/simulated/floor/carpet, /area/ruin/unpowered/BMPship/Fore) @@ -1002,8 +982,7 @@ /obj/structure/cable{ d1 = 2; d2 = 4; - icon_state = "2-4"; - tag = "" + icon_state = "2-4" }, /turf/simulated/floor/plasteel{ icon_state = "bar" @@ -1013,8 +992,7 @@ /obj/structure/cable{ d1 = 1; d2 = 2; - icon_state = "1-2"; - tag = "" + icon_state = "1-2" }, /turf/simulated/floor/plasteel{ icon_state = "bar" @@ -1035,8 +1013,7 @@ /obj/structure/cable{ d1 = 1; d2 = 2; - icon_state = "1-2"; - tag = "" + icon_state = "1-2" }, /turf/simulated/floor/plasteel{ icon_state = "showroomfloor" @@ -1062,15 +1039,6 @@ "dG" = ( /turf/simulated/floor/plating, /area/ruin/unpowered/BMPship/Aft) -"dH" = ( -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2"; - tag = "" - }, -/turf/simulated/floor/plating, -/area/ruin/unpowered/BMPship/Aft) "dI" = ( /obj/machinery/door/airlock/titanium, /turf/simulated/floor/plating, @@ -1094,14 +1062,12 @@ /obj/structure/cable{ d1 = 2; d2 = 4; - icon_state = "2-4"; - tag = "" + icon_state = "2-4" }, /obj/structure/cable{ d1 = 1; d2 = 4; - icon_state = "1-4"; - tag = "" + icon_state = "1-4" }, /turf/simulated/floor/carpet, /area/ruin/unpowered/BMPship/Fore) @@ -1110,8 +1076,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /turf/simulated/floor/carpet, /area/ruin/unpowered/BMPship/Midship) @@ -1119,8 +1084,7 @@ /obj/structure/cable{ d1 = 1; d2 = 8; - icon_state = "1-8"; - tag = "" + icon_state = "1-8" }, /turf/simulated/floor/plasteel{ icon_state = "bar" @@ -1138,14 +1102,12 @@ /obj/structure/cable{ d1 = 2; d2 = 8; - icon_state = "2-8"; - tag = "" + icon_state = "2-8" }, /obj/structure/cable{ d1 = 1; d2 = 2; - icon_state = "1-2"; - tag = "" + icon_state = "1-2" }, /turf/simulated/floor/plasteel{ icon_state = "bar" @@ -1259,8 +1221,7 @@ /obj/structure/cable{ d1 = 1; d2 = 2; - icon_state = "1-2"; - tag = "" + icon_state = "1-2" }, /turf/simulated/floor/plasteel{ icon_state = "hydrofloor" @@ -1322,8 +1283,7 @@ /obj/structure/cable{ d1 = 1; d2 = 2; - icon_state = "1-2"; - tag = "" + icon_state = "1-2" }, /turf/simulated/floor/carpet, /area/ruin/unpowered/BMPship/Fore) @@ -1390,8 +1350,7 @@ /obj/structure/cable{ d1 = 1; d2 = 2; - icon_state = "1-2"; - tag = "" + icon_state = "1-2" }, /obj/structure/disposalpipe/segment{ dir = 4 @@ -1444,8 +1403,7 @@ /obj/structure/cable{ d1 = 2; d2 = 4; - icon_state = "2-4"; - tag = "" + icon_state = "2-4" }, /turf/simulated/floor/carpet, /area/ruin/unpowered/BMPship/Fore) @@ -1453,8 +1411,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /turf/simulated/floor/carpet, /area/ruin/unpowered/BMPship/Fore) @@ -1462,8 +1419,7 @@ /obj/structure/cable{ d1 = 1; d2 = 8; - icon_state = "1-8"; - tag = "" + icon_state = "1-8" }, /turf/simulated/floor/carpet, /area/ruin/unpowered/BMPship/Fore) @@ -1471,14 +1427,12 @@ /obj/structure/cable{ d1 = 1; d2 = 4; - icon_state = "1-4"; - tag = "" + icon_state = "1-4" }, /obj/structure/cable{ d1 = 2; d2 = 4; - icon_state = "2-4"; - tag = "" + icon_state = "2-4" }, /mob/living/simple_animal/hostile/pirate/ranged, /turf/simulated/floor/plasteel{ @@ -1489,14 +1443,12 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /obj/structure/cable{ d1 = 1; d2 = 4; - icon_state = "1-4"; - tag = "" + icon_state = "1-4" }, /turf/simulated/floor/plasteel{ icon_state = "bar" @@ -1570,8 +1522,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /turf/simulated/floor/plasteel{ icon_state = "bar" @@ -1581,8 +1532,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /turf/simulated/floor/plasteel{ icon_state = "showroomfloor" @@ -1668,8 +1618,7 @@ /obj/structure/cable{ d1 = 1; d2 = 2; - icon_state = "1-2"; - tag = "" + icon_state = "1-2" }, /obj/machinery/door/airlock/titanium, /turf/simulated/floor/carpet, @@ -1772,8 +1721,7 @@ /obj/structure/cable{ d1 = 1; d2 = 4; - icon_state = "1-4"; - tag = "" + icon_state = "1-4" }, /turf/simulated/floor/plating/airless, /area/ruin/unpowered/BMPship/Fore) @@ -1784,8 +1732,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /turf/simulated/floor/plating/airless, /area/ruin/unpowered/BMPship/Fore) @@ -1793,8 +1740,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /obj/effect/landmark/burnturf, /turf/simulated/floor/plating/airless, @@ -1803,8 +1749,7 @@ /obj/structure/cable{ d1 = 2; d2 = 8; - icon_state = "2-8"; - tag = "" + icon_state = "2-8" }, /obj/effect/landmark/damageturf, /turf/simulated/floor/plating/airless, @@ -1813,8 +1758,7 @@ /obj/structure/cable{ d1 = 1; d2 = 8; - icon_state = "1-8"; - tag = "" + icon_state = "1-8" }, /obj/item/kitchen/knife, /turf/simulated/floor/plasteel{ @@ -1833,8 +1777,7 @@ /obj/structure/cable{ d1 = 1; d2 = 4; - icon_state = "1-4"; - tag = "" + icon_state = "1-4" }, /turf/simulated/floor/plasteel{ icon_state = "showroomfloor" @@ -1844,8 +1787,7 @@ /obj/structure/cable{ d1 = 2; d2 = 8; - icon_state = "2-8"; - tag = "" + icon_state = "2-8" }, /turf/simulated/floor/plasteel{ icon_state = "showroomfloor" @@ -1888,8 +1830,7 @@ /obj/structure/cable{ d1 = 1; d2 = 2; - icon_state = "1-2"; - tag = "" + icon_state = "1-2" }, /turf/simulated/floor/plating/airless, /area/ruin/unpowered/BMPship/Fore) @@ -1961,8 +1902,7 @@ /obj/structure/cable{ d1 = 1; d2 = 2; - icon_state = "1-2"; - tag = "" + icon_state = "1-2" }, /turf/simulated/floor/plasteel, /area/ruin/unpowered/BMPship/Aft) @@ -1971,8 +1911,7 @@ /obj/structure/cable{ d1 = 1; d2 = 2; - icon_state = "1-2"; - tag = "" + icon_state = "1-2" }, /turf/simulated/floor/plasteel, /area/ruin/unpowered/BMPship/Aft) @@ -1990,8 +1929,7 @@ /obj/structure/cable{ d1 = 1; d2 = 2; - icon_state = "1-2"; - tag = "" + icon_state = "1-2" }, /obj/machinery/door/airlock/silver, /turf/simulated/floor/plating/airless, @@ -2086,8 +2024,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /turf/simulated/floor/plating/airless, /area/ruin/powered) @@ -2116,14 +2053,12 @@ /obj/structure/cable{ d1 = 1; d2 = 4; - icon_state = "1-4"; - tag = "" + icon_state = "1-4" }, /obj/structure/cable{ d1 = 1; d2 = 2; - icon_state = "1-2"; - tag = "" + icon_state = "1-2" }, /turf/simulated/floor/plasteel, /area/ruin/unpowered/BMPship/Aft) @@ -2131,8 +2066,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /turf/simulated/floor/plasteel, /area/ruin/unpowered/BMPship/Aft) @@ -2140,14 +2074,12 @@ /obj/structure/cable{ d1 = 1; d2 = 4; - icon_state = "1-4"; - tag = "" + icon_state = "1-4" }, /obj/structure/cable{ d1 = 1; d2 = 8; - icon_state = "1-8"; - tag = "" + icon_state = "1-8" }, /turf/simulated/floor/plasteel, /area/ruin/unpowered/BMPship/Aft) @@ -2204,8 +2136,7 @@ /obj/structure/cable{ d1 = 1; d2 = 2; - icon_state = "1-2"; - tag = "" + icon_state = "1-2" }, /turf/simulated/floor/plasteel, /area/ruin/unpowered/BMPship/Aft) @@ -2244,8 +2175,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /turf/simulated/floor/plating, /area/ruin/unpowered/BMPship/Aft) @@ -2253,8 +2183,7 @@ /obj/structure/cable{ d1 = 1; d2 = 8; - icon_state = "1-8"; - tag = "" + icon_state = "1-8" }, /turf/simulated/floor/plasteel, /area/ruin/unpowered/BMPship/Aft) @@ -2425,8 +2354,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /mob/living/simple_animal/hostile/pirate, /turf/simulated/floor/plasteel{ @@ -5085,7 +5013,7 @@ cB cB ee cB -dH +eA ge cB gG @@ -5179,7 +5107,7 @@ ad cl cT dm -dH +eA ef eA eA @@ -5281,9 +5209,9 @@ aa cl cV do -dH +eA eh -dH +eA eA fb dG diff --git a/_maps/map_files/RandomRuins/SpaceRuins/oldstation.dmm b/_maps/map_files/RandomRuins/SpaceRuins/oldstation.dmm index 4619d2990986..8906385eba16 100644 --- a/_maps/map_files/RandomRuins/SpaceRuins/oldstation.dmm +++ b/_maps/map_files/RandomRuins/SpaceRuins/oldstation.dmm @@ -1368,8 +1368,7 @@ "dX" = ( /obj/structure/cable{ d2 = 2; - icon_state = "0-2"; - pixel_y = 1 + icon_state = "0-2" }, /obj/effect/decal/cleanable/dirt, /obj/machinery/power/apc/off_station/empty_charge/directional/east, @@ -1628,8 +1627,7 @@ "eE" = ( /obj/structure/cable{ d2 = 2; - icon_state = "0-2"; - pixel_y = 1 + icon_state = "0-2" }, /obj/machinery/power/smes/engineering{ charge = 0 @@ -3315,8 +3313,7 @@ "id" = ( /obj/structure/cable{ d2 = 2; - icon_state = "0-2"; - pixel_y = 1 + icon_state = "0-2" }, /obj/effect/decal/cleanable/dirt, /obj/machinery/power/apc/off_station/empty_charge/directional/north, @@ -3437,8 +3434,7 @@ "ir" = ( /obj/structure/cable{ d2 = 2; - icon_state = "0-2"; - pixel_y = 1 + icon_state = "0-2" }, /obj/machinery/power/smes/engineering{ charge = 0 @@ -3768,8 +3764,7 @@ /obj/structure/cable{ d1 = 1; d2 = 4; - icon_state = "1-4"; - tag = "90Curve" + icon_state = "1-4" }, /obj/effect/decal/cleanable/dirt, /obj/item/kirbyplants/dead, @@ -4955,8 +4950,7 @@ /obj/item/salvage/ruin/nanotrasen, /obj/structure/cable{ d2 = 2; - icon_state = "0-2"; - pixel_y = 1 + icon_state = "0-2" }, /obj/machinery/power/apc/off_station/empty_charge/directional/west, /obj/effect/decal/cleanable/dirt, diff --git a/_maps/map_files/RandomRuins/SpaceRuins/onehalf.dmm b/_maps/map_files/RandomRuins/SpaceRuins/onehalf.dmm index 1f08f9eea575..592d9f2455ac 100644 --- a/_maps/map_files/RandomRuins/SpaceRuins/onehalf.dmm +++ b/_maps/map_files/RandomRuins/SpaceRuins/onehalf.dmm @@ -7,8 +7,7 @@ /obj/structure/cable{ d1 = 2; d2 = 4; - icon_state = "2-4"; - tag = "" + icon_state = "2-4" }, /turf/template_noop, /area/space/nearstation) @@ -17,8 +16,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /turf/template_noop, /area/space/nearstation) @@ -44,8 +42,7 @@ /obj/structure/cable{ d1 = 1; d2 = 8; - icon_state = "1-8"; - tag = "" + icon_state = "1-8" }, /turf/template_noop, /area/space/nearstation) @@ -242,8 +239,7 @@ /obj/structure/cable{ d1 = 2; d2 = 4; - icon_state = "2-4"; - tag = "" + icon_state = "2-4" }, /turf/simulated/floor/plasteel{ icon_state = "white" @@ -420,8 +416,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /obj/structure/cable{ d1 = 1; @@ -448,8 +443,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /obj/effect/landmark/damageturf, /turf/simulated/floor/plasteel/airless, @@ -461,8 +455,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /obj/structure/cable{ d1 = 1; @@ -479,8 +472,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /turf/simulated/floor/plasteel/airless, /area/ruin/space/onehalf/hallway) @@ -498,8 +490,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /obj/structure/cable{ d1 = 2; @@ -515,8 +506,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /turf/simulated/floor/plasteel/airless, /area/ruin/space/onehalf/hallway) @@ -530,8 +520,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /turf/simulated/floor/plasteel, /area/ruin/space/onehalf/drone_bay) @@ -542,8 +531,7 @@ /obj/structure/cable{ d1 = 1; d2 = 8; - icon_state = "1-8"; - tag = "" + icon_state = "1-8" }, /turf/simulated/floor/plasteel, /area/ruin/space/onehalf/drone_bay) @@ -873,8 +861,7 @@ /obj/structure/cable{ d1 = 2; d2 = 4; - icon_state = "2-4"; - tag = "" + icon_state = "2-4" }, /obj/structure/cable{ d1 = 1; @@ -898,8 +885,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /obj/machinery/door/poddoor/preopen{ id_tag = "onehalf bridge"; @@ -1153,8 +1139,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /obj/machinery/door/poddoor/preopen{ id_tag = "onehalf bridge"; @@ -1184,8 +1169,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /obj/item/shard{ icon_state = "medium" @@ -1197,8 +1181,7 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /obj/structure/cable{ d1 = 1; @@ -1213,14 +1196,12 @@ /obj/structure/cable{ d1 = 4; d2 = 8; - icon_state = "4-8"; - tag = "" + icon_state = "4-8" }, /obj/structure/cable{ d1 = 1; d2 = 8; - icon_state = "1-8"; - tag = "" + icon_state = "1-8" }, /turf/template_noop, /area/space/nearstation) diff --git a/_maps/map_files/RandomRuins/SpaceRuins/ussp.dmm b/_maps/map_files/RandomRuins/SpaceRuins/ussp.dmm index 5e2914e76a84..b5e365695954 100644 --- a/_maps/map_files/RandomRuins/SpaceRuins/ussp.dmm +++ b/_maps/map_files/RandomRuins/SpaceRuins/ussp.dmm @@ -1577,15 +1577,6 @@ icon_state = "darkred" }, /area/ruin/space/derelict/arrival) -"dV" = ( -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2"; - tag = "" - }, -/turf/simulated/floor/plasteel/dark, -/area/ruin/space/derelict/arrival) "dW" = ( /turf/simulated/wall/mineral/titanium/nodecon, /area/ruin/space/derelict/hallway/primary) @@ -1693,8 +1684,7 @@ "el" = ( /obj/structure/cable{ d2 = 2; - icon_state = "0-2"; - pixel_y = 1 + icon_state = "0-2" }, /obj/structure/musician/piano, /obj/machinery/power/apc/off_station/directional/north, @@ -1913,8 +1903,7 @@ /obj/structure/cable{ d1 = 1; d2 = 2; - icon_state = "1-2"; - tag = "" + icon_state = "1-2" }, /turf/simulated/floor/plasteel{ dir = 4; @@ -2008,8 +1997,7 @@ }, /obj/structure/cable{ d2 = 2; - icon_state = "0-2"; - pixel_y = 1 + icon_state = "0-2" }, /turf/simulated/floor/plasteel, /area/ruin/space/derelict/hallway/primary) @@ -2305,8 +2293,7 @@ /obj/structure/cable{ d1 = 2; d2 = 4; - icon_state = "2-4"; - tag = "" + icon_state = "2-4" }, /turf/simulated/floor/plasteel/dark, /area/ruin/space/derelict/arrival) @@ -2323,8 +2310,7 @@ /obj/structure/cable{ d1 = 1; d2 = 8; - icon_state = "1-8"; - tag = "" + icon_state = "1-8" }, /turf/simulated/floor/plasteel/dark, /area/ruin/space/derelict/arrival) @@ -2586,8 +2572,7 @@ }, /obj/structure/cable{ d2 = 2; - icon_state = "0-2"; - pixel_y = 1 + icon_state = "0-2" }, /turf/simulated/floor/plasteel{ dir = 4; @@ -2722,8 +2707,7 @@ "gC" = ( /obj/structure/cable{ d2 = 2; - icon_state = "0-2"; - pixel_y = 1 + icon_state = "0-2" }, /obj/machinery/power/apc/off_station/directional/north, /turf/simulated/floor/plasteel{ @@ -2894,8 +2878,7 @@ /obj/machinery/power/solar, /obj/structure/cable{ d2 = 2; - icon_state = "0-2"; - pixel_y = 1 + icon_state = "0-2" }, /turf/simulated/floor/plasteel/airless{ icon_state = "solarpanel" @@ -4967,26 +4950,6 @@ /obj/item/shard, /turf/template_noop, /area/ruin/space/derelict/hallway/primary) -"mb" = ( -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/obj/structure/cable{ - d1 = 1; - d2 = 4; - icon_state = "1-4"; - tag = "90Curve" - }, -/obj/structure/cable{ - d1 = 1; - d2 = 8; - icon_state = "1-8" - }, -/obj/structure/lattice/catwalk, -/turf/template_noop, -/area/ruin/space/derelict/solar_control) "mc" = ( /obj/structure/shuttle/engine/heater{ dir = 1 @@ -5567,8 +5530,7 @@ /obj/structure/cable{ d1 = 1; d2 = 4; - icon_state = "1-4"; - tag = "90Curve" + icon_state = "1-4" }, /turf/simulated/floor/plasteel/airless{ icon_state = "white" @@ -6587,8 +6549,7 @@ "qr" = ( /obj/structure/cable{ d2 = 2; - icon_state = "0-2"; - pixel_y = 1 + icon_state = "0-2" }, /turf/simulated/floor/plasteel/airless{ icon_state = "floorscorched2" @@ -8960,11 +8921,11 @@ ac aW bn dP -dV -dV -dV +fX +fX +fX eK -dV +fX fD fY do @@ -14499,11 +14460,11 @@ jP kJ ls jx -mb -mb -mb -mb -mb +su +su +su +su +su lH ac ac @@ -14867,11 +14828,11 @@ jP kJ ls jx -mb -mb -mb -mb -mb +su +su +su +su +su lH ac ac diff --git a/_maps/map_files/generic/centcomm.dmm b/_maps/map_files/generic/centcomm.dmm index fe487e55a34f..70b3b09ae741 100644 --- a/_maps/map_files/generic/centcomm.dmm +++ b/_maps/map_files/generic/centcomm.dmm @@ -5215,7 +5215,7 @@ name = "Nanotrasen Asset Protection Shutters"; pixel_x = -8; pixel_y = 30; - req_access_txt = "114" + req_access_txt = "109" }, /turf/simulated/floor/wood, /area/centcom/control) @@ -14018,10 +14018,11 @@ /area/centcom/specops) "Xo" = ( /obj/machinery/door_control/no_emag/no_cyborg{ + desc = "A remote control switch to connect the ready room to the rest of Centcom."; + id = "SPECOPS"; name = "Nanotrasen Asset Protection Shutters"; - req_access_txt = "114"; pixel_y = -24; - id = "SPECOPS" + req_access_txt = "109" }, /turf/simulated/floor/plasteel{ dir = 10; diff --git a/_maps/map_files220/generic/centcomm.dmm b/_maps/map_files220/generic/centcomm.dmm index 48286f47f347..b0ac3c440824 100644 --- a/_maps/map_files220/generic/centcomm.dmm +++ b/_maps/map_files220/generic/centcomm.dmm @@ -779,20 +779,22 @@ /area/syndicate_mothership/outside) "ayh" = ( /obj/machinery/door/airlock/centcom{ - name = "ОБР"; + name = "Дроп Под"; req_one_access_txt = "109" }, -/obj/machinery/door_control/no_emag/north{ - name = "Телепортер"; - id = "cc_teleport" - }, /obj/machinery/door/poddoor/impassable{ - name = "Телепортер"; + name = "Дроп Под"; layer = 3.2; closingLayer = 3.2; - id_tag = "cc_teleport" + id_tag = "cc_drop_pod_2" }, -/obj/effect/turf_decal/delivery/blue, +/obj/machinery/door_control/no_emag/no_cyborg{ + id = "cc_drop_pod_2"; + name = "Дроп Под"; + req_one_access_txt = "114"; + pixel_y = 24 + }, +/obj/effect/turf_decal/delivery/red, /turf/simulated/floor/plasteel/dark, /area/centcom/ss220/admin3) "ayu" = ( @@ -995,6 +997,11 @@ }, /turf/simulated/floor/plasteel/dark, /area/shuttle/administration) +"aFw" = ( +/turf/simulated/floor/plasteel/dark{ + icon_state = "darkbluealt" + }, +/area/centcom/ss220/admin3) "aFH" = ( /obj/structure/statue/sandstone/assistant{ anchored = 1; @@ -1220,7 +1227,10 @@ /obj/structure/light_fake/small{ dir = 1 }, -/turf/simulated/floor/plasteel/dark, +/turf/simulated/floor/plasteel/dark{ + dir = 8; + icon_state = "vault" + }, /area/centcom/ss220/admin3) "aMJ" = ( /obj/structure/rack, @@ -1803,6 +1813,14 @@ }, /turf/simulated/floor/plating/airless, /area/shuttle/syndicate_elite) +"bcu" = ( +/obj/effect/turf_decal/delivery/blue, +/obj/machinery/door/poddoor/multi_tile/two_tile_ver{ + id_tag = "ert_shuttle_door"; + name = "Шаттл ОБР" + }, +/turf/simulated/floor/plasteel/dark, +/area/centcom/ss220/admin3) "bcD" = ( /obj/structure/table/tray, /obj/item/storage/surgical_tray{ @@ -1928,16 +1946,8 @@ }, /area/centcom/ss220/court) "bgX" = ( -/obj/effect/turf_decal/box/white{ - color = "#6697cc" - }, -/obj/effect/turf_decal/miscellaneous/number/number_6{ - color = "#6697cc"; - dir = 1; - pixel_y = -10 - }, -/turf/simulated/floor/plasteel/dark, -/area/centcom/ss220/admin3) +/turf/simulated/wall/mineral/plastitanium/nodiagonal, +/area/shuttle/assault_pod/nanotrasen) "bhA" = ( /obj/machinery/door/poddoor/impassable{ layer = 3.2; @@ -2271,6 +2281,12 @@ }, /turf/simulated/floor/mineral/plastitanium, /area/centcom/ss220/general) +"boN" = ( +/obj/effect/turf_decal/caution{ + dir = 1 + }, +/turf/simulated/floor/mineral/plastitanium, +/area/shuttle/assault_pod/nanotrasen) "boV" = ( /obj/structure/closet/masks, /turf/simulated/floor/wood/oak, @@ -2400,6 +2416,12 @@ /obj/structure/statue/cyberiad/nw, /turf/simulated/floor/grass/jungle, /area/centcom/ss220/park) +"brY" = ( +/turf/simulated/floor/plasteel/dark{ + icon_state = "darkredalt"; + dir = 1 + }, +/area/centcom/ss220/admin3) "bsh" = ( /obj/structure/flora/ausbushes/lavendergrass, /turf/simulated/wall/indestructible/rock/mineral, @@ -2673,7 +2695,9 @@ dir = 4; anchored = 1 }, -/obj/item/flag/chameleon, +/obj/item/flag{ + layer = 4 + }, /turf/simulated/floor/plasteel/dark{ dir = 9; icon_state = "darkbluealt" @@ -2957,6 +2981,26 @@ icon_state = "dark" }, /area/syndicate_mothership) +"bLF" = ( +/obj/machinery/door/airlock/centcom{ + name = "Дроп Под"; + req_one_access_txt = "109" + }, +/obj/machinery/door/poddoor/impassable{ + name = "Дроп Под"; + layer = 3.2; + closingLayer = 3.2; + id_tag = "cc_drop_pod_1" + }, +/obj/machinery/door_control/no_emag/no_cyborg{ + id = "cc_drop_pod_1"; + name = "Дроп Под"; + req_one_access_txt = "114"; + pixel_x = 24 + }, +/obj/effect/turf_decal/delivery/red, +/turf/simulated/floor/plasteel/dark, +/area/centcom/ss220/admin3) "bLK" = ( /obj/effect/turf_decal/tile/neutral/full{ color = "#000000" @@ -3333,6 +3377,15 @@ /obj/effect/turf_decal/caution/stand_clear/white, /turf/simulated/floor/plasteel/dark, /area/centcom/ss220/supply) +"bSL" = ( +/obj/structure/light_fake{ + dir = 8 + }, +/turf/simulated/floor/plasteel/dark{ + dir = 9; + icon_state = "darkredalt" + }, +/area/centcom/ss220/admin3) "bSN" = ( /obj/structure/table/glass, /obj/item/mmi/syndie, @@ -3376,6 +3429,19 @@ icon_state = "navybluealt" }, /area/syndicate_mothership/control) +"bTO" = ( +/obj/effect/turf_decal/box/white{ + color = "#6697cc" + }, +/obj/effect/turf_decal/miscellaneous/number/number_1{ + color = "#6697cc"; + dir = 1; + pixel_y = -10 + }, +/turf/simulated/floor/plasteel/dark{ + icon_state = "dark_large" + }, +/area/centcom/ss220/admin3) "bTV" = ( /obj/structure/flora/junglebush/large{ layer = 4.6 @@ -4485,6 +4551,14 @@ name = "floor" }, /area/syndicate_mothership/elite_squad) +"cBk" = ( +/obj/structure/sign/securearea{ + pixel_y = -32 + }, +/turf/simulated/floor/plasteel/dark{ + icon_state = "darkbluealtstrip" + }, +/area/centcom/ss220/admin1) "cBB" = ( /obj/structure/fans/tiny/invisible, /obj/structure/marker_beacon/dock_marker/collision, @@ -5051,13 +5125,11 @@ }, /area/syndicate_mothership) "cUy" = ( -/obj/structure/flora/ausbushes/ywflowers, -/obj/structure/flora/ausbushes/ppflowers, -/obj/structure/window/full/basic{ - smoothing_groups = null +/turf/simulated/floor/plasteel/dark{ + dir = 10; + icon_state = "darkbluealt" }, -/turf/simulated/floor/grass/no_creep, -/area/centcom/ss220/admin2) +/area/centcom/ss220/admin3) "cUP" = ( /obj/machinery/economy/slot_machine, /obj/structure/light_fake/small{ @@ -5272,19 +5344,18 @@ "cZQ" = ( /obj/structure/flora/ausbushes/sparsegrass, /obj/structure/flora/ausbushes/brflowers, -/obj/structure/window/full/basic, +/obj/effect/spawner/window, /turf/simulated/floor/grass/no_creep, /area/trader_station/sol) "cZT" = ( -/obj/structure/chair/comfy/brown{ +/obj/effect/turf_decal/stripes/line{ dir = 4 }, -/obj/structure/platform{ - dir = 8; - anchored = 1 +/obj/effect/turf_decal/caution/stand_clear{ + dir = 8 }, -/turf/simulated/floor/wood/parquet/tile, -/area/centcom/ss220/admin1) +/turf/simulated/floor/plasteel/dark, +/area/centcom/ss220/admin3) "dai" = ( /obj/structure/table/glass/reinforced/plastitanium, /turf/simulated/floor/plasteel/dark{ @@ -5326,6 +5397,10 @@ /obj/structure/statue/mooniverse, /turf/simulated/floor/redgrid, /area/syndicate_mothership) +"daz" = ( +/obj/machinery/computer/shuttle/nanotrasen/drop_pod, +/turf/simulated/wall/mineral/plastitanium, +/area/shuttle/assault_pod/nanotrasen) "daP" = ( /obj/effect/decal/nanotrasen_logo/n4, /turf/simulated/floor/carpet/black, @@ -5497,6 +5572,14 @@ /obj/item/clothing/mask/holo_cigar, /turf/simulated/floor/wood/parquet/tile, /area/centcom/ss220/admin2) +"deM" = ( +/obj/machinery/door/airlock/hatch{ + req_access_txt = "109"; + aiControlDisabled = 1; + name = "Assault Pod" + }, +/turf/simulated/floor/mineral/plastitanium, +/area/shuttle/assault_pod/nanotrasen) "deV" = ( /obj/structure/fans/tiny/invisible, /obj/structure/marker_beacon/dock_marker/collision, @@ -5983,6 +6066,21 @@ }, /turf/simulated/floor/mineral/plastitanium/red, /area/syndicate_mothership/jail) +"drz" = ( +/obj/item/flag/nt{ + layer = 4 + }, +/obj/structure/window/reinforced{ + dir = 1 + }, +/obj/structure/window/reinforced{ + dir = 4 + }, +/obj/effect/turf_decal/plaque, +/turf/simulated/floor/plasteel/dark{ + icon_state = "dark_large" + }, +/area/centcom/ss220/admin3) "drF" = ( /obj/effect/decal/remains/human, /obj/structure/light_fake/small{ @@ -8045,6 +8143,15 @@ }, /turf/simulated/floor/carpet/black, /area/syndicate_mothership/control) +"ezR" = ( +/obj/structure/light_fake{ + dir = 4 + }, +/turf/simulated/floor/plasteel/dark{ + dir = 6; + icon_state = "navyblue" + }, +/area/centcom/ss220/admin3) "ezT" = ( /obj/structure/statue/sandstone/venus/pure{ dir = 1; @@ -8288,16 +8395,9 @@ }, /area/centcom/ss220/admin1) "eGU" = ( -/obj/effect/turf_decal/box/white{ - color = "#6697cc" - }, -/obj/effect/turf_decal/miscellaneous/number/number_1{ - color = "#6697cc"; - dir = 1; - pixel_y = -10 - }, -/turf/simulated/floor/plasteel/dark, -/area/centcom/ss220/admin3) +/obj/machinery/light/small/directional/west, +/turf/simulated/floor/mineral/plastitanium, +/area/shuttle/assault_pod/nanotrasen) "eHa" = ( /obj/structure/window/reinforced{ color = "red"; @@ -8411,7 +8511,11 @@ /area/centcom/ss220/admin3) "eIW" = ( /obj/structure/fans/tiny, -/obj/machinery/door/airlock/external, +/obj/machinery/door/airlock/external{ + id_tag = "specops_away"; + name = "Шаттл ОБР"; + req_one_access_txt = "109" + }, /turf/simulated/floor/plating, /area/centcom/ss220/admin3) "eJc" = ( @@ -8684,6 +8788,9 @@ pixel_x = 8; pixel_y = 5 }, +/obj/structure/sign/securearea{ + pixel_x = 32 + }, /turf/simulated/floor/plasteel/dark{ dir = 6; icon_state = "navyblue" @@ -9123,6 +9230,7 @@ color = "#996633" }, /obj/item/food/snacks/sliceable/pizza/diablo, +/obj/machinery/computer/security/telescreen/entertainment/directional/south, /turf/simulated/floor/wood/parquet/tile, /area/centcom/ss220/admin1) "fbh" = ( @@ -9262,6 +9370,12 @@ icon_state = "black" }, /area/centcom/ss220/evac) +"ffc" = ( +/turf/simulated/floor/plasteel/dark{ + dir = 6; + icon_state = "darkredalt" + }, +/area/centcom/ss220/admin3) "ffq" = ( /obj/structure/light_fake/small{ dir = 4 @@ -9922,6 +10036,15 @@ /obj/machinery/economy/vending/snack/free, /turf/simulated/floor/wood/fancy/cherry, /area/centcom/ss220/admin2) +"fud" = ( +/obj/structure/light_fake{ + dir = 4 + }, +/turf/simulated/floor/plasteel/dark{ + dir = 5; + icon_state = "navyblue" + }, +/area/centcom/ss220/admin3) "ful" = ( /obj/effect/decal/cleanable/dirt, /obj/effect/decal/cleanable/dirt, @@ -9947,6 +10070,22 @@ "fuv" = ( /turf/simulated/floor/wood/fancy/cherry, /area/shuttle/trade/sol) +"fuC" = ( +/obj/effect/turf_decal/box/white{ + color = "#6697cc" + }, +/obj/effect/turf_decal/miscellaneous/number/number_6{ + color = "#6697cc"; + dir = 1; + pixel_y = -10 + }, +/obj/structure/light_fake{ + dir = 8 + }, +/turf/simulated/floor/plasteel/dark{ + icon_state = "dark_large" + }, +/area/centcom/ss220/admin3) "fuU" = ( /obj/structure/table/glass, /obj/item/storage/backpack/duffel/syndie/med/surgery{ @@ -10154,6 +10293,13 @@ icon_state = "dark" }, /area/syndicate_mothership/cargo) +"fBG" = ( +/obj/machinery/computer/crew/advanced, +/turf/simulated/floor/plasteel/dark{ + dir = 9; + icon_state = "navyblue" + }, +/area/centcom/ss220/admin3) "fBM" = ( /obj/structure/chair/stool, /obj/machinery/computer/security/telescreen{ @@ -10573,6 +10719,10 @@ /obj/item/food/snacks/applepie, /turf/simulated/floor/carpet/black, /area/centcom/ss220/admin1) +"fOJ" = ( +/obj/effect/turf_decal/caution, +/turf/simulated/floor/mineral/plastitanium, +/area/shuttle/assault_pod/nanotrasen) "fOP" = ( /obj/effect/decal/syndie_logo{ icon_state = "logo19" @@ -10602,6 +10752,16 @@ /obj/structure/chair/comfy/shuttle/dark, /turf/simulated/floor/mineral/plastitanium, /area/shuttle/syndicate_sit) +"fPr" = ( +/obj/effect/turf_decal/caution/stand_clear/white{ + color = "#6697cc"; + dir = 8 + }, +/turf/simulated/floor/plasteel/dark{ + icon_state = "darkbluealtstrip"; + dir = 8 + }, +/area/centcom/ss220/admin3) "fPV" = ( /obj/structure/chair/comfy/shuttle/dark{ dir = 8 @@ -10891,6 +11051,9 @@ "fYV" = ( /turf/simulated/mineral/ancient/outer, /area/space/nearstation/centcom) +"fZl" = ( +/turf/simulated/wall/indestructible/syndishuttle/nodiagonal, +/area/shuttle/assault_pod/nanotrasen) "fZr" = ( /obj/structure/platform/corner{ dir = 4; @@ -11463,15 +11626,10 @@ /turf/simulated/floor/indestructible/grass, /area/syndicate_mothership/outside) "gwI" = ( -/obj/effect/turf_decal/box/white{ - color = "#6697cc" - }, -/obj/effect/turf_decal/miscellaneous/number/number_4{ - color = "#6697cc"; - dir = 1; - pixel_y = -10 +/turf/simulated/floor/plasteel/dark{ + dir = 10; + icon_state = "darkredalt" }, -/turf/simulated/floor/plasteel/dark, /area/centcom/ss220/admin3) "gwX" = ( /obj/machinery/door/poddoor/impassable{ @@ -11829,8 +11987,10 @@ }, /area/syndicate_mothership/control) "gFP" = ( +/obj/structure/marker_beacon/dock_marker, /turf/simulated/floor/plasteel/dark{ - icon_state = "darkbluealtstrip" + dir = 5; + icon_state = "darkredalt" }, /area/centcom/ss220/admin3) "gFS" = ( @@ -12036,7 +12196,7 @@ }, /area/centcom/ss220/admin1) "gLx" = ( -/obj/structure/window/full/basic, +/obj/effect/spawner/window, /turf/simulated/floor/indestructible/grass/no_creep, /area/centcom/ss220/admin1) "gLU" = ( @@ -12438,6 +12598,15 @@ }, /turf/simulated/floor/carpet/red, /area/syndicate_mothership/control) +"gXr" = ( +/obj/machinery/door/airlock/hatch{ + req_access_txt = "109"; + aiControlDisabled = 1; + name = "Assault Pod" + }, +/obj/docking_port/mobile/assault_pod/nanotrasen, +/turf/simulated/floor/mineral/plastitanium, +/area/shuttle/assault_pod/nanotrasen) "gXs" = ( /obj/structure/fans/tiny/invisible, /turf/simulated/floor/plasteel{ @@ -12901,6 +13070,11 @@ }, /turf/simulated/floor/wood/oak, /area/syndicate_mothership/control) +"hil" = ( +/turf/simulated/floor/plasteel/dark{ + icon_state = "darkyellow" + }, +/area/centcom/ss220/admin3) "hiI" = ( /obj/structure/sign/poster/official/random/west, /turf/simulated/floor/plasteel/dark{ @@ -13052,16 +13226,11 @@ }, /area/centcom/ss220/admin3) "hnB" = ( -/obj/effect/turf_decal/box/white{ - color = "#6697cc" - }, -/obj/effect/turf_decal/miscellaneous/number/number_3{ - color = "#6697cc"; - dir = 1; - pixel_y = -10 +/obj/structure/chair/comfy/shuttle{ + dir = 1 }, -/turf/simulated/floor/plasteel/dark, -/area/centcom/ss220/admin3) +/turf/simulated/floor/mineral/plastitanium, +/area/shuttle/assault_pod/nanotrasen) "hnL" = ( /obj/structure/table/reinforced, /turf/simulated/floor/carpet/black, @@ -13425,7 +13594,7 @@ "hwc" = ( /obj/structure/flora/ausbushes/ywflowers, /obj/structure/flora/ausbushes/sparsegrass, -/obj/structure/window/full/basic, +/obj/effect/spawner/window, /turf/simulated/floor/grass/no_creep, /area/trader_station/sol) "hwT" = ( @@ -13938,7 +14107,10 @@ /area/ghost_bar) "hKw" = ( /obj/structure/light_fake/small, -/turf/simulated/floor/plasteel/dark, +/turf/simulated/floor/plasteel/dark{ + dir = 8; + icon_state = "vault" + }, /area/centcom/ss220/admin3) "hKA" = ( /obj/effect/turf_decal/tile/neutral/full{ @@ -14328,11 +14500,8 @@ /turf/simulated/floor/mineral/plastitanium/red, /area/shuttle/syndicate) "hSE" = ( -/obj/structure/sign/flag/nanotrasen{ - pixel_y = -32 - }, /turf/simulated/floor/plasteel/dark{ - icon_state = "darkredalt" + icon_state = "darkredaltstrip" }, /area/centcom/ss220/admin3) "hSM" = ( @@ -15674,15 +15843,6 @@ icon_state = "dark" }, /area/syndicate_mothership/elite_squad) -"iDd" = ( -/obj/structure/table/wood{ - color = "#996633" - }, -/obj/item/food/snacks/sliceable/noel, -/turf/simulated/floor/plasteel/dark{ - icon_state = "dark_large" - }, -/area/centcom/ss220/admin1) "iDh" = ( /obj/structure/closet/syndicate/personal, /obj/effect/decal/cleanable/dirt, @@ -15968,7 +16128,9 @@ dir = 8; anchored = 1 }, -/obj/item/flag/chameleon, +/obj/item/flag{ + layer = 4 + }, /turf/simulated/floor/plasteel/dark{ dir = 5; icon_state = "darkbluealt" @@ -16097,6 +16259,9 @@ icon_state = "redcorner" }, /area/shuttle/escape) +"iRQ" = ( +/turf/simulated/wall/mineral/plastitanium, +/area/shuttle/assault_pod/nanotrasen) "iSp" = ( /obj/machinery/bodyscanner{ dir = 4 @@ -16275,6 +16440,12 @@ }, /turf/simulated/floor/plasteel/dark, /area/centcom/ss220/admin1) +"iYk" = ( +/turf/simulated/floor/plasteel/dark{ + icon_state = "darkyellow"; + dir = 1 + }, +/area/centcom/ss220/admin3) "iYm" = ( /turf/simulated/floor/plasteel/dark{ dir = 10; @@ -16367,6 +16538,15 @@ icon_state = "grimy" }, /area/syndicate_mothership) +"jed" = ( +/obj/machinery/computer/teleporter{ + dir = 8 + }, +/obj/effect/turf_decal/delivery/blue/hollow, +/turf/simulated/floor/plasteel/dark{ + icon_state = "dark_large" + }, +/area/centcom/ss220/admin3) "jef" = ( /obj/structure/falsewall/reinforced{ req_one_access_txt = "101" @@ -16644,6 +16824,19 @@ /obj/structure/light_fake/small, /turf/simulated/floor/wood, /area/ghost_bar) +"jmD" = ( +/obj/effect/turf_decal/box/white{ + color = "#6697cc" + }, +/obj/effect/turf_decal/miscellaneous/number/number_4{ + color = "#6697cc"; + dir = 1; + pixel_y = -10 + }, +/turf/simulated/floor/plasteel/dark{ + icon_state = "dark_large" + }, +/area/centcom/ss220/admin3) "jmF" = ( /obj/item/storage/toolbox/fluff/lunchbox{ pixel_x = 4; @@ -17048,6 +17241,9 @@ /obj/structure/filingcabinet, /turf/simulated/floor/carpet/red, /area/centcom/ss220/admin2) +"jyz" = ( +/turf/simulated/floor/redgrid, +/area/centcom/ss220/admin3) "jyE" = ( /turf/simulated/floor/plasteel/dark, /area/centcom/ss220/command) @@ -17442,7 +17638,7 @@ "jKa" = ( /obj/structure/flora/ausbushes/sparsegrass, /obj/structure/flora/ausbushes/ppflowers, -/obj/structure/window/full/basic, +/obj/effect/spawner/window, /turf/simulated/floor/grass/no_creep, /area/trader_station/sol) "jKx" = ( @@ -17640,6 +17836,12 @@ /obj/structure/light_fake, /turf/simulated/floor/carpet/royalblue, /area/centcom/ss220/admin2) +"jNB" = ( +/turf/simulated/floor/plasteel/dark{ + dir = 9; + icon_state = "darkredalt" + }, +/area/centcom/ss220/admin3) "jNJ" = ( /obj/structure/table, /obj/machinery/recharger, @@ -17685,16 +17887,6 @@ }, /turf/simulated/floor/plasteel/dark, /area/centcom/ss220/supply) -"jPr" = ( -/obj/structure/chair/comfy/brown{ - dir = 8 - }, -/obj/structure/platform{ - dir = 4; - anchored = 1 - }, -/turf/simulated/floor/wood/parquet/tile, -/area/centcom/ss220/admin1) "jPy" = ( /obj/machinery/door/airlock/security/glass{ name = "Escape Shuttle Cell"; @@ -19088,6 +19280,8 @@ /obj/structure/table/wood{ color = "#996633" }, +/obj/item/food/snacks/sliceable/noel, +/obj/item/food/snacks/smokedsausage, /turf/simulated/floor/plasteel/dark{ icon_state = "dark_large" }, @@ -19469,6 +19663,12 @@ }, /turf/simulated/floor/wood/fancy/cherry, /area/wizard_station) +"kOy" = ( +/obj/structure/chair/comfy/shuttle{ + dir = 4 + }, +/turf/simulated/floor/mineral/plastitanium, +/area/shuttle/assault_pod/nanotrasen) "kOF" = ( /obj/structure/table/holotable/wood{ color = "#996633" @@ -19710,9 +19910,7 @@ "kUt" = ( /obj/structure/flora/ausbushes/ywflowers, /obj/structure/flora/ausbushes/ppflowers, -/obj/structure/window/full/basic{ - smoothing_groups = null - }, +/obj/effect/spawner/window, /turf/simulated/floor/grass/jungle/no_creep, /area/centcom/ss220/admin1) "kUQ" = ( @@ -19922,6 +20120,9 @@ }, /turf/simulated/floor/plating, /area/centcom/ss220/bar) +"laG" = ( +/turf/simulated/floor/mineral/plastitanium, +/area/shuttle/assault_pod/nanotrasen) "laN" = ( /obj/machinery/economy/vending/wallmed/emergency_ntmed/directional/north, /turf/simulated/floor/plasteel/dark{ @@ -20021,6 +20222,10 @@ icon_state = "dark" }, /area/syndicate_mothership) +"lcZ" = ( +/obj/machinery/light/small/directional/east, +/turf/simulated/floor/mineral/plastitanium, +/area/shuttle/assault_pod/nanotrasen) "lde" = ( /obj/machinery/suit_storage_unit/syndicate{ pixel_y = 6 @@ -20836,11 +21041,11 @@ /turf/simulated/floor/carpet/black, /area/syndicate_mothership/elite_squad) "lxq" = ( -/obj/structure/sign/poster/official/space_cops{ - pixel_x = -32 +/obj/structure/chair/comfy/shuttle{ + dir = 8 }, -/turf/simulated/floor/plasteel/dark, -/area/centcom/ss220/admin3) +/turf/simulated/floor/mineral/plastitanium, +/area/shuttle/assault_pod/nanotrasen) "lxF" = ( /obj/structure/chair/comfy/brown{ dir = 8 @@ -21601,16 +21806,15 @@ }, /area/syndicate_mothership/jail) "lSv" = ( -/obj/effect/turf_decal/box/white{ - color = "#6697cc" +/obj/item/assault_pod/nanotrasen, +/obj/structure/table/glass/reinforced/plastitanium, +/obj/structure/light_fake{ + dir = 1 }, -/obj/effect/turf_decal/miscellaneous/number/number_5{ - color = "#6697cc"; +/turf/simulated/floor/plasteel/dark{ dir = 1; - pixel_y = -10 + icon_state = "darkredalt" }, -/obj/structure/light_fake/spot, -/turf/simulated/floor/plasteel/dark, /area/centcom/ss220/admin3) "lSy" = ( /obj/structure/chair/sofa{ @@ -21656,16 +21860,9 @@ /turf/simulated/floor/carpet/black, /area/syndicate_mothership/control) "lTv" = ( -/obj/effect/turf_decal/box/white{ - color = "#6697cc" - }, -/obj/effect/turf_decal/miscellaneous/number/number_2{ - color = "#6697cc"; - dir = 1; - pixel_y = -10 - }, -/turf/simulated/floor/plasteel/dark, -/area/centcom/ss220/admin3) +/obj/structure/chair/comfy/shuttle, +/turf/simulated/floor/mineral/plastitanium, +/area/shuttle/assault_pod/nanotrasen) "lTL" = ( /turf/simulated/floor/plasteel{ dir = 6; @@ -22011,8 +22208,8 @@ /turf/simulated/floor/plasteel/dark, /area/centcom/ss220/supply) "mgd" = ( -/obj/structure/sign/vacuum/external, -/turf/simulated/wall/indestructible/fakeglass, +/obj/structure/sign/vacuum, +/turf/simulated/wall/indestructible/riveted, /area/centcom/ss220/admin3) "mgo" = ( /turf/simulated/floor/carpet/black, @@ -22340,6 +22537,13 @@ /obj/effect/spawner/window, /turf/simulated/floor/grass/no_creep, /area/centcom/ss220/admin2) +"mot" = ( +/obj/machinery/door/airlock/centcom{ + name = "Телепортерная"; + req_one_access_txt = "109" + }, +/turf/simulated/floor/plasteel/dark, +/area/centcom/ss220/admin3) "mpg" = ( /obj/machinery/computer/card{ layer = 4 @@ -22880,15 +23084,6 @@ icon_state = "dark_large" }, /area/centcom/ss220/admin1) -"mJG" = ( -/obj/structure/table/wood{ - color = "#996633" - }, -/obj/item/food/snacks/sliceable/pizza/bacon, -/turf/simulated/floor/plasteel/dark{ - icon_state = "dark_large" - }, -/area/centcom/ss220/admin1) "mKA" = ( /obj/structure/table/reinforced, /obj/item/stamp/syndicate, @@ -23480,6 +23675,13 @@ icon_state = "grimy" }, /area/syndicate_mothership) +"nbq" = ( +/obj/machinery/door/airlock/security/glass{ + name = "Навигатор Дроп Пода"; + req_one_access_txt = "110" + }, +/turf/simulated/floor/plasteel/dark, +/area/centcom/ss220/admin3) "nby" = ( /obj/effect/decal/syndie_logo{ icon_state = "logo17" @@ -24122,6 +24324,13 @@ /obj/item/reagent_containers/drinks/shaker, /turf/simulated/floor/pod/light, /area/centcom/ss220/supply) +"ntp" = ( +/obj/machinery/teleport/station, +/obj/effect/turf_decal/delivery/blue/hollow, +/turf/simulated/floor/plasteel/dark{ + icon_state = "dark_large" + }, +/area/centcom/ss220/admin3) "ntq" = ( /obj/structure/light_fake/spot, /turf/simulated/floor/plasteel/dark{ @@ -24192,6 +24401,11 @@ }, /turf/simulated/floor/mineral/plastitanium, /area/syndicate_mothership/infteam) +"nvF" = ( +/turf/simulated/floor/plasteel/dark{ + icon_state = "darkbluealtstrip" + }, +/area/centcom/ss220/admin3) "nvT" = ( /obj/structure/table/reinforced, /obj/item/reagent_containers/drinks/shaker, @@ -24624,6 +24838,12 @@ icon_state = "navyblue" }, /area/centcom/ss220/admin3) +"nIC" = ( +/turf/simulated/floor/plasteel/dark{ + dir = 5; + icon_state = "darkredalt" + }, +/area/centcom/ss220/admin3) "nID" = ( /turf/simulated/floor/plasteel/stairs/right{ color = "gray" @@ -25145,14 +25365,16 @@ }, /area/centcom/ss220/medbay) "nXL" = ( -/obj/structure/table/wood{ - color = "#996633" +/obj/machinery/door_control/no_emag/north{ + name = "Pod Door Control"; + id = "ert_shuttle_door"; + req_one_access_txt = "109" }, -/obj/item/food/snacks/lemoncakeslice, /turf/simulated/floor/plasteel/dark{ - icon_state = "dark_large" + dir = 9; + icon_state = "navyblue" }, -/area/centcom/ss220/admin1) +/area/centcom/ss220/admin3) "nZe" = ( /obj/structure/chair/sofa/bench/right{ cover_color = "#68452a"; @@ -26003,7 +26225,7 @@ /turf/simulated/floor/indestructible/grass/no_creep, /area/centcom/ss220/admin1) "ozL" = ( -/obj/item/flag/chameleon, +/obj/item/flag, /turf/simulated/floor/plasteel/dark, /area/centcom/ss220/admin3) "ozU" = ( @@ -26560,22 +26782,6 @@ icon_state = "showroomfloor" }, /area/centcom/ss220/evac) -"oPH" = ( -/obj/structure/closet/emcloset, -/obj/item/tank/internals/emergency_oxygen/engi, -/obj/item/tank/internals/emergency_oxygen/engi, -/obj/item/tank/internals/emergency_oxygen/engi, -/obj/item/clothing/mask/gas, -/obj/item/clothing/mask/gas, -/obj/item/clothing/mask/gas, -/obj/effect/turf_decal/stripes/line{ - dir = 1 - }, -/turf/simulated/floor/plasteel/dark{ - dir = 1; - icon_state = "vault" - }, -/area/centcom/ss220/admin3) "oPO" = ( /turf/simulated/floor/plasteel/dark, /area/shuttle/administration) @@ -26587,6 +26793,13 @@ icon_state = "freezerfloor" }, /area/syndicate_mothership) +"oQc" = ( +/obj/structure/marker_beacon/dock_marker, +/turf/simulated/floor/plasteel/dark{ + dir = 6; + icon_state = "darkredalt" + }, +/area/centcom/ss220/admin3) "oQk" = ( /obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel/dark{ @@ -27205,6 +27418,15 @@ /obj/machinery/economy/atm/directional/south, /turf/simulated/floor/carpet/red, /area/centcom/ss220/bar) +"pjg" = ( +/obj/machinery/door/airlock/external{ + name = "Assault Pod"; + req_access_txt = "109"; + id_tag = "nt_drop_pod" + }, +/obj/structure/fans/tiny, +/turf/simulated/floor/plating, +/area/centcom/ss220/admin3) "pju" = ( /obj/machinery/atmospherics/portable/canister/oxygen, /obj/effect/turf_decal/box/white, @@ -27541,6 +27763,12 @@ icon_state = "dark" }, /area/shuttle/syndicate) +"pvn" = ( +/obj/structure/sign/poster/official/space_cops{ + pixel_y = 32 + }, +/turf/simulated/floor/plasteel/dark, +/area/centcom/ss220/admin3) "pvL" = ( /turf/simulated/floor/grass/jungle, /area/wizard_station) @@ -27783,6 +28011,10 @@ }, /turf/simulated/floor/mineral/plastitanium, /area/shuttle/syndicate) +"pFa" = ( +/obj/machinery/light/small/directional/north, +/turf/simulated/floor/mineral/plastitanium, +/area/shuttle/assault_pod/nanotrasen) "pFk" = ( /obj/structure/railing{ dir = 1 @@ -28516,7 +28748,8 @@ /obj/machinery/door/airlock/external{ id_tag = "s_docking_airlock"; name = "Shuttle Hatch"; - req_access_txt = "109" + req_access_txt = "109"; + aiControlDisabled = 1 }, /obj/docking_port/mobile{ dir = 2; @@ -28800,7 +29033,7 @@ dir = 1; anchored = 1 }, -/obj/item/flag/chameleon{ +/obj/item/flag{ layer = 4 }, /turf/simulated/floor/plasteel/dark, @@ -29467,6 +29700,10 @@ }, /turf/simulated/floor/plasteel/dark, /area/centcom/ss220/admin3) +"qDW" = ( +/obj/structure/sign/vacuum/external, +/turf/simulated/wall/indestructible/riveted, +/area/centcom/ss220/admin3) "qEr" = ( /obj/effect/turf_decal/woodsiding, /obj/effect/turf_decal/woodsiding{ @@ -29649,12 +29886,9 @@ /turf/simulated/floor/carpet/black, /area/centcom/ss220/supply) "qIF" = ( -/obj/machinery/teleport/hub/upgraded{ - admin_usage = 1 - }, -/obj/effect/turf_decal/stripes, -/turf/simulated/floor/plasteel/dark, -/area/centcom/ss220/admin3) +/obj/machinery/light/small/directional/south, +/turf/simulated/floor/mineral/plastitanium, +/area/shuttle/assault_pod/nanotrasen) "qIX" = ( /turf/simulated/floor/plasteel{ icon_state = "whiteblue" @@ -29735,6 +29969,12 @@ /obj/effect/turf_decal/woodsiding, /turf/simulated/floor/mineral/plastitanium, /area/syndicate_mothership) +"qKR" = ( +/turf/simulated/floor/plasteel/dark{ + dir = 4; + icon_state = "darkredaltstrip" + }, +/area/centcom/ss220/admin3) "qLd" = ( /obj/effect/turf_decal/siding/wood{ dir = 4 @@ -30876,6 +31116,19 @@ icon_state = "darkneutralfull" }, /area/syndicate_mothership) +"rra" = ( +/obj/effect/turf_decal/box/white{ + color = "#6697cc" + }, +/obj/effect/turf_decal/miscellaneous/number/number_3{ + color = "#6697cc"; + dir = 1; + pixel_y = -10 + }, +/turf/simulated/floor/plasteel/dark{ + icon_state = "dark_large" + }, +/area/centcom/ss220/admin3) "rrb" = ( /obj/structure/light_fake, /turf/simulated/floor/plasteel{ @@ -31723,12 +31976,10 @@ /turf/simulated/floor/wood/fancy/cherry, /area/trader_station/sol) "rLQ" = ( -/obj/structure/sign/directions/engineering{ - desc = "A sign that shows there are doors here. There are doors everywhere!"; - icon_state = "doors"; - name = "WARNING: EXTERNAL AIRLOCK" +/obj/structure/sign/vacuum{ + icon_state = "doors" }, -/turf/simulated/wall/indestructible/fakeglass, +/turf/simulated/wall/indestructible/riveted, /area/centcom/ss220/admin3) "rMi" = ( /obj/machinery/washing_machine, @@ -31859,8 +32110,9 @@ /turf/simulated/floor/carpet/green, /area/centcom/ss220/bar) "rPF" = ( -/obj/machinery/computer/teleporter, -/turf/simulated/floor/plasteel/dark, +/turf/simulated/floor/plasteel/dark{ + icon_state = "navybluefull" + }, /area/centcom/ss220/admin3) "rPO" = ( /obj/structure/sign/double/map/left{ @@ -32099,12 +32351,11 @@ /turf/simulated/floor/plasteel/dark, /area/centcom/ss220/supply) "rUo" = ( -/obj/structure/chair/office/dark{ - dir = 4 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 1 +/obj/machinery/door/poddoor/impassable{ + id_tag = "ert_shuttle_door"; + name = "Шаттл ОБР" }, +/obj/effect/turf_decal/delivery/blue, /turf/simulated/floor/plasteel/dark, /area/centcom/ss220/admin3) "rUz" = ( @@ -33179,6 +33430,12 @@ icon_state = "dark" }, /area/syndicate_mothership/cargo) +"sBm" = ( +/obj/effect/turf_decal/caution{ + dir = 8 + }, +/turf/simulated/floor/mineral/plastitanium, +/area/shuttle/assault_pod/nanotrasen) "sBv" = ( /obj/structure/light_fake/small{ dir = 8 @@ -34325,7 +34582,10 @@ }, /area/syndicate_mothership/control) "tfv" = ( -/obj/machinery/teleport/station, +/obj/machinery/door/airlock/centcom{ + name = "ОБР"; + req_one_access_txt = "109" + }, /turf/simulated/floor/plasteel/dark, /area/centcom/ss220/admin3) "tgd" = ( @@ -35181,6 +35441,20 @@ }, /turf/simulated/floor/wood/oak, /area/syndicate_mothership/control) +"tHs" = ( +/obj/effect/turf_decal/box/white{ + color = "#6697cc" + }, +/obj/effect/turf_decal/miscellaneous/number/number_2{ + color = "#6697cc"; + dir = 1; + pixel_y = -10 + }, +/obj/structure/light_fake, +/turf/simulated/floor/plasteel/dark{ + icon_state = "dark_large" + }, +/area/centcom/ss220/admin3) "tHw" = ( /obj/structure/light_fake{ dir = 1 @@ -35488,6 +35762,7 @@ color = "#996633" }, /obj/item/food/snacks/sliceable/pizza/macpizza, +/obj/machinery/computer/security/telescreen/entertainment/directional/south, /turf/simulated/floor/wood/parquet/tile, /area/centcom/ss220/admin1) "tQU" = ( @@ -35604,12 +35879,10 @@ }, /area/syndicate_mothership/cargo) "tTZ" = ( -/obj/structure/dispenser/oxygen, /obj/structure/sign/poster/official/kill_syndicate{ pixel_y = -32 }, /obj/structure/light_fake/spot, -/obj/effect/turf_decal/delivery/blue, /obj/effect/turf_decal/tile/neutral{ dir = 8; color = "#6697cc" @@ -35847,13 +36120,17 @@ /turf/simulated/floor/wood/fancy/cherry, /area/centcom/ss220/bar) "tZB" = ( -/obj/machinery/computer/shuttle/ert{ - dir = 8 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 1 +/obj/structure/closet/emcloset, +/obj/item/tank/internals/emergency_oxygen/engi, +/obj/item/tank/internals/emergency_oxygen/engi, +/obj/item/tank/internals/emergency_oxygen/engi, +/obj/item/clothing/mask/gas, +/obj/item/clothing/mask/gas, +/obj/item/clothing/mask/gas, +/turf/simulated/floor/plasteel/dark{ + dir = 8; + icon_state = "vault" }, -/turf/simulated/floor/plasteel/dark, /area/centcom/ss220/admin3) "uao" = ( /obj/structure/table/wood, @@ -36410,7 +36687,7 @@ dir = 1; anchored = 1 }, -/obj/item/flag/chameleon{ +/obj/item/flag{ layer = 4 }, /turf/simulated/floor/plasteel/dark{ @@ -36558,6 +36835,10 @@ icon_state = "dark" }, /area/syndicate_mothership/control) +"uvI" = ( +/obj/structure/sign/vacuum/external, +/turf/simulated/wall/indestructible/fakeglass, +/area/centcom/ss220/admin3) "uwa" = ( /obj/effect/decal/cleanable/blood, /obj/effect/decal/cleanable/dirt, @@ -36974,10 +37255,13 @@ }, /area/syndicate_mothership) "uKn" = ( -/obj/effect/turf_decal/stripes/line{ +/obj/machinery/computer/shuttle/ert{ dir = 1 }, -/turf/simulated/floor/plasteel/dark, +/turf/simulated/floor/plasteel/dark{ + dir = 8; + icon_state = "vault" + }, /area/centcom/ss220/admin3) "uKI" = ( /obj/structure/chair/sofa/left{ @@ -37003,15 +37287,6 @@ icon_state = "dark_herringbone" }, /area/centcom/ss220/command) -"uLs" = ( -/obj/structure/sign/poster/official/enlist{ - pixel_y = 32 - }, -/turf/simulated/floor/plasteel/dark{ - dir = 9; - icon_state = "navyblue" - }, -/area/centcom/ss220/admin3) "uLK" = ( /obj/structure/table/glass/reinforced/plastitanium, /turf/simulated/floor/wood/fancy/cherry, @@ -38180,6 +38455,15 @@ }, /turf/simulated/floor/mineral/abductor, /area/centcom/ss220/bar) +"vto" = ( +/obj/structure/light_fake{ + dir = 8 + }, +/turf/simulated/floor/plasteel/dark{ + dir = 10; + icon_state = "darkredalt" + }, +/area/centcom/ss220/admin3) "vtt" = ( /obj/structure/table/wood, /obj/item/storage/fancy/cigarettes/cigpack_syndicate{ @@ -38593,6 +38877,9 @@ }, /turf/simulated/floor/carpet/black, /area/centcom/ss220/court) +"vzZ" = ( +/turf/simulated/floor/bluegrid, +/area/centcom/ss220/admin3) "vAq" = ( /obj/machinery/door_control/no_emag{ id = "syndFB_baseright"; @@ -38819,10 +39106,14 @@ "vIm" = ( /obj/machinery/door/airlock/external{ id_tag = "specops_away"; - name = "Шаттл ОБР" + name = "Шаттл ОБР"; + req_one_access_txt = "109" }, /obj/structure/fans/tiny, -/turf/simulated/floor/plasteel/dark, +/obj/effect/turf_decal/stripes/line{ + dir = 1 + }, +/turf/simulated/floor/plating, /area/centcom/ss220/admin3) "vIu" = ( /turf/simulated/floor/carpet/black, @@ -39448,6 +39739,16 @@ "wdF" = ( /turf/simulated/floor/indestructible/transparent_floor, /area/shuttle/trade/sol) +"wdK" = ( +/obj/machinery/door_control/no_emag/south{ + name = "Pod Door Control"; + id = "ert_shuttle_door"; + req_one_access_txt = "109" + }, +/turf/simulated/floor/plasteel/dark{ + icon_state = "darkbluealtstrip" + }, +/area/centcom/ss220/admin1) "wdQ" = ( /obj/structure/chair/sofa/bench, /turf/simulated/floor/plasteel/dark, @@ -39477,6 +39778,12 @@ /obj/structure/flora/biolumini/lamp, /turf/simulated/floor/indestructible/grass/no_creep, /area/centcom/ss220/admin1) +"wez" = ( +/obj/machinery/teleport/hub/upgraded{ + admin_usage = 1 + }, +/turf/simulated/floor/bluegrid, +/area/centcom/ss220/admin3) "weC" = ( /obj/structure/flora/junglebush, /turf/simulated/floor/indestructible/grass/no_creep, @@ -39556,7 +39863,8 @@ /obj/machinery/door/airlock/external{ id_tag = "s_docking_airlock"; name = "Shuttle Hatch"; - req_access_txt = "109" + req_access_txt = "109"; + aiControlDisabled = 1 }, /turf/simulated/floor/plating, /area/shuttle/specops) @@ -40044,6 +40352,19 @@ name = "floor" }, /area/syndicate_mothership/infteam) +"wtB" = ( +/obj/item/flag/nt{ + layer = 4 + }, +/obj/structure/window/reinforced, +/obj/structure/window/reinforced{ + dir = 4 + }, +/obj/effect/turf_decal/plaque, +/turf/simulated/floor/plasteel/dark{ + icon_state = "dark_large" + }, +/area/centcom/ss220/admin3) "wum" = ( /obj/structure/lattice/catwalk, /obj/structure/marker_beacon/spotlight/jade, @@ -40367,6 +40688,28 @@ }, /turf/simulated/floor/mineral/plastitanium, /area/syndicate_mothership) +"wAI" = ( +/obj/machinery/door/airlock/centcom{ + name = "ОБР"; + req_one_access_txt = "109" + }, +/obj/machinery/door/poddoor/impassable{ + name = "Зона Отправки"; + layer = 3.2; + closingLayer = 3.2; + id_tag = "cc_dispatch_zone" + }, +/obj/machinery/door_control/no_emag/no_cyborg{ + id = "cc_dispatch_zone"; + name = "Зона Отправки"; + req_one_access_txt = "114"; + pixel_y = 24 + }, +/obj/effect/turf_decal/delivery/blue, +/turf/simulated/floor/plasteel/dark{ + icon_state = "navybluefull" + }, +/area/centcom/ss220/admin3) "wAQ" = ( /obj/structure/table/reinforced, /obj/item/reagent_containers/syringe/charcoal, @@ -40551,9 +40894,7 @@ "wEu" = ( /obj/structure/flora/ausbushes/brflowers, /obj/structure/flora/ausbushes/ppflowers, -/obj/structure/window/full/basic{ - smoothing_groups = null - }, +/obj/effect/spawner/window, /turf/simulated/floor/grass/jungle/no_creep, /area/centcom/ss220/admin1) "wER" = ( @@ -40756,6 +41097,19 @@ }, /turf/simulated/floor/plasteel/dark, /area/centcom/ss220/supply) +"wJw" = ( +/obj/effect/turf_decal/box/white{ + color = "#6697cc" + }, +/obj/effect/turf_decal/miscellaneous/number/number_5{ + color = "#6697cc"; + dir = 1; + pixel_y = -10 + }, +/turf/simulated/floor/plasteel/dark{ + icon_state = "dark_large" + }, +/area/centcom/ss220/admin3) "wKe" = ( /obj/structure/table/glass/reinforced/plastitanium, /obj/item/kirbyplants{ @@ -40790,6 +41144,12 @@ }, /turf/simulated/floor/plasteel/dark, /area/centcom/ss220/jail) +"wLp" = ( +/obj/effect/turf_decal/caution{ + dir = 4 + }, +/turf/simulated/floor/mineral/plastitanium, +/area/shuttle/assault_pod/nanotrasen) "wLy" = ( /obj/structure/chair/sofa/corp/corner{ dir = 4 @@ -41978,7 +42338,8 @@ /obj/structure/table/wood{ color = "#996633" }, -/obj/item/food/snacks/smokedsausage, +/obj/item/food/snacks/sliceable/pizza/bacon, +/obj/item/food/snacks/lemoncakeslice, /turf/simulated/floor/plasteel/dark{ icon_state = "dark_large" }, @@ -42481,6 +42842,16 @@ /obj/effect/turf_decal/delivery/white/hollow, /turf/simulated/floor/mineral/plastitanium, /area/syndicate_mothership/elite_squad) +"xFQ" = ( +/obj/machinery/computer/camera_advanced, +/obj/structure/light_fake{ + dir = 1 + }, +/turf/simulated/floor/plasteel/dark{ + dir = 1; + icon_state = "navyblue" + }, +/area/centcom/ss220/admin3) "xGd" = ( /obj/structure/flora/junglebush/large, /turf/simulated/floor/grass/jungle, @@ -42701,13 +43072,10 @@ /turf/simulated/floor/mineral/plastitanium, /area/syndicate_mothership/infteam) "xKV" = ( -/obj/structure/flora/ausbushes/brflowers, -/obj/structure/flora/ausbushes/ppflowers, -/obj/structure/window/full/basic{ - smoothing_groups = null - }, -/turf/simulated/floor/grass/no_creep, -/area/centcom/ss220/admin2) +/obj/structure/dispenser/oxygen, +/obj/effect/turf_decal/delivery/blue, +/turf/simulated/floor/plasteel/dark, +/area/centcom/ss220/admin3) "xKW" = ( /obj/structure/light_fake, /turf/simulated/floor/plasteel/dark{ @@ -43378,6 +43746,13 @@ icon_state = "darkbluealt" }, /area/centcom/ss220/admin1) +"yfX" = ( +/obj/machinery/computer/communications, +/turf/simulated/floor/plasteel/dark{ + dir = 5; + icon_state = "navyblue" + }, +/area/centcom/ss220/admin3) "ygn" = ( /turf/simulated/floor/plasteel/dark{ dir = 4; @@ -59235,7 +59610,7 @@ wem vIu jVl ois -xKV +ofZ oXh vIu vIu @@ -59492,7 +59867,7 @@ gXY vIu kuU ois -cUy +wem oXh vIu rjW @@ -59976,9 +60351,9 @@ enl cxH dYf tjO -iPE -iDd -xpV +iIC +uYa +uYa xYa urp jvG @@ -60006,7 +60381,7 @@ wem vIu jVl ois -cUy +wem oXh doR bRb @@ -60233,9 +60608,9 @@ ncb cxH dYf tjO -iIC -uYa -uYa +cgs +tyo +bfH wjg wjg cHz @@ -60263,7 +60638,7 @@ gXY vIu kuU ois -xKV +ofZ oXh vIu vIu @@ -60491,9 +60866,9 @@ cxH dYf tjO cgs -cZT -cZT -cZT +iwk +iwk +iwk wjg wjg oFU @@ -62291,8 +62666,8 @@ mmG kZP cgs cGH -uMF bfH +uMF wjg cib msp @@ -63061,9 +63436,9 @@ cxH dYf tjO cgs -jPr -jPr -jPr +udq +udq +udq wjg wjg edU @@ -63317,10 +63692,10 @@ ncb cxH dYf tjO -vEb -oKN -oKN -cGH +cgs +bfH +tyo +wjg wjg vjc msp @@ -63346,8 +63721,8 @@ uMr mPk tTm cgs -oPH -nPO +tZB +jiu adJ rWF rWF @@ -63574,9 +63949,9 @@ enl cxH dYf tjO -iPE -nXL -tMT +vEb +oKN +oKN bYX urp jvG @@ -63602,8 +63977,8 @@ ppu gTd dYf tTm -cgs -uKn +cBk +nPO rLQ rWF rWF @@ -63832,8 +64207,8 @@ fRz mPk tjO iPE -kFy -mJG +xpV +tMT bfH ijd jvG @@ -63860,7 +64235,7 @@ eEg mmG tTm cgs -uKn +rUo vIm pYp hnM @@ -64116,8 +64491,8 @@ jPE gTd dYf tTm -cgs -rUo +wdK +nPO mgd rWF rWF @@ -64374,8 +64749,8 @@ uMr mPk tTm cgs -tZB -nPO +uKn +jiu adJ rWF rWF @@ -65151,8 +65526,8 @@ adJ adJ adJ nPO -lJY -lJY +cZT +cZT nPO adJ nPO @@ -65408,8 +65783,8 @@ adJ adJ adJ jSO -pUc -pUc +oLQ +bcu jSO nPO nPO @@ -65665,7 +66040,7 @@ nPO nPO nPO nPO -uLs +nXL nqg fts nPO @@ -67984,7 +68359,7 @@ lJY lJY lJY vwI -lJY +xKV tTZ nPO adJ @@ -70549,8 +70924,8 @@ nPO nPO nPO nPO -ayh -jSO +wAI +nPO nPO nPO rus @@ -70802,12 +71177,12 @@ uAG oJn nPO nPO +nPO +nPO +nPO +wtB rPF -oLQ -lxq -lJY -gFP -bgX +drz nPO nPO nPO @@ -71059,17 +71434,17 @@ gJM iKz aCR nPO -tfv -uqw -jDz -jDz -wIQ -lSv +fBG +lRO +nPO +uYN +nqg +lRO +nPO +nvF +fuC +wJw nPO -adJ -adJ -adJ -adJ adJ adJ adJ @@ -71316,12 +71691,16 @@ lJY iKz oXL nPO -qIF -gFP -eGU -lTv -hnB -gwI +xFQ +kpt +tfv +iYk +vzZ +hil +mot +mTN +cUy +jmD nPO adJ adJ @@ -71333,10 +71712,6 @@ adJ adJ adJ adJ -adJ -adJ -adJ -adJ "} (109,1,1) = {" sLM @@ -71573,17 +71948,17 @@ lJY iKz oXL nPO +yfX +eXj nPO +fud +yjZ +ezR nPO +lJY +aFw +rra nPO -nPO -nPO -nPO -nPO -adJ -adJ -adJ -adJ adJ adJ adJ @@ -71830,17 +72205,17 @@ lJY iKz oXL nPO -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ +nPO +nPO +nPO +nPO +ayh +nPO +nPO +pvn +aFw +tHs +nPO adJ adJ adJ @@ -72087,17 +72462,17 @@ lJY iKz oXL nPO -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ +jNB +gwI +nPO +bSL +kyu +vto +nPO +lJY +aFw +bTO +nPO adJ adJ adJ @@ -72344,17 +72719,17 @@ gJM iKz aCR nPO -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ +lSv +qxU +nbq +brY +jyz +qxU +nPO +lJY +mTN +fPr +nPO adJ adJ adJ @@ -72601,17 +72976,17 @@ rAi wIQ qZj nPO -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ +nIC +ffc +nPO +gFP +qKR +oQc +nPO +jed +ntp +wez +nPO adJ adJ adJ @@ -72858,17 +73233,17 @@ bjI nPO nPO nPO -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ +nPO +nPO +nPO +uvI +pjg +jiu +nPO +nPO +nPO +nPO +nPO adJ adJ adJ @@ -73115,15 +73490,15 @@ kyu gcQ nPO nPO -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ +nPO +nPO +iRQ +fZl +deM +bgX +iRQ +nPO +nPO adJ adJ adJ @@ -73372,15 +73747,15 @@ sIV nks nnH nPO -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ +nPO +iRQ +iRQ +kOy +wLp +kOy +iRQ +iRQ +nPO adJ adJ adJ @@ -73629,15 +74004,15 @@ fzI sIV qxU nPO -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ +qDW +bgX +lTv +laG +lcZ +laG +hnB +bgX +nPO adJ adJ adJ @@ -73885,6 +74260,15 @@ wjq rsz sIV hSE +bLF +pjg +deM +fOJ +qIF +daz +pFa +boN +gXr nPO adJ adJ @@ -73898,15 +74282,6 @@ adJ adJ adJ adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ "} (119,1,1) = {" adJ @@ -74143,15 +74518,15 @@ lCY sIV qxU nPO -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ +nPO +bgX +lTv +laG +eGU +laG +hnB +bgX +nPO adJ adJ adJ @@ -74400,15 +74775,15 @@ sIV cYj blv nPO -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ +nPO +iRQ +iRQ +lxq +sBm +lxq +iRQ +iRQ +nPO adJ adJ adJ @@ -74657,15 +75032,15 @@ cco aoX nPO nPO -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ +nPO +nPO +iRQ +bgX +deM +bgX +iRQ +nPO +nPO adJ adJ adJ @@ -74914,15 +75289,15 @@ nPO nPO nPO nPO -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ -adJ +nPO +nPO +nPO +nPO +nPO +nPO +nPO +nPO +nPO adJ adJ adJ diff --git a/_maps/map_files220/stations/boxstation.dmm b/_maps/map_files220/stations/boxstation.dmm index 745bd61aba48..fde5d1c309e3 100644 --- a/_maps/map_files220/stations/boxstation.dmm +++ b/_maps/map_files220/stations/boxstation.dmm @@ -96,18 +96,12 @@ /turf/space, /area/space) "aaZ" = ( -/obj/structure/curtain/open/shower{ - anchored = 1 - }, -/obj/machinery/shower{ - dir = 4; - pixel_x = 5 - }, -/obj/effect/spawner/lootdrop/maintenance, +/obj/structure/reagent_dispensers/water_cooler, /turf/simulated/floor/plasteel{ - icon_state = "showroomfloor" + dir = 10; + icon_state = "caution" }, -/area/station/maintenance/fsmaint) +/area/station/public/dorms) "abd" = ( /obj/machinery/atmospherics/pipe/manifold/hidden/supply{ dir = 1 @@ -385,13 +379,13 @@ /turf/simulated/floor/plating, /area/station/security/main) "acW" = ( -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply, -/obj/machinery/light/directional/south, -/turf/simulated/floor/plasteel{ - icon_state = "neutralcorner" - }, -/area/station/public/dorms) +/obj/structure/closet/crate, +/obj/effect/spawner/lootdrop/maintenance, +/obj/effect/spawner/lootdrop/trash, +/obj/effect/decal/cleanable/dirt, +/obj/effect/decal/cleanable/dust, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) "acX" = ( /obj/structure/table/reinforced, /obj/structure/window/reinforced, @@ -858,10 +852,10 @@ /obj/effect/turf_decal/stripes/corner{ dir = 1 }, -/obj/effect/turf_decal/stripes/corner{ +/obj/machinery/hologram/holopad, +/obj/effect/turf_decal/stripes/line{ dir = 4 }, -/obj/machinery/hologram/holopad, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -909,15 +903,27 @@ /turf/simulated/floor/plasteel, /area/station/security/prisonershuttle) "afe" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 1 +/obj/structure/window/reinforced, +/obj/structure/rack/gunrack, +/obj/structure/window/reinforced{ + dir = 8 }, -/obj/machinery/navbeacon{ - codes_txt = "patrol;next_patrol=Armory_South"; - location = "Armory_North" +/obj/item/gun/energy/disabler{ + pixel_x = -8 + }, +/obj/item/gun/energy/disabler{ + pixel_x = -4 + }, +/obj/item/gun/energy/disabler, +/obj/item/gun/energy/disabler{ + pixel_x = 4 + }, +/obj/item/gun/energy/disabler{ + pixel_x = 8 }, /turf/simulated/floor/plasteel{ - icon_state = "dark" + dir = 8; + icon_state = "vault" }, /area/station/security/armory/secure) "afk" = ( @@ -1483,18 +1489,12 @@ /obj/structure/window/reinforced{ dir = 4 }, -/obj/item/gun/energy/laser{ - pixel_x = 8 - }, -/obj/item/gun/energy/laser{ - pixel_x = 4 - }, -/obj/item/gun/energy/laser, /obj/item/gun/energy/laser{ pixel_x = -4 }, +/obj/item/gun/energy/laser, /obj/item/gun/energy/laser{ - pixel_x = -8 + pixel_x = 4 }, /turf/simulated/floor/plasteel{ dir = 8; @@ -1581,18 +1581,12 @@ /obj/structure/window/reinforced{ dir = 4 }, -/obj/item/gun/energy/gun{ - pixel_x = 8 - }, -/obj/item/gun/energy/gun{ - pixel_x = 4 - }, -/obj/item/gun/energy/gun, /obj/item/gun/energy/gun{ pixel_x = -4 }, +/obj/item/gun/energy/gun, /obj/item/gun/energy/gun{ - pixel_x = -8 + pixel_x = 4 }, /turf/simulated/floor/plasteel{ dir = 8; @@ -1746,7 +1740,6 @@ /area/station/security/brig) "ajq" = ( /obj/structure/rack, -/obj/structure/window/reinforced, /obj/structure/window/reinforced{ dir = 8 }, @@ -1775,22 +1768,18 @@ /area/station/security/armory/secure) "ajr" = ( /obj/structure/rack/gunrack, -/obj/structure/window/reinforced, -/obj/structure/window/reinforced{ - dir = 4 - }, -/obj/item/gun/energy/disabler{ - pixel_x = 8 +/obj/item/gun/projectile/automatic/sslr{ + pixel_x = -4 }, -/obj/item/gun/energy/disabler{ +/obj/item/gun/projectile/automatic/sslr, +/obj/item/gun/projectile/automatic/sslr{ pixel_x = 4 }, -/obj/item/gun/energy/disabler, -/obj/item/gun/energy/disabler{ - pixel_x = -4 +/obj/item/gun/projectile/automatic/sslr{ + pixel_x = 8 }, -/obj/item/gun/energy/disabler{ - pixel_x = -8 +/obj/structure/window/reinforced{ + dir = 4 }, /turf/simulated/floor/plasteel{ dir = 8; @@ -1899,6 +1888,9 @@ d2 = 8; icon_state = "1-8" }, +/obj/effect/turf_decal/stripes/corner{ + dir = 1 + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -1996,14 +1988,14 @@ /obj/effect/turf_decal/stripes/line{ dir = 4 }, -/obj/effect/turf_decal/stripes/corner{ - dir = 1 - }, /obj/structure/cable{ d1 = 1; d2 = 2; icon_state = "1-2" }, +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -2199,6 +2191,9 @@ icon_state = "4-8" }, /obj/machinery/light_switch/south, +/obj/effect/turf_decal/stripes/corner{ + dir = 4 + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -4181,8 +4176,10 @@ /turf/simulated/floor/plating, /area/station/security/evidence) "arR" = ( -/obj/effect/decal/cleanable/dirt, -/turf/simulated/wall, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/light/small/directional/east, +/turf/simulated/floor/plating, /area/station/maintenance/fore) "arS" = ( /obj/item/toy/pet_rock, @@ -4223,9 +4220,20 @@ /turf/space, /area/station/engineering/solar/auxport) "asc" = ( -/obj/effect/spawner/random_barrier/obstruction, -/turf/simulated/floor/plating, -/area/station/maintenance/fore) +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "neutralcorner" + }, +/area/station/public/dorms) "asf" = ( /obj/effect/spawner/random_barrier/possibly_welded_airlock, /turf/simulated/floor/plating, @@ -5080,6 +5088,7 @@ "auZ" = ( /obj/machinery/light/small/directional/north, /obj/effect/decal/cleanable/dirt, +/obj/structure/disposalpipe/segment/corner, /turf/simulated/floor/plating, /area/station/maintenance/fore) "ava" = ( @@ -5602,10 +5611,8 @@ /area/station/security/detective) "axh" = ( /obj/effect/decal/cleanable/dirt, -/obj/structure/computerframe{ - dir = 1 - }, -/obj/item/circuitboard/secure_data, +/obj/structure/reagent_dispensers/fueltank, +/obj/effect/spawner/random_spawners/oil_often, /turf/simulated/floor/plasteel{ icon_state = "yellowcorner" }, @@ -5929,9 +5936,7 @@ /area/station/security/processing) "axW" = ( /obj/structure/rack, -/obj/item/radio{ - pixel_x = 5 - }, +/obj/item/radio, /obj/item/reagent_containers/drinks/mug/sec, /turf/simulated/floor/plating, /area/station/maintenance/fore) @@ -5955,18 +5960,48 @@ }, /area/station/security/lobby) "aya" = ( -/obj/effect/decal/cleanable/dirt, -/obj/effect/spawner/random_spawners/wall_rusted_maybe, -/turf/simulated/wall, -/area/station/maintenance/fore) +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + dir = 5; + icon_state = "neutral" + }, +/area/station/public/dorms) "ayb" = ( -/obj/structure/reagent_dispensers/fueltank, -/turf/simulated/floor/plating, -/area/station/maintenance/fore) +/obj/structure/chair/sofa/corp/left{ + dir = 4 + }, +/obj/effect/landmark/start/artist, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "caution" + }, +/area/station/public/dorms) "ayc" = ( -/obj/structure/reagent_dispensers/watertank, +/obj/effect/decal/cleanable/dirt, +/obj/effect/decal/cleanable/dust, +/obj/machinery/light/small/directional/north, +/obj/structure/rack, +/obj/item/mop{ + pixel_x = -6 + }, +/obj/item/mop{ + pixel_x = 2 + }, +/obj/item/mop{ + pixel_x = 10 + }, /turf/simulated/floor/plating, -/area/station/maintenance/fore) +/area/station/maintenance/fsmaint) "ayd" = ( /obj/structure/rack, /obj/effect/spawner/lootdrop/maintenance, @@ -6350,12 +6385,20 @@ /turf/simulated/floor/plating, /area/station/maintenance/fore) "azn" = ( -/obj/structure/chair/stool{ - dir = 1 +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 8 }, -/obj/effect/decal/cleanable/dirt, -/turf/simulated/floor/plasteel, -/area/station/maintenance/fore) +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "neutralcorner" + }, +/area/station/public/dorms) "azq" = ( /obj/machinery/firealarm/directional/south, /turf/simulated/floor/plasteel{ @@ -6735,10 +6778,14 @@ }, /area/station/security/interrogation/observation) "aAa" = ( -/obj/effect/landmark/spawner/nukedisc_respawn, -/obj/structure/disposalpipe/segment, -/turf/simulated/floor/plating, -/area/station/maintenance/fore) +/obj/machinery/status_display/directional/east, +/obj/structure/cable{ + d1 = 1; + d2 = 8; + icon_state = "1-8" + }, +/turf/simulated/floor/carpet/green, +/area/station/public/arcade) "aAb" = ( /obj/structure/chair/stool/bar{ dir = 4 @@ -6747,9 +6794,28 @@ /turf/simulated/floor/wood/oak, /area/station/maintenance/abandonedbar) "aAc" = ( -/obj/structure/grille/broken, -/turf/simulated/floor/plating, -/area/station/maintenance/fore) +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 2; + d2 = 8; + icon_state = "2-8" + }, +/obj/structure/cable{ + d1 = 1; + d2 = 8; + icon_state = "1-8" + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/disposalpipe/segment, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "neutral" + }, +/area/station/public/dorms) "aAd" = ( /obj/effect/spawner/window/reinforced/grilled, /turf/simulated/floor/plating, @@ -7134,12 +7200,13 @@ }, /area/station/security/interrogation/observation) "aBq" = ( -/obj/machinery/space_heater, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/disposalpipe/segment/corner{ +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 9 + }, +/obj/structure/disposalpipe/segment{ dir = 4 }, -/turf/simulated/floor/plating, +/turf/simulated/floor/plasteel, /area/station/maintenance/fore) "aBs" = ( /turf/simulated/wall, @@ -7147,7 +7214,8 @@ "aBw" = ( /obj/machinery/light/small/directional/west, /obj/structure/disposalpipe/segment, -/turf/simulated/floor/plating, +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plasteel, /area/station/maintenance/fore) "aBy" = ( /obj/effect/landmark/damageturf, @@ -7732,15 +7800,26 @@ /obj/structure/disposalpipe/segment/corner{ dir = 4 }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 6 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 6 + }, +/obj/structure/cable{ + d1 = 2; + d2 = 4; + icon_state = "2-4" + }, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "rampbottom" }, /area/station/security/prison/cell_block/A) "aDp" = ( -/obj/structure/closet/crate, -/obj/machinery/light/small/directional/west, -/obj/effect/spawner/lootdrop/maintenance/two, +/obj/effect/decal/cleanable/dirt, +/obj/structure/disposalpipe/segment, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/plating, /area/station/maintenance/fore) "aDq" = ( @@ -7778,42 +7857,16 @@ /turf/simulated/floor/plating, /area/station/maintenance/auxsolarport) "aDv" = ( -/obj/structure/disposalpipe/segment{ - dir = 4 - }, +/obj/machinery/door/airlock/maintenance, +/obj/effect/mapping_helpers/airlock/access/any/service/clown, +/obj/effect/mapping_helpers/airlock/autoname, /obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/structure/table, -/obj/item/clothing/accessory/medal{ - name = "медаль хорошему мальчику"; - desc = "Тот кто её носит - определенно заслужил её!" - }, -/obj/item/petcollar{ - pixel_y = 7; - pixel_x = 6 - }, -/obj/item/petcollar{ - pixel_y = 3 - }, -/obj/item/petcollar{ - pixel_y = -2; - pixel_x = -6 - }, -/obj/effect/turf_decal/delivery/blue/hollow, -/turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "neutralcorner" + d1 = 1; + d2 = 2; + icon_state = "1-2" }, -/area/station/public/dorms) +/turf/simulated/floor/plating, +/area/station/service/clown) "aDw" = ( /turf/simulated/wall/r_wall, /area/station/maintenance/auxsolarport) @@ -7926,8 +7979,13 @@ /turf/simulated/wall, /area/station/public/mrchangs) "aDP" = ( -/turf/simulated/wall, -/area/station/service/barber) +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "aDQ" = ( /turf/simulated/floor/plasteel{ icon_state = "rampbottom"; @@ -8060,9 +8118,13 @@ }, /area/station/security/lobby) "aEw" = ( -/obj/item/storage/toolbox/emergency, -/obj/structure/table, -/obj/machinery/light/small/directional/south, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/station/maintenance/fore) "aEx" = ( @@ -8349,6 +8411,7 @@ /obj/structure/disposalpipe/segment{ dir = 4 }, +/obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/station/maintenance/fore) "aFt" = ( @@ -8431,7 +8494,10 @@ id_tag = "Secure Gate"; name = "Security Blast Door" }, -/obj/structure/cable, +/obj/structure/cable{ + d2 = 8; + icon_state = "0-8" + }, /turf/simulated/floor/plating, /area/station/security/detective) "aFF" = ( @@ -8447,26 +8513,37 @@ }, /obj/structure/cable{ d1 = 1; - d2 = 2; - icon_state = "1-2" + d2 = 4; + icon_state = "1-4" }, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/disposalpipe/segment, /obj/effect/mapping_helpers/airlock/access/any/security/forensics, +/obj/structure/cable{ + d1 = 2; + d2 = 4; + icon_state = "2-4" + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, /area/station/security/prison/cell_block/A) "aFH" = ( -/obj/structure/grille, +/obj/structure/girder, /turf/simulated/floor/plating, /area/station/maintenance/fore) "aFI" = ( /turf/simulated/wall, /area/station/public/arcade) "aFJ" = ( -/turf/simulated/wall/r_wall, +/obj/structure/chair/office{ + dir = 8 + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "neutralcorner" + }, /area/station/public/dorms) "aFK" = ( /obj/effect/spawner/window/reinforced/polarized/grilled{ @@ -8770,85 +8847,90 @@ }, /area/station/security/detective) "aGH" = ( -/obj/machinery/power/apc/directional/west, -/obj/structure/disposalpipe/segment, -/obj/structure/cable{ - d2 = 2; - icon_state = "0-2" - }, -/obj/machinery/light/small/directional/east, -/turf/simulated/floor/plating, +/obj/structure/closet/crate, +/obj/effect/spawner/lootdrop/trash, +/obj/effect/decal/cleanable/dirt, +/obj/effect/spawner/random_spawners/cobweb_left_rare, +/obj/effect/decal/cleanable/dust, +/obj/effect/spawner/lootdrop/maintenance, +/turf/simulated/floor/plasteel, /area/station/maintenance/fore) "aGI" = ( -/obj/structure/table/reinforced, -/obj/structure/mirror{ - pixel_x = -28 - }, -/obj/item/razor, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/disposalpipe/junction/reversed, /turf/simulated/floor/plasteel{ - icon_state = "barber" + dir = 4; + icon_state = "neutralcorner" }, -/area/station/service/barber) +/area/station/public/dorms) "aGJ" = ( -/obj/machinery/power/apc/directional/north, -/obj/structure/cable{ - d2 = 2; - icon_state = "0-2" - }, -/obj/effect/landmark/start/barber, -/turf/simulated/floor/plasteel{ - icon_state = "barber" - }, -/area/station/service/barber) +/obj/structure/rack, +/obj/effect/spawner/lootdrop/trash, +/obj/effect/spawner/lootdrop/maintenance, +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "aGL" = ( -/obj/structure/chair/barber{ +/obj/effect/spawner/random_spawners/fungus_maybe, +/turf/simulated/wall, +/area/station/maintenance/fore) +"aGM" = ( +/obj/structure/disposalpipe/segment/corner{ dir = 8 }, -/obj/machinery/status_display/directional/north, -/obj/machinery/camera{ - c_tag = "Barber Shop" +/obj/structure/cable{ + d1 = 1; + d2 = 8; + icon_state = "1-8" }, -/turf/simulated/floor/plasteel{ - icon_state = "barber" +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 9 }, -/area/station/service/barber) -"aGM" = ( -/obj/machinery/dye_generator, -/obj/machinery/alarm/directional/east, -/turf/simulated/floor/plasteel{ - icon_state = "barber" +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 9 }, -/area/station/service/barber) +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "aGN" = ( /turf/simulated/floor/carpet/arcade, /area/station/public/arcade) "aGO" = ( -/obj/machinery/economy/vending/cart, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) -"aGP" = ( -/obj/structure/chair/comfy/black{ +/obj/structure/chair{ dir = 4 }, -/obj/machinery/camera{ - c_tag = "Arcade" +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/button/windowtint/west{ + id = "holodeck"; + range = 9 }, -/obj/machinery/firealarm/directional/north, -/obj/effect/landmark/start/artist, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) +/turf/simulated/floor/plasteel, +/area/station/public/dorms) +"aGP" = ( +/obj/effect/turf_decal/delivery/hollow, +/obj/machinery/disposal, +/obj/structure/disposalpipe/trunk{ + dir = 8 + }, +/obj/effect/turf_decal/delivery/hollow, +/turf/simulated/floor/plasteel{ + icon_state = "neutralfull" + }, +/area/station/public/dorms) "aGQ" = ( /obj/machinery/prize_counter, /turf/simulated/floor/carpet/arcade, /area/station/public/arcade) "aGR" = ( -/obj/structure/chair/comfy/black{ - dir = 8 +/obj/structure/railing{ + dir = 4 }, -/obj/machinery/newscaster/directional/north, -/obj/effect/landmark/start/artist, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) +/obj/effect/turf_decal/siding/yellow{ + dir = 6 + }, +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "aGT" = ( /turf/simulated/wall/r_wall, /area/station/maintenance/auxsolarstarboard) @@ -8879,15 +8961,23 @@ /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "aGZ" = ( -/obj/structure/table, -/obj/random/plushie, -/obj/machinery/status_display/directional/north, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) +/obj/effect/spawner/random_spawners/wall_rusted_always, +/turf/simulated/wall/r_wall, +/area/station/maintenance/fsmaint) "aHa" = ( -/obj/machinery/economy/vending/coffee, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/plasteel, +/area/station/hallway/primary/fore) "aHb" = ( /obj/structure/rack, /obj/effect/spawner/lootdrop/maintenance, @@ -9146,11 +9236,10 @@ }, /area/station/security/interrogation/observation) "aHW" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/turf/simulated/floor/plasteel{ - icon_state = "caution" - }, -/area/station/public/dorms) +/obj/effect/decal/cleanable/dirt, +/obj/structure/disposalpipe/segment, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fore) "aHX" = ( /obj/machinery/door/window/classic/reversed{ name = "Forensic laboratory"; @@ -9161,13 +9250,15 @@ }, /area/station/security/detective) "aHY" = ( -/obj/machinery/atmospherics/unary/vent_scrubber/on{ - dir = 4 - }, -/turf/simulated/floor/plasteel{ - icon_state = "barber" +/obj/machinery/door/airlock/bathroom{ + id = "toilet2"; + id_tag = "toilet2" }, -/area/station/service/barber) +/obj/effect/mapping_helpers/airlock/autoname, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/turf/simulated/floor/plasteel/freezer, +/area/station/public/toilet) "aIb" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 @@ -9214,43 +9305,53 @@ }, /area/station/security/detective) "aIj" = ( -/obj/structure/table/reinforced, -/obj/machinery/computer/security/telescreen/entertainment/directional/west, -/turf/simulated/floor/plasteel{ - icon_state = "barber" +/obj/structure/cable{ + d2 = 2; + icon_state = "0-2" }, -/area/station/service/barber) +/obj/machinery/power/apc/directional/east, +/obj/effect/landmark/damageturf, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fore) "aIl" = ( /turf/simulated/wall, /area/station/legal/magistrate) "aIn" = ( -/obj/structure/dresser, -/obj/machinery/firealarm/directional/east, -/turf/simulated/floor/plasteel{ - icon_state = "barber" +/obj/effect/decal/cleanable/dirt, +/obj/item/stock_parts/cell/high/empty, +/obj/item/toy/figure/crew/ninja, +/obj/structure/closet/crate/secure{ + req_one_access = list(33,41); + req_one_access_txt = "33;41" }, -/area/station/service/barber) +/obj/effect/spawner/random_spawners/cobweb_right_frequent, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "aIo" = ( /turf/simulated/wall, /area/station/legal/lawoffice) "aIp" = ( -/obj/structure/chair/comfy/black, /obj/machinery/alarm/directional/west, -/obj/effect/landmark/start/assistant, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 8 + }, +/turf/simulated/floor/plasteel, +/area/station/public/dorms) "aIq" = ( /obj/effect/decal/cleanable/fungus, /turf/simulated/wall, /area/station/maintenance/fore) "aIu" = ( -/obj/machinery/power/apc/directional/east, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/structure/cable{ - d2 = 8; - icon_state = "0-8" + d1 = 1; + d2 = 2; + icon_state = "1-2" }, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) +/turf/simulated/floor/plasteel, +/area/station/hallway/primary/fore) "aIv" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/unary/vent_pump/on{ @@ -9330,8 +9431,13 @@ /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "aIF" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/chair/barber{ + dir = 4 + }, +/obj/effect/decal/cleanable/dirt, +/obj/effect/decal/cleanable/dust, +/obj/effect/spawner/random_spawners/cobweb_left_frequent, +/obj/item/decorations/sticky_decorations/flammable/spider, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "aIH" = ( @@ -9435,12 +9541,11 @@ /turf/simulated/floor/carpet/black, /area/station/legal/courtroom) "aIY" = ( -/obj/machinery/door/firedoor, -/obj/machinery/door/airlock/maintenance, -/obj/effect/mapping_helpers/airlock/autoname, -/obj/effect/mapping_helpers/airlock/access/any/engineering/maintenance, -/turf/simulated/floor/plating, -/area/station/maintenance/fore) +/obj/machinery/computer/HolodeckControl{ + dir = 8 + }, +/turf/simulated/floor/plasteel, +/area/station/public/dorms) "aJa" = ( /obj/structure/table/wood, /obj/item/folder, @@ -9528,83 +9633,82 @@ }, /area/station/security/detective) "aJr" = ( -/obj/structure/table/reinforced, -/obj/item/razor, -/obj/structure/mirror{ - pixel_x = -28 - }, -/obj/machinery/light/directional/west, -/turf/simulated/floor/plasteel{ - icon_state = "barber" - }, -/area/station/service/barber) +/obj/structure/reagent_dispensers/fueltank, +/obj/effect/decal/cleanable/dirt, +/obj/effect/decal/cleanable/dust, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "aJs" = ( -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/effect/landmark/start/barber, -/turf/simulated/floor/plasteel{ - icon_state = "barber" - }, -/area/station/service/barber) +/obj/structure/closet/emcloset, +/obj/effect/spawner/lootdrop/maintenance, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "aJt" = ( -/obj/structure/chair/barber{ - dir = 8 - }, -/turf/simulated/floor/plasteel{ - icon_state = "barber" - }, -/area/station/service/barber) +/obj/effect/mapping_helpers/airlock/autoname, +/obj/machinery/door/airlock/security, +/obj/structure/barricade/wooden/crude, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fore) "aJu" = ( -/obj/item/kirbyplants, +/obj/structure/table, +/obj/item/storage/toolbox/emergency, +/obj/machinery/light/small/directional/east, +/obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel{ - icon_state = "barber" + dir = 6; + icon_state = "darkred" }, -/area/station/service/barber) +/area/station/maintenance/fore) "aJv" = ( -/obj/machinery/gameboard, -/obj/structure/sign/poster/contraband/random/west, -/obj/machinery/light/directional/west, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "aJw" = ( -/obj/machinery/computer/arcade/orion_trail{ - dir = 8 +/obj/machinery/door/airlock/bathroom{ + id = "toilet4"; + id_tag = "toilet4" }, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) +/obj/effect/mapping_helpers/airlock/autoname, +/turf/simulated/floor/plasteel{ + icon_state = "hydrofloor" + }, +/area/station/public/toilet) "aJx" = ( -/obj/structure/chair/stool{ - dir = 4 +/obj/structure/closet, +/obj/effect/spawner/lootdrop/maintenance/two, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) +"aJy" = ( +/obj/effect/decal/cleanable/dirt, +/obj/structure/curtain/medical, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) +"aJz" = ( +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 8 }, +/obj/effect/landmark/spawner/xeno, +/obj/item/radio/intercom/directional/south, +/turf/simulated/floor/plasteel, +/area/station/public/dorms) +"aJA" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/cable{ d1 = 1; d2 = 2; icon_state = "1-2" }, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) -"aJy" = ( -/obj/structure/chair/stool{ - dir = 8 - }, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) -"aJz" = ( -/obj/machinery/computer/arcade/battle{ - dir = 4 +/obj/structure/disposalpipe/segment, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "neutralcorner" }, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) -"aJA" = ( -/obj/structure/closet/lasertag/red, -/obj/structure/sign/poster/official/random/east, -/obj/machinery/light/directional/east, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) +/area/station/public/dorms) "aJB" = ( /obj/machinery/camera{ c_tag = "Kitchen Freezer" @@ -9819,69 +9923,77 @@ /turf/simulated/floor/plating, /area/station/maintenance/fore) "aKF" = ( -/obj/structure/table/reinforced, -/obj/item/paper_bin{ - pixel_y = 5 +/obj/effect/decal/cleanable/dust, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) +"aKG" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, -/obj/item/pen, -/obj/machinery/computer/security/telescreen/entertainment/directional/west, -/turf/simulated/floor/plasteel{ - icon_state = "barber" +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 }, -/area/station/service/barber) -"aKG" = ( -/obj/machinery/newscaster/directional/east, -/obj/machinery/hologram/holopad, /obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" + d1 = 4; + d2 = 8; + icon_state = "4-8" }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 10 +/obj/structure/disposalpipe/junction{ + dir = 4 }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /turf/simulated/floor/plasteel{ - icon_state = "barber" + icon_state = "neutralcorner" }, -/area/station/service/barber) +/area/station/public/dorms) "aKI" = ( -/obj/structure/chair/comfy/black{ - dir = 1 +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 5 }, -/obj/effect/landmark/start/artist, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 5 + }, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "aKK" = ( /obj/machinery/economy/arcade/claw, /turf/simulated/floor/carpet/arcade, /area/station/public/arcade) "aKL" = ( -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" +/obj/machinery/door/poddoor{ + id = "maints2"; + id_tag = "maints2" }, -/obj/structure/chair/stool{ - dir = 4 +/obj/effect/decal/cleanable/blood/old{ + icon_state = "mfloor5"; + random_icon_states = null }, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "darkgreen" + }, +/area/station/maintenance/fsmaint) "aKM" = ( /mob/living/simple_animal/pet/cat/spacecat/Musya, /turf/simulated/floor/plating/airless, /area/station/science/toxins/test) "aKO" = ( -/obj/structure/closet/lasertag/blue, -/obj/item/radio/intercom/directional/east, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) +/obj/machinery/atmospherics/unary/vent_scrubber/on{ + dir = 8 + }, +/obj/machinery/status_display/directional/north, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "neutralcorner" + }, +/area/station/public/dorms) "aKQ" = ( -/obj/machinery/camera{ - c_tag = "Holodeck West"; - dir = 4 +/obj/structure/disposalpipe/segment, +/obj/machinery/firealarm/directional/east, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "neutralcorner" }, -/turf/simulated/floor/plasteel, /area/station/public/dorms) "aKT" = ( /obj/effect/decal/cleanable/dirt, @@ -9922,15 +10034,18 @@ /turf/simulated/wall, /area/station/maintenance/fpmaint2) "aKX" = ( -/obj/machinery/atmospherics/pipe/simple/visible/cyan{ - dir = 10 - }, -/obj/structure/sign/nosmoking_2{ - pixel_y = 32 +/obj/machinery/door/airlock/public/glass, +/obj/effect/mapping_helpers/airlock/autoname, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" }, -/obj/item/wrench, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/obj/machinery/door/firedoor, +/turf/simulated/floor/carpet/red, +/area/station/public/arcade) "aKY" = ( /obj/structure/closet, /obj/item/coin/iron, @@ -10217,8 +10332,9 @@ /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "aMj" = ( -/obj/structure/table, /obj/effect/spawner/lootdrop/maintenance/two, +/obj/structure/table, +/obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/station/maintenance/fore) "aMl" = ( @@ -10277,18 +10393,11 @@ /turf/simulated/floor/mineral/titanium/blue, /area/shuttle/pod_2) "aMw" = ( -/obj/item/radio/intercom/directional/east, -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/turf/simulated/floor/plasteel{ - icon_state = "barber" +/obj/structure/chair/stool{ + dir = 4 }, -/area/station/service/barber) +/turf/simulated/floor/carpet/arcade, +/area/station/public/arcade) "aMy" = ( /obj/structure/reagent_dispensers/fueltank, /turf/simulated/floor/plating, @@ -10319,18 +10428,26 @@ /turf/simulated/floor/plasteel, /area/station/hallway/secondary/entry) "aMI" = ( -/obj/structure/chair/stool{ - dir = 8 +/obj/structure/railing{ + dir = 4 }, -/obj/effect/landmark/start/assistant, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/turf/simulated/floor/carpet/arcade, +/obj/structure/flora/grass/jungle, +/obj/structure/flora/ausbushes/brflowers, +/obj/structure/sign/poster/random/west, +/turf/simulated/floor/grass/no_creep, /area/station/public/arcade) "aMJ" = ( -/obj/machinery/economy/vending/snack, -/obj/machinery/light_switch/east, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) +/obj/effect/decal/cleanable/dust, +/obj/item/storage/box/lights/mixed, +/obj/item/melee/flyswatter, +/obj/item/reagent_containers/spray/cleaner, +/obj/item/storage/bag/trash, +/obj/item/flashlight, +/obj/item/cartridge/janitor, +/obj/structure/closet, +/obj/item/stack/spacecash/c50, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "aMK" = ( /obj/effect/decal/cleanable/dust, /obj/effect/decal/cleanable/dirt, @@ -10439,9 +10556,13 @@ }, /area/station/maintenance/fsmaint) "aNh" = ( -/obj/structure/rack, -/obj/effect/spawner/lootdrop/maintenance/two, -/turf/simulated/floor/plating, +/obj/effect/spawner/random_spawners/cobweb_right_frequent, +/obj/effect/decal/cleanable/dirt, +/obj/structure/reagent_dispensers/watertank/high, +/turf/simulated/floor/plasteel{ + dir = 5; + icon_state = "purple" + }, /area/station/maintenance/fsmaint) "aNi" = ( /obj/machinery/door/airlock/maintenance, @@ -10607,28 +10728,22 @@ }, /area/station/hallway/primary/fore) "aNX" = ( -/obj/machinery/disposal, -/obj/structure/disposalpipe/trunk{ - dir = 4 +/obj/effect/decal/cleanable/dust, +/obj/effect/spawner/lootdrop/trash, +/obj/structure/cable{ + d1 = 1; + d2 = 4; + icon_state = "1-4" }, -/turf/simulated/floor/plasteel{ - icon_state = "barber" +/obj/structure/cable{ + d1 = 1; + d2 = 8; + icon_state = "1-8" }, -/area/station/service/barber) +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "aNZ" = ( -/obj/machinery/economy/atm/directional/south, -/obj/structure/disposalpipe/segment{ - dir = 4 - }, -/turf/simulated/floor/plasteel{ - icon_state = "barber" - }, -/area/station/service/barber) -"aOb" = ( -/obj/machinery/door/airlock/maintenance, -/obj/structure/disposalpipe/segment, -/obj/effect/mapping_helpers/airlock/autoname, -/obj/effect/mapping_helpers/airlock/access/any/engineering/maintenance, +/obj/effect/spawner/random_spawners/grille_often, /obj/structure/cable{ d1 = 1; d2 = 2; @@ -10636,13 +10751,25 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/fore) -"aOg" = ( -/obj/machinery/disposal, -/obj/structure/disposalpipe/trunk{ - dir = 8 +"aOb" = ( +/obj/effect/spawner/window/reinforced/polarized/grilled{ + id = "casino" }, -/turf/simulated/floor/carpet/arcade, +/turf/simulated/floor/plating, /area/station/public/arcade) +"aOg" = ( +/obj/machinery/atmospherics/pipe/manifold/hidden/supply, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "neutralcorner" + }, +/area/station/public/dorms) "aOi" = ( /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel{ @@ -10666,9 +10793,15 @@ }, /area/station/engineering/supermatter_room) "aOm" = ( -/obj/structure/chair/wood, -/obj/effect/landmark/start/assistant, -/turf/simulated/floor/carpet, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 1; + d2 = 4; + icon_state = "1-4" + }, +/turf/simulated/floor/wood, /area/station/public/mrchangs) "aOn" = ( /obj/machinery/light/small/directional/south, @@ -10739,6 +10872,28 @@ }, /turf/simulated/floor/carpet/black, /area/station/legal/courtroom) +"aOx" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 5 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 5 + }, +/obj/structure/cable{ + d1 = 1; + d2 = 8; + icon_state = "1-8" + }, +/obj/structure/cable{ + d1 = 1; + d2 = 4; + icon_state = "1-4" + }, +/obj/structure/disposalpipe/junction/reversed{ + dir = 4 + }, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) "aOy" = ( /obj/structure/table/wood, /obj/item/folder/red, @@ -10779,7 +10934,8 @@ }, /area/station/security/interrogation) "aOF" = ( -/obj/item/reagent_containers/drinks/cans/beer, +/obj/effect/decal/cleanable/dirt, +/obj/effect/decal/cleanable/dust, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "aOI" = ( @@ -10854,10 +11010,13 @@ /turf/space, /area/space/nearstation) "aOY" = ( -/obj/structure/chair/stool{ - dir = 1 +/obj/structure/disposalpipe/segment/corner{ + dir = 8 }, -/obj/effect/decal/cleanable/dirt, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 9 + }, +/obj/machinery/light/small/directional/east, /turf/simulated/floor/plating, /area/station/maintenance/fore) "aOZ" = ( @@ -10897,39 +11056,24 @@ /turf/simulated/floor/plating, /area/station/maintenance/portsolar) "aPe" = ( -/obj/machinery/door/firedoor, -/obj/machinery/door/airlock/public/glass, -/obj/effect/mapping_helpers/airlock/autoname, -/obj/structure/disposalpipe/segment, -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, +/obj/effect/decal/cleanable/dirt, +/obj/structure/rack, +/obj/effect/spawner/lootdrop/maintenance, +/obj/effect/spawner/lootdrop/trash, +/obj/effect/landmark/damageturf, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) +"aPf" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/turf/simulated/floor/plasteel{ - icon_state = "barber" - }, -/area/station/service/barber) -"aPf" = ( -/obj/effect/spawner/window/reinforced/grilled, -/turf/simulated/floor/plating, -/area/station/public/arcade) +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fore) "aPg" = ( -/obj/machinery/door/firedoor, -/obj/machinery/door/airlock/multi_tile/glass, -/obj/effect/mapping_helpers/airlock/autoname, -/obj/structure/disposalpipe/segment, -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) +/obj/structure/reagent_dispensers/watertank, +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fore) "aPi" = ( /turf/simulated/floor/plating, /area/station/maintenance/fpmaint) @@ -10938,15 +11082,10 @@ /turf/simulated/wall, /area/station/maintenance/fpmaint) "aPk" = ( -/obj/structure/window/reinforced{ - dir = 8 - }, -/obj/structure/reagent_dispensers/water_cooler, -/turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "caution" - }, -/area/station/public/dorms) +/obj/structure/statue/tranquillite/mime, +/obj/structure/sign/poster/official/random/north, +/turf/simulated/floor/mineral/tranquillite, +/area/station/service/mime) "aPm" = ( /turf/simulated/floor/plasteel, /area/station/public/dorms) @@ -11058,10 +11197,19 @@ /area/station/hallway/secondary/entry) "aPK" = ( /obj/machinery/door/poddoor/preopen{ - id_tag = "maint3"; - name = "Blast Door" + id = "maints1"; + id_tag = "maints1" + }, +/obj/effect/decal/cleanable/dirt, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "darkgreencorners" }, -/turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "aPL" = ( /turf/simulated/floor/plasteel{ @@ -11078,15 +11226,11 @@ }, /area/station/public/sleep) "aPN" = ( -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/turf/simulated/floor/plasteel{ - icon_state = "whitegreenfull" - }, -/area/station/public/sleep) +/obj/structure/closet, +/obj/effect/spawner/lootdrop/maintenance, +/obj/effect/decal/cleanable/dust, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fore) "aPO" = ( /obj/structure/sign/electricshock, /turf/simulated/wall, @@ -11174,12 +11318,22 @@ /turf/simulated/floor/plating, /area/station/maintenance/fpmaint2) "aQd" = ( -/obj/machinery/cryopod, -/turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "whitegreencorner" +/obj/structure/closet/secure_closet/mime, +/obj/machinery/button/windowtint/south{ + id = "mime" }, -/area/station/public/sleep) +/obj/item/reagent_containers/spray/waterflower, +/obj/item/lipstick/random{ + pixel_x = 4; + pixel_y = 4 + }, +/obj/item/lipstick/random{ + pixel_x = 2; + pixel_y = 2 + }, +/obj/item/lipstick/random, +/turf/simulated/floor/mineral/tranquillite, +/area/station/service/mime) "aQe" = ( /obj/effect/spawner/random_barrier/obstruction, /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ @@ -11188,11 +11342,12 @@ /turf/simulated/floor/plating, /area/station/maintenance/fpmaint2) "aQf" = ( -/obj/machinery/firealarm/directional/north, +/obj/structure/janitorialcart, /turf/simulated/floor/plasteel{ - icon_state = "whitegreenfull" + dir = 10; + icon_state = "purple" }, -/area/station/public/sleep) +/area/station/maintenance/fsmaint) "aQg" = ( /obj/effect/spawner/window/reinforced/grilled, /turf/simulated/floor/plating, @@ -11211,87 +11366,63 @@ /turf/simulated/floor/plating, /area/station/maintenance/fpmaint) "aQk" = ( -/obj/machinery/status_display/directional/west, -/obj/machinery/disposal, -/obj/structure/disposalpipe/trunk{ - dir = 4 - }, +/obj/machinery/economy/vending/artvend, /turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "neutralcorner" + icon_state = "dark" }, -/area/station/public/dorms) +/area/station/service/theatre) "aQl" = ( /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/station/maintenance/fpmaint) "aQo" = ( -/obj/structure/chair, -/obj/machinery/computer/security/telescreen/entertainment/directional/north, -/obj/effect/landmark/start/assistant, -/obj/structure/disposalpipe/segment{ - dir = 4 - }, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" +/obj/structure/table/wood/fancy/black, +/obj/item/storage/firstaid/regular{ + pixel_y = 2 }, /turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "neutralcorner" + icon_state = "dark" }, -/area/station/public/dorms) +/area/station/service/theatre) "aQp" = ( -/obj/structure/chair, -/obj/structure/disposalpipe/segment{ - dir = 4 +/obj/machinery/camera{ + c_tag = "Theatre" }, +/obj/item/kirbyplants/plant31, +/obj/machinery/power/apc/directional/north, /obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" + d2 = 2; + icon_state = "0-2" }, -/obj/item/radio/intercom/directional/north, /turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "neutralcorner" + icon_state = "dark" }, -/area/station/public/dorms) +/area/station/service/theatre) "aQq" = ( -/obj/structure/sign/barber{ - pixel_y = 30 - }, -/obj/structure/disposalpipe/segment{ - dir = 4 - }, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, +/obj/machinery/economy/vending/autodrobe, /turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "neutralcorner" + icon_state = "dark" }, -/area/station/public/dorms) +/area/station/service/theatre) "aQr" = ( -/obj/machinery/status_display/directional/north, -/obj/structure/table, -/obj/item/stack/tape_roll, -/obj/structure/disposalpipe/segment{ - dir = 4 +/obj/structure/table/wood/fancy/black, +/obj/machinery/alarm/directional/north, +/obj/item/chair/wood{ + pixel_y = 8; + pixel_x = -2 }, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" +/obj/item/chair/wood{ + pixel_y = 8; + pixel_x = 6 + }, +/obj/item/chair/wood{ + pixel_y = 8; + pixel_x = 14 }, /turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "neutralcorner" + icon_state = "dark" }, -/area/station/public/dorms) +/area/station/service/theatre) "aQs" = ( /obj/machinery/door/window/classic/normal{ dir = 1; @@ -11315,11 +11446,8 @@ }, /area/station/service/hydroponics) "aQv" = ( -/turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "bluered" - }, -/area/station/public/dorms) +/turf/simulated/wall, +/area/station/public/sleep_male) "aQw" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 @@ -11338,34 +11466,13 @@ }, /area/station/hallway/secondary/entry) "aQx" = ( -/obj/machinery/requests_console{ - department = "Crew Quarters"; - name = "Crew Quarters Requests Console"; - pixel_y = 30 - }, -/obj/structure/disposalpipe/segment{ - dir = 4 - }, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/effect/turf_decal/delivery/blue/partial{ - dir = 8 - }, -/obj/machinery/light/directional/north, /turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "neutralcorner" + icon_state = "hydrofloor" }, -/area/station/public/dorms) +/area/station/public/toilet) "aQy" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 10 @@ -11384,55 +11491,31 @@ }, /area/station/hallway/secondary/entry) "aQz" = ( -/obj/structure/table, -/obj/item/storage/firstaid/regular, -/obj/structure/disposalpipe/segment{ - dir = 4 - }, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/effect/turf_decal/delivery/blue/hollow, -/turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "bluered" - }, -/area/station/public/dorms) +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fore) "aQA" = ( -/obj/structure/disposalpipe/segment{ - dir = 4 +/obj/structure/flora/junglebush/large{ + pixel_y = 0 }, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 +/obj/structure/flora/rock/pile, +/obj/structure/flora/ausbushes/leafybush, +/turf/simulated/floor/grass/no_creep, +/area/station/public/dorms) +"aQC" = ( +/obj/structure/toilet{ + pixel_y = 8 }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 +/obj/effect/landmark/start/assistant, +/obj/machinery/door_control/bolt_control/east{ + id = "toilet_dorm3" }, -/obj/machinery/economy/vending/crittercare, -/obj/effect/turf_decal/delivery/blue, +/obj/machinery/light/small/directional/west, /turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "bluered" + icon_state = "hydrofloor" }, -/area/station/public/dorms) -"aQC" = ( -/obj/structure/closet/crate, -/obj/effect/spawner/lootdrop/maintenance/two, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/area/station/public/toilet) "aQD" = ( /obj/machinery/hologram/holopad, /obj/structure/disposalpipe/segment/corner{ @@ -11449,20 +11532,18 @@ /obj/machinery/atmospherics/pipe/manifold/hidden/supply{ dir = 4 }, +/obj/structure/cable{ + d1 = 2; + d2 = 8; + icon_state = "2-8" + }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/fore) "aQE" = ( -/obj/machinery/economy/vending/wallmed/directional/north, -/turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "neutralcorner" - }, -/area/station/public/dorms) +/turf/simulated/wall, +/area/station/public/sleep_female) "aQG" = ( -/obj/machinery/newscaster/directional/north, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 10 - }, +/obj/machinery/light/directional/west, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "neutralcorner" @@ -11473,32 +11554,52 @@ /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "aQJ" = ( -/obj/machinery/atmospherics/portable/canister/air, -/obj/effect/decal/cleanable/dirt, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/obj/machinery/light/directional/east, +/turf/simulated/floor/plasteel{ + icon_state = "bar" + }, +/area/station/service/clown) "aQL" = ( /obj/structure/girder, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "aQM" = ( -/obj/structure/janitorialcart, -/obj/effect/decal/cleanable/dust, -/obj/effect/spawner/random_spawners/cobweb_left_frequent, +/obj/effect/decal/cleanable/dirt, +/obj/machinery/plantgenes, +/obj/effect/mapping_helpers/machinery/damaged, /turf/simulated/floor/plasteel{ dir = 9; - icon_state = "purple" + icon_state = "darkgreen" }, /area/station/maintenance/fsmaint) "aQN" = ( -/obj/structure/table, -/obj/item/clothing/glasses/sunglasses, -/obj/effect/spawner/lootdrop/maintenance, +/obj/effect/landmark/damageturf, +/obj/structure/rack, +/obj/item/hatchet, +/obj/item/reagent_containers/spray/plantbgone, +/obj/item/reagent_containers/glass/bottle/mutagen, +/obj/item/cultivator, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "aQO" = ( -/obj/structure/reagent_dispensers/watertank/high, -/turf/simulated/floor/plating, +/obj/machinery/door_control/shutter/north{ + id = "Death"; + name = "Blast Door Control D" + }, +/obj/structure/table, +/obj/item/seeds/tomato{ + pixel_y = 6 + }, +/obj/item/seeds/tomato{ + pixel_x = -9 + }, +/obj/item/seeds/tomato{ + pixel_x = 9 + }, +/turf/simulated/floor/plasteel{ + icon_state = "darkgreen"; + dir = 1 + }, /area/station/maintenance/fsmaint) "aQP" = ( /obj/structure/chair/stool{ @@ -11796,7 +11897,6 @@ /turf/simulated/floor/plating, /area/station/maintenance/electrical) "aSc" = ( -/obj/structure/extinguisher_cabinet/directional/east, /obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 8 }, @@ -11821,11 +11921,13 @@ /turf/simulated/floor/plasteel, /area/station/hallway/secondary/entry) "aSk" = ( -/obj/machinery/economy/vending/coffee, -/turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "neutralcorner" +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 6 }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 10 + }, +/turf/simulated/floor/plasteel, /area/station/public/dorms) "aSl" = ( /obj/effect/spawner/window/reinforced/grilled, @@ -11896,10 +11998,15 @@ /turf/simulated/floor/plating, /area/station/maintenance/fpmaint2) "aSJ" = ( +/obj/item/flag/clown, +/obj/machinery/camera{ + c_tag = "Clown Office" + }, +/obj/machinery/atmospherics/unary/vent_scrubber/on, /turf/simulated/floor/plasteel{ - icon_state = "arrival" + icon_state = "bar" }, -/area/station/public/dorms) +/area/station/service/clown) "aSM" = ( /turf/simulated/floor/plasteel{ icon_state = "caution" @@ -12005,6 +12112,9 @@ /turf/simulated/floor/plating, /area/station/maintenance/electrical) "aTm" = ( +/obj/effect/landmark/damageturf, +/obj/effect/decal/cleanable/dirt, +/obj/effect/decal/cleanable/dust, /obj/structure/cable{ d1 = 4; d2 = 8; @@ -12072,37 +12182,44 @@ /turf/simulated/floor/plasteel, /area/station/hallway/secondary/garden) "aTC" = ( -/obj/machinery/camera{ - c_tag = "Cryodorms"; - dir = 4 +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" }, -/obj/machinery/cryopod{ - dir = 4 +/obj/machinery/hologram/holopad, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 6 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 10 }, /turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "whitegreencorner" + icon_state = "whitegreenfull" }, /area/station/public/sleep) "aTD" = ( -/obj/structure/chair{ - dir = 4 - }, -/obj/effect/landmark/start/artist, -/turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "neutralcorner" +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" }, -/area/station/public/dorms) +/obj/structure/sign/poster/random/west, +/turf/simulated/floor/carpet/red, +/area/station/public/arcade) "aTE" = ( -/obj/structure/chair/sofa/corner{ - dir = 4 +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" }, -/obj/structure/window/reinforced{ - dir = 1 +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 }, -/obj/effect/landmark/start/artist, -/turf/simulated/floor/wood/oak, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply, +/turf/simulated/floor/plasteel, /area/station/public/dorms) "aTF" = ( /turf/simulated/floor/plasteel{ @@ -12111,27 +12228,32 @@ }, /area/station/public/dorms) "aTG" = ( -/obj/structure/chair/sofa/left, -/obj/structure/window/reinforced{ +/obj/effect/spawner/lootdrop/trash, +/obj/effect/spawner/lootdrop/trash, +/obj/structure/closet/crate/trashcart, +/obj/effect/decal/cleanable/dust, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) +"aTI" = ( +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ dir = 1 }, -/obj/effect/landmark/start/bath, -/turf/simulated/floor/wood/oak, -/area/station/public/dorms) -"aTI" = ( -/obj/structure/chair/sofa, -/obj/structure/window/reinforced{ +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ dir = 1 }, -/obj/effect/landmark/start/assistant, -/turf/simulated/floor/wood/oak, -/area/station/public/dorms) +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "aTJ" = ( -/turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "caution" +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 1 }, -/area/station/public/dorms) +/turf/simulated/floor/carpet/green, +/area/station/public/arcade) "aTL" = ( /obj/machinery/door/firedoor, /obj/machinery/door/poddoor{ @@ -12179,11 +12301,12 @@ }, /area/station/ai_monitored/storage/eva) "aTR" = ( -/obj/structure/window/reinforced{ - dir = 1 +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, -/turf/simulated/floor/wood/oak, -/area/station/public/dorms) +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "aTS" = ( /obj/effect/turf_decal/stripes/line{ dir = 1 @@ -12239,27 +12362,27 @@ }, /area/station/medical/chemistry) "aTZ" = ( -/obj/item/restraints/handcuffs/cable/cyan, -/obj/effect/decal/remains/human, -/obj/effect/decal/cleanable/blood/old, -/obj/effect/decal/cleanable/dust, -/obj/item/paper/crumpled/bloody{ - desc = "Небольшой кусок бумаги, залитый кровью."; - info = "*Здесь было что-то написано, но вы не можете разобрать что именнно.*"; - name = "Окровавленная записка" - }, -/obj/machinery/newscaster/directional/north, -/obj/effect/spawner/random_spawners/mod/maint, -/turf/simulated/floor/plating, +/obj/machinery/door/airlock/maintenance, +/obj/effect/mapping_helpers/airlock/autoname, +/obj/effect/mapping_helpers/airlock/access/any/engineering/maintenance, +/turf/simulated/floor/plasteel, /area/station/maintenance/fsmaint) "aUa" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ +/obj/structure/railing{ dir = 4 }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/obj/structure/disposalpipe/segment, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "neutralcorner" }, -/turf/simulated/floor/plasteel, /area/station/public/dorms) "aUb" = ( /obj/structure/closet, @@ -12267,25 +12390,31 @@ /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "aUc" = ( -/obj/machinery/door/poddoor{ - id_tag = "maint2" +/obj/structure/chair/stool{ + dir = 4 }, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) -"aUd" = ( -/obj/structure/window/reinforced{ +/obj/machinery/atmospherics/unary/vent_pump/on{ dir = 8 }, -/turf/simulated/floor/plasteel{ - icon_state = "stairs-r" +/obj/effect/landmark/start/artist, +/turf/simulated/floor/carpet/arcade, +/area/station/public/arcade) +"aUd" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 }, -/area/station/public/dorms) -"aUe" = ( -/obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "purple" + icon_state = "bar" }, +/area/station/service/clown) +"aUe" = ( +/obj/effect/decal/cleanable/dust, +/obj/effect/landmark/damageturf, +/obj/item/stack/spacecash/c10, +/turf/simulated/floor/engine, /area/station/maintenance/fsmaint) "aUf" = ( /obj/structure/table/wood, @@ -12392,19 +12521,20 @@ /turf/simulated/wall/r_wall, /area/station/command/vault) "aUG" = ( -/obj/structure/disposalpipe/segment, -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" +/obj/effect/mapping_helpers/airlock/access/any/service/clown, +/obj/machinery/door/airlock/bananium, +/obj/effect/mapping_helpers/airlock/autoname, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/door/firedoor, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "arrival" + icon_state = "bar" }, -/area/station/public/dorms) +/area/station/service/clown) "aUH" = ( /obj/machinery/gateway/centerstation, /turf/simulated/floor/plasteel{ @@ -12412,30 +12542,33 @@ }, /area/station/supply/expedition/gate) "aUI" = ( -/obj/structure/window/reinforced{ - dir = 1 +/obj/effect/landmark/start/clown, +/obj/machinery/hologram/holopad, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 10 }, -/turf/simulated/floor/beach/water{ - icon_state = "seadeep" +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 9 }, -/area/station/public/dorms) +/turf/simulated/floor/plasteel{ + icon_state = "bar" + }, +/area/station/service/clown) "aUJ" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "arrival" + dir = 1; + icon_state = "neutralcorner" }, /area/station/public/dorms) "aUK" = ( -/obj/structure/window/reinforced{ - dir = 4 - }, -/obj/structure/window/reinforced{ - dir = 1 - }, -/turf/simulated/floor/beach/water{ - icon_state = "seadeep" - }, -/area/station/public/dorms) +/obj/structure/closet, +/obj/effect/spawner/lootdrop/maintenance/two, +/obj/effect/decal/cleanable/dirt, +/obj/effect/decal/cleanable/dust, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) "aUL" = ( /obj/machinery/light/small/directional/north, /obj/machinery/atmospherics/unary/vent_scrubber/on, @@ -12512,10 +12645,10 @@ /turf/simulated/wall, /area/station/service/bar) "aUT" = ( -/turf/simulated/floor/plasteel/stairs{ - dir = 1 - }, -/area/station/public/dorms) +/obj/structure/closet/secure_closet/personal/cabinet, +/obj/machinery/light/directional/south, +/turf/simulated/floor/wood/fancy, +/area/station/public/sleep_female) "aUU" = ( /obj/structure/reagent_dispensers/fueltank, /obj/effect/spawner/random_spawners/oil_maybe, @@ -12628,36 +12761,30 @@ }, /area/station/command/vault) "aVo" = ( -/obj/structure/table/wood, -/obj/item/instrument/eguitar, -/turf/simulated/floor/plasteel{ - icon_state = "dark" +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + d2 = 2; + icon_state = "0-2" }, -/area/station/public/dorms) +/obj/machinery/power/apc/directional/east, +/turf/simulated/floor/wood/fancy, +/area/station/public/sleep_male) "aVp" = ( -/obj/structure/table/wood, -/obj/item/megaphone, -/turf/simulated/floor/plasteel{ - icon_state = "dark" +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + d2 = 2; + icon_state = "0-2" }, -/area/station/public/dorms) +/obj/machinery/power/apc/directional/west, +/turf/simulated/floor/wood/fancy, +/area/station/public/sleep_female) "aVq" = ( -/obj/structure/chair/stool{ - dir = 8 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 6 - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ - dir = 8 - }, -/obj/structure/platform{ - dir = 8; - anchored = 1 - }, +/obj/structure/closet/walllocker/firelocker/west, /turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "caution" + dir = 1; + icon_state = "neutralcorner" }, /area/station/public/dorms) "aVr" = ( @@ -12668,12 +12795,14 @@ }, /area/station/supply/expedition/gate) "aVs" = ( -/obj/structure/table/wood, -/obj/item/instrument/piano_synth, -/turf/simulated/floor/plasteel{ - icon_state = "dark" +/obj/structure/chair/stool/bar, +/obj/effect/turf_decal/siding/wood/end{ + dir = 8 }, -/area/station/public/dorms) +/obj/machinery/alarm/directional/west, +/obj/machinery/light/small/directional/west, +/turf/simulated/floor/wood/cherry, +/area/station/public/mrchangs) "aVu" = ( /turf/simulated/wall, /area/station/service/bar/atrium) @@ -12690,8 +12819,21 @@ }, /area/station/medical/reception) "aVA" = ( -/obj/structure/reagent_dispensers/watertank, -/obj/machinery/light/small/directional/north, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "aVC" = ( @@ -12717,16 +12859,20 @@ }, /area/station/medical/reception) "aVN" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 5 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 5 + }, /obj/structure/cable{ d1 = 1; - d2 = 2; - icon_state = "1-2" + d2 = 4; + icon_state = "1-4" }, /turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "neutralcorner" + dir = 5; + icon_state = "neutral" }, /area/station/public/dorms) "aVO" = ( @@ -12739,11 +12885,9 @@ }, /area/station/ai_monitored/storage/eva) "aVQ" = ( -/obj/machinery/door/poddoor{ - id_tag = "maint1" - }, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/obj/machinery/atmospherics/unary/vent_scrubber/on, +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "aVV" = ( /turf/simulated/wall/mineral/titanium, /area/shuttle/arrival/station) @@ -12758,20 +12902,9 @@ /turf/simulated/floor/plating, /area/shuttle/arrival/station) "aWb" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 6 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 6 - }, -/obj/structure/cable{ - d1 = 2; - d2 = 4; - icon_state = "2-4" - }, -/obj/structure/disposalpipe/segment/corner{ - dir = 4 - }, +/obj/effect/spawner/random_spawners/grille_often, +/obj/effect/decal/cleanable/dirt, +/obj/effect/decal/cleanable/dust, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "aWc" = ( @@ -12984,78 +13117,78 @@ }, /area/station/command/vault) "aWz" = ( -/obj/machinery/light/directional/north, -/obj/structure/disposalpipe/segment{ - dir = 4 - }, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, +/obj/structure/table/wood/fancy/black, +/obj/item/balltoy, /turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "neutralcorner" + icon_state = "dark" }, -/area/station/public/dorms) +/area/station/service/theatre) "aWB" = ( -/obj/structure/chair{ - dir = 4 +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 8 }, -/turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "neutralcorner" +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 8 }, -/area/station/public/dorms) +/obj/structure/cable{ + d1 = 1; + d2 = 4; + icon_state = "1-4" + }, +/turf/simulated/floor/plasteel, +/area/station/hallway/primary/fore) "aWC" = ( -/obj/structure/chair/sofa/right{ +/obj/effect/decal/cleanable/dirt, +/obj/structure/disposalpipe/segment{ dir = 4 }, -/obj/effect/landmark/start/bath, -/turf/simulated/floor/wood/oak, -/area/station/public/dorms) +/turf/simulated/floor/plasteel, +/area/station/maintenance/fore) "aWD" = ( -/obj/structure/table/wood, -/obj/item/ashtray/bronze, -/turf/simulated/floor/carpet, -/area/station/public/dorms) +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "aWE" = ( -/obj/structure/table/wood, -/obj/item/lighter/random, -/obj/item/storage/fancy/cigarettes/cigpack_robust, -/turf/simulated/floor/carpet, -/area/station/public/dorms) +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "aWF" = ( -/obj/structure/chair/stool{ - dir = 8 +/obj/machinery/door/firedoor, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "bluecorner" }, -/turf/simulated/floor/wood/oak, -/area/station/public/dorms) +/area/station/hallway/primary/fore) "aWG" = ( -/obj/structure/window/reinforced{ - dir = 8 - }, -/turf/simulated/floor/beach/water{ - icon_state = "seadeep" +/obj/structure/closet/secure_closet/clown, +/obj/machinery/button/windowtint/south{ + id = "clown" }, -/area/station/public/dorms) -"aWH" = ( -/obj/structure/chair{ - dir = 8 +/obj/item/food/snacks/grown/banana, +/obj/item/food/snacks/grown/banana{ + pixel_x = -4; + pixel_y = -6 }, -/obj/structure/disposalpipe/segment, -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" +/obj/item/food/snacks/grown/banana{ + pixel_x = 6; + pixel_y = 4 }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/item/clothing/under/costume/soldieruniform, +/obj/item/clothing/suit/sovietcoat, /turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "arrival" + icon_state = "bar" }, -/area/station/public/dorms) +/area/station/service/clown) +"aWH" = ( +/obj/structure/girder, +/obj/effect/decal/cleanable/dust, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "aWI" = ( /obj/structure/table/glass, /obj/item/storage/box/cups, @@ -13066,33 +13199,54 @@ }, /area/station/medical/reception) "aWJ" = ( -/mob/living/simple_animal/walrus{ - name = "Порфирий Корнеевич"; - desc = "Обожает плескаться в холодной воде и всем рекомендует." - }, -/turf/simulated/floor/beach/water{ - icon_state = "seadeep" +/obj/structure/bed, +/obj/item/bedsheet/clown, +/obj/machinery/alarm/directional/east, +/turf/simulated/floor/plasteel{ + icon_state = "bar" }, -/area/station/public/dorms) +/area/station/service/clown) "aWK" = ( -/turf/simulated/floor/beach/water{ - icon_state = "seadeep" +/obj/structure/table/wood, +/obj/item/flashlight/lamp/bananalamp{ + pixel_x = 6; + pixel_y = 12 + }, +/obj/item/food/snacks/pie{ + pixel_y = 8; + pixel_x = -4 + }, +/obj/item/stamp/clown{ + pixel_x = -5 + }, +/obj/item/toy/figure/crew/clown{ + pixel_x = 5 + }, +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 1 }, -/area/station/public/dorms) -"aWL" = ( -/obj/structure/table, -/obj/item/clothing/under/misc/swimsuit/red, /turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "arrival" + icon_state = "bar" }, -/area/station/public/dorms) +/area/station/service/clown) +"aWL" = ( +/obj/machinery/door/airlock/maintenance, +/obj/effect/mapping_helpers/airlock/autoname, +/obj/effect/mapping_helpers/airlock/access/any/engineering/maintenance, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "aWM" = ( -/obj/structure/window/reinforced{ - dir = 4 +/obj/structure/disposalpipe/segment, +/obj/machinery/status_display/directional/east, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 10; + initialize_directions = 10 }, -/turf/simulated/floor/beach/water{ - icon_state = "seadeep" +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "neutralcorner" }, /area/station/public/dorms) "aWN" = ( @@ -13104,18 +13258,10 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/ne) "aWP" = ( -/obj/structure/chair/stool{ - dir = 4 - }, -/obj/structure/platform{ - dir = 4; - anchored = 1 - }, -/turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "caution" - }, -/area/station/public/dorms) +/obj/structure/closet/secure_closet/personal/cabinet, +/obj/machinery/light/directional/south, +/turf/simulated/floor/wood/fancy, +/area/station/public/sleep_male) "aWR" = ( /obj/machinery/atmospherics/pipe/manifold/visible/cyan{ dir = 8 @@ -13134,18 +13280,20 @@ }, /area/station/medical/reception) "aWT" = ( -/turf/simulated/floor/plasteel{ - icon_state = "vault" - }, -/area/station/public/dorms) +/obj/effect/decal/cleanable/dirt, +/obj/effect/decal/cleanable/dust, +/obj/effect/landmark/damageturf, +/obj/effect/spawner/lootdrop/trash, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "aWU" = ( -/obj/structure/platform/corner{ - dir = 8; - anchored = 1 +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 4 }, +/obj/machinery/light/directional/north, /turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "yellowcorner" + dir = 1; + icon_state = "neutralcorner" }, /area/station/public/dorms) "aWV" = ( @@ -13160,11 +13308,22 @@ }, /area/station/maintenance/fsmaint) "aWW" = ( -/obj/structure/platform/corner{ - anchored = 1 +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 4 }, -/turf/simulated/floor/plasteel, -/area/station/public/dorms) +/obj/structure/table/wood, +/obj/item/flashlight/lamp/green/off, +/obj/item/storage/fancy/cigarettes/cigpack_robust{ + pixel_x = 7; + pixel_y = -2 + }, +/obj/item/lighter/zippo{ + pixel_x = -7; + pixel_y = -3 + }, +/obj/machinery/newscaster/directional/north, +/turf/simulated/floor/wood/fancy, +/area/station/public/sleep_male) "aWX" = ( /obj/machinery/atmospherics/pipe/simple/visible/purple{ dir = 4 @@ -13209,9 +13368,11 @@ }, /area/station/service/chapel/office) "aXf" = ( -/turf/simulated/floor/plasteel{ - icon_state = "bar" +/obj/structure/flora/junglebush/large{ + pixel_y = -18 }, +/obj/machinery/light/directional/east, +/turf/simulated/floor/grass/no_creep, /area/station/public/dorms) "aXg" = ( /obj/machinery/firealarm/directional/south, @@ -13237,21 +13398,20 @@ }, /area/station/service/chapel) "aXi" = ( -/obj/structure/table/wood, -/obj/machinery/alarm/directional/north, -/obj/item/lipstick/random{ - pixel_x = 3; - pixel_y = 6 +/obj/machinery/atmospherics/pipe/manifold/hidden/supply, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" }, -/obj/item/lipstick/random{ - pixel_y = 2 +/obj/structure/disposalpipe/segment{ + dir = 4 }, -/obj/item/lipstick/random{ - pixel_x = -3; - pixel_y = -2 +/turf/simulated/floor/plasteel{ + icon_state = "hydrofloor" }, -/turf/simulated/floor/mineral/tranquillite, -/area/station/service/mime) +/area/station/public/toilet) "aXj" = ( /obj/structure/morgue, /obj/machinery/camera{ @@ -13602,14 +13762,16 @@ }, /area/station/medical/reception) "aYs" = ( -/obj/machinery/light_switch/south, -/obj/machinery/cryopod{ - dir = 4 +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" }, -/obj/item/radio/intercom/directional/west, /turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "whitegreencorner" + dir = 8; + icon_state = "whitegreen" }, /area/station/public/sleep) "aYt" = ( @@ -13636,14 +13798,14 @@ }, /area/station/ai_monitored/storage/eva) "aYv" = ( -/obj/machinery/hologram/holopad, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ +/obj/machinery/atmospherics/unary/vent_pump/on{ dir = 4 }, /turf/simulated/floor/plasteel{ - icon_state = "whitegreenfull" + dir = 1; + icon_state = "neutralcorner" }, -/area/station/public/sleep) +/area/station/public/dorms) "aYx" = ( /obj/structure/crematorium, /obj/effect/landmark/spawner/rev, @@ -13729,31 +13891,21 @@ }, /area/station/service/chapel) "aYI" = ( -/obj/machinery/computer/cryopod{ - dir = 8; - pixel_x = 30 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 9 - }, -/turf/simulated/floor/plasteel{ - icon_state = "whitegreenfull" +/obj/effect/spawner/window/reinforced/polarized/grilled{ + id = "mime" }, -/area/station/public/sleep) +/turf/simulated/floor/plating, +/area/station/service/mime) "aYJ" = ( -/obj/machinery/alarm/directional/north, -/obj/machinery/atmospherics/unary/vent_scrubber/on, -/turf/simulated/floor/carpet, +/obj/machinery/fishtank/wall{ + opacity = 1 + }, +/turf/simulated/floor/wood, /area/station/public/mrchangs) "aYK" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/obj/structure/disposalpipe/segment, +/obj/structure/rack, +/obj/effect/spawner/lootdrop/trash, +/obj/effect/spawner/lootdrop/trash, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "aYL" = ( @@ -13766,9 +13918,9 @@ /turf/simulated/floor/mineral/titanium/blue, /area/shuttle/arrival/station) "aYO" = ( -/obj/structure/disposalpipe/segment{ - dir = 4 - }, +/obj/machinery/door/airlock/maintenance, +/obj/effect/mapping_helpers/airlock/access/any/engineering/maintenance, +/obj/effect/mapping_helpers/airlock/autoname, /obj/structure/cable{ d1 = 4; d2 = 8; @@ -13955,30 +14107,36 @@ }, /area/station/public/dorms) "aZt" = ( -/turf/simulated/floor/wood/oak, -/area/station/public/dorms) +/obj/structure/curtain/open/shower/security, +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "aZu" = ( -/obj/machinery/hologram/holopad, -/turf/simulated/floor/carpet, -/area/station/public/dorms) -"aZv" = ( -/turf/simulated/floor/carpet, -/area/station/public/dorms) -"aZw" = ( -/obj/structure/closet/athletic_mixed, -/obj/structure/disposalpipe/segment, +/obj/effect/decal/cleanable/dirt, /obj/structure/cable{ d1 = 1; d2 = 2; icon_state = "1-2" }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) +"aZv" = ( +/obj/structure/curtain/open/shower/security, /obj/machinery/atmospherics/pipe/simple/hidden/supply, -/turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "arrival" +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" }, -/area/station/public/dorms) +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) +"aZw" = ( +/obj/effect/decal/cleanable/dirt, +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 8 + }, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) "aZx" = ( /obj/machinery/door/airlock/public/glass, /obj/effect/mapping_helpers/airlock/autoname, @@ -13986,52 +14144,49 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/fore) "aZy" = ( -/mob/living/simple_animal/hostile/retaliate/carp/koi{ - name = "Jeremy" +/obj/machinery/door/poddoor{ + id = "maints3"; + id_tag = "maints3" }, -/turf/simulated/floor/beach/water{ - icon_state = "seadeep" +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" }, -/area/station/public/dorms) +/obj/effect/decal/cleanable/dust, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "aZz" = ( -/obj/structure/chair{ - dir = 4 - }, -/obj/effect/landmark/start/bath, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "arrival" + icon_state = "neutralfull" }, /area/station/public/dorms) "aZC" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/platform/corner{ +/obj/machinery/alarm/directional/west, +/turf/simulated/floor/plasteel{ dir = 1; - anchored = 1 + icon_state = "neutralcorner" }, -/turf/simulated/floor/plasteel, /area/station/public/dorms) "aZD" = ( -/obj/structure/platform{ - anchored = 1 - }, -/turf/simulated/floor/plasteel{ - icon_state = "caution" +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 6 }, -/area/station/public/dorms) +/obj/machinery/light_switch/west, +/turf/simulated/floor/wood/fancy, +/area/station/public/sleep_female) "aZE" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/platform{ - dir = 8; - anchored = 1 +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 6 }, -/obj/structure/chair/stool{ - dir = 8 +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 10 }, /turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "caution" + icon_state = "neutralfull" }, /area/station/public/dorms) "aZF" = ( @@ -14042,15 +14197,28 @@ }, /area/station/service/chapel) "aZG" = ( -/turf/simulated/floor/plasteel{ - icon_state = "dark" +/obj/machinery/door/airlock{ + id_tag = "PrivateRoom1" }, -/area/station/public/dorms) +/obj/effect/mapping_helpers/airlock/autoname, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/turf/simulated/floor/wood/fancy, +/area/station/public/sleep_male) "aZL" = ( +/obj/machinery/door/airlock/bathroom{ + id_tag = "toilet_dorm1" + }, +/obj/effect/mapping_helpers/airlock/autoname, /turf/simulated/floor/plasteel{ - icon_state = "cafeteria" + icon_state = "hydrofloor" }, -/area/station/public/dorms) +/area/station/public/toilet) "aZN" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, @@ -14355,28 +14523,33 @@ }, /area/station/command/vault) "bbg" = ( -/obj/machinery/door/firedoor, -/obj/machinery/door/airlock{ - id_tag = "Cryogenics" - }, -/obj/effect/mapping_helpers/airlock/autoname, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/firealarm/directional/north, /turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "whitegreen" + icon_state = "neutral" }, -/area/station/public/sleep) +/area/station/public/dorms) "bbi" = ( -/obj/machinery/economy/vending/cola, -/obj/machinery/camera{ - c_tag = "Dormitories West" +/obj/structure/railing{ + dir = 8 }, -/turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "neutralcorner" +/obj/effect/turf_decal/siding/yellow{ + dir = 8 }, -/area/station/public/dorms) +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 6 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 6 + }, +/obj/structure/cable{ + d1 = 2; + d2 = 4; + icon_state = "2-4" + }, +/obj/machinery/light/directional/north, +/obj/structure/disposalpipe/segment/corner, +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "bbj" = ( /obj/structure/table, /obj/item/storage/toolbox/electrical{ @@ -14388,12 +14561,14 @@ /turf/simulated/floor/plasteel, /area/station/public/storage/tools) "bbk" = ( -/obj/structure/window/reinforced{ - dir = 8 +/obj/structure/platform{ + dir = 8; + anchored = 1 }, -/obj/structure/window/reinforced, -/turf/simulated/floor/beach/water{ - icon_state = "seadeep" +/obj/item/kirbyplants, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "neutralcorner" }, /area/station/public/dorms) "bbm" = ( @@ -14402,16 +14577,33 @@ /turf/simulated/floor/plasteel, /area/station/public/storage/tools) "bbn" = ( -/obj/structure/window/reinforced, -/turf/simulated/floor/beach/water{ - icon_state = "seadeep" +/obj/effect/decal/cleanable/dirt, +/obj/effect/decal/cleanable/blood/old{ + icon_state = "mfloor6"; + random_icon_states = null }, -/area/station/public/dorms) +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + dir = 10; + icon_state = "darkgreen" + }, +/area/station/maintenance/fsmaint) "bbo" = ( -/obj/structure/window/reinforced, +/obj/machinery/power/apc/directional/north, +/obj/structure/cable{ + d2 = 2; + icon_state = "0-2" + }, /turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "ramptop" + dir = 1; + icon_state = "neutralcorner" }, /area/station/public/dorms) "bbp" = ( @@ -14439,12 +14631,10 @@ }, /area/station/hallway/primary/central/north) "bbu" = ( -/obj/structure/platform{ - dir = 1; - anchored = 1 - }, +/obj/machinery/alarm/directional/north, /turf/simulated/floor/plasteel{ - icon_state = "caution" + dir = 1; + icon_state = "neutralcorner" }, /area/station/public/dorms) "bbv" = ( @@ -14454,7 +14644,19 @@ }, /area/station/public/dorms) "bbw" = ( +/obj/structure/railing/corner{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel{ + dir = 4; icon_state = "neutralcorner" }, /area/station/public/dorms) @@ -14586,12 +14788,11 @@ /turf/simulated/floor/plating, /area/station/maintenance/fpmaint) "bbZ" = ( -/obj/machinery/light/directional/north, -/turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "neutralcorner" - }, -/area/station/public/dorms) +/obj/machinery/atmospherics/unary/vent_pump/on, +/obj/structure/bed, +/obj/item/bedsheet/red, +/turf/simulated/floor/wood/fancy, +/area/station/public/sleep_female) "bca" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/structure/cable{ @@ -14622,32 +14823,44 @@ /turf/simulated/floor/plating, /area/station/maintenance/asmaint2) "bcc" = ( -/obj/structure/window/reinforced, -/obj/machinery/economy/vending/cigarette, -/turf/simulated/floor/wood/oak, -/area/station/public/dorms) +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "bcd" = ( -/obj/structure/window/reinforced, -/obj/structure/table/wood, -/obj/item/paicard, -/turf/simulated/floor/wood/oak, -/area/station/public/dorms) +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 8 + }, +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "bce" = ( -/obj/structure/window/reinforced, -/obj/structure/chair/comfy/beige{ - dir = 4 +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, +/obj/structure/cable{ + d1 = 1; + d2 = 8; + icon_state = "1-8" }, -/obj/effect/landmark/start/assistant, -/turf/simulated/floor/wood/oak, -/area/station/public/dorms) +/obj/effect/landmark/start/artist, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 9 + }, +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "bcf" = ( -/obj/structure/window/reinforced, -/obj/structure/chair/comfy/beige{ - dir = 8 +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 10 }, -/obj/effect/landmark/start/assistant, -/turf/simulated/floor/wood/oak, -/area/station/public/dorms) +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "bch" = ( /obj/structure/chair/office/dark, /obj/machinery/camera{ @@ -14673,26 +14886,30 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, -/obj/effect/spawner/window/reinforced/grilled, /obj/structure/disposalpipe/segment{ dir = 4 }, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) -"bcm" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" }, -/obj/structure/disposalpipe/segment{ - dir = 4 +/obj/structure/cable{ + d2 = 8; + icon_state = "0-8" }, +/obj/structure/grille, +/obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) +"bcm" = ( +/obj/machinery/computer/arcade/orion_trail{ + dir = 8 + }, +/obj/machinery/light/directional/east, +/turf/simulated/floor/carpet/arcade, +/area/station/public/arcade) "bcn" = ( -/obj/structure/lattice, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, @@ -14702,8 +14919,14 @@ /obj/structure/disposalpipe/segment{ dir = 4 }, -/turf/space, -/area/space/nearstation) +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) "bco" = ( /obj/structure/filingcabinet, /turf/simulated/floor/wood/oak, @@ -14726,19 +14949,24 @@ /turf/simulated/floor/mineral/titanium/blue, /area/shuttle/arrival/station) "bct" = ( -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" +/obj/structure/disposalpipe/segment{ + dir = 4 }, /obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ - dir = 4 + dir = 1 }, /obj/machinery/atmospherics/pipe/manifold/hidden/supply{ - dir = 4 + dir = 1 }, -/obj/structure/disposalpipe/segment/corner{ - dir = 8 +/obj/structure/cable{ + d1 = 2; + d2 = 4; + icon_state = "2-4" + }, +/obj/structure/cable{ + d1 = 2; + d2 = 8; + icon_state = "2-8" }, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) @@ -14912,9 +15140,27 @@ }, /area/station/hallway/primary/port) "bda" = ( +/obj/structure/platform{ + dir = 8; + anchored = 1 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 6 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 6 + }, +/obj/structure/cable{ + d1 = 2; + d2 = 4; + icon_state = "2-4" + }, +/obj/structure/disposalpipe/segment/corner{ + dir = 4 + }, /turf/simulated/floor/plasteel{ dir = 1; - icon_state = "arrival" + icon_state = "neutralcorner" }, /area/station/public/dorms) "bdb" = ( @@ -14962,10 +15208,24 @@ /turf/simulated/floor/plasteel, /area/station/command/bridge) "bdj" = ( -/obj/structure/chair/stool{ - dir = 1 +/obj/machinery/atmospherics/pipe/manifold/hidden/supply, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, +/obj/structure/cable{ + d1 = 1; + d2 = 8; + icon_state = "1-8" + }, +/obj/structure/cable{ + d1 = 1; + d2 = 4; + icon_state = "1-4" + }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + icon_state = "neutralcorner" }, -/turf/simulated/floor/plasteel, /area/station/public/dorms) "bdk" = ( /obj/machinery/disposal, @@ -14975,7 +15235,21 @@ /turf/simulated/floor/plasteel, /area/station/public/storage/tools) "bdm" = ( -/obj/machinery/ai_status_display/east, +/obj/structure/disposalpipe/junction/reversed{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 1; + d2 = 4; + icon_state = "1-4" + }, +/obj/structure/cable{ + d1 = 1; + d2 = 8; + icon_state = "1-8" + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, /turf/simulated/floor/plasteel{ icon_state = "neutralcorner" }, @@ -15002,22 +15276,9 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/port) "bdr" = ( -/obj/structure/table/wood, -/obj/machinery/atmospherics/unary/vent_scrubber/on{ - dir = 8 - }, -/obj/item/clothing/head/stalhelm{ - pixel_x = -1; - pixel_y = 18 - }, -/obj/item/clothing/under/costume/soldieruniform, -/obj/item/clothing/suit/soldiercoat{ - pixel_y = 6 - }, -/obj/item/radio/intercom/directional/east, -/obj/machinery/light_switch/south, -/turf/simulated/floor/wood/oak, -/area/station/service/clown) +/obj/effect/landmark/start/artist, +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "bdu" = ( /obj/structure/reagent_dispensers/watertank, /turf/simulated/floor/plasteel{ @@ -15131,18 +15392,10 @@ /turf/simulated/floor/plasteel, /area/station/hallway/secondary/garden) "bdI" = ( -/obj/machinery/door/airlock/multi_tile/glass{ - dir = 1 - }, -/obj/effect/mapping_helpers/airlock/autoname, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/turf/simulated/floor/plasteel, -/area/station/public/dorms) +/obj/structure/rack, +/obj/item/stack/sheet/metal, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "bdK" = ( /obj/structure/cable{ d1 = 2; @@ -15228,24 +15481,15 @@ /turf/simulated/floor/plating, /area/station/service/chapel) "bea" = ( -/obj/structure/sign/chinese{ - pixel_x = -32; - pixel_y = -32 - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ - dir = 1 - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ - dir = 1 - }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/cable{ - d1 = 2; - d2 = 4; - icon_state = "2-4" + d1 = 1; + d2 = 2; + icon_state = "1-2" }, /turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "neutralcorner" + icon_state = "neutralfull" }, /area/station/public/dorms) "beb" = ( @@ -15426,28 +15670,13 @@ }, /area/station/ai_monitored/storage/eva) "bfb" = ( -/obj/machinery/poolcontroller{ - pixel_y = -25; - srange = 7 - }, -/obj/structure/disposalpipe/segment{ - dir = 4 - }, /obj/structure/cable{ d1 = 4; d2 = 8; icon_state = "4-8" }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/turf/simulated/floor/plasteel{ - icon_state = "neutralcorner" - }, -/area/station/public/dorms) +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) "bfc" = ( /obj/structure/chair/stool{ dir = 8 @@ -15464,26 +15693,11 @@ /turf/simulated/floor/plating, /area/station/ai_monitored/storage/eva) "bfi" = ( -/obj/item/radio/intercom/directional/south, -/obj/machinery/camera{ - c_tag = "Dormitories Center"; - dir = 1 - }, -/obj/structure/disposalpipe/segment{ - dir = 4 - }, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ +/obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 4 }, /turf/simulated/floor/plasteel{ + dir = 1; icon_state = "neutralcorner" }, /area/station/public/dorms) @@ -15510,90 +15724,59 @@ }, /area/station/service/kitchen) "bfp" = ( -/obj/machinery/status_display/directional/south, -/obj/structure/disposalpipe/segment{ - dir = 4 - }, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, -/obj/machinery/light/directional/south, +/obj/machinery/light/small/directional/east, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel{ - dir = 8; + dir = 4; icon_state = "neutralcorner" }, /area/station/public/dorms) "bfq" = ( -/obj/structure/disposalpipe/segment{ - dir = 4 - }, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, +/obj/machinery/gameboard, +/obj/structure/sign/poster/official/random/south, /turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "neutralcorner" + icon_state = "neutralfull" }, /area/station/public/dorms) "bfv" = ( -/obj/machinery/alarm/directional/south, -/obj/structure/disposalpipe/segment{ - dir = 4 - }, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 +/obj/structure/chair/comfy/brown{ + dir = 8 }, +/obj/effect/landmark/start/artist, /turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "neutralcorner" + icon_state = "neutralfull" }, /area/station/public/dorms) "bfy" = ( -/obj/machinery/economy/atm/directional/south, -/obj/structure/disposalpipe/segment{ - dir = 4 +/obj/structure/disposalpipe/segment/corner{ + dir = 2 }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 +/obj/structure/cable{ + d1 = 2; + d2 = 8; + icon_state = "2-8" }, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 + dir = 10 }, -/turf/simulated/floor/plasteel{ - icon_state = "neutralcorner" +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 10 }, -/area/station/public/dorms) +/obj/effect/decal/cleanable/dirt, +/obj/effect/decal/cleanable/dust, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "bfz" = ( -/obj/machinery/disposal, -/obj/structure/disposalpipe/trunk{ - dir = 8 - }, -/turf/simulated/floor/plasteel{ - icon_state = "neutralcorner" +/obj/effect/decal/cleanable/dirt, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" }, -/area/station/public/dorms) +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "bfB" = ( /obj/machinery/navbeacon{ codes_txt = "delivery"; @@ -15992,8 +16175,12 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/nw) "bgT" = ( -/obj/effect/spawner/window/reinforced/grilled, -/turf/simulated/floor/plating, +/obj/structure/chair/stool/bar, +/obj/effect/turf_decal/siding/wood, +/obj/effect/turf_decal/siding/wood{ + dir = 1 + }, +/turf/simulated/floor/wood/cherry, /area/station/public/mrchangs) "bgU" = ( /obj/machinery/status_display/directional/north, @@ -16013,11 +16200,8 @@ }, /area/station/hallway/primary/central/north) "bgZ" = ( -/obj/machinery/door/airlock/tranquillite, -/obj/effect/mapping_helpers/airlock/autoname, -/obj/effect/mapping_helpers/airlock/access/any/service/mime, -/turf/simulated/floor/mineral/tranquillite, -/area/station/service/mime) +/turf/simulated/floor/carpet/green, +/area/station/public/arcade) "bha" = ( /turf/simulated/floor/plasteel{ icon_state = "L1" @@ -16034,6 +16218,13 @@ }, /area/station/hallway/primary/central/north) "bhg" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "neutralcorner" @@ -16210,9 +16401,15 @@ }, /area/station/hallway/primary/central/north) "bhX" = ( -/obj/machinery/door/airlock, -/obj/effect/mapping_helpers/airlock/autoname, /obj/effect/decal/cleanable/dust, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/machinery/door/airlock/hatch, +/obj/effect/mapping_helpers/airlock/welded, +/obj/effect/mapping_helpers/airlock/autoname, /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ dir = 4 }, @@ -16390,30 +16587,73 @@ }, /area/station/hallway/primary/central/north) "biP" = ( -/obj/structure/chair/wood{ - dir = 4 +/obj/structure/table/reinforced, +/obj/machinery/door/firedoor, +/obj/item/reagent_containers/condiment/saltshaker{ + pixel_x = -4; + pixel_y = 6 }, -/obj/effect/landmark/start/artist, -/turf/simulated/floor/carpet, +/obj/item/reagent_containers/condiment/peppermill{ + pixel_x = 4; + pixel_y = 6 + }, +/obj/item/reagent_containers/condiment/soysauce, +/obj/machinery/door/poddoor/shutters/preopen{ + dir = 2; + id_tag = "ChangKitchen"; + name = "Mr. Chang's Shutters" + }, +/turf/simulated/floor/wood, /area/station/public/mrchangs) "biQ" = ( -/obj/structure/statue/chickenstatue, -/obj/machinery/camera{ - c_tag = "Mr. Chang's" +/obj/machinery/door/firedoor, +/obj/structure/table/reinforced, +/obj/item/eftpos{ + pixel_x = -4; + pixel_y = 4 }, -/turf/simulated/floor/carpet, +/obj/machinery/door/poddoor/shutters/preopen{ + dir = 2; + id_tag = "ChangKitchen"; + name = "Mr. Chang's Shutters" + }, +/turf/simulated/floor/wood, /area/station/public/mrchangs) "biR" = ( -/obj/structure/chair/wood{ - dir = 8 +/obj/structure/table/reinforced, +/obj/machinery/door/firedoor, +/obj/item/paper_bin/nanotrasen, +/obj/item/pen, +/obj/machinery/door/poddoor/shutters/preopen{ + dir = 2; + id_tag = "ChangKitchen"; + name = "Mr. Chang's Shutters" }, -/obj/effect/landmark/start/artist, -/turf/simulated/floor/carpet, +/turf/simulated/floor/wood, /area/station/public/mrchangs) "biT" = ( -/obj/structure/table/wood, -/obj/item/kitchen/utensil/fork, -/turf/simulated/floor/carpet, +/obj/structure/table/reinforced, +/obj/machinery/door/firedoor, +/obj/item/kitchen/utensil/spork{ + pixel_x = -10 + }, +/obj/item/kitchen/utensil/spork{ + pixel_x = 10 + }, +/obj/item/kitchen/utensil/spork{ + pixel_y = 2; + pixel_x = -4 + }, +/obj/item/kitchen/utensil/spork{ + pixel_y = 2; + pixel_x = 4 + }, +/obj/machinery/door/poddoor/shutters/preopen{ + dir = 2; + id_tag = "ChangKitchen"; + name = "Mr. Chang's Shutters" + }, +/turf/simulated/floor/wood, /area/station/public/mrchangs) "biZ" = ( /obj/structure/table/wood, @@ -16503,6 +16743,7 @@ d2 = 8; icon_state = "2-8" }, +/obj/effect/decal/cleanable/dust, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "bjA" = ( @@ -17225,10 +17466,19 @@ /turf/simulated/floor/plasteel, /area/station/hallway/secondary/entry) "bmT" = ( -/obj/machinery/light/small/directional/east, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, /turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "neutralcorner" + icon_state = "neutralfull" }, /area/station/public/dorms) "bmU" = ( @@ -17761,12 +18011,22 @@ /turf/simulated/floor/plasteel, /area/station/hallway/secondary/entry) "boU" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, /obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" + d1 = 4; + d2 = 8; + icon_state = "4-8" }, -/turf/simulated/floor/carpet, +/obj/effect/turf_decal/siding/wood/corner, +/obj/effect/turf_decal/siding/wood/corner{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 5 + }, +/turf/simulated/floor/wood, /area/station/public/mrchangs) "boV" = ( /obj/structure/closet/secure_closet/bar, @@ -17977,17 +18237,28 @@ /turf/simulated/floor/carpet, /area/station/service/chapel) "bpQ" = ( -/obj/machinery/status_display/directional/west, -/obj/machinery/economy/vending/chinese, -/obj/machinery/light/small/directional/west, -/turf/simulated/floor/carpet, +/obj/effect/turf_decal/siding/wood{ + dir = 9 + }, +/obj/machinery/power/apc/directional/west, +/obj/structure/cable{ + d2 = 4; + icon_state = "0-4" + }, +/obj/structure/sink/kitchen/west, +/turf/simulated/floor/wood, /area/station/public/mrchangs) "bpT" = ( -/obj/machinery/hologram/holopad, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 +/obj/effect/turf_decal/siding/wood{ + dir = 1 }, -/turf/simulated/floor/carpet, +/obj/effect/landmark/start/dealer, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/wood, /area/station/public/mrchangs) "bpX" = ( /obj/item/kirbyplants, @@ -18060,21 +18331,10 @@ /turf/simulated/floor/plating, /area/station/maintenance/port) "bqm" = ( -/obj/machinery/door/firedoor, -/obj/machinery/door/airlock/public/glass, -/obj/effect/mapping_helpers/airlock/autoname, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 +/obj/effect/spawner/window/reinforced/polarized/grilled{ + id = "mrchang" }, -/turf/simulated/floor/wood/oak, +/turf/simulated/floor/plating, /area/station/public/mrchangs) "bqn" = ( /obj/structure/sign/securearea{ @@ -18574,13 +18834,11 @@ }, /area/station/command/bridge) "bsx" = ( -/obj/machinery/cryopod, -/obj/machinery/light/directional/east, /turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "whitegreencorner" + dir = 8; + icon_state = "neutralcorner" }, -/area/station/public/sleep) +/area/station/public/dorms) "bsy" = ( /obj/machinery/atmospherics/unary/vent_pump/on, /turf/simulated/floor/plasteel, @@ -19053,10 +19311,8 @@ /turf/simulated/floor/plasteel, /area/station/hallway/secondary/exit) "buU" = ( -/obj/machinery/alarm/directional/east, /turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "neutralcorner" + icon_state = "neutralfull" }, /area/station/public/dorms) "buX" = ( @@ -19479,10 +19735,8 @@ /obj/structure/sign/securearea{ pixel_x = 32 }, -/turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "neutral" - }, +/obj/machinery/atmospherics/meter, +/turf/simulated/floor/plasteel, /area/station/maintenance/fsmaint) "bxb" = ( /turf/simulated/wall, @@ -19702,9 +19956,15 @@ }, /area/station/command/bridge) "bxP" = ( -/obj/machinery/door/window/classic/normal, -/turf/simulated/floor/plasteel, -/area/station/public/dorms) +/obj/machinery/atmospherics/unary/vent_scrubber/on{ + dir = 8 + }, +/obj/structure/table/wood, +/obj/machinery/newscaster/directional/north, +/obj/item/storage/fancy/donut_box, +/obj/item/food/snacks/grown/poppy, +/turf/simulated/floor/wood/fancy, +/area/station/public/sleep_female) "bxQ" = ( /obj/machinery/economy/vending/coffee, /turf/simulated/floor/wood/oak, @@ -20184,16 +20444,14 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/starboard/west) "bAh" = ( -/obj/structure/curtain/open/shower, -/obj/machinery/shower{ - dir = 8; - pixel_x = -5 +/obj/structure/chair/sofa{ + dir = 1 }, -/obj/effect/landmark/start/assistant, +/obj/effect/landmark/start/artist, /turf/simulated/floor/plasteel{ - icon_state = "showroomfloor" + icon_state = "neutralfull" }, -/area/station/public/toilet) +/area/station/public/dorms) "bAi" = ( /obj/machinery/door/firedoor, /turf/simulated/floor/plasteel, @@ -22336,14 +22594,22 @@ }, /area/station/medical/surgery/primary) "bJU" = ( -/obj/machinery/door_control/bolt_control/east{ - id = "toilet_unit1" +/obj/machinery/atmospherics/pipe/manifold/hidden/supply, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/machinery/light/directional/south, +/obj/structure/disposalpipe/segment{ + dir = 4 }, -/obj/machinery/recharge_station, /turf/simulated/floor/plasteel{ - icon_state = "hydrofloor" + dir = 1; + icon_state = "neutral" }, -/area/station/public/toilet) +/area/station/public/dorms) "bJW" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 @@ -26122,6 +26388,13 @@ icon_state = "whiteblue" }, /area/station/medical/sleeper) +"caI" = ( +/obj/structure/disposalpipe/segment{ + dir = 4 + }, +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fore) "caL" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 9 @@ -28373,9 +28646,11 @@ /turf/simulated/floor/plasteel/airless, /area/station/science/toxins/test) "ckc" = ( -/obj/machinery/door/firedoor, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 4 + }, +/turf/simulated/floor/plasteel, +/area/station/public/dorms) "ckg" = ( /obj/machinery/alarm/directional/north, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ @@ -30102,6 +30377,17 @@ }, /turf/simulated/floor/plasteel, /area/station/maintenance/apmaint) +"cqW" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/disposalpipe/segment/corner{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + icon_state = "dark" + }, +/area/station/service/bar) "cqZ" = ( /obj/machinery/power/apc/directional/south, /obj/structure/cable{ @@ -34788,6 +35074,9 @@ /turf/simulated/floor/plating, /area/station/maintenance/asmaint) "cIv" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/disposalpipe/segment, /obj/structure/cable{ d1 = 1; d2 = 4; @@ -34798,9 +35087,6 @@ d2 = 4; icon_state = "2-4" }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel, /area/station/hallway/primary/fore) "cIw" = ( @@ -35380,10 +35666,12 @@ /obj/machinery/atmospherics/pipe/manifold/visible/cyan{ dir = 4 }, -/turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "neutral" +/obj/structure/cable{ + d1 = 2; + d2 = 8; + icon_state = "2-8" }, +/turf/simulated/floor/plasteel, /area/station/maintenance/fsmaint) "cKv" = ( /obj/machinery/light/directional/north, @@ -37054,18 +37342,18 @@ }, /area/station/aisat/service) "cQZ" = ( -/obj/structure/curtain/open/shower{ - anchored = 1 - }, -/obj/machinery/shower{ - dir = 4; - pixel_x = 5 - }, -/obj/effect/decal/cleanable/dust, -/obj/effect/landmark/spawner/nukedisc_respawn, -/turf/simulated/floor/plasteel{ - icon_state = "showroomfloor" +/obj/machinery/door/airlock/maintenance, +/obj/effect/mapping_helpers/airlock/access/any/engineering/maintenance, +/obj/effect/mapping_helpers/airlock/autoname, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" }, +/obj/structure/disposalpipe/segment, +/turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "cRa" = ( /obj/effect/decal/cleanable/dirt, @@ -37730,16 +38018,36 @@ /turf/simulated/wall/r_wall, /area/station/engineering/control) "cSV" = ( -/obj/machinery/ai_status_display/south, -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 1 +/obj/effect/turf_decal/siding/wood, +/obj/structure/table/wood/fancy/red, +/obj/item/reagent_containers/glass/beaker/large, +/obj/item/reagent_containers/glass/beaker/large, +/obj/machinery/light/small/directional/south, +/obj/machinery/button/windowtint/south{ + pixel_x = -6; + id = "mrchang" }, -/turf/simulated/floor/carpet, +/obj/machinery/door_control/shutter/south{ + id = "ChangKitchen"; + name = "Mr. Chang's Shutters Control"; + pixel_x = 6 + }, +/obj/item/kitchen/knife{ + pixel_x = -8 + }, +/turf/simulated/floor/wood, /area/station/public/mrchangs) "cSW" = ( -/obj/structure/statue/chickenstatue, -/obj/machinery/firealarm/directional/south, -/turf/simulated/floor/carpet, +/obj/effect/turf_decal/siding/wood{ + dir = 10 + }, +/obj/structure/table/wood/fancy/red, +/obj/machinery/kitchen_machine/microwave{ + pixel_x = -1; + pixel_y = 7; + color = "#c47e1d" + }, +/turf/simulated/floor/wood, /area/station/public/mrchangs) "cSX" = ( /obj/structure/table/wood, @@ -38152,9 +38460,13 @@ /turf/simulated/floor/plating, /area/station/maintenance/aft) "cUi" = ( -/obj/structure/chair/wood, -/obj/effect/landmark/start/artist, -/turf/simulated/floor/carpet, +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 4 + }, +/obj/effect/turf_decal/siding/wood/corner{ + dir = 8 + }, +/turf/simulated/floor/wood, /area/station/public/mrchangs) "cUj" = ( /obj/machinery/power/apc/directional/north, @@ -41668,11 +41980,13 @@ /turf/simulated/wall/mineral/titanium, /area/shuttle/pod_4) "dgH" = ( -/obj/structure/table/wood, -/obj/item/reagent_containers/drinks/mug, +/obj/effect/turf_decal/siding/wood, /obj/machinery/light/small/directional/south, -/obj/item/radio/intercom/directional/south, -/turf/simulated/floor/wood/oak, +/obj/machinery/cooker/deepfryer{ + foodcolor = null; + color = "#c47e1d" + }, +/turf/simulated/floor/wood, /area/station/public/mrchangs) "dgI" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -41801,23 +42115,27 @@ /turf/simulated/floor/plating, /area/station/engineering/ai_transit_tube) "dhp" = ( -/obj/structure/table/wood, -/obj/item/reagent_containers/condiment/peppermill{ - pixel_x = 2; - pixel_y = 6 +/obj/effect/turf_decal/siding/wood{ + dir = 10 }, -/obj/machinery/newscaster/directional/south, -/turf/simulated/floor/wood/oak, +/obj/machinery/camera{ + c_tag = "Mr.Chang's"; + dir = 4 + }, +/obj/machinery/kitchen_machine/grill{ + pixel_x = 1; + pixel_y = 2; + color = "#c47e1d" + }, +/turf/simulated/floor/wood, /area/station/public/mrchangs) "dhq" = ( -/obj/structure/chair/wood{ - dir = 8 +/obj/effect/turf_decal/siding/wood{ + dir = 6 }, -/obj/machinery/light_switch/east, -/obj/effect/landmark/start/artist, -/obj/machinery/power/apc/directional/south, -/obj/structure/cable, -/turf/simulated/floor/wood/oak, +/obj/structure/chair/stool, +/obj/effect/landmark/start/dealer, +/turf/simulated/floor/wood, /area/station/public/mrchangs) "dhv" = ( /obj/effect/turf_decal/delivery/hollow, @@ -42275,14 +42593,11 @@ /turf/simulated/floor/catwalk, /area/station/maintenance/storage) "djg" = ( -/obj/machinery/door/firedoor, -/obj/machinery/door/airlock/multi_tile/glass, -/obj/effect/mapping_helpers/airlock/autoname, -/turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "neutral" +/obj/structure/chair/wood{ + dir = 4 }, -/area/station/public/dorms) +/turf/simulated/floor/carpet/green, +/area/station/public/arcade) "djh" = ( /turf/simulated/floor/plasteel{ icon_state = "green" @@ -42566,10 +42881,7 @@ /area/station/engineering/atmos/control) "dkm" = ( /obj/machinery/status_display/directional/north, -/turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "neutralcorner" - }, +/turf/simulated/floor/plasteel, /area/station/hallway/primary/central/ne) "dkn" = ( /turf/simulated/floor/plasteel{ @@ -42582,12 +42894,15 @@ /turf/simulated/floor/plating, /area/station/engineering/atmos) "dku" = ( +/obj/effect/spawner/random_spawners/cobweb_left_frequent, /obj/effect/decal/cleanable/dirt, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 +/obj/effect/decal/cleanable/dust, +/obj/structure/closet/l3closet/janitor, +/turf/simulated/floor/plasteel{ + dir = 9; + icon_state = "purple" }, -/turf/simulated/floor/plating, -/area/station/maintenance/fore) +/area/station/maintenance/fsmaint) "dkv" = ( /mob/living/simple_animal/mouse, /turf/simulated/floor/plating, @@ -42597,7 +42912,10 @@ c_tag = "Central Hallway North-East" }, /obj/machinery/light/directional/north, -/turf/simulated/floor/plasteel, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "neutralcorner" + }, /area/station/hallway/primary/central/ne) "dkz" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, @@ -43863,6 +44181,20 @@ }, /turf/simulated/floor/plating/airless, /area/station/engineering/control) +"dpn" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/plasteel, +/area/station/public/dorms) "dpp" = ( /obj/machinery/door/firedoor, /obj/machinery/door/airlock/engineering, @@ -44208,10 +44540,9 @@ }, /area/station/engineering/control) "dqF" = ( -/obj/effect/decal/cleanable/dirt, -/obj/structure/rack, -/obj/effect/spawner/lootdrop/maintenance/two, -/turf/simulated/floor/plating, +/obj/effect/decal/cleanable/dust, +/obj/effect/spawner/lootdrop/maintenance, +/turf/simulated/floor/engine, /area/station/maintenance/fsmaint) "dqL" = ( /obj/structure/grille, @@ -44696,13 +45027,14 @@ }, /area/station/engineering/break_room) "dtg" = ( -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" +/obj/effect/turf_decal/siding/yellow/corner{ + dir = 8 }, -/turf/simulated/floor/plasteel, -/area/station/public/dorms) +/obj/structure/railing/cap{ + dir = 10 + }, +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "dtk" = ( /obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel{ @@ -44951,11 +45283,9 @@ /turf/simulated/wall, /area/station/maintenance/port) "dwg" = ( -/obj/machinery/computer/arcade/orion_trail{ - dir = 4 - }, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) +/obj/effect/spawner/random_spawners/wall_rusted_maybe, +/turf/simulated/wall/r_wall, +/area/station/maintenance/fsmaint) "dwA" = ( /obj/machinery/floodlight, /obj/machinery/light_switch/west, @@ -44975,7 +45305,6 @@ /turf/simulated/floor/plating, /area/station/maintenance/asmaint) "dxa" = ( -/obj/machinery/light/small/directional/south, /obj/structure/cable{ d1 = 1; d2 = 8; @@ -44983,13 +45312,20 @@ }, /obj/machinery/atmospherics/pipe/manifold/hidden/supply, /obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, +/obj/machinery/light/small/directional/south, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "dxe" = ( -/obj/effect/decal/cleanable/dust, -/obj/structure/closet/l3closet/janitor, -/turf/simulated/floor/plating, +/obj/effect/decal/cleanable/dirt, +/obj/effect/landmark/damageturf, +/obj/effect/spawner/lootdrop/maintenance/three, +/turf/simulated/floor/engine, /area/station/maintenance/fsmaint) +"dxq" = ( +/turf/simulated/floor/plasteel{ + icon_state = "neutral" + }, +/area/station/public/dorms) "dxt" = ( /obj/structure/cable{ d1 = 4; @@ -45275,6 +45611,13 @@ d2 = 8; icon_state = "4-8" }, +/obj/machinery/navbeacon{ + codes_txt = "patrol;next_patrol=Armory_South"; + location = "Armory_North" + }, +/obj/effect/turf_decal/stripes/line{ + dir = 1 + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -45451,11 +45794,23 @@ /turf/simulated/floor/wood/oak, /area/station/maintenance/apmaint) "dEv" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/turf/simulated/floor/plasteel{ - icon_state = "whitegreenfull" +/obj/structure/table/wood, +/obj/item/flashlight/lamp/green/off{ + pixel_y = 6 }, -/area/station/public/sleep) +/obj/item/stamp/mime{ + pixel_y = 6; + pixel_x = -6 + }, +/obj/item/toy/figure/crew/mime{ + pixel_x = -5 + }, +/obj/item/food/snacks/baguette, +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 1 + }, +/turf/simulated/floor/mineral/tranquillite, +/area/station/service/mime) "dEw" = ( /obj/structure/table/reinforced, /obj/machinery/door/firedoor, @@ -45710,6 +46065,10 @@ }, /turf/simulated/floor/wood/oak, /area/station/command/office/hop) +"dIc" = ( +/obj/machinery/alarm/directional/south, +/turf/simulated/floor/carpet/green, +/area/station/public/arcade) "dIh" = ( /obj/structure/dresser, /obj/effect/spawner/random_spawners/cobweb_right_rare, @@ -45820,6 +46179,11 @@ icon_state = "grimy" }, /area/station/service/chapel/office) +"dKK" = ( +/obj/structure/closet/firecloset, +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) "dLo" = ( /obj/structure/cable{ d1 = 4; @@ -46122,6 +46486,7 @@ /obj/machinery/door/airlock/maintenance, /obj/effect/mapping_helpers/airlock/autoname, /obj/effect/mapping_helpers/airlock/access/any/service/bar, +/obj/structure/disposalpipe/segment, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "dRi" = ( @@ -46165,16 +46530,16 @@ }, /area/station/medical/medbay2) "dSf" = ( -/obj/structure/disposalpipe/segment/corner{ - dir = 4 - }, /obj/structure/cable{ - d1 = 2; - d2 = 4; - icon_state = "2-4" + d1 = 4; + d2 = 8; + icon_state = "4-8" }, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "neutralcorner" + }, +/area/station/public/dorms) "dSj" = ( /obj/structure/table/wood, /obj/effect/decal/cleanable/dust, @@ -46539,16 +46904,20 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/starboard/west) "eal" = ( +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 4 + }, /obj/structure/cable{ d1 = 1; d2 = 2; icon_state = "1-2" }, -/obj/machinery/door/poddoor{ - id_tag = "maint2" +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "neutralcorner" }, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/area/station/public/dorms) "eaT" = ( /obj/structure/table, /obj/item/storage/box/beakers{ @@ -46740,12 +47109,17 @@ }, /area/station/medical/sleeper) "edM" = ( -/obj/machinery/light/directional/east, -/turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "caution" +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" }, -/area/station/public/dorms) +/obj/effect/decal/cleanable/dust, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) "edQ" = ( /obj/structure/cable{ d1 = 1; @@ -46880,6 +47254,14 @@ icon_state = "whiteblue" }, /area/station/medical/reception) +"eeW" = ( +/obj/machinery/light/directional/west, +/obj/structure/weightmachine/stacklifter, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "caution" + }, +/area/station/public/dorms) "efk" = ( /obj/structure/rack, /obj/item/reagent_containers/drinks/bottle/whiskey{ @@ -46943,11 +47325,11 @@ /turf/simulated/wall, /area/station/public/vacant_store) "ega" = ( +/obj/effect/decal/cleanable/dirt, +/obj/machinery/light_construct/small/west, /obj/structure/chair/sofa/pew/left{ dir = 1 }, -/obj/effect/decal/cleanable/dirt, -/obj/machinery/light_construct/small/west, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "chapel" @@ -47242,10 +47624,25 @@ /area/station/service/bar/atrium) "eln" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 9 + }, +/obj/structure/cable{ + d1 = 1; + d2 = 8; + icon_state = "1-8" + }, +/obj/structure/cable{ + d1 = 2; + d2 = 8; + icon_state = "2-8" + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ dir = 4 }, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply, -/turf/simulated/floor/plasteel, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "neutralcorner" + }, /area/station/public/dorms) "elB" = ( /obj/machinery/door/morgue{ @@ -47313,10 +47710,16 @@ /turf/simulated/wall, /area/station/maintenance/aft) "emL" = ( -/obj/structure/closet/masks, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/door/firedoor, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, /turf/simulated/floor/plasteel{ - dir = 6; - icon_state = "caution" + icon_state = "neutral" }, /area/station/public/dorms) "eng" = ( @@ -47369,14 +47772,17 @@ /turf/simulated/floor/plasteel, /area/station/engineering/atmos) "enJ" = ( -/obj/machinery/door/airlock/bathroom{ - id_tag = "toilet_unit1" +/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ + dir = 4 }, -/obj/effect/mapping_helpers/airlock/autoname, -/turf/simulated/floor/plasteel{ - icon_state = "hydrofloor" +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" }, -/area/station/public/toilet) +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "enO" = ( /obj/effect/spawner/random_spawners/grille_maybe, /obj/machinery/atmospherics/pipe/simple/hidden/cyan, @@ -47509,13 +47915,14 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/assembly_line) "eri" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 9 - }, -/turf/simulated/floor/plasteel{ - icon_state = "showroomfloor" - }, -/area/station/public/toilet) +/obj/structure/table/wood, +/obj/item/coin/iron, +/obj/item/coin/iron, +/obj/item/coin/gold, +/obj/item/coin/iron, +/obj/item/storage/bag/money, +/turf/simulated/floor/carpet/green, +/area/station/public/arcade) "erj" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/unary/portables_connector{ @@ -47634,23 +48041,11 @@ /turf/simulated/floor/plating, /area/station/aisat/atmos) "esS" = ( -/obj/structure/disposalpipe/junction/reversed{ - dir = 4 - }, -/obj/structure/cable{ - d1 = 1; - d2 = 8; - icon_state = "1-8" - }, -/obj/structure/cable{ - d1 = 1; - d2 = 4; - icon_state = "1-4" +/obj/structure/railing/cap{ + dir = 5 }, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply, /turf/simulated/floor/plasteel{ - icon_state = "neutralcorner" + icon_state = "stairs-r" }, /area/station/public/dorms) "esT" = ( @@ -47872,6 +48267,16 @@ icon_state = "whitebluefull" }, /area/station/medical/reception) +"ewV" = ( +/obj/structure/window/reinforced{ + dir = 4 + }, +/obj/effect/turf_decal/delivery/hollow, +/obj/machinery/economy/vending/cola, +/turf/simulated/floor/plasteel{ + icon_state = "neutralfull" + }, +/area/station/public/dorms) "ewY" = ( /obj/structure/cable{ d1 = 1; @@ -47928,14 +48333,17 @@ /turf/simulated/floor/plating, /area/station/maintenance/asmaint) "exD" = ( -/obj/machinery/light/small/directional/south, +/obj/structure/chair/sofa/left{ + dir = 4 + }, +/obj/effect/landmark/start/assistant, /obj/machinery/atmospherics/unary/vent_scrubber/on{ - dir = 1 + dir = 8 }, /turf/simulated/floor/plasteel{ - icon_state = "hydrofloor" + icon_state = "neutralfull" }, -/area/station/public/toilet) +/area/station/public/dorms) "exN" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/structure/cable{ @@ -47991,6 +48399,10 @@ icon_state = "darkyellow" }, /area/station/engineering/supermatter_room) +"eyq" = ( +/obj/structure/sign/poster/contraband/very_robust, +/turf/simulated/wall, +/area/station/public/dorms) "eyB" = ( /obj/machinery/atmospherics/pipe/simple/hidden{ dir = 9 @@ -48259,6 +48671,11 @@ icon_state = "dark" }, /area/station/security/brig) +"eFl" = ( +/obj/effect/landmark/damageturf, +/obj/structure/disposalpipe/segment, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "eFn" = ( /obj/machinery/light/directional/north, /obj/structure/sign/poster/official/help_others{ @@ -48552,14 +48969,14 @@ }, /area/station/maintenance/asmaint) "eKH" = ( -/obj/machinery/door/airlock/bathroom{ - id_tag = "toilet_unitc" - }, -/obj/effect/mapping_helpers/airlock/autoname, -/turf/simulated/floor/plasteel{ - icon_state = "hydrofloor" +/obj/effect/spawner/random_spawners/grille_maybe, +/obj/structure/cable{ + d1 = 2; + d2 = 8; + icon_state = "2-8" }, -/area/station/public/toilet) +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "eKL" = ( /obj/structure/lattice/catwalk, /obj/structure/disposalpipe/segment/corner{ @@ -48584,6 +49001,25 @@ /obj/structure/extinguisher_cabinet/directional/north, /turf/simulated/floor/plasteel, /area/station/hallway/primary/port) +"eLj" = ( +/obj/structure/disposalpipe/segment{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/effect/decal/cleanable/dirt, +/obj/effect/spawner/wire_splicing/thirty, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "eLk" = ( /obj/machinery/atmospherics/pipe/simple/visible{ dir = 10 @@ -48826,12 +49262,10 @@ }, /area/station/hallway/primary/aft) "ePV" = ( -/obj/structure/window/reinforced{ - dir = 8 - }, +/obj/structure/railing/corner, /turf/simulated/floor/plasteel{ dir = 8; - icon_state = "caution" + icon_state = "neutralcorner" }, /area/station/public/dorms) "ePY" = ( @@ -49404,6 +49838,28 @@ /obj/item/latexballon, /turf/simulated/floor/plating, /area/station/maintenance/port) +"fcL" = ( +/obj/structure/disposalpipe/junction/y, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 1 + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 1 + }, +/obj/structure/cable{ + d1 = 2; + d2 = 4; + icon_state = "2-4" + }, +/obj/structure/cable{ + d1 = 2; + d2 = 8; + icon_state = "2-8" + }, +/turf/simulated/floor/plasteel{ + icon_state = "neutralcorner" + }, +/area/station/public/dorms) "fcM" = ( /obj/effect/decal/cleanable/dirt, /obj/effect/spawner/random_barrier/possibly_welded_airlock, @@ -49447,8 +49903,8 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 5 +/obj/structure/disposalpipe/junction/y{ + dir = 1 }, /turf/simulated/floor/plasteel{ icon_state = "dark" @@ -49552,10 +50008,14 @@ /turf/simulated/floor/plating, /area/station/maintenance/abandonedbar) "fes" = ( -/obj/structure/chair{ +/obj/structure/window/reinforced{ dir = 4 }, -/turf/simulated/floor/plasteel, +/obj/effect/turf_decal/delivery/hollow, +/obj/machinery/economy/vending/snack, +/turf/simulated/floor/plasteel{ + icon_state = "neutralfull" + }, /area/station/public/dorms) "feA" = ( /obj/effect/decal/cleanable/dirt, @@ -49615,20 +50075,31 @@ }, /area/station/hallway/secondary/exit) "fho" = ( -/obj/machinery/light_switch/west, -/turf/simulated/floor/plasteel, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/disposalpipe/segment, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "neutralcorner" + }, /area/station/public/dorms) "fhx" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 6 +/obj/effect/decal/cleanable/dust, +/obj/structure/cable{ + d1 = 2; + d2 = 8; + icon_state = "2-8" }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 10 +/obj/structure/cable{ + d1 = 2; + d2 = 4; + icon_state = "2-4" }, -/turf/simulated/floor/plasteel{ - icon_state = "whitegreenfull" +/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ + dir = 4 }, -/area/station/public/sleep) +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "fhE" = ( /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ dir = 4 @@ -49696,14 +50167,20 @@ /turf/simulated/floor/wood/fancy/cherry, /area/station/service/bar/atrium) "fio" = ( +/obj/machinery/atmospherics/pipe/manifold/hidden/supply, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, /obj/structure/cable{ - d1 = 4; + d1 = 1; d2 = 8; - icon_state = "4-8" + icon_state = "1-8" }, -/obj/machinery/hologram/holopad, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) +/obj/structure/cable{ + d1 = 1; + d2 = 4; + icon_state = "1-4" + }, +/turf/simulated/floor/plasteel, +/area/station/public/dorms) "fiM" = ( /obj/structure/disposalpipe/segment, /obj/effect/spawner/random_spawners/oil_maybe, @@ -49763,6 +50240,15 @@ /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/station/maintenance/aft) +"fjQ" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/turf/simulated/floor/mineral/tranquillite, +/area/station/service/mime) "fke" = ( /obj/machinery/atmospherics/binary/valve/open, /turf/simulated/floor/plating, @@ -49827,9 +50313,6 @@ }, /area/station/security/prison/cell_block/A) "fma" = ( -/obj/structure/disposalpipe/segment/corner{ - dir = 1 - }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, @@ -49885,11 +50368,12 @@ }, /area/station/medical/virology) "fmN" = ( -/obj/machinery/computer/arcade/battle{ - dir = 8 +/obj/structure/railing, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "neutralcorner" }, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) +/area/station/public/dorms) "fmT" = ( /obj/item/stack/tile/mineral, /obj/effect/decal/cleanable/dirt, @@ -50049,11 +50533,15 @@ /obj/machinery/light/directional/east, /obj/structure/cable{ d1 = 1; - d2 = 2; - icon_state = "1-2" + d2 = 8; + icon_state = "1-8" + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 9 }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/disposalpipe/sortjunction{ dir = 2; name = "Detective"; @@ -50243,6 +50731,10 @@ icon_state = "yellow" }, /area/station/hallway/primary/aft) +"ftc" = ( +/obj/structure/flora/junglebush, +/turf/simulated/floor/grass/no_creep, +/area/station/public/dorms) "ftl" = ( /obj/structure/disposalpipe/segment, /obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ @@ -50324,10 +50816,20 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/nw) "fuH" = ( -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 8 +/obj/effect/decal/cleanable/dirt, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/effect/landmark/damageturf, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + icon_state = "darkgreen"; + dir = 1 }, -/turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "fvf" = ( /obj/structure/sign/securearea{ @@ -50561,22 +51063,21 @@ /turf/simulated/floor/engine/vacuum, /area/station/maintenance/turbine) "fyV" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 9 + dir = 8 }, -/obj/structure/cable{ - d1 = 1; - d2 = 8; - icon_state = "1-8" +/obj/structure/disposalpipe/segment{ + dir = 4 }, /obj/structure/cable{ - d1 = 1; - d2 = 4; - icon_state = "1-4" + d1 = 4; + d2 = 8; + icon_state = "4-8" }, -/obj/machinery/atmospherics/pipe/manifold4w/hidden/supply, /turf/simulated/floor/plasteel{ - dir = 1; icon_state = "neutralcorner" }, /area/station/public/dorms) @@ -50588,14 +51089,14 @@ /turf/simulated/floor/plating, /area/station/maintenance/disposal) "fzl" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 5 +/obj/structure/railing{ + dir = 6 }, -/turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "neutralcorner" +/obj/effect/turf_decal/siding/yellow{ + dir = 6 }, -/area/station/public/dorms) +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "fzq" = ( /obj/effect/spawner/lootdrop/maintenance, /turf/simulated/floor/wood/oak, @@ -50879,21 +51380,25 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/turbine) "fDU" = ( -/obj/effect/decal/cleanable/dirt, +/obj/effect/landmark/damageturf, +/obj/effect/decal/cleanable/dust, /obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" + d1 = 4; + d2 = 8; + icon_state = "4-8" }, -/obj/effect/spawner/wire_splicing/thirty, /turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/area/station/maintenance/fore) "fEx" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ dir = 4 }, -/obj/machinery/light/small/directional/north, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "fEE" = ( @@ -51107,10 +51612,30 @@ }, /turf/simulated/floor/plasteel, /area/station/security/prisonershuttle) +"fIf" = ( +/obj/effect/decal/cleanable/dirt, +/obj/effect/decal/cleanable/blood/old{ + icon_state = "mfloor7"; + random_icon_states = null + }, +/obj/structure/sign/nosmoking_1{ + pixel_x = 30 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan, +/obj/machinery/light/small/directional/east, +/obj/effect/decal/remains/human, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "darkgreen" + }, +/area/station/maintenance/fsmaint) "fIB" = ( -/obj/effect/spawner/window/reinforced/grilled, -/turf/simulated/floor/plating, -/area/station/service/mime) +/obj/machinery/alarm/directional/north, +/obj/machinery/atmospherics/unary/vent_scrubber/on, +/turf/simulated/floor/plasteel{ + icon_state = "hydrofloor" + }, +/area/station/public/toilet) "fIC" = ( /obj/machinery/door/firedoor, /obj/structure/disposalpipe/segment, @@ -51225,6 +51750,19 @@ icon_state = "dark" }, /area/station/engineering/secure_storage) +"fKw" = ( +/obj/structure/sign/poster/random{ + pixel_y = 32 + }, +/obj/item/caution, +/obj/structure/rack, +/obj/item/caution, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) +"fKS" = ( +/obj/machinery/light/small/directional/south, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "fKW" = ( /obj/structure/disposalpipe/junction{ dir = 1 @@ -51526,8 +52064,15 @@ /turf/simulated/floor/plating, /area/station/aisat/service) "fRL" = ( -/obj/item/radio/intercom/directional/west, -/turf/simulated/floor/plasteel, +/obj/structure/disposalpipe/segment, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 10 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "neutralcorner" + }, /area/station/public/dorms) "fSi" = ( /obj/machinery/atmospherics/unary/vent_pump/high_volume{ @@ -51666,11 +52211,28 @@ /turf/simulated/floor/plating, /area/station/medical/morgue) "fUQ" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ dir = 4 }, -/turf/simulated/floor/plating, -/area/station/maintenance/fore) +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 2; + d2 = 8; + icon_state = "2-8" + }, +/obj/structure/cable{ + d1 = 1; + d2 = 8; + icon_state = "1-8" + }, +/obj/structure/disposalpipe/segment, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "neutralcorner" + }, +/area/station/public/dorms) "fUW" = ( /obj/structure/sign/biohazard, /turf/simulated/wall/r_wall, @@ -51808,6 +52370,12 @@ /obj/item/storage/box/monkeycubes, /turf/simulated/floor/plasteel, /area/station/science/genetics) +"fXj" = ( +/obj/structure/disposalpipe/segment/corner{ + dir = 8 + }, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "fXo" = ( /mob/living/simple_animal/bot/cleanbot{ on = 0 @@ -51873,20 +52441,25 @@ }, /area/station/engineering/hallway) "fYg" = ( -/obj/machinery/door_control/bolt_control/east{ - id = "toilet_unitb" +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, -/obj/structure/toilet{ - dir = 1 +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 }, -/obj/structure/sign/poster/contraband/lusty_xenomorph{ - pixel_y = -32 +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/structure/disposalpipe/segment{ + dir = 4 }, -/obj/effect/landmark/start/assistant, /turf/simulated/floor/plasteel{ - icon_state = "hydrofloor" + dir = 1; + icon_state = "neutral" }, -/area/station/public/toilet) +/area/station/public/dorms) "fYu" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 @@ -51915,6 +52488,13 @@ /obj/structure/chair/stool, /turf/simulated/floor/engine, /area/station/medical/chemistry) +"fYD" = ( +/obj/structure/disposalpipe/segment{ + dir = 4 + }, +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "fYN" = ( /obj/structure/cable{ d1 = 2; @@ -52152,6 +52732,11 @@ icon_state = "dark" }, /area/station/public/construction) +"gez" = ( +/obj/structure/table/wood/poker, +/obj/item/coin/iron, +/turf/simulated/floor/carpet/green, +/area/station/public/arcade) "geH" = ( /obj/structure/chair/sofa{ dir = 4 @@ -52207,11 +52792,13 @@ /turf/simulated/floor/wood/fancy/cherry, /area/station/command/office/captain) "ggd" = ( -/obj/machinery/computer/arcade/recruiter{ - dir = 4 +/obj/structure/weightmachine/stacklifter, +/obj/effect/landmark/start/assistant, +/turf/simulated/floor/plasteel{ + dir = 9; + icon_state = "caution" }, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) +/area/station/public/dorms) "ggr" = ( /obj/item/stack/rods{ amount = 4 @@ -52755,6 +53342,7 @@ icon_state = "0-4" }, /obj/effect/landmark/start/bar, +/obj/machinery/light/directional/west, /turf/simulated/floor/wood/fancy/cherry, /area/station/service/bar/atrium) "goX" = ( @@ -53144,12 +53732,63 @@ }, /area/station/command/office/ce) "guK" = ( -/obj/effect/decal/cleanable/dirt, +/obj/effect/decal/cleanable/dust, +/mob/living/simple_animal/hostile/killertomato{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/maintenance/fsmaint) +"guL" = ( +/obj/structure/window/reinforced, +/obj/structure/rack, +/obj/structure/window/reinforced{ + dir = 4 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_y = 12; + pixel_x = -4 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_y = 12 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_y = 12; + pixel_x = 4 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_y = 8; + pixel_x = -4 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_y = 8 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_y = 8; + pixel_x = 4 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_y = 4; + pixel_x = -4 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_y = 4 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_y = 4; + pixel_x = 4 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_x = -4 + }, +/obj/item/ammo_box/magazine/sslr, +/obj/item/ammo_box/magazine/sslr{ + pixel_x = 4 + }, /turf/simulated/floor/plasteel{ dir = 8; - icon_state = "purplecorner" + icon_state = "vault" }, -/area/station/maintenance/fsmaint) +/area/station/security/armory/secure) "guQ" = ( /obj/structure/table/reinforced, /obj/item/reagent_containers/condiment/saltshaker, @@ -53295,18 +53934,15 @@ /turf/simulated/floor/plating, /area/station/maintenance/apmaint) "gxE" = ( -/obj/structure/chair/office/dark{ - dir = 8 +/obj/structure/mirror{ + pixel_y = -34 }, -/obj/effect/landmark/start/mime, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/cable{ - d1 = 2; - d2 = 8; - icon_state = "2-8" +/obj/effect/landmark/start/assistant, +/obj/structure/sink/directional/south, +/turf/simulated/floor/plasteel{ + icon_state = "hydrofloor" }, -/turf/simulated/floor/mineral/tranquillite, -/area/station/service/mime) +/area/station/public/toilet) "gxW" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 4 @@ -53518,9 +54154,22 @@ /turf/simulated/floor/plating, /area/station/maintenance/aft) "gCU" = ( -/obj/structure/punching_bag, -/obj/effect/turf_decal/delivery/hollow, -/turf/simulated/floor/plasteel, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/machinery/light/directional/north, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "neutralcorner" + }, /area/station/public/dorms) "gCV" = ( /obj/structure/disposalpipe/segment{ @@ -53659,6 +54308,12 @@ icon_state = "dark" }, /area/station/command/office/cmo) +"gEz" = ( +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "neutral" + }, +/area/station/public/dorms) "gEH" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -53710,6 +54365,19 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/sw) +"gFD" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/obj/structure/disposalpipe/segment, +/turf/simulated/floor/plasteel{ + icon_state = "neutralcorner" + }, +/area/station/public/dorms) "gFG" = ( /obj/machinery/door/firedoor, /obj/machinery/door/airlock/public/glass, @@ -53759,17 +54427,11 @@ }, /area/station/medical/surgery/secondary) "gFX" = ( -/obj/effect/turf_decal/siding/wood{ - dir = 1 - }, -/obj/structure/disposalpipe/segment, -/obj/structure/cable{ - d1 = 1; - d2 = 8; - icon_state = "1-8" +/turf/simulated/floor/plasteel{ + dir = 5; + icon_state = "caution" }, -/turf/simulated/floor/wood/fancy/cherry, -/area/station/service/bar/atrium) +/area/station/public/dorms) "gGk" = ( /obj/structure/cable/yellow{ d1 = 4; @@ -53786,14 +54448,14 @@ }, /area/station/engineering/supermatter_room) "gGq" = ( -/obj/machinery/door/airlock/bathroom, -/obj/effect/mapping_helpers/airlock/autoname, -/obj/structure/disposalpipe/segment, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/platform{ + dir = 1; + anchored = 1 + }, /turf/simulated/floor/plasteel{ - icon_state = "hydrofloor" + icon_state = "neutral" }, -/area/station/public/toilet) +/area/station/public/dorms) "gGO" = ( /obj/structure/displaycase/captain, /obj/machinery/light/directional/east, @@ -53837,6 +54499,10 @@ }, /turf/simulated/floor/engine, /area/station/engineering/engine/supermatter) +"gHo" = ( +/obj/machinery/hologram/holopad, +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "gHx" = ( /obj/machinery/atmospherics/pipe/simple/heat_exchanging{ dir = 6 @@ -53895,10 +54561,27 @@ /turf/simulated/floor/plating, /area/station/maintenance/aft) "gJd" = ( +/obj/effect/decal/cleanable/dirt, +/obj/effect/decal/cleanable/dust, /obj/structure/cable{ d1 = 2; - d2 = 8; - icon_state = "2-8" + d2 = 4; + icon_state = "2-4" + }, +/obj/structure/cable{ + d1 = 1; + d2 = 4; + icon_state = "1-4" + }, +/obj/machinery/door_control/shutter/west{ + id = "maints3"; + name = "Blast Door Control C"; + pixel_y = -6 + }, +/obj/machinery/door_control/shutter/west{ + id = "maints2"; + name = "Blast Door Control B"; + pixel_y = 6 }, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) @@ -53991,11 +54674,10 @@ /turf/simulated/floor/plating, /area/station/medical/reception) "gLe" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 5 - }, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "gLu" = ( /obj/effect/spawner/window/reinforced/grilled, /turf/simulated/floor/plating, @@ -54174,9 +54856,12 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ +/obj/structure/disposalpipe/segment{ dir = 4 }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 5 + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -54340,11 +55025,11 @@ }, /area/station/service/bar) "gPk" = ( -/obj/structure/closet, -/obj/item/stack/spacecash/c5, -/obj/effect/spawner/lootdrop/trash, -/obj/machinery/light_construct/small/south, -/turf/simulated/floor/plating, +/obj/machinery/hydroponics/constructable, +/obj/effect/landmark/damageturf, +/obj/machinery/light/small/directional/south, +/obj/effect/mapping_helpers/machinery/damaged, +/turf/simulated/floor/engine, /area/station/maintenance/fsmaint) "gPM" = ( /obj/structure/chair{ @@ -54757,6 +55442,11 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /turf/simulated/floor/plasteel, /area/station/hallway/primary/aft) +"gWU" = ( +/obj/structure/disposalpipe/segment, +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fore) "gWV" = ( /obj/effect/turf_decal/delivery, /obj/machinery/door/window/classic/normal{ @@ -55028,6 +55718,7 @@ desc = "Вагончик с топливом. Достаточно лёгкий, видать не полный. Интересно, кто его тут оставил..."; tank_volume = 1000 }, +/obj/effect/decal/cleanable/dust, /turf/simulated/floor/plating, /area/station/service/bar) "hak" = ( @@ -55066,17 +55757,25 @@ }, /area/station/security/permabrig) "haD" = ( -/obj/item/radio/intercom/directional/south, -/obj/machinery/power/apc/directional/west, -/obj/machinery/camera{ - c_tag = "Dormitories Toilets"; +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, -/obj/structure/cable, /turf/simulated/floor/plasteel{ - icon_state = "showroomfloor" + dir = 9; + icon_state = "neutral" }, -/area/station/public/toilet) +/area/station/public/dorms) "haU" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -55145,11 +55844,11 @@ /turf/simulated/floor/plating/airless, /area/station/engineering/control) "hcz" = ( -/obj/machinery/atmospherics/pipe/manifold/visible/cyan, -/obj/machinery/atmospherics/meter, -/obj/effect/decal/cleanable/dirt, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/obj/item/kirbyplants/plant10, +/turf/simulated/floor/plasteel{ + icon_state = "neutralfull" + }, +/area/station/public/dorms) "hcA" = ( /turf/simulated/floor/plasteel{ dir = 1; @@ -55219,10 +55918,7 @@ }, /area/station/maintenance/abandonedbar) "heL" = ( -/obj/machinery/door/airlock, -/obj/effect/mapping_helpers/airlock/autoname, -/obj/effect/decal/cleanable/dust, -/turf/simulated/floor/plating, +/turf/simulated/wall/r_wall, /area/station/maintenance/fsmaint) "heW" = ( /obj/effect/decal/cleanable/dust, @@ -55269,6 +55965,24 @@ /obj/effect/landmark/damageturf, /turf/simulated/floor/wood/oak, /area/station/maintenance/asmaint) +"hgR" = ( +/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/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "hgT" = ( /obj/structure/table/wood, /obj/item/flashlight/lamp/green{ @@ -55534,22 +56248,24 @@ /turf/simulated/floor/carpet, /area/station/public/vacant_office) "hjO" = ( -/obj/structure/table/wood, -/obj/machinery/atmospherics/unary/vent_pump/on, -/obj/item/paper_bin{ - pixel_x = 4; - pixel_y = 4 +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, -/obj/item/pen/red{ - pixel_x = 2; - pixel_y = 6 +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 }, -/obj/item/stamp/mime{ - pixel_x = -8 +/obj/structure/cable{ + d2 = 8; + icon_state = "0-8" }, -/obj/item/toy/crayon/mime, -/turf/simulated/floor/mineral/tranquillite, -/area/station/service/mime) +/obj/machinery/power/apc/directional/north, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + icon_state = "hydrofloor" + }, +/area/station/public/toilet) "hjX" = ( /obj/structure/window/reinforced{ dir = 1 @@ -55709,6 +56425,10 @@ icon_state = "darkyellow" }, /area/station/engineering/equipmentstorage) +"hnp" = ( +/obj/structure/flora/rock/jungle, +/turf/simulated/floor/grass/no_creep, +/area/station/public/dorms) "hnB" = ( /obj/structure/table/glass, /obj/item/reagent_containers/dropper{ @@ -55835,19 +56555,13 @@ /turf/simulated/floor/wood/oak, /area/station/security/permabrig) "hpQ" = ( -/obj/structure/disposalpipe/junction/reversed{ - dir = 4 - }, -/obj/structure/cable{ - d1 = 1; - d2 = 4; - icon_state = "1-4" - }, +/obj/structure/table/wood/fancy/black, +/obj/item/storage/briefcase, +/obj/machinery/newscaster/directional/north, /turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "neutralcorner" + icon_state = "dark" }, -/area/station/public/dorms) +/area/station/service/theatre) "hpR" = ( /obj/structure/cable{ d1 = 1; @@ -56005,6 +56719,17 @@ /obj/machinery/atmospherics/pipe/simple/hidden/cyan, /turf/simulated/floor/plating, /area/station/maintenance/port) +"hsm" = ( +/obj/machinery/recharge_station, +/obj/machinery/door_control/bolt_control/west{ + id = "toilet4"; + pixel_y = 6 + }, +/obj/machinery/light/small/directional/east, +/turf/simulated/floor/plasteel{ + icon_state = "hydrofloor" + }, +/area/station/public/toilet) "hsz" = ( /obj/effect/decal/cleanable/dust, /obj/structure/sign/poster/contraband/random/west, @@ -56488,10 +57213,8 @@ }, /area/station/engineering/atmos/storage) "hBo" = ( -/obj/effect/landmark/start/artist, -/turf/simulated/floor/plasteel{ - icon_state = "dark" - }, +/obj/effect/landmark/start/assistant, +/turf/simulated/floor/plasteel, /area/station/public/dorms) "hBu" = ( /obj/structure/table, @@ -56617,12 +57340,13 @@ "hDI" = ( /obj/machinery/door/airlock/maintenance, /obj/effect/mapping_helpers/airlock/autoname, +/obj/effect/mapping_helpers/airlock/access/any/engineering/maintenance, +/obj/effect/decal/cleanable/dust, /obj/structure/cable{ d1 = 4; d2 = 8; icon_state = "4-8" }, -/obj/effect/mapping_helpers/airlock/access/any/engineering/maintenance, /turf/simulated/floor/plating, /area/station/maintenance/fore) "hDJ" = ( @@ -56793,6 +57517,19 @@ }, /turf/simulated/floor/plasteel, /area/station/maintenance/apmaint) +"hGo" = ( +/obj/structure/table/reinforced, +/obj/item/razor{ + pixel_y = 5 + }, +/obj/effect/decal/cleanable/dust, +/obj/machinery/light/small/directional/east, +/obj/effect/mapping_helpers/machinery/destroyed, +/obj/item/clothing/under/rank/civilian/barber, +/obj/item/clothing/shoes/laceup, +/obj/item/storage/box/barber, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "hGM" = ( /obj/structure/table/glass/reinforced/plastitanium, /obj/item/reagent_containers/spray/cleaner{ @@ -57018,16 +57755,13 @@ }, /area/station/security/prisonlockers) "hLk" = ( -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/structure/disposalpipe/segment{ - dir = 4 +/obj/effect/decal/cleanable/dirt, +/obj/structure/sink/directional/west, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "purple" }, -/turf/simulated/floor/plating, -/area/station/maintenance/fore) +/area/station/maintenance/fsmaint) "hLl" = ( /obj/item/restraints/handcuffs/cable/cyan, /obj/effect/decal/remains/human, @@ -57889,9 +58623,6 @@ /obj/effect/turf_decal/siding/wood{ dir = 1 }, -/obj/structure/disposalpipe/segment{ - dir = 4 - }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, @@ -58299,7 +59030,6 @@ /area/station/engineering/atmos/control) "ikx" = ( /obj/structure/engineeringcart, -/obj/effect/spawner/random_spawners/oil_maybe, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "ikS" = ( @@ -58344,11 +59074,10 @@ }, /area/station/medical/medbay) "ilS" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/turf/simulated/floor/plasteel{ - icon_state = "caution" - }, -/area/station/public/dorms) +/obj/effect/spawner/lootdrop/maintenance, +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fore) "imr" = ( /obj/machinery/light/directional/east, /obj/machinery/atmospherics/unary/vent_scrubber/on{ @@ -58523,17 +59252,12 @@ /turf/simulated/floor/plasteel, /area/station/security/lobby) "ipA" = ( -/obj/structure/disposalpipe/segment, -/obj/machinery/door/airlock/maintenance, -/obj/effect/mapping_helpers/airlock/autoname, -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/turf/simulated/floor/plasteel{ + icon_state = "caution" }, -/obj/effect/mapping_helpers/airlock/access/any/engineering/maintenance, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/area/station/public/dorms) "ipF" = ( /obj/structure/lattice, /obj/machinery/atmospherics/pipe/simple/heat_exchanging{ @@ -58558,16 +59282,11 @@ }, /area/station/service/chapel) "ipS" = ( -/obj/structure/disposalpipe/segment, -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" +/obj/effect/spawner/window/reinforced/polarized/grilled{ + id = "clown" }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/turf/simulated/floor/plasteel, -/area/station/public/dorms) +/turf/simulated/floor/plating, +/area/station/service/clown) "iqf" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on, /obj/machinery/flasher{ @@ -58669,9 +59388,9 @@ /turf/simulated/floor/wood/oak, /area/station/command/office/blueshield) "isv" = ( -/obj/structure/statue/bananium/clown/unique, -/turf/simulated/floor/wood/oak, -/area/station/service/clown) +/obj/machinery/light/small/directional/west, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "isD" = ( /obj/effect/decal/cleanable/blood/tracks, /turf/simulated/floor/plating, @@ -58895,17 +59614,19 @@ /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "ixh" = ( -/obj/machinery/door/airlock/maintenance, -/obj/effect/mapping_helpers/airlock/autoname, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 +/obj/structure/toilet{ + pixel_y = 8 }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 +/obj/effect/landmark/spawner/nukedisc_respawn, +/obj/effect/landmark/start/assistant, +/obj/machinery/door_control/bolt_control/east{ + id = "toilet_dorm2" }, -/obj/effect/mapping_helpers/airlock/access/any/engineering/maintenance, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/obj/machinery/light/small/directional/west, +/turf/simulated/floor/plasteel{ + icon_state = "hydrofloor" + }, +/area/station/public/toilet) "ixr" = ( /obj/structure/lattice, /turf/space, @@ -58981,6 +59702,7 @@ /obj/machinery/door/airlock/public/glass, /obj/effect/mapping_helpers/airlock/autoname, /obj/effect/mapping_helpers/airlock/access/any/service/bar, +/obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -58993,9 +59715,10 @@ }, /area/station/command/office/hos) "iyI" = ( -/obj/structure/weightmachine/stacklifter, -/obj/effect/landmark/start/assistant, -/turf/simulated/floor/plasteel, +/turf/simulated/floor/plasteel{ + dir = 6; + icon_state = "caution" + }, /area/station/public/dorms) "iyJ" = ( /obj/machinery/door/poddoor/shutters{ @@ -59047,13 +59770,19 @@ /turf/simulated/wall, /area/station/science/lobby) "iBD" = ( -/obj/machinery/hologram/holopad, -/obj/effect/landmark/start/assistant, -/turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "vault" +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" }, -/area/station/public/dorms) +/obj/machinery/alarm/directional/west, +/obj/machinery/door_control/bolt_control/east{ + id = "PrivateRoom2" + }, +/turf/simulated/floor/wood/fancy, +/area/station/public/sleep_female) "iBI" = ( /obj/machinery/door/firedoor, /obj/machinery/door/airlock/public/glass, @@ -59063,6 +59792,19 @@ icon_state = "purplecorner" }, /area/station/hallway/secondary/exit) +"iBL" = ( +/obj/structure/toilet{ + pixel_y = 8 + }, +/obj/effect/landmark/start/assistant, +/obj/machinery/door_control/bolt_control/east{ + id = "toilet_dorm1" + }, +/obj/machinery/light/small/directional/west, +/turf/simulated/floor/plasteel{ + icon_state = "hydrofloor" + }, +/area/station/public/toilet) "iBM" = ( /mob/living/simple_animal/mouse/rat, /turf/simulated/floor/plating, @@ -59365,13 +60107,15 @@ /turf/simulated/floor/engine, /area/station/science/xenobiology) "iGP" = ( -/obj/structure/window/reinforced{ - dir = 8 +/obj/structure/railing{ + dir = 6 }, -/obj/structure/closet/boxinggloves, +/obj/structure/chair/sofa/right{ + dir = 1 + }, +/obj/effect/landmark/start/assistant, /turf/simulated/floor/plasteel{ - dir = 10; - icon_state = "caution" + icon_state = "neutralfull" }, /area/station/public/dorms) "iGV" = ( @@ -59393,14 +60137,9 @@ }, /area/station/security/detective) "iHu" = ( -/obj/structure/disposalpipe/segment{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 9 - }, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/engine, +/area/station/maintenance/fsmaint) "iHy" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -59456,13 +60195,10 @@ /turf/simulated/floor/wood/fancy/cherry, /area/station/legal/magistrate) "iIk" = ( -/obj/structure/cable{ - d1 = 2; - d2 = 4; - icon_state = "2-4" - }, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) +/obj/machinery/power/apc/directional/west, +/obj/structure/cable, +/turf/simulated/floor/mineral/tranquillite, +/area/station/service/mime) "iIt" = ( /obj/machinery/door/poddoor/shutters{ dir = 2; @@ -59831,14 +60567,19 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/ne) -"iQo" = ( +"iQk" = ( /obj/effect/decal/cleanable/dirt, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, +/obj/structure/disposalpipe/segment, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) +"iQo" = ( /obj/structure/disposalpipe/segment{ dir = 4 }, +/obj/effect/spawner/random_spawners/grille_often, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 10 + }, /turf/simulated/floor/plating, /area/station/maintenance/fore) "iQq" = ( @@ -59936,28 +60677,9 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/fpmaint) "iRT" = ( -/obj/structure/disposalpipe/segment/corner{ - dir = 8 - }, -/obj/structure/cable{ - d1 = 1; - d2 = 8; - icon_state = "1-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 9 - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ - dir = 4 - }, -/obj/effect/turf_decal/delivery/blue/partial{ - dir = 4 - }, -/turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "bluered" - }, -/area/station/public/dorms) +/obj/machinery/light/directional/west, +/turf/simulated/floor/mineral/tranquillite, +/area/station/service/mime) "iRV" = ( /turf/simulated/floor/plasteel{ dir = 4; @@ -60018,12 +60740,15 @@ }, /area/station/medical/cryo) "iTC" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" }, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel, -/area/station/public/dorms) +/area/station/maintenance/fsmaint) "iTE" = ( /obj/machinery/door/firedoor, /obj/structure/disposalpipe/segment{ @@ -60251,6 +60976,19 @@ /obj/machinery/light_switch/south, /turf/simulated/floor/plating, /area/station/public/storage/emergency/port) +"iZe" = ( +/obj/structure/table/wood, +/obj/item/ashtray/bronze{ + pixel_x = -7; + pixel_y = 7 + }, +/obj/item/lighter/zippo{ + pixel_x = 8; + pixel_y = 4 + }, +/obj/item/clothing/mask/cigarette/cigar/havana, +/turf/simulated/floor/carpet/green, +/area/station/public/arcade) "iZj" = ( /obj/structure/chair/stool{ dir = 4 @@ -60391,15 +61129,8 @@ /turf/simulated/floor/plasteel, /area/station/engineering/smes) "jbB" = ( -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "neutralcorner" - }, +/obj/effect/spawner/random_spawners/fungus_maybe, +/turf/simulated/wall, /area/station/public/dorms) "jbO" = ( /obj/machinery/economy/vending/coffee, @@ -60844,6 +61575,18 @@ /obj/structure/flora/rock/jungle, /turf/simulated/floor/grass, /area/station/security/permabrig) +"jkI" = ( +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/effect/decal/cleanable/dust, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "jkP" = ( /obj/machinery/power/apc/directional/north, /obj/structure/cable{ @@ -60883,6 +61626,19 @@ icon_state = "darkyellowcorners" }, /area/station/engineering/equipmentstorage) +"jmr" = ( +/obj/effect/landmark/start/assistant, +/obj/structure/chair{ + dir = 4 + }, +/obj/structure/sign/nosmoking_2{ + pixel_x = -28 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/light/small/directional/west, +/turf/simulated/floor/plasteel, +/area/station/public/dorms) "jmB" = ( /mob/living/simple_animal/mouse/rat, /turf/simulated/floor/grass, @@ -61098,6 +61854,21 @@ icon_state = "white" }, /area/station/command/office/rd) +"jpG" = ( +/obj/structure/platform{ + dir = 4; + anchored = 1 + }, +/obj/effect/turf_decal/delivery/hollow, +/obj/machinery/disposal, +/obj/structure/disposalpipe/trunk{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "neutralcorner" + }, +/area/station/public/dorms) "jpP" = ( /obj/structure/dresser, /obj/structure/sign/poster/contraband/communist_state{ @@ -61157,17 +61928,10 @@ }, /area/station/science/misc_lab) "jqS" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/obj/machinery/door/airlock/maintenance, -/obj/effect/mapping_helpers/airlock/autoname, -/obj/effect/mapping_helpers/airlock/access/any/service/mime, -/turf/simulated/floor/plating, +/obj/structure/reagent_dispensers/watertank, +/obj/effect/decal/cleanable/dirt, +/obj/effect/decal/cleanable/dust, +/turf/simulated/floor/plasteel, /area/station/maintenance/fsmaint) "jqU" = ( /obj/machinery/atmospherics/unary/vent_pump/on{ @@ -61251,6 +62015,12 @@ /obj/item/storage/box/monkeycubes/wolpincubes, /turf/simulated/floor/plating, /area/station/maintenance/asmaint) +"jru" = ( +/obj/structure/closet/walllocker/emerglocker/north, +/turf/simulated/floor/plasteel{ + icon_state = "neutralfull" + }, +/area/station/public/dorms) "jrA" = ( /mob/living/simple_animal/mouse/rat, /turf/simulated/floor/plasteel, @@ -61284,15 +62054,19 @@ }, /area/station/maintenance/aft) "jsn" = ( -/obj/machinery/disposal, -/obj/machinery/light_switch/north, -/obj/structure/disposalpipe/trunk{ - dir = 4 +/obj/effect/spawner/random_spawners/grille_maybe, +/obj/structure/cable{ + d1 = 2; + d2 = 4; + icon_state = "2-4" }, -/turf/simulated/floor/plasteel{ - icon_state = "hydrofloor" +/obj/structure/cable{ + d1 = 2; + d2 = 8; + icon_state = "2-8" }, -/area/station/public/toilet) +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "jsv" = ( /obj/effect/decal/cleanable/dirt, /obj/item/food/snacks/disk, @@ -61367,6 +62141,11 @@ }, /turf/simulated/floor/bluegrid, /area/station/turret_protected/ai_upload) +"jtK" = ( +/obj/structure/flora/junglebush/large, +/obj/structure/flora/ausbushes/sparsegrass, +/turf/simulated/floor/grass/no_creep, +/area/station/public/dorms) "jtP" = ( /obj/item/kirbyplants, /obj/effect/landmark/damageturf, @@ -61654,9 +62433,6 @@ /obj/effect/turf_decal/siding/wood{ dir = 1 }, -/obj/structure/disposalpipe/segment{ - dir = 4 - }, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, @@ -61839,6 +62615,10 @@ icon_state = "red" }, /area/station/security/prisonlockers) +"jDg" = ( +/obj/effect/decal/cleanable/dust, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fore) "jDn" = ( /obj/effect/spawner/window/reinforced/polarized/grilled{ id = "qm" @@ -62048,11 +62828,12 @@ /turf/simulated/floor/plasteel, /area/station/security/permabrig) "jJh" = ( -/obj/machinery/economy/vending/autodrobe, -/turf/simulated/floor/plasteel{ - icon_state = "cafeteria" +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 10 }, -/area/station/public/dorms) +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/turf/simulated/floor/plasteel/freezer, +/area/station/public/toilet) "jJn" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -62097,9 +62878,18 @@ /turf/simulated/floor/plating, /area/station/maintenance/fpmaint2) "jKA" = ( -/obj/machinery/door/window/classic/reversed, -/turf/simulated/floor/plasteel, -/area/station/public/dorms) +/obj/structure/cable{ + d1 = 1; + d2 = 8; + icon_state = "1-8" + }, +/obj/effect/decal/cleanable/dirt, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 9 + }, +/obj/machinery/light/small/directional/south, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "jKH" = ( /obj/structure/cable{ d1 = 1; @@ -62229,6 +63019,20 @@ }, /turf/simulated/floor/plasteel, /area/station/command/bridge) +"jMr" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/obj/machinery/alarm/directional/east, +/obj/machinery/door_control/bolt_control/west{ + id = "PrivateRoom1" + }, +/turf/simulated/floor/wood/fancy, +/area/station/public/sleep_male) "jMw" = ( /obj/machinery/door/airlock/titanium, /obj/effect/mapping_helpers/airlock/autoname, @@ -62447,12 +63251,17 @@ /area/station/maintenance/port) "jQW" = ( /obj/effect/decal/cleanable/dirt, -/obj/machinery/atmospherics/binary/valve, /obj/structure/cable{ d1 = 1; d2 = 2; icon_state = "1-2" }, +/obj/machinery/atmospherics/pipe/manifold/visible/cyan{ + dir = 8; + initialize_directions = 11 + }, +/obj/machinery/atmospherics/meter, +/obj/machinery/alarm/directional/west, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "neutral" @@ -62472,6 +63281,11 @@ /obj/machinery/atmospherics/pipe/manifold/hidden/supply{ dir = 4 }, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/fore) "jRj" = ( @@ -62658,9 +63472,16 @@ /turf/simulated/floor/wood/oak, /area/station/maintenance/abandonedbar) "jUq" = ( -/obj/item/flag/mime, -/turf/simulated/floor/mineral/tranquillite, -/area/station/service/mime) +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 9 + }, +/turf/simulated/floor/plasteel{ + icon_state = "hydrofloor" + }, +/area/station/public/toilet) "jUt" = ( /obj/machinery/light/directional/east, /turf/simulated/floor/plasteel/airless, @@ -62807,10 +63628,18 @@ /area/station/hallway/secondary/exit) "jYF" = ( /obj/effect/decal/cleanable/dirt, -/turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "purplecorner" +/obj/effect/decal/cleanable/dust, +/obj/effect/landmark/damageturf, +/obj/structure/cable{ + d1 = 2; + d2 = 8; + icon_state = "2-8" }, +/obj/item/food/snacks/tomatoslice, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ + dir = 4 + }, +/turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "jYQ" = ( /obj/effect/spawner/random_spawners/grille_maybe, @@ -63306,8 +64135,21 @@ /turf/simulated/floor/plasteel, /area/station/science/xenobiology) "kiu" = ( -/obj/structure/weightmachine/weightlifter, -/turf/simulated/floor/plasteel, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "neutralcorner" + }, /area/station/public/dorms) "kiF" = ( /obj/effect/decal/cleanable/dirt, @@ -63416,19 +64258,29 @@ }, /turf/simulated/floor/plasteel, /area/station/security/permabrig) -"kkz" = ( +"kky" = ( +/obj/structure/disposalpipe/segment, /obj/structure/cable{ - d1 = 2; - d2 = 4; - icon_state = "2-4" + d1 = 1; + d2 = 2; + icon_state = "1-2" }, -/obj/structure/cable{ - d1 = 2; - d2 = 8; - icon_state = "2-8" +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "neutralcorner" }, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/area/station/public/dorms) +"kkz" = ( +/obj/machinery/door/airlock/bathroom{ + id_tag = "toilet_dorm3" + }, +/obj/effect/mapping_helpers/airlock/autoname, +/turf/simulated/floor/plasteel{ + icon_state = "hydrofloor" + }, +/area/station/public/toilet) "kkO" = ( /obj/structure/table/reinforced, /obj/structure/window/reinforced{ @@ -63853,8 +64705,8 @@ /area/station/command/office/rd) "ksx" = ( /obj/machinery/door/poddoor/preopen{ - id_tag = "maint3"; - name = "Blast Door" + id = "maints1"; + id_tag = "maints1" }, /obj/machinery/atmospherics/pipe/simple/hidden/cyan, /turf/simulated/floor/plating, @@ -63942,18 +64794,14 @@ }, /area/station/maintenance/fsmaint) "kua" = ( -/obj/structure/table/wood, -/obj/machinery/power/apc/directional/west, -/obj/item/food/snacks/baguette, -/obj/structure/cable{ - d2 = 4; - icon_state = "0-4" +/obj/structure/mirror{ + pixel_y = -34 }, -/obj/item/toy/figure/crew/mime{ - pixel_x = -5 +/obj/structure/sink/directional/south, +/turf/simulated/floor/plasteel{ + icon_state = "hydrofloor" }, -/turf/simulated/floor/mineral/tranquillite, -/area/station/service/mime) +/area/station/public/toilet) "kum" = ( /obj/structure/disposalpipe/sortjunction/reversed{ dir = 1; @@ -64024,9 +64872,24 @@ /turf/simulated/floor/plasteel, /area/station/security/prisonlockers) "kvJ" = ( -/obj/machinery/hologram/holopad, -/turf/simulated/floor/wood/oak, -/area/station/service/clown) +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 8 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + icon_state = "neutralcorner" + }, +/area/station/public/dorms) "kwk" = ( /obj/effect/decal/cleanable/dust, /obj/machinery/atmospherics/unary/vent_pump/on{ @@ -64232,6 +65095,9 @@ name = "Secure Armory Shutter Control"; req_one_access_txt = "3" }, +/obj/effect/turf_decal/stripes/line{ + dir = 1 + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -64256,6 +65122,17 @@ icon_state = "grimy" }, /area/station/command/office/hos) +"kAX" = ( +/obj/effect/decal/cleanable/dust, +/obj/effect/landmark/damageturf, +/obj/effect/spawner/lootdrop/trash, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "kBe" = ( /obj/machinery/door/airlock/bathroom, /obj/effect/mapping_helpers/airlock/autoname, @@ -64384,6 +65261,7 @@ /obj/structure/mirror{ pixel_y = 32 }, +/obj/machinery/atmospherics/unary/vent_scrubber/on, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -64399,13 +65277,9 @@ }, /area/station/medical/medbay) "kCH" = ( -/obj/machinery/atmospherics/unary/tank/air{ - dir = 4 - }, /obj/effect/decal/cleanable/dirt, -/obj/effect/turf_decal/stripes/line{ - dir = 5 - }, +/obj/machinery/light/small/directional/west, +/obj/effect/decal/cleanable/dust, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "kCM" = ( @@ -64448,14 +65322,15 @@ /turf/simulated/floor/wood/oak, /area/station/command/office/hop) "kDx" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ +/obj/structure/railing{ dir = 4 }, -/obj/structure/disposalpipe/segment/corner{ - dir = 8 +/obj/effect/turf_decal/siding/yellow{ + dir = 4 }, -/turf/simulated/floor/plating, -/area/station/maintenance/fore) +/obj/machinery/light/directional/north, +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "kDW" = ( /obj/machinery/power/apc/important/directional/south, /obj/structure/cable, @@ -64567,14 +65442,9 @@ /turf/simulated/floor/mineral/titanium, /area/shuttle/arrival/station) "kGo" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, /turf/simulated/floor/plasteel{ - icon_state = "neutralcorner" + dir = 4; + icon_state = "neutral" }, /area/station/public/dorms) "kGs" = ( @@ -64601,19 +65471,10 @@ /turf/simulated/floor/plating, /area/station/maintenance/aft) "kGL" = ( -/obj/structure/disposalpipe/junction/y, -/obj/structure/cable{ - d1 = 2; - d2 = 8; - icon_state = "2-8" - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ - dir = 1 - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ - dir = 1 +/obj/item/kirbyplants, +/turf/simulated/floor/plasteel{ + icon_state = "neutralfull" }, -/turf/simulated/floor/plasteel, /area/station/public/dorms) "kGM" = ( /obj/item/radio/intercom/directional/south, @@ -65081,14 +65942,29 @@ }, /area/station/service/bar) "kPK" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 9 +/obj/effect/decal/cleanable/dirt, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ + dir = 4 }, -/obj/structure/disposalpipe/segment/corner{ - dir = 8 +/obj/structure/cable{ + d1 = 2; + d2 = 8; + icon_state = "2-8" }, /turf/simulated/floor/plating, -/area/station/maintenance/fore) +/area/station/maintenance/fsmaint) +"kPS" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 8 + }, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/turf/simulated/floor/carpet/red, +/area/station/public/arcade) "kPV" = ( /obj/structure/disposalpipe/segment/corner{ dir = 1 @@ -65163,25 +66039,27 @@ /turf/simulated/floor/carpet, /area/station/command/office/hop) "kQw" = ( -/obj/effect/decal/cleanable/dirt, -/obj/structure/rack, -/obj/item/tank/internals/emergency_oxygen/engi{ - pixel_x = -4 +/obj/machinery/atmospherics/unary/tank/air{ + dir = 8 }, -/obj/item/tank/internals/air{ - pixel_x = 7 +/obj/effect/turf_decal/stripes/line{ + dir = 9 }, -/obj/machinery/light/small/directional/east, -/obj/machinery/power/apc/directional/east, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) +"kQQ" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/cable{ - d2 = 8; - icon_state = "0-8" + d1 = 1; + d2 = 2; + icon_state = "1-2" }, -/turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "neutral" +/obj/machinery/button/windowtint/west{ + id = "arcade" }, -/area/station/maintenance/fsmaint) +/turf/simulated/floor/carpet/red, +/area/station/public/arcade) "kQW" = ( /obj/machinery/door/airlock/virology{ autoclose = 0; @@ -65215,6 +66093,21 @@ /obj/effect/landmark/start/shaft_miner, /turf/simulated/floor/plasteel, /area/station/supply/miningdock) +"kRo" = ( +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply, +/obj/structure/cable{ + d1 = 1; + d2 = 8; + icon_state = "1-8" + }, +/obj/structure/cable{ + d1 = 1; + d2 = 4; + icon_state = "1-4" + }, +/turf/simulated/floor/plasteel, +/area/station/hallway/primary/central/ne) "kRT" = ( /obj/structure/disposalpipe/junction/reversed{ dir = 4 @@ -65241,23 +66134,13 @@ }, /area/station/science/xenobiology) "kSe" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ +/obj/machinery/cryopod{ dir = 4 }, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/structure/disposalpipe/segment{ - dir = 4 +/turf/simulated/floor/plasteel{ + icon_state = "whitegreencorner" }, -/obj/effect/decal/cleanable/dirt, -/turf/simulated/floor/plasteel, -/area/station/maintenance/fsmaint) +/area/station/public/sleep) "kSn" = ( /obj/effect/turf_decal/stripes/line, /obj/effect/decal/cleanable/dirt, @@ -65337,17 +66220,25 @@ }, /area/station/medical/surgery/secondary) "kTo" = ( -/obj/machinery/door_control/bolt_control/east{ - id = "toilet_unitc" +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, -/obj/structure/toilet{ - dir = 1 +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/structure/disposalpipe/segment{ + dir = 4 }, -/obj/effect/landmark/start/assistant, /turf/simulated/floor/plasteel{ - icon_state = "hydrofloor" + dir = 6; + icon_state = "neutral" }, -/area/station/public/toilet) +/area/station/public/dorms) "kTA" = ( /obj/machinery/photocopier, /turf/simulated/floor/plasteel{ @@ -65434,14 +66325,14 @@ }, /area/station/medical/morgue) "kWl" = ( -/obj/structure/toilet{ - desc = "Старый унитаз. Что он тут делает?"; - name = "Унитаз" +/obj/machinery/cryopod{ + dir = 2 }, -/obj/effect/decal/cleanable/vomit, -/obj/effect/decal/cleanable/dirt, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/turf/simulated/floor/plasteel{ + dir = 10; + icon_state = "whitegreen" + }, +/area/station/public/sleep) "kWu" = ( /obj/effect/spawner/window/reinforced/grilled, /obj/structure/cable{ @@ -65513,6 +66404,11 @@ d2 = 2; icon_state = "1-2" }, +/obj/structure/cable{ + d1 = 2; + d2 = 4; + icon_state = "2-4" + }, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "neutral" @@ -65608,15 +66504,11 @@ /turf/simulated/floor/plating, /area/station/maintenance/starboardsolar) "kYC" = ( -/obj/structure/sink/directional/north, -/obj/structure/mirror{ - layer = 2.8; - pixel_y = 34 - }, -/turf/simulated/floor/plasteel{ - icon_state = "hydrofloor" - }, -/area/station/public/toilet) +/obj/effect/decal/cleanable/dust, +/obj/structure/disposalpipe/segment, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fore) "kYS" = ( /obj/structure/cable{ d1 = 1; @@ -65814,6 +66706,12 @@ }, /turf/simulated/floor/plasteel, /area/station/maintenance/aft) +"lcH" = ( +/obj/effect/decal/cleanable/dirt, +/obj/effect/decal/cleanable/dust, +/obj/effect/spawner/lootdrop/trash, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "lcL" = ( /obj/effect/spawner/random_barrier/wall_probably, /turf/simulated/floor/plating, @@ -65840,11 +66738,9 @@ /turf/simulated/floor/plating, /area/station/maintenance/apmaint) "ldl" = ( -/obj/effect/decal/cleanable/dust, -/obj/machinery/light/small/directional/south, -/obj/item/clothing/shoes/sandal, +/obj/effect/landmark/damageturf, /turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/area/station/maintenance/fore) "lee" = ( /obj/structure/filingcabinet/chestdrawer, /obj/item/folder/white, @@ -65855,6 +66751,19 @@ icon_state = "darkblue" }, /area/station/command/office/cmo) +"lem" = ( +/obj/machinery/camera{ + c_tag = "Cryodorms" + }, +/obj/structure/cable{ + d2 = 2; + icon_state = "0-2" + }, +/obj/machinery/power/apc/directional/north, +/turf/simulated/floor/plasteel{ + icon_state = "whitegreenfull" + }, +/area/station/public/sleep) "leF" = ( /obj/structure/table, /obj/item/storage/toolbox/mechanical, @@ -65862,14 +66771,13 @@ /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "leL" = ( -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ - dir = 8 - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ - dir = 8 - }, +/obj/structure/rack, +/obj/effect/spawner/lootdrop/trash, +/obj/effect/decal/cleanable/dust, +/obj/machinery/light/small/directional/north, +/obj/effect/spawner/lootdrop/maintenance/two, /turf/simulated/floor/plasteel, -/area/station/hallway/primary/fore) +/area/station/maintenance/fsmaint) "leS" = ( /obj/machinery/hologram/holopad, /obj/machinery/atmospherics/pipe/manifold/hidden/supply{ @@ -66020,12 +66928,17 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/port) "lhf" = ( -/obj/machinery/door/airlock/bathroom, -/obj/effect/mapping_helpers/airlock/autoname, +/obj/structure/chair/sofa/right{ + dir = 8 + }, +/obj/effect/landmark/start/assistant, +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 4 + }, /turf/simulated/floor/plasteel{ - icon_state = "showroomfloor" + icon_state = "neutralfull" }, -/area/station/public/toilet) +/area/station/public/dorms) "lhl" = ( /obj/item/trash/pistachios, /obj/effect/decal/cleanable/dirt, @@ -66082,6 +66995,14 @@ /obj/structure/barricade/wooden, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) +"lik" = ( +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/plasteel, +/area/station/hallway/primary/fore) "liy" = ( /obj/structure/chair/comfy/black{ dir = 4 @@ -66147,6 +67068,12 @@ /obj/item/hand_labeler, /turf/simulated/floor/plasteel, /area/station/supply/storage) +"ljT" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/punching_bag, +/turf/simulated/floor/plasteel, +/area/station/public/dorms) "lko" = ( /obj/effect/turf_decal/stripes/line{ dir = 8 @@ -66157,8 +67084,12 @@ /turf/simulated/floor/plasteel, /area/station/hallway/secondary/entry) "lkw" = ( -/obj/machinery/light/directional/west, -/turf/simulated/floor/plasteel, +/obj/machinery/light/small/directional/east, +/obj/structure/disposalpipe/segment, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "neutralcorner" + }, /area/station/public/dorms) "llj" = ( /turf/simulated/floor/plasteel{ @@ -66211,9 +67142,9 @@ /turf/simulated/floor/plating, /area/station/security/main) "lme" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/disposalpipe/segment, -/turf/simulated/floor/plating, +/obj/effect/decal/cleanable/dirt, +/obj/effect/decal/cleanable/dust, +/turf/simulated/floor/plasteel, /area/station/maintenance/fore) "lmi" = ( /obj/structure/cable{ @@ -66269,12 +67200,7 @@ /turf/simulated/floor/wood/oak, /area/station/maintenance/apmaint) "lnL" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, +/obj/structure/extinguisher_cabinet/directional/east, /turf/simulated/floor/plasteel, /area/station/hallway/primary/fore) "lnQ" = ( @@ -66301,13 +67227,11 @@ }, /area/station/maintenance/asmaint) "lop" = ( -/obj/structure/chair{ - dir = 8 +/obj/machinery/atmospherics/unary/vent_scrubber/on{ + dir = 1 }, -/obj/effect/landmark/start/assistant, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/turf/simulated/floor/plasteel, -/area/station/public/dorms) +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "lor" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /turf/simulated/floor/engine, @@ -66477,10 +67401,8 @@ /turf/simulated/floor/plating, /area/station/maintenance/asmaint) "lrO" = ( -/obj/machinery/door/airlock/bathroom, -/obj/effect/mapping_helpers/airlock/autoname, -/obj/effect/mapping_helpers/airlock/welded, -/turf/simulated/floor/plating, +/obj/effect/decal/cleanable/dust, +/turf/simulated/wall, /area/station/maintenance/fsmaint) "lrQ" = ( /mob/living/simple_animal/pet/dog/fox/Renault, @@ -66624,6 +67546,14 @@ icon_state = "freezerfloor" }, /area/station/security/permabrig) +"lui" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 10 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/light_switch/east, +/turf/simulated/floor/wood/fancy, +/area/station/public/sleep_male) "luz" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/pipe/simple/hidden/cyan, @@ -66732,6 +67662,13 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/port) +"lwb" = ( +/obj/machinery/economy/vending/chinese, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "neutralcorner" + }, +/area/station/public/dorms) "lwg" = ( /obj/machinery/gateway{ dir = 4 @@ -66773,6 +67710,13 @@ /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel, /area/station/engineering/atmos) +"lwN" = ( +/obj/machinery/atmospherics/unary/vent_pump/on, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "neutral" + }, +/area/station/public/dorms) "lwY" = ( /obj/structure/table/wood, /obj/structure/cable{ @@ -67023,9 +67967,15 @@ }, /area/station/maintenance/fsmaint) "lCp" = ( -/obj/structure/grille/broken, -/obj/effect/landmark/burnturf, -/turf/simulated/floor/plating, +/obj/effect/decal/cleanable/dirt, +/obj/machinery/light/small/directional/west, +/obj/structure/chair/stool{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "purple" + }, /area/station/maintenance/fsmaint) "lCt" = ( /obj/machinery/turretid/stun{ @@ -67174,17 +68124,31 @@ }, /area/station/medical/medbay2) "lEH" = ( -/obj/structure/table/wood, -/obj/machinery/atmospherics/unary/vent_pump/on, -/obj/item/paper_bin{ - pixel_x = -4; - pixel_y = 4 +/obj/structure/railing/cap{ + dir = 9 }, -/obj/item/stamp/clown{ - pixel_x = 8 +/obj/structure/disposalpipe/segment/corner{ + dir = 4 }, -/turf/simulated/floor/wood/oak, -/area/station/service/clown) +/obj/structure/sign/restroom{ + pixel_y = 31 + }, +/obj/structure/cable{ + d1 = 2; + d2 = 4; + icon_state = "2-4" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 6 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 6 + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "neutralcorner" + }, +/area/station/public/dorms) "lEM" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/pipe/manifold/visible{ @@ -67193,29 +68157,25 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/turbine) "lEW" = ( -/obj/machinery/door/airlock/maintenance, -/obj/effect/mapping_helpers/airlock/autoname, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/effect/mapping_helpers/airlock/access/any/engineering/maintenance, +/obj/effect/spawner/window/reinforced/polarized/grilled{ + id = "arcade" + }, /turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/area/station/public/arcade) "lEZ" = ( /obj/effect/turf_decal/stripes/corner, /turf/simulated/floor/plasteel, /area/station/hallway/secondary/exit) "lFa" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/turf/simulated/floor/plating, -/area/station/maintenance/fore) -"lFe" = ( -/obj/structure/disposalpipe/segment{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 +/obj/machinery/atmospherics/unary/vent_scrubber/on, +/turf/simulated/floor/plasteel{ + icon_state = "neutral" }, -/turf/simulated/floor/carpet/arcade, +/area/station/public/dorms) +"lFe" = ( +/obj/structure/table/wood/poker, +/obj/item/deck/cards, +/turf/simulated/floor/carpet/green, /area/station/public/arcade) "lFv" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, @@ -67267,6 +68227,7 @@ /obj/effect/turf_decal/siding/wood/end{ dir = 1 }, +/obj/structure/disposalpipe/segment, /turf/simulated/floor/wood/fancy/cherry, /area/station/service/bar) "lFP" = ( @@ -67355,6 +68316,19 @@ icon_state = "freezerfloor" }, /area/station/maintenance/asmaint) +"lHL" = ( +/obj/effect/mapping_helpers/airlock/access/any/service/mime, +/obj/machinery/door/airlock/tranquillite, +/obj/effect/mapping_helpers/airlock/autoname, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/door/firedoor, +/turf/simulated/floor/mineral/tranquillite, +/area/station/service/mime) "lHM" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -67483,17 +68457,13 @@ }, /area/station/security/permabrig) "lJX" = ( -/obj/machinery/button/windowtint/east{ - id = "holodeck"; - range = 9; - active = 1 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 10 +/obj/structure/disposalpipe/junction/y{ + dir = 4 }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/turf/simulated/floor/plasteel, -/area/station/public/dorms) +/obj/effect/landmark/damageturf, +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "lKj" = ( /obj/item/soap, /turf/simulated/floor/plasteel{ @@ -67653,7 +68623,7 @@ }, /area/station/maintenance/apmaint) "lNp" = ( -/obj/machinery/atmospherics/unary/vent_scrubber/on, +/obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -67720,6 +68690,15 @@ icon_state = "whitepurple" }, /area/station/science/misc_lab) +"lOE" = ( +/obj/structure/disposalpipe/segment/corner{ + dir = 1 + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "neutral" + }, +/area/station/public/dorms) "lOM" = ( /obj/effect/decal/cleanable/dust, /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ @@ -67728,14 +68707,9 @@ /turf/simulated/floor/plating, /area/station/maintenance/abandonedbar) "lOY" = ( -/obj/machinery/camera{ - c_tag = "Dormitories East"; - dir = 8 - }, -/turf/simulated/floor/plasteel{ - icon_state = "cafeteria" - }, -/area/station/public/dorms) +/obj/effect/spawner/random_spawners/wall_rusted_probably, +/turf/simulated/wall, +/area/station/maintenance/fore) "lPa" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, @@ -68251,13 +69225,12 @@ /turf/simulated/floor/plasteel, /area/station/supply/office) "lXb" = ( -/obj/structure/urinal{ - pixel_y = 32 - }, +/obj/structure/statue/bananium/clown, +/obj/structure/sign/poster/official/random/north, /turf/simulated/floor/plasteel{ - icon_state = "hydrofloor" + icon_state = "bar" }, -/area/station/public/toilet) +/area/station/service/clown) "lXd" = ( /obj/structure/table/reinforced, /obj/item/kitchen/utensil/pfork, @@ -68314,18 +69287,23 @@ /turf/simulated/floor/plating, /area/station/hallway/secondary/exit) "lXF" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ +/obj/structure/closet/secure_closet/freezer/fridge, +/obj/item/fish/salmon, +/obj/item/fish/salmon, +/obj/item/fish/salmon, +/obj/item/fish_eggs/salmon, +/obj/item/fish_eggs/salmon, +/obj/item/reagent_containers/condiment/rice, +/obj/item/reagent_containers/condiment/rice, +/obj/item/reagent_containers/condiment/rice, +/obj/item/reagent_containers/condiment/rice, +/obj/item/reagent_containers/condiment/rice, +/obj/item/storage/firstaid/aquatic_kit/full, +/obj/effect/turf_decal/siding/wood{ dir = 5 }, -/obj/structure/cable{ - d1 = 2; - d2 = 4; - icon_state = "2-4" - }, -/turf/simulated/floor/carpet, +/obj/machinery/atmospherics/unary/vent_scrubber/on, +/turf/simulated/floor/wood, /area/station/public/mrchangs) "lXG" = ( /mob/living/simple_animal/mouse, @@ -68431,16 +69409,12 @@ }, /area/station/maintenance/aft) "lZu" = ( -/obj/machinery/power/apc/directional/west, -/obj/structure/cable{ - d2 = 2; - icon_state = "0-2" - }, -/turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "neutralcorner" +/obj/structure/curtain/open/shower/security{ + icon_state = "closed"; + opacity = 1 }, -/area/station/public/dorms) +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "lZw" = ( /obj/structure/disposalpipe/segment/corner{ dir = 2 @@ -68567,12 +69541,10 @@ /turf/simulated/floor/plating, /area/station/maintenance/aft) "mbb" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/structure/disposalpipe/segment{ - dir = 4 +/obj/structure/disposalpipe/segment/corner{ + dir = 8 }, +/obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/station/maintenance/fore) "mbC" = ( @@ -68733,18 +69705,26 @@ }, /area/station/engineering/smes) "mdr" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, /obj/machinery/firealarm/directional/south, -/obj/structure/curtain/open/shower, -/obj/machinery/shower{ - dir = 8; - pixel_x = -5 +/obj/structure/disposalpipe/segment{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 }, -/obj/item/soap, -/obj/item/bikehorn/rubberducky, /turf/simulated/floor/plasteel{ - icon_state = "showroomfloor" + dir = 1; + icon_state = "neutral" }, -/area/station/public/toilet) +/area/station/public/dorms) "mdy" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/cable{ @@ -68784,18 +69764,14 @@ /turf/simulated/floor/plating, /area/station/maintenance/asmaint) "meN" = ( -/obj/structure/cable{ - d1 = 2; - d2 = 8; - icon_state = "2-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ +/obj/structure/chair/sofa/left{ dir = 4 }, +/obj/effect/landmark/start/assistant, /turf/simulated/floor/plasteel{ - icon_state = "showroomfloor" + icon_state = "neutralfull" }, -/area/station/public/toilet) +/area/station/public/dorms) "meO" = ( /obj/machinery/computer/security{ dir = 1 @@ -69130,6 +70106,13 @@ icon_state = "whiteblue" }, /area/station/medical/sleeper) +"mju" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 6 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/turf/simulated/floor/plasteel, +/area/station/public/dorms) "mjE" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/reagent_dispensers/watertank, @@ -69232,6 +70215,20 @@ /obj/machinery/light/directional/south, /turf/simulated/floor/bluegrid, /area/station/telecomms/chamber) +"mlg" = ( +/obj/effect/spawner/lootdrop/trash, +/obj/effect/spawner/lootdrop/trash, +/obj/effect/spawner/lootdrop/trash, +/obj/structure/closet/crate/trashcart, +/obj/effect/decal/cleanable/dust, +/obj/structure/disposalpipe/segment/corner{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 6 + }, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fore) "mll" = ( /obj/effect/decal/cleanable/dirt, /obj/item/food/snacks/meat/slab, @@ -69299,6 +70296,18 @@ icon_state = "grimy" }, /area/station/command/office/hos) +"mmr" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/turf/simulated/floor/plasteel{ + icon_state = "whitegreenfull" + }, +/area/station/public/sleep) "mms" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/unary/vent_scrubber/on{ @@ -69446,11 +70455,29 @@ /area/station/medical/reception) "mqw" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 + dir = 9 }, -/obj/structure/disposalpipe/junction/y, -/turf/simulated/floor/plating, -/area/station/maintenance/fore) +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 9 + }, +/obj/structure/cable{ + d1 = 1; + d2 = 8; + icon_state = "1-8" + }, +/obj/structure/cable{ + d1 = 2; + d2 = 8; + icon_state = "2-8" + }, +/obj/structure/disposalpipe/segment/corner{ + dir = 8 + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "neutralcorner" + }, +/area/station/public/dorms) "mqE" = ( /obj/effect/spawner/window/reinforced/grilled, /obj/machinery/door/poddoor{ @@ -69503,27 +70530,24 @@ }, /area/station/engineering/tech_storage) "mrk" = ( -/obj/structure/disposalpipe/segment/corner{ - dir = 2 - }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/cable{ d1 = 2; - d2 = 8; - icon_state = "2-8" - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ - dir = 4 + d2 = 4; + icon_state = "2-4" }, /obj/structure/cable{ d1 = 1; - d2 = 8; - icon_state = "1-8" + d2 = 4; + icon_state = "1-4" }, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/obj/structure/disposalpipe/segment, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "neutralcorner" + }, +/area/station/public/dorms) "mrw" = ( /obj/machinery/atmospherics/pipe/simple/visible{ dir = 5 @@ -69754,6 +70778,16 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/se) +"mvX" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/turf/simulated/floor/carpet/green, +/area/station/public/arcade) "mws" = ( /obj/machinery/atmospherics/pipe/simple/hidden/cyan, /obj/machinery/atmospherics/pipe/simple/hidden/supply, @@ -69824,6 +70858,10 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/asmaint) +"mxM" = ( +/obj/machinery/firealarm/directional/south, +/turf/simulated/floor/carpet/arcade, +/area/station/public/arcade) "mxP" = ( /obj/structure/disposalpipe/segment/corner{ dir = 1 @@ -69833,10 +70871,13 @@ }, /area/station/command/office/rd) "mxZ" = ( -/obj/structure/table/wood, -/obj/item/bikehorn/rubberducky, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/obj/machinery/light/small/directional/north, +/obj/effect/landmark/spawner/xeno, +/obj/machinery/atmospherics/unary/vent_pump/on, +/turf/simulated/floor/plasteel{ + icon_state = "hydrofloor" + }, +/area/station/public/toilet) "myq" = ( /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ dir = 4 @@ -69950,12 +70991,9 @@ /turf/simulated/floor/carpet/royalblue, /area/station/command/office/captain) "mAX" = ( -/obj/effect/decal/cleanable/dust, -/obj/machinery/light/small/directional/south, -/obj/effect/mapping_helpers/machinery/destroyed, -/turf/simulated/floor/plasteel{ - icon_state = "white" - }, +/obj/structure/girder, +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "mAY" = ( /obj/structure/cable{ @@ -70204,13 +71242,10 @@ /turf/simulated/floor/plating, /area/station/maintenance/port) "mEs" = ( -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) +/obj/effect/decal/cleanable/dirt, +/obj/effect/decal/cleanable/dust, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) "mEx" = ( /obj/structure/cable{ d1 = 4; @@ -70315,22 +71350,13 @@ /turf/simulated/floor/plating, /area/station/science/xenobiology) "mGQ" = ( -/obj/structure/disposalpipe/segment{ - dir = 4 - }, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 +/obj/effect/turf_decal/delivery/hollow, +/obj/machinery/disposal, +/obj/structure/disposalpipe/trunk{ + dir = 1 }, /turf/simulated/floor/plasteel{ - icon_state = "neutralcorner" + icon_state = "neutralfull" }, /area/station/public/dorms) "mHb" = ( @@ -70705,12 +71731,11 @@ }, /area/station/service/hydroponics) "mPO" = ( -/obj/machinery/door/airlock, -/obj/effect/mapping_helpers/airlock/autoname, -/obj/effect/decal/cleanable/dirt, -/turf/simulated/floor/plasteel{ - icon_state = "purplefull" +/obj/machinery/door/poddoor{ + id = "Death"; + id_tag = "Death" }, +/turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "mQf" = ( /obj/structure/rack, @@ -70736,14 +71761,12 @@ }, /area/station/hallway/primary/aft) "mQL" = ( -/obj/structure/disposalpipe/segment, -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" +/obj/machinery/light/directional/east, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "neutralcorner" }, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/area/station/public/dorms) "mQX" = ( /obj/structure/barricade/wooden, /obj/effect/spawner/window/reinforced/grilled, @@ -70874,20 +71897,23 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/port) "mTZ" = ( -/obj/item/stack/rods{ - amount = 10 +/obj/machinery/door/airlock/bathroom{ + id = "toilet2"; + id_tag = "toilet2" }, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/obj/effect/mapping_helpers/airlock/autoname, +/turf/simulated/floor/plasteel{ + icon_state = "hydrofloor" + }, +/area/station/public/toilet) "mUt" = ( /obj/effect/turf_decal/siding/wood{ dir = 1 }, -/obj/machinery/light/directional/north, /obj/structure/cable{ - d1 = 4; + d1 = 1; d2 = 8; - icon_state = "4-8" + icon_state = "1-8" }, /turf/simulated/floor/wood/fancy/cherry, /area/station/service/bar/atrium) @@ -71078,15 +72104,34 @@ }, /area/station/security/interrogation) "mYc" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 +/obj/structure/table, +/obj/machinery/atmospherics/unary/vent_scrubber/on, +/obj/item/clothing/under/towel/long{ + pixel_y = 4; + pixel_x = 4 }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 +/obj/item/clothing/under/towel/long{ + pixel_y = 8; + pixel_x = 4 }, -/obj/effect/landmark/start/artist, -/turf/simulated/floor/plasteel, -/area/station/public/dorms) +/obj/item/clothing/under/towel/short{ + pixel_y = 2; + pixel_x = -4 + }, +/obj/item/clothing/under/towel/short{ + pixel_y = 6; + pixel_x = -4 + }, +/obj/item/clothing/head/towel{ + pixel_y = 10; + pixel_x = -6 + }, +/obj/item/clothing/head/towel{ + pixel_y = 10; + pixel_x = 6 + }, +/turf/simulated/floor/plasteel/freezer, +/area/station/public/toilet) "mYn" = ( /obj/structure/cable{ d1 = 4; @@ -71219,6 +72264,13 @@ icon_state = "dark" }, /area/station/security/interrogation) +"nan" = ( +/obj/structure/disposalpipe/segment/corner{ + dir = 4 + }, +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "naG" = ( /obj/effect/spawner/random_spawners/oil_maybe, /obj/effect/decal/cleanable/dust, @@ -71330,11 +72382,9 @@ /turf/simulated/floor/wood/fancy/oak, /area/station/command/meeting_room) "nci" = ( -/obj/machinery/door/airlock/bananium, -/obj/effect/mapping_helpers/airlock/autoname, -/obj/effect/mapping_helpers/airlock/access/any/service/clown, -/turf/simulated/floor/wood/oak, -/area/station/service/clown) +/obj/structure/flora/ausbushes/fernybush, +/turf/simulated/floor/grass/no_creep, +/area/station/public/dorms) "ncM" = ( /turf/simulated/floor/plasteel{ icon_state = "whitebluefull" @@ -71552,6 +72602,15 @@ /obj/effect/landmark/start/vip, /turf/simulated/floor/carpet/black, /area/station/service/bar/atrium) +"ngV" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 5 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 6 + }, +/turf/simulated/floor/carpet/green, +/area/station/public/arcade) "nhc" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 @@ -72095,17 +73154,16 @@ /turf/simulated/floor/plating, /area/station/maintenance/portsolar) "npF" = ( -/obj/item/kitchen/knife{ - pixel_x = -4; - pixel_y = 5 - }, -/obj/item/clothing/under/syndicate/tacticool{ - pixel_x = -1 +/obj/machinery/door/poddoor{ + id = "maints2"; + id_tag = "maints2" }, -/obj/item/clothing/mask/balaclava{ - pixel_x = 2; - pixel_y = -3 +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" }, +/obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "npM" = ( @@ -72170,26 +73228,29 @@ /turf/simulated/floor/plating, /area/station/engineering/supermatter_room) "nqG" = ( -/obj/machinery/economy/vending/cola, -/turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "caution" +/obj/structure/bed{ + dir = 4 }, -/area/station/public/dorms) +/obj/item/bedsheet/mime{ + dir = 4 + }, +/obj/machinery/alarm/directional/west, +/turf/simulated/floor/mineral/tranquillite, +/area/station/service/mime) "nqL" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 9 +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 1 }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 9 + dir = 4 }, /obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" + d1 = 4; + d2 = 8; + icon_state = "4-8" }, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "nqN" = ( /obj/machinery/atmospherics/pipe/simple/visible{ dir = 4 @@ -72426,18 +73487,12 @@ }, /area/station/science/explab) "nvm" = ( -/obj/structure/cable{ - d1 = 2; - d2 = 4; - icon_state = "2-4" - }, -/obj/structure/cable{ - d1 = 2; - d2 = 8; - icon_state = "2-8" +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plasteel{ + dir = 10; + icon_state = "purple" }, -/turf/simulated/floor/plating, -/area/station/maintenance/fore) +/area/station/maintenance/fsmaint) "nvq" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -72508,20 +73563,14 @@ }, /area/station/maintenance/asmaint2) "nwx" = ( -/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/cable{ d1 = 4; d2 = 8; icon_state = "4-8" }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "nwG" = ( @@ -73027,6 +74076,25 @@ /obj/machinery/atmospherics/unary/vent_scrubber/on, /turf/simulated/floor/plasteel, /area/station/command/bridge) +"nGj" = ( +/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{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/plasteel{ + icon_state = "neutralcorner" + }, +/area/station/public/dorms) "nGo" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 @@ -73285,6 +74353,13 @@ /obj/structure/disposalpipe/segment, /turf/simulated/floor/wood/fancy/cherry, /area/station/service/bar/atrium) +"nLw" = ( +/obj/machinery/door/airlock/maintenance, +/obj/effect/mapping_helpers/airlock/autoname, +/obj/effect/mapping_helpers/airlock/access/any/engineering/maintenance, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "nLC" = ( /obj/machinery/light/directional/west, /obj/structure/closet/emcloset, @@ -73374,6 +74449,14 @@ icon_state = "brown" }, /area/station/supply/miningdock) +"nNq" = ( +/obj/effect/mapping_helpers/airlock/autoname, +/obj/machinery/door/airlock/multi_tile/glass, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "whitegreen" + }, +/area/station/public/sleep) "nNv" = ( /obj/effect/spawner/window/reinforced/grilled, /obj/structure/cable{ @@ -73836,8 +74919,12 @@ }, /area/station/science/hallway) "nXr" = ( -/obj/machinery/status_display/directional/west, -/turf/simulated/floor/plasteel, +/obj/structure/disposalpipe/segment, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "neutralcorner" + }, /area/station/public/dorms) "nXu" = ( /obj/structure/window/reinforced, @@ -73874,6 +74961,17 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/fpmaint2) +"nXT" = ( +/obj/structure/chair/wood{ + dir = 4 + }, +/obj/machinery/camera{ + c_tag = "Casino" + }, +/obj/structure/sign/poster/random/north, +/obj/effect/landmark/start/bar, +/turf/simulated/floor/carpet/green, +/area/station/public/arcade) "nXU" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, @@ -74091,6 +75189,14 @@ icon_state = "darkblue" }, /area/station/medical/surgery/primary) +"obK" = ( +/obj/structure/chair/stool/bar, +/obj/effect/turf_decal/siding/wood/end{ + dir = 4 + }, +/obj/machinery/light/small/directional/east, +/turf/simulated/floor/wood/cherry, +/area/station/public/mrchangs) "obX" = ( /obj/structure/disposalpipe/sortjunction{ dir = 4; @@ -74113,6 +75219,7 @@ d2 = 4; icon_state = "2-4" }, +/obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "oca" = ( @@ -74147,6 +75254,25 @@ icon_state = "purple" }, /area/station/science/hallway) +"ocJ" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + icon_state = "neutralcorner" + }, +/area/station/public/dorms) "ocX" = ( /obj/structure/table, /obj/item/circular_saw, @@ -74217,9 +75343,16 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/incinerator) "odR" = ( -/obj/machinery/hologram/holopad, -/turf/simulated/floor/mineral/tranquillite, -/area/station/service/mime) +/obj/effect/turf_decal/delivery/hollow, +/obj/machinery/disposal, +/obj/structure/disposalpipe/trunk{ + dir = 1 + }, +/obj/machinery/light/small/directional/east, +/turf/simulated/floor/plasteel{ + icon_state = "hydrofloor" + }, +/area/station/public/toilet) "oes" = ( /obj/structure/disposalpipe/sortjunction/reversed{ dir = 8; @@ -74257,7 +75390,10 @@ /turf/simulated/floor/plating, /area/station/maintenance/asmaint) "ofu" = ( -/obj/machinery/atmospherics/unary/vent_pump/on, +/obj/machinery/atmospherics/unary/vent_scrubber/on{ + dir = 8 + }, +/obj/machinery/alarm/directional/east, /turf/simulated/floor/plasteel{ icon_state = "whitegreenfull" }, @@ -74545,16 +75681,15 @@ /turf/simulated/floor/wood/oak, /area/station/maintenance/asmaint) "ojJ" = ( -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" +/obj/structure/railing{ + dir = 1 }, -/obj/machinery/door/poddoor{ - id_tag = "maint1" +/obj/structure/chair/sofa/right, +/obj/effect/landmark/start/assistant, +/turf/simulated/floor/plasteel{ + icon_state = "neutralfull" }, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/area/station/public/dorms) "ojT" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -74625,6 +75760,34 @@ icon_state = "darkred" }, /area/station/security/brig) +"okN" = ( +/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{ + d1 = 1; + d2 = 8; + icon_state = "1-8" + }, +/obj/structure/cable{ + d1 = 1; + d2 = 4; + icon_state = "1-4" + }, +/obj/machinery/camera{ + c_tag = "Dormitories Center"; + dir = 1 + }, +/turf/simulated/floor/plasteel{ + icon_state = "neutralcorner" + }, +/area/station/public/dorms) "olg" = ( /obj/structure/table/reinforced, /obj/machinery/door/firedoor, @@ -74721,11 +75884,14 @@ /turf/simulated/wall/r_wall, /area/station/engineering/engine/supermatter) "omI" = ( -/obj/machinery/light/small/directional/south, +/obj/structure/chair/sofa/right{ + dir = 8 + }, +/obj/effect/landmark/start/assistant, /turf/simulated/floor/plasteel{ - icon_state = "hydrofloor" + icon_state = "neutralfull" }, -/area/station/public/toilet) +/area/station/public/dorms) "onc" = ( /obj/machinery/hologram/holopad, /turf/simulated/floor/plasteel{ @@ -74916,9 +76082,11 @@ /turf/simulated/floor/wood/oak, /area/station/maintenance/asmaint2) "oqZ" = ( -/obj/effect/turf_decal/delivery/blue/partial, -/turf/simulated/floor/plasteel, -/area/station/public/dorms) +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "orf" = ( /obj/machinery/atmospherics/pipe/manifold/visible{ dir = 4 @@ -75127,17 +76295,10 @@ /turf/simulated/floor/plasteel, /area/station/science/storage) "otX" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/platform/corner{ - dir = 4; - anchored = 1 - }, -/turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "blackcorner" - }, -/area/station/public/dorms) +/obj/effect/decal/cleanable/dirt, +/obj/effect/spawner/random_barrier/obstruction, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "otY" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 8 @@ -75269,6 +76430,13 @@ icon_state = "chapel" }, /area/station/maintenance/fsmaint) +"owH" = ( +/obj/machinery/atmospherics/pipe/manifold/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "owJ" = ( /obj/effect/landmark/damageturf, /turf/simulated/floor/plating, @@ -75399,14 +76567,17 @@ /area/station/maintenance/port) "ozS" = ( /obj/structure/cable{ - d1 = 1; + d1 = 2; d2 = 4; - icon_state = "1-4" + icon_state = "2-4" }, -/turf/simulated/floor/plasteel{ - icon_state = "whitegreenfull" +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 6 }, -/area/station/public/sleep) +/obj/effect/spawner/wire_splicing/thirty, +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "ozX" = ( /obj/structure/table, /obj/item/storage/box/bodybags{ @@ -75558,16 +76729,13 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/aft) "oCG" = ( -/obj/machinery/cryopod{ - dir = 4 - }, -/obj/machinery/alarm/directional/north, -/obj/machinery/light/directional/west, +/obj/effect/mapping_helpers/airlock/autoname, +/obj/machinery/door/firedoor, +/obj/machinery/door/airlock/multi_tile/glass, /turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "whitegreencorner" + icon_state = "neutral" }, -/area/station/public/sleep) +/area/station/public/dorms) "oDa" = ( /obj/machinery/hologram/holopad, /turf/simulated/floor/plasteel{ @@ -75575,6 +76743,12 @@ icon_state = "darkyellowcorners" }, /area/station/engineering/atmos/control) +"oDj" = ( +/obj/structure/flora/ausbushes/fullgrass, +/obj/structure/sink/puddle, +/mob/living/simple_animal/turtle, +/turf/simulated/floor/grass/no_creep, +/area/station/public/dorms) "oDm" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -75810,18 +76984,9 @@ /turf/simulated/floor/plating, /area/station/science/xenobiology) "oGv" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/structure/cable{ - d1 = 1; - d2 = 8; - icon_state = "1-8" - }, -/obj/structure/disposalpipe/segment{ +/obj/machinery/door/airlock, +/obj/effect/mapping_helpers/airlock/autoname, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ dir = 4 }, /turf/simulated/floor/plating, @@ -75858,6 +77023,10 @@ icon_state = "white" }, /area/station/science/toxins/mixing) +"oGV" = ( +/obj/structure/sign/chinese, +/turf/simulated/wall, +/area/station/public/mrchangs) "oHl" = ( /obj/machinery/atmospherics/pipe/manifold/visible/supply{ dir = 8 @@ -75887,15 +77056,19 @@ }, /area/station/security/main) "oHO" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 10 +/obj/effect/mapping_helpers/airlock/autoname, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 10 +/obj/machinery/door/firedoor, +/obj/machinery/door/airlock/multi_tile/glass, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "neutral" }, -/obj/machinery/light/small/directional/east, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/area/station/public/dorms) "oIB" = ( /obj/machinery/alarm/directional/south, /obj/machinery/firealarm/directional/east, @@ -76006,24 +77179,12 @@ }, /area/station/security/detective) "oKl" = ( -/obj/machinery/firealarm/directional/south, -/obj/structure/disposalpipe/segment{ - dir = 4 - }, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ +/obj/structure/chair/comfy/brown{ dir = 4 }, +/obj/effect/landmark/start/assistant, /turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "neutralcorner" + icon_state = "neutralfull" }, /area/station/public/dorms) "oKo" = ( @@ -76257,6 +77418,16 @@ icon_state = "white" }, /area/station/science/rnd) +"oPr" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/turf/simulated/floor/carpet/red, +/area/station/public/arcade) "oPu" = ( /obj/machinery/requests_console{ department = "Kitchen"; @@ -76736,15 +77907,14 @@ /turf/simulated/floor/plating, /area/station/maintenance/asmaint2) "oVY" = ( -/obj/structure/table/wood, -/obj/machinery/atmospherics/unary/vent_scrubber/on{ +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, -/obj/item/radio/intercom/directional/west, -/obj/item/reagent_containers/spray/waterflower, -/obj/machinery/light_switch/south, -/turf/simulated/floor/mineral/tranquillite, -/area/station/service/mime) +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "oWe" = ( /obj/structure/table, /obj/item/storage/photo_album, @@ -76764,11 +77934,35 @@ icon_state = "floorgrime" }, /area/station/engineering/gravitygenerator) +"oWB" = ( +/obj/structure/table/wood, +/obj/item/book/manual/barman_recipes{ + pixel_x = -4; + pixel_y = 7 + }, +/obj/item/reagent_containers/drinks/shaker, +/turf/simulated/floor/carpet/green, +/area/station/public/arcade) "oWE" = ( /turf/simulated/floor/plasteel{ icon_state = "neutralfull" }, /area/station/hallway/secondary/exit) +"oWF" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 10 + }, +/obj/structure/cable{ + d1 = 2; + d2 = 8; + icon_state = "2-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 10; + initialize_directions = 10 + }, +/turf/simulated/floor/transparent/glass/reinforced, +/area/station/public/dorms) "oWJ" = ( /obj/effect/turf_decal{ dir = 8 @@ -76819,9 +78013,6 @@ /obj/effect/turf_decal/siding/wood{ dir = 1 }, -/obj/structure/disposalpipe/segment{ - dir = 4 - }, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, @@ -76868,21 +78059,14 @@ }, /area/station/command/bridge) "oYo" = ( -/obj/structure/disposalpipe/segment/corner{ - dir = 2 - }, -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/light_switch/east, -/turf/simulated/floor/plasteel{ - icon_state = "barber" +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 }, -/area/station/service/barber) +/turf/simulated/floor/carpet/green, +/area/station/public/arcade) "oYu" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -76897,6 +78081,24 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/ne) +"oYv" = ( +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 8 + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 8 + }, +/obj/structure/cable{ + d1 = 2; + d2 = 4; + icon_state = "2-4" + }, +/obj/structure/disposalpipe/segment, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "neutralcorner" + }, +/area/station/public/dorms) "oYC" = ( /obj/effect/turf_decal/stripes/line, /obj/effect/decal/cleanable/dirt, @@ -76904,17 +78106,22 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/disposal) "oYI" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/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/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" + d1 = 4; + d2 = 8; + icon_state = "4-8" }, -/obj/machinery/door/airlock/maintenance, -/obj/effect/mapping_helpers/airlock/autoname, -/obj/effect/mapping_helpers/airlock/access/any/service/clown, -/turf/simulated/floor/plating, +/obj/effect/decal/cleanable/dust, +/turf/simulated/floor/plasteel, /area/station/maintenance/fsmaint) "oYM" = ( /obj/structure/safe/floor{ @@ -77066,9 +78273,19 @@ }, /area/station/security/permabrig) "pbz" = ( -/obj/machinery/atmospherics/unary/vent_scrubber/on, -/turf/simulated/floor/plasteel, -/area/station/public/dorms) +/obj/machinery/door/airlock/maintenance, +/obj/effect/mapping_helpers/airlock/autoname, +/obj/effect/mapping_helpers/airlock/access/any/engineering/maintenance, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "pbY" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/table, @@ -77220,6 +78437,10 @@ }, /turf/space, /area/station/engineering/solar/port) +"pgD" = ( +/obj/structure/girder, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) "pgE" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/pipe/simple/visible, @@ -77259,26 +78480,10 @@ }, /area/station/science/xenobiology) "phd" = ( -/obj/structure/disposalpipe/junction{ - dir = 8 - }, -/obj/structure/cable{ - d1 = 1; - d2 = 8; - icon_state = "1-8" - }, -/obj/structure/cable{ - d1 = 1; - d2 = 4; - icon_state = "1-4" - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, -/turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "neutralcorner" - }, -/area/station/public/dorms) +/obj/effect/turf_decal/siding/yellow/corner, +/obj/structure/railing/cap, +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "phl" = ( /obj/structure/disposalpipe/junction{ dir = 8 @@ -77303,6 +78508,10 @@ /obj/machinery/atmospherics/supermatter_crystal/engine, /turf/simulated/floor/engine, /area/station/engineering/engine/supermatter) +"phC" = ( +/obj/structure/dresser, +/turf/simulated/floor/wood/fancy, +/area/station/public/sleep_female) "phG" = ( /obj/machinery/door/firedoor, /obj/machinery/ticket_machine{ @@ -77639,9 +78848,15 @@ }, /area/station/science/hallway) "pmG" = ( -/obj/effect/spawner/window/reinforced/grilled, -/turf/simulated/floor/plating, -/area/station/service/clown) +/obj/structure/railing{ + dir = 5 + }, +/obj/structure/chair/sofa/left, +/obj/effect/landmark/start/artist, +/turf/simulated/floor/plasteel{ + icon_state = "neutralfull" + }, +/area/station/public/dorms) "pmH" = ( /obj/effect/decal/cleanable/dust, /obj/machinery/light_switch/south, @@ -77657,17 +78872,17 @@ /turf/simulated/floor/plating, /area/station/maintenance/aft) "pni" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 6 +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 8 }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/cable{ d1 = 1; d2 = 2; icon_state = "1-2" }, -/turf/simulated/floor/wood/oak, -/area/station/service/clown) +/turf/simulated/floor/carpet/red, +/area/station/public/arcade) "pnz" = ( /obj/effect/decal/cleanable/blood/old{ icon_state = "mfloor7"; @@ -77683,24 +78898,10 @@ /turf/simulated/floor/plating, /area/station/maintenance/aft) "pnG" = ( -/obj/structure/disposalpipe/segment/corner{ - dir = 4 - }, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ - dir = 1 - }, -/turf/simulated/floor/plasteel{ - icon_state = "neutralcorner" - }, -/area/station/public/dorms) +/obj/structure/railing, +/obj/effect/turf_decal/siding/yellow, +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "pnT" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/computerframe{ @@ -77810,13 +79011,29 @@ /turf/simulated/floor/engine, /area/station/science/misc_lab) "ppd" = ( +/obj/machinery/camera{ + c_tag = "Dormitories West"; + dir = 1 + }, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 5 + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/structure/disposalpipe/segment{ + dir = 4 }, /turf/simulated/floor/plasteel{ - icon_state = "whitegreenfull" + dir = 1; + icon_state = "neutral" }, -/area/station/public/sleep) +/area/station/public/dorms) "ppm" = ( /obj/structure/table, /obj/item/clothing/glasses/hud/hydroponic{ @@ -78348,14 +79565,9 @@ }, /area/station/medical/reception) "pyq" = ( -/obj/structure/disposalpipe/segment/corner{ - dir = 8 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/turf/simulated/floor/plasteel{ - icon_state = "hydrofloor" - }, -/area/station/public/toilet) +/obj/structure/table/wood/fancy/red, +/turf/simulated/floor/transparent/glass/reinforced, +/area/station/public/dorms) "pyI" = ( /obj/structure/sign/biohazard, /turf/simulated/wall/r_wall, @@ -78460,10 +79672,13 @@ }, /area/station/engineering/emergency) "pAv" = ( -/obj/structure/girder, -/obj/effect/decal/cleanable/dust, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/obj/effect/turf_decal/siding/wood, +/obj/structure/curtain/open/shower/security{ + icon_state = "closed"; + opacity = 1 + }, +/turf/simulated/floor/plasteel, +/area/station/public/mrchangs) "pAx" = ( /obj/machinery/light/directional/east, /obj/machinery/atmospherics/pipe/simple/hidden/supply, @@ -78738,7 +79953,7 @@ d2 = 8; icon_state = "4-8" }, -/obj/effect/spawner/wire_splicing/thirty, +/obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "pHG" = ( @@ -78757,11 +79972,27 @@ /turf/simulated/floor/plasteel, /area/station/supply/office) "pHV" = ( -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 1 +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 }, -/turf/simulated/floor/plasteel, -/area/station/public/dorms) +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/effect/mapping_helpers/airlock/autoname, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/machinery/door/firedoor, +/obj/machinery/door/airlock/multi_tile/glass{ + dir = 2 + }, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "bluecorner" + }, +/area/station/hallway/primary/fore) "pIe" = ( /obj/structure/cable{ d1 = 2; @@ -78779,8 +80010,23 @@ }, /area/station/science/explab) "pIr" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/turf/simulated/floor/plasteel, +/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/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/plasteel{ + icon_state = "neutralcorner" + }, /area/station/public/dorms) "pIx" = ( /obj/effect/spawner/random_spawners/oil_maybe, @@ -78808,13 +80054,7 @@ }, /area/station/engineering/hallway) "pIY" = ( -/obj/machinery/atmospherics/unary/tank/air{ - dir = 4 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 6 - }, -/turf/simulated/floor/plating, +/turf/simulated/floor/plasteel, /area/station/maintenance/fsmaint) "pJb" = ( /obj/machinery/door/poddoor/shutters{ @@ -78892,22 +80132,20 @@ /turf/simulated/floor/carpet/royalblue, /area/station/command/office/captain) "pKv" = ( -/obj/machinery/newscaster/directional/south, -/obj/structure/disposalpipe/segment{ - dir = 4 +/obj/structure/platform/corner{ + dir = 4; + anchored = 1 }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 + d1 = 1; + d2 = 2; + icon_state = "1-2" }, +/obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel{ + dir = 1; icon_state = "neutralcorner" }, /area/station/public/dorms) @@ -79213,9 +80451,13 @@ /turf/simulated/floor/plating, /area/station/maintenance/asmaint2) "pRf" = ( -/obj/effect/decal/cleanable/dust, -/obj/item/clothing/shoes/galoshes, -/turf/simulated/floor/plating, +/obj/effect/decal/cleanable/dirt, +/obj/effect/decal/cleanable/blood/old{ + icon_state = "mfloor2"; + random_icon_states = null + }, +/obj/effect/spawner/lootdrop/maintenance, +/turf/simulated/floor/engine, /area/station/maintenance/fsmaint) "pRg" = ( /turf/simulated/floor/plasteel{ @@ -79376,6 +80618,12 @@ /obj/machinery/light/small/directional/south, /turf/simulated/floor/plasteel, /area/station/maintenance/asmaint) +"pTx" = ( +/obj/structure/closet/emcloset, +/turf/simulated/floor/plasteel{ + icon_state = "neutralfull" + }, +/area/station/public/dorms) "pTK" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/pipe/simple/hidden{ @@ -79587,7 +80835,10 @@ /area/station/maintenance/asmaint) "pZg" = ( /obj/effect/decal/cleanable/dust, -/obj/item/caution, +/obj/structure/table, +/obj/machinery/smartfridge/disks{ + pixel_y = 2 + }, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "pZj" = ( @@ -79730,13 +80981,16 @@ /turf/simulated/floor/plating, /area/station/maintenance/fpmaint2) "qaK" = ( -/obj/machinery/atmospherics/unary/vent_pump/on{ +/obj/structure/disposalpipe/segment{ dir = 4 }, -/turf/simulated/floor/plasteel{ - icon_state = "barber" +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, -/area/station/service/barber) +/obj/effect/landmark/damageturf, +/obj/effect/spawner/lootdrop/trash, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "qaU" = ( /obj/structure/table, /obj/item/stack/sheet/metal/fifty, @@ -79887,8 +81141,14 @@ /turf/simulated/floor/carpet, /area/station/command/office/captain/bedroom) "qef" = ( -/turf/simulated/floor/wood/oak, -/area/station/service/clown) +/obj/structure/railing{ + dir = 1 + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "neutralcorner" + }, +/area/station/public/dorms) "qei" = ( /obj/machinery/power/apc/directional/east, /obj/structure/cable, @@ -79906,19 +81166,17 @@ }, /area/station/maintenance/fsmaint) "qek" = ( -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 10 +/obj/structure/reagent_dispensers/peppertank{ + pixel_y = 32 }, -/obj/effect/landmark/start/barber, +/obj/effect/landmark/damageturf, +/obj/structure/closet/body_bag, +/obj/effect/spawner/lootdrop/maintenance, /turf/simulated/floor/plasteel{ - icon_state = "barber" + dir = 9; + icon_state = "darkred" }, -/area/station/service/barber) +/area/station/maintenance/fore) "qen" = ( /obj/item/radio/intercom/locked/prison{ name = "Prison Intercom (General)"; @@ -79969,9 +81227,15 @@ }, /area/station/medical/medbay) "qfL" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) +/obj/structure/railing, +/obj/structure/chair/sofa/left{ + dir = 1 + }, +/obj/effect/landmark/start/artist, +/turf/simulated/floor/plasteel{ + icon_state = "neutralfull" + }, +/area/station/public/dorms) "qgi" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 4 @@ -80063,14 +81327,14 @@ /turf/simulated/floor/plating, /area/station/maintenance/apmaint) "qhO" = ( -/obj/machinery/door/airlock/bathroom{ - id_tag = "toilet_unitb" +/obj/structure/chair/sofa{ + dir = 1 }, -/obj/effect/mapping_helpers/airlock/autoname, +/obj/effect/landmark/start/assistant, /turf/simulated/floor/plasteel{ - icon_state = "hydrofloor" + icon_state = "neutralfull" }, -/area/station/public/toilet) +/area/station/public/dorms) "qhY" = ( /obj/machinery/door/airlock/maintenance, /obj/effect/mapping_helpers/airlock/autoname, @@ -80324,14 +81588,14 @@ /turf/simulated/floor/plating, /area/station/engineering/supermatter_room) "qmv" = ( -/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ - dir = 8 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/cable{ - d1 = 2; - d2 = 4; - icon_state = "2-4" + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/effect/decal/cleanable/dirt, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) @@ -80414,6 +81678,13 @@ icon_state = "whitepurple" }, /area/station/science/toxins/mixing) +"qno" = ( +/obj/machinery/newscaster/directional/west, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "caution" + }, +/area/station/public/dorms) "qnq" = ( /obj/machinery/conveyor{ dir = 1; @@ -80485,9 +81756,14 @@ /area/station/security/interrogation) "qor" = ( /obj/effect/decal/cleanable/dirt, -/obj/structure/disposalpipe/segment, -/turf/simulated/floor/plating, -/area/station/maintenance/fore) +/obj/structure/chair/sofa/pew/right{ + dir = 1 + }, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "chapel" + }, +/area/station/maintenance/fsmaint) "qot" = ( /obj/item/radio/intercom/directional/south, /turf/simulated/floor/plasteel, @@ -80784,6 +82060,11 @@ /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ dir = 5 }, +/obj/structure/cable{ + d1 = 1; + d2 = 4; + icon_state = "1-4" + }, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "qtA" = ( @@ -80806,27 +82087,21 @@ icon_state = "dark" }, /area/station/hallway/secondary/exit) +"qtQ" = ( +/obj/effect/spawner/random_spawners/blood_often, +/obj/structure/chair, +/obj/item/garrote/improvised, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "qtR" = ( -/obj/structure/cable{ - d1 = 1; - d2 = 4; - icon_state = "1-4" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/structure/cable{ - d1 = 1; - d2 = 8; - icon_state = "1-8" +/obj/structure/railing{ + dir = 10 }, -/turf/simulated/floor/plasteel{ - icon_state = "neutralcorner" +/obj/effect/turf_decal/siding/yellow{ + dir = 10 }, -/area/station/public/dorms) +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "qtT" = ( /obj/structure/bookcase/random, /obj/effect/decal/cleanable/dust, @@ -80836,18 +82111,19 @@ /obj/structure/disposalpipe/segment{ dir = 4 }, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, -/obj/structure/cable{ - d1 = 1; - d2 = 4; - icon_state = "1-4" +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, /obj/structure/cable{ - d1 = 1; + d1 = 4; d2 = 8; - icon_state = "1-8" + icon_state = "4-8" }, +/obj/effect/spawner/wire_splicing/thirty, +/obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "quj" = ( @@ -80934,6 +82210,21 @@ /obj/structure/lattice/catwalk, /turf/space, /area/space/nearstation) +"qwt" = ( +/obj/effect/decal/cleanable/dirt, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ + dir = 5 + }, +/turf/simulated/floor/plasteel{ + dir = 6; + icon_state = "darkgreen" + }, +/area/station/maintenance/fsmaint) "qwJ" = ( /obj/effect/landmark/damageturf, /obj/item/cultivator, @@ -81277,18 +82568,13 @@ /area/station/engineering/engine/supermatter) "qCO" = ( /obj/effect/decal/cleanable/dirt, -/obj/machinery/atmospherics/pipe/simple/visible/cyan{ - dir = 10 - }, /obj/structure/cable{ d1 = 1; d2 = 2; icon_state = "1-2" }, -/obj/structure/cable{ - d1 = 2; - d2 = 4; - icon_state = "2-4" +/obj/machinery/atmospherics/pipe/simple/visible/cyan{ + dir = 6 }, /turf/simulated/floor/plasteel{ dir = 8; @@ -81515,17 +82801,10 @@ "qFV" = ( /obj/machinery/door/airlock/maintenance, /obj/effect/mapping_helpers/airlock/autoname, -/obj/structure/disposalpipe/segment, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, /obj/effect/mapping_helpers/airlock/access/any/engineering/maintenance, +/obj/structure/disposalpipe/segment, /turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/area/station/maintenance/fore) "qFW" = ( /obj/machinery/door/firedoor, /obj/machinery/door/airlock/public/glass, @@ -81774,9 +83053,6 @@ /turf/simulated/floor/plating/airless, /area/station/engineering/control) "qKa" = ( -/obj/structure/disposalpipe/segment/corner{ - dir = 1 - }, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, @@ -81789,6 +83065,11 @@ d2 = 8; icon_state = "4-8" }, +/obj/structure/disposalpipe/sortjunction{ + dir = 8; + name = "Bar"; + sort_type_txt = "19" + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -82171,6 +83452,10 @@ icon_state = "dark" }, /area/station/service/chapel) +"qPF" = ( +/obj/effect/decal/cleanable/dirt, +/turf/simulated/wall, +/area/station/public/dorms) "qPI" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -82291,11 +83576,19 @@ /turf/simulated/floor/plating, /area/station/maintenance/port) "qSh" = ( -/obj/effect/landmark/start/artist, -/turf/simulated/floor/plasteel{ - icon_state = "vault" +/obj/machinery/door/airlock{ + id_tag = "PrivateRoom2" }, -/area/station/public/dorms) +/obj/effect/mapping_helpers/airlock/autoname, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/turf/simulated/floor/wood/fancy, +/area/station/public/sleep_female) "qSr" = ( /obj/structure/table, /obj/item/storage/toolbox/mechanical{ @@ -82328,6 +83621,11 @@ icon_state = "grimy" }, /area/station/command/office/hop) +"qSO" = ( +/obj/effect/decal/cleanable/dirt, +/obj/structure/girder, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "qTl" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 @@ -82350,10 +83648,10 @@ /turf/simulated/floor/carpet/orange, /area/station/maintenance/fsmaint) "qTN" = ( -/obj/effect/spawner/random_spawners/grille_maybe, /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ dir = 4 }, +/obj/effect/spawner/random_spawners/grille_maybe, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "qTO" = ( @@ -82505,16 +83803,13 @@ /turf/simulated/floor/plating, /area/station/security/permabrig) "qXm" = ( -/obj/structure/rack, -/obj/effect/spawner/lootdrop/maintenance, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 +/obj/item/flag/mime, +/obj/machinery/camera{ + c_tag = "Mime Office" }, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/obj/machinery/atmospherics/unary/vent_scrubber/on, +/turf/simulated/floor/mineral/tranquillite, +/area/station/service/mime) "qXp" = ( /obj/structure/disposalpipe/segment/corner{ dir = 4 @@ -82690,12 +83985,12 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/starboard/west) "raG" = ( -/obj/machinery/door/airlock/maintenance, -/obj/effect/mapping_helpers/airlock/autoname, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/effect/mapping_helpers/airlock/access/any/engineering/maintenance, -/turf/simulated/floor/plating, -/area/station/maintenance/fore) +/obj/effect/turf_decal/delivery/hollow, +/obj/machinery/economy/vending/crittercare, +/turf/simulated/floor/plasteel{ + icon_state = "neutralfull" + }, +/area/station/public/dorms) "raH" = ( /obj/item/kirbyplants, /turf/simulated/floor/plasteel, @@ -82849,15 +84144,13 @@ dir = 1 }, /obj/effect/turf_decal/siding/wood/corner, -/obj/structure/disposalpipe/segment/corner{ - dir = 2 - }, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, +/obj/structure/disposalpipe/segment, /turf/simulated/floor/wood/fancy/cherry, /area/station/service/bar/atrium) "rcY" = ( @@ -83029,6 +84322,13 @@ icon_state = "darkblue" }, /area/station/medical/morgue) +"rgz" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/turf/simulated/floor/plasteel{ + icon_state = "neutralfull" + }, +/area/station/public/dorms) "rgM" = ( /obj/effect/decal/cleanable/dirt, /obj/item/mounted/frame/apc_frame, @@ -83245,11 +84545,16 @@ /turf/simulated/floor/engine, /area/station/science/explab/chamber) "rlG" = ( -/obj/machinery/atmospherics/unary/vent_scrubber/on, -/turf/simulated/floor/plasteel{ - icon_state = "whitegreenfull" +/obj/effect/landmark/start/mime, +/obj/machinery/hologram/holopad, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 6 }, -/area/station/public/sleep) +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 5 + }, +/turf/simulated/floor/mineral/tranquillite, +/area/station/service/mime) "rlS" = ( /obj/effect/turf_decal/stripes/line{ dir = 1 @@ -83395,8 +84700,13 @@ }, /area/station/security/brig) "rpd" = ( -/obj/machinery/atmospherics/unary/vent_pump/on, -/turf/simulated/floor/plasteel, +/obj/structure/railing/cap{ + dir = 8 + }, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "neutralcorner" + }, /area/station/public/dorms) "rph" = ( /obj/structure/cable{ @@ -83461,6 +84771,11 @@ /obj/effect/spawner/lootdrop/maintenance, /turf/simulated/floor/plating, /area/station/maintenance/apmaint) +"rrD" = ( +/obj/effect/spawner/window/reinforced/plasma/grilled, +/obj/structure/cable, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "rrF" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 8 @@ -83589,15 +84904,16 @@ /turf/simulated/floor/plating, /area/station/maintenance/apmaint) "rvw" = ( +/obj/machinery/door/airlock/maintenance, +/obj/effect/mapping_helpers/airlock/autoname, +/obj/effect/mapping_helpers/airlock/access/any/service/mime, /obj/structure/cable{ - d2 = 8; - icon_state = "0-8" - }, -/obj/machinery/power/apc/critical/directional/north, -/turf/simulated/floor/plasteel{ - icon_state = "whitegreenfull" + d1 = 1; + d2 = 2; + icon_state = "1-2" }, -/area/station/public/sleep) +/turf/simulated/floor/plating, +/area/station/service/mime) "rvA" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ @@ -83684,6 +85000,11 @@ icon_state = "darkyellow" }, /area/station/science/robotics/chargebay) +"rxm" = ( +/obj/effect/decal/cleanable/dirt, +/obj/effect/spawner/random_spawners/grille_often, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "rxp" = ( /obj/effect/spawner/window/reinforced/grilled, /turf/simulated/floor/plating, @@ -83876,17 +85197,11 @@ }, /area/station/medical/storage) "rBZ" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 10 - }, -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 1 }, -/turf/simulated/floor/mineral/tranquillite, -/area/station/service/mime) +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "rCg" = ( /obj/effect/spawner/random_spawners/fungus_probably, /turf/simulated/wall, @@ -83909,6 +85224,14 @@ icon_state = "red" }, /area/station/security/prisonershuttle) +"rDG" = ( +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/turf/simulated/floor/carpet/green, +/area/station/public/arcade) "rDI" = ( /obj/structure/table, /obj/item/storage/toolbox/mechanical{ @@ -84110,6 +85433,17 @@ /obj/structure/barricade/wooden, /turf/simulated/floor/plating, /area/station/maintenance/asmaint) +"rGv" = ( +/obj/structure/chair/wood{ + dir = 1 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/carpet/green, +/area/station/public/arcade) "rGR" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/plasteel{ @@ -84434,9 +85768,9 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/starboard/east) "rOg" = ( -/obj/machinery/light/directional/south, -/turf/simulated/floor/mineral/tranquillite, -/area/station/service/mime) +/obj/structure/dresser, +/turf/simulated/floor/wood/fancy, +/area/station/public/sleep_male) "rPa" = ( /obj/effect/decal/cleanable/dust, /obj/effect/landmark/damageturf, @@ -84573,14 +85907,7 @@ /turf/simulated/floor/plating, /area/station/maintenance/asmaint) "rQP" = ( -/obj/structure/disposalpipe/segment/corner{ - dir = 8 - }, -/obj/structure/cable{ - d1 = 1; - d2 = 8; - icon_state = "1-8" - }, +/obj/machinery/space_heater, /turf/simulated/floor/plating, /area/station/maintenance/fore) "rQW" = ( @@ -84807,6 +86134,24 @@ /obj/effect/spawner/lootdrop/maintenance/two, /turf/simulated/floor/plating, /area/station/maintenance/asmaint) +"rVO" = ( +/obj/structure/disposalpipe/segment/corner{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 2; + d2 = 4; + icon_state = "2-4" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 6 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 6 + }, +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "rVS" = ( /obj/machinery/economy/vending/security, /obj/effect/turf_decal/delivery/red/hollow, @@ -85152,15 +86497,30 @@ }, /area/station/command/teleporter) "sbR" = ( -/obj/structure/table/wood, -/obj/machinery/alarm/directional/north, -/obj/item/flashlight/lamp/bananalamp{ - layer = 3.4; - pixel_x = 4; - pixel_y = 12 +/obj/machinery/door/airlock/bathroom{ + id = "toilet2"; + id_tag = "toilet2" }, -/turf/simulated/floor/wood/oak, -/area/station/service/clown) +/obj/effect/mapping_helpers/airlock/autoname, +/obj/machinery/door/firedoor, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + icon_state = "hydrofloor" + }, +/area/station/public/toilet) "scB" = ( /obj/structure/table, /obj/item/storage/toolbox/mechanical, @@ -85228,6 +86588,10 @@ }, /turf/simulated/floor/plating, /area/station/command/bridge) +"sdX" = ( +/obj/machinery/atmospherics/unary/vent_pump/on, +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "sea" = ( /obj/structure/chair/sofa/corp/right{ dir = 8 @@ -85409,6 +86773,23 @@ icon_state = "yellow" }, /area/station/hallway/primary/aft) +"shN" = ( +/obj/structure/railing{ + dir = 8 + }, +/obj/effect/turf_decal/siding/yellow{ + dir = 10 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/obj/structure/disposalpipe/segment, +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "sim" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -85846,6 +87227,16 @@ /obj/machinery/light/small/directional/east, /turf/simulated/floor/transparent/glass, /area/station/command/bridge) +"soF" = ( +/obj/effect/decal/cleanable/dirt, +/obj/structure/rack, +/obj/effect/spawner/lootdrop/trash, +/obj/effect/spawner/lootdrop/trash, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "purple" + }, +/area/station/maintenance/fsmaint) "soK" = ( /obj/structure/girder, /obj/structure/sign/securearea{ @@ -85929,19 +87320,10 @@ }, /area/station/security/permabrig) "sqc" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "neutralcorner" - }, -/area/station/public/dorms) +/obj/effect/decal/cleanable/dust, +/obj/effect/spawner/random_spawners/grille_often, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "sqf" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, @@ -86108,11 +87490,11 @@ }, /area/station/engineering/supermatter_room) "ssY" = ( -/obj/structure/disposalpipe/segment, +/obj/effect/decal/cleanable/dust, /obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" + d1 = 4; + d2 = 8; + icon_state = "4-8" }, /turf/simulated/floor/plating, /area/station/maintenance/fore) @@ -86262,23 +87644,23 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/port) "svD" = ( -/obj/structure/disposalpipe/segment{ - dir = 4 - }, -/obj/structure/cable{ - d1 = 1; - d2 = 8; - icon_state = "1-8" - }, /obj/structure/cable{ d1 = 1; d2 = 4; icon_state = "1-4" }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 + dir = 6 }, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 6 + }, +/obj/structure/cable{ + d1 = 2; + d2 = 4; + icon_state = "2-4" + }, +/obj/structure/disposalpipe/segment/corner{ dir = 4 }, /obj/effect/decal/cleanable/dirt, @@ -86681,7 +88063,19 @@ /turf/simulated/floor/plating, /area/station/maintenance/asmaint2) "sCd" = ( -/obj/structure/grille, +/obj/effect/decal/cleanable/dirt, +/obj/machinery/power/apc/directional/east, +/obj/structure/rack, +/obj/item/tank/internals/emergency_oxygen/engi{ + pixel_x = -4 + }, +/obj/item/tank/internals/air{ + pixel_x = 7 + }, +/obj/structure/cable{ + d2 = 8; + icon_state = "0-8" + }, /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel{ dir = 4; @@ -86834,6 +88228,14 @@ icon_state = "vault" }, /area/station/maintenance/apmaint) +"sEm" = ( +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/turf/simulated/floor/wood/fancy/cherry, +/area/station/service/theatre) "sEn" = ( /obj/structure/table, /obj/item/tank/internals/emergency_oxygen/nitrogen{ @@ -87019,10 +88421,11 @@ /area/station/hallway/primary/starboard/west) "sHi" = ( /obj/effect/decal/cleanable/dirt, -/turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "purple" +/obj/effect/spawner/lootdrop/maintenance, +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 8 }, +/turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "sHq" = ( /obj/machinery/hologram/holopad, @@ -87217,14 +88620,12 @@ /turf/simulated/floor/plasteel, /area/station/hallway/secondary/entry) "sLX" = ( -/obj/structure/reagent_dispensers/fueltank, -/obj/effect/spawner/random_spawners/oil_often, -/obj/effect/decal/cleanable/dust, +/obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "yellowcorner" + dir = 4; + icon_state = "neutralcorner" }, -/area/station/maintenance/fsmaint) +/area/station/public/dorms) "sLZ" = ( /obj/structure/chair/wood{ dir = 4 @@ -87382,12 +88783,11 @@ /turf/simulated/floor/plating, /area/station/maintenance/apmaint) "sPb" = ( -/obj/machinery/alarm/directional/north, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 10 - }, -/turf/simulated/floor/plasteel, -/area/station/public/dorms) +/obj/machinery/door/airlock/maintenance, +/obj/effect/mapping_helpers/airlock/autoname, +/obj/effect/mapping_helpers/airlock/access/any/engineering/maintenance, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "sPs" = ( /obj/structure/cable{ d1 = 1; @@ -87501,6 +88901,11 @@ /obj/machinery/light/directional/west, /turf/simulated/floor/plasteel, /area/station/engineering/atmos) +"sRj" = ( +/obj/effect/landmark/damageturf, +/obj/effect/spawner/lootdrop/trash, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "sRm" = ( /obj/effect/turf_decal/stripes/line{ dir = 6 @@ -87534,9 +88939,14 @@ }, /area/station/engineering/atmos) "sRW" = ( -/obj/structure/statue/tranquillite/mime/unique, -/turf/simulated/floor/mineral/tranquillite, -/area/station/service/mime) +/obj/machinery/computer/cryopod{ + pixel_y = 32 + }, +/obj/machinery/light/directional/north, +/turf/simulated/floor/plasteel{ + icon_state = "whitegreenfull" + }, +/area/station/public/sleep) "sRY" = ( /obj/structure/chair/wood{ dir = 8 @@ -87721,19 +89131,23 @@ /turf/simulated/floor/plating, /area/station/maintenance/port) "sUe" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, /obj/structure/cable{ d1 = 4; d2 = 8; icon_state = "4-8" }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ +/obj/structure/disposalpipe/segment{ dir = 4 }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, /turf/simulated/floor/plasteel{ - icon_state = "neutralcorner" + dir = 1; + icon_state = "neutral" }, /area/station/public/dorms) "sUw" = ( @@ -87905,14 +89319,18 @@ }, /area/station/maintenance/assembly_line) "sYP" = ( -/obj/structure/toilet{ - dir = 4 - }, /obj/effect/decal/cleanable/dust, -/mob/living/simple_animal/mouse/gray, -/obj/machinery/newscaster/directional/north, +/obj/item/reagent_containers/glass/bucket{ + pixel_x = 8; + pixel_y = -5 + }, +/obj/item/reagent_containers/glass/bucket{ + pixel_y = -5; + pixel_x = -8 + }, +/obj/item/reagent_containers/glass/bucket, /turf/simulated/floor/plasteel{ - icon_state = "white" + icon_state = "purple" }, /area/station/maintenance/fsmaint) "sYT" = ( @@ -88004,19 +89422,15 @@ /turf/simulated/floor/engine, /area/station/science/xenobiology) "taS" = ( -/obj/structure/cable{ - d1 = 2; - d2 = 4; - icon_state = "2-4" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 6 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 6 - }, /obj/structure/disposalpipe/segment, /obj/machinery/light_switch/west, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "darkredcorners" @@ -88244,22 +89658,17 @@ }, /area/station/medical/medbay) "tfz" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/machinery/light/directional/south, -/turf/simulated/floor/plasteel{ - icon_state = "neutralcorner" + d1 = 1; + d2 = 2; + icon_state = "1-2" }, -/area/station/public/dorms) +/obj/effect/decal/cleanable/dust, +/obj/structure/disposalpipe/segment, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "tfH" = ( /obj/structure/cable{ d1 = 1; @@ -89049,9 +90458,6 @@ /obj/effect/turf_decal/siding/wood{ dir = 1 }, -/obj/structure/disposalpipe/segment{ - dir = 4 - }, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 6 }, @@ -89115,9 +90521,11 @@ /turf/simulated/floor/plating, /area/station/maintenance/asmaint2) "tuZ" = ( -/obj/structure/weightmachine/stacklifter, -/turf/simulated/floor/plasteel, -/area/station/public/dorms) +/obj/structure/closet/crate, +/obj/effect/spawner/lootdrop/maintenance/two, +/obj/effect/decal/cleanable/dust, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "tvj" = ( /obj/effect/turf_decal/stripes/line, /obj/machinery/atmospherics/pipe/simple/visible/green{ @@ -89345,12 +90753,11 @@ /turf/simulated/floor/plating, /area/station/maintenance/aft) "tAa" = ( -/obj/effect/decal/cleanable/dust, -/obj/structure/table/reinforced, -/obj/item/soap, -/turf/simulated/floor/plasteel{ - icon_state = "purple" +/obj/effect/decal/cleanable/dirt, +/mob/living/simple_animal/hostile/killertomato{ + dir = 1 }, +/turf/simulated/floor/engine, /area/station/maintenance/fsmaint) "tAb" = ( /obj/effect/decal/cleanable/dirt, @@ -89483,6 +90890,15 @@ icon_state = "red" }, /area/station/security/prisonlockers) +"tDg" = ( +/obj/machinery/atmospherics/unary/vent_scrubber/on{ + dir = 8 + }, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "caution" + }, +/area/station/public/dorms) "tDn" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -89493,6 +90909,15 @@ icon_state = "yellow" }, /area/station/engineering/atmos) +"tDo" = ( +/obj/machinery/cryopod{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "whitegreen" + }, +/area/station/public/sleep) "tDB" = ( /obj/structure/safe/floor, /obj/item/soap/homemade, @@ -89570,11 +90995,6 @@ /obj/structure/disposalpipe/segment{ dir = 4 }, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, /turf/simulated/floor/plating, /area/station/maintenance/fore) "tFt" = ( @@ -89628,9 +91048,7 @@ }, /area/station/command/office/rd) "tGs" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 10 - }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/plating, /area/station/maintenance/fore) "tGx" = ( @@ -89900,28 +91318,15 @@ /turf/simulated/floor/plating, /area/station/security/processing) "tLp" = ( -/obj/structure/disposalpipe/junction/y, -/obj/structure/cable{ - d1 = 2; - d2 = 8; - icon_state = "2-8" - }, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan, +/obj/effect/spawner/random_spawners/oil_maybe, /obj/structure/cable{ - d1 = 2; - d2 = 4; - icon_state = "2-4" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 6 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 6 - }, -/turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "neutralcorner" + d1 = 1; + d2 = 2; + icon_state = "1-2" }, -/area/station/public/dorms) +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "tLs" = ( /obj/structure/safe/floor, /obj/item/coin/mythril, @@ -90425,6 +91830,10 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/aft) +"tTx" = ( +/obj/effect/spawner/random_spawners/wall_rusted_always, +/turf/simulated/wall, +/area/station/maintenance/fore) "tTz" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/pipe/simple/visible{ @@ -90433,6 +91842,12 @@ /obj/machinery/atmospherics/pipe/simple/visible, /turf/simulated/floor/plasteel, /area/station/maintenance/incinerator) +"tTF" = ( +/obj/machinery/space_heater, +/obj/effect/decal/cleanable/dirt, +/obj/effect/spawner/random_spawners/cobweb_right_rare, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) "tTV" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -90607,9 +92022,12 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/aft) "tXx" = ( -/obj/structure/grille/broken, -/obj/item/book/manual/wiki/sop_engineering, -/obj/machinery/alarm/directional/east, +/obj/machinery/atmospherics/unary/tank/air{ + dir = 8 + }, +/obj/effect/turf_decal/stripes/line{ + dir = 10 + }, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "tXB" = ( @@ -90989,18 +92407,40 @@ }, /area/station/service/kitchen) "udh" = ( -/obj/structure/chair/office/dark{ - dir = 4 +/obj/machinery/economy/vending/cigarette, +/obj/effect/turf_decal/delivery/hollow, +/obj/structure/disposalpipe/segment/corner{ + dir = 8 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 9 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 9 }, -/obj/effect/landmark/start/clown, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/structure/cable{ - d1 = 2; + d1 = 1; + d2 = 8; + icon_state = "1-8" + }, +/turf/simulated/floor/plasteel{ + icon_state = "neutralcorner" + }, +/area/station/public/dorms) +"udn" = ( +/obj/structure/cable{ + d1 = 1; d2 = 4; - icon_state = "2-4" + icon_state = "1-4" }, -/turf/simulated/floor/wood/oak, -/area/station/service/clown) +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 5 + }, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "neutralcorner" + }, +/area/station/public/dorms) "udq" = ( /obj/effect/turf_decal/stripes/line{ dir = 1 @@ -91058,9 +92498,9 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/disposal) "ueH" = ( -/obj/effect/decal/cleanable/dust, -/obj/effect/spawner/random_spawners/cobweb_right_frequent, -/turf/simulated/floor/plating, +/obj/effect/landmark/damageturf, +/obj/item/stack/spacecash/c10, +/turf/simulated/floor/engine, /area/station/maintenance/fsmaint) "ueT" = ( /obj/structure/table, @@ -91187,17 +92627,14 @@ /turf/simulated/floor/plating, /area/station/maintenance/aft) "ugX" = ( -/obj/machinery/hologram/holopad, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 +/obj/structure/platform/corner{ + dir = 8; + anchored = 1 }, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" +/turf/simulated/floor/plasteel{ + dir = 10; + icon_state = "neutral" }, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, -/turf/simulated/floor/plasteel, /area/station/public/dorms) "uhh" = ( /obj/effect/decal/cleanable/dirt, @@ -91329,6 +92766,11 @@ /obj/effect/spawner/lootdrop/maintenance/two, /turf/simulated/floor/plating, /area/station/maintenance/abandonedbar) +"uki" = ( +/obj/effect/spawner/random_spawners/grille_maybe, +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) "ukl" = ( /obj/machinery/door/window/classic/reversed, /turf/simulated/floor/plating, @@ -91459,22 +92901,12 @@ /turf/simulated/floor/wood/oak, /area/station/command/office/hos) "umk" = ( -/obj/structure/disposalpipe/segment/corner{ - dir = 4 - }, -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 6 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 10 - }, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) +/obj/structure/closet, +/obj/effect/spawner/lootdrop/maintenance/two, +/obj/effect/decal/cleanable/dirt, +/obj/effect/spawner/random_spawners/cobweb_left_rare, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "umw" = ( /obj/machinery/door/airlock/security/glass, /obj/effect/mapping_helpers/airlock/autoname, @@ -91822,20 +93254,16 @@ }, /area/station/security/permabrig) "utP" = ( -/obj/structure/table/wood, -/obj/item/food/snacks/pie{ - pixel_y = 2 - }, -/obj/machinery/power/apc/directional/east, +/obj/machinery/atmospherics/pipe/manifold/hidden/cyan, /obj/structure/cable{ + d1 = 4; d2 = 8; - icon_state = "0-8" - }, -/obj/item/toy/figure/crew/clown{ - pixel_x = 5 + icon_state = "4-8" }, -/turf/simulated/floor/wood/oak, -/area/station/service/clown) +/obj/effect/decal/cleanable/dirt, +/obj/effect/decal/cleanable/dust, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) "uuh" = ( /obj/machinery/disposal, /obj/structure/disposalpipe/trunk{ @@ -91872,9 +93300,6 @@ /obj/effect/turf_decal/siding/wood/corner{ dir = 4 }, -/obj/structure/disposalpipe/segment{ - dir = 4 - }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, @@ -91915,11 +93340,15 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, -/obj/structure/reagent_dispensers/watertank/high, -/obj/item/reagent_containers/glass/bucket, /obj/structure/disposalpipe/segment{ dir = 4 }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "uvk" = ( @@ -92271,11 +93700,12 @@ /turf/simulated/floor/plating, /area/station/science/toxins/mixing) "uAT" = ( -/obj/effect/turf_decal/delivery/blue/partial, +/obj/machinery/power/apc/directional/east, +/obj/structure/cable, /turf/simulated/floor/plasteel{ - icon_state = "arrival" + icon_state = "bar" }, -/area/station/public/dorms) +/area/station/service/clown) "uAU" = ( /obj/structure/cable{ d1 = 4; @@ -92290,6 +93720,15 @@ icon_state = "floorgrime" }, /area/station/command/teleporter) +"uAW" = ( +/obj/machinery/atmospherics/unary/vent_scrubber/on{ + dir = 8 + }, +/obj/machinery/camera{ + c_tag = "Holodeck" + }, +/turf/simulated/floor/plasteel, +/area/station/public/dorms) "uAX" = ( /obj/machinery/light/directional/west, /turf/simulated/floor/plasteel{ @@ -92381,29 +93820,10 @@ }, /area/station/engineering/atmos) "uCJ" = ( -/obj/machinery/light/small/directional/east, -/obj/machinery/atmospherics/unary/vent_pump/on, -/obj/item/clothing/under/towel/short/alt{ - pixel_x = 5; - pixel_y = 5 - }, -/obj/item/clothing/under/towel/short{ - pixel_y = 10; - pixel_x = 5 - }, -/obj/structure/table, -/obj/item/clothing/head/towel{ - pixel_x = -15; - pixel_y = 5 - }, -/obj/item/clothing/head/towel{ - pixel_x = -15; - pixel_y = 10 - }, -/turf/simulated/floor/plasteel{ - icon_state = "showroomfloor" - }, -/area/station/public/toilet) +/obj/structure/table/wood/fancy/red, +/obj/item/candle/eternal, +/turf/simulated/floor/transparent/glass/reinforced, +/area/station/public/dorms) "uCK" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -92417,18 +93837,13 @@ }, /area/station/medical/reception) "uCQ" = ( -/obj/structure/chair/stool{ - dir = 8 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/platform{ - dir = 8; - anchored = 1 +/obj/machinery/camera{ + c_tag = "Dormitories East"; + dir = 4 }, /turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "caution" + dir = 1; + icon_state = "neutralcorner" }, /area/station/public/dorms) "uCT" = ( @@ -92468,8 +93883,9 @@ /turf/simulated/floor/plasteel, /area/station/science/toxins/mixing) "uDS" = ( -/obj/machinery/door/airlock/bathroom, -/obj/effect/mapping_helpers/airlock/autoname, +/obj/structure/table/reinforced, +/obj/item/soap, +/obj/item/clothing/shoes/galoshes, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "uEc" = ( @@ -92719,8 +94135,6 @@ /area/station/maintenance/fsmaint) "uKn" = ( /obj/effect/decal/cleanable/dirt, -/obj/machinery/atmospherics/pipe/simple/visible/cyan, -/obj/machinery/atmospherics/meter, /obj/structure/cable{ d1 = 1; d2 = 2; @@ -92729,6 +94143,7 @@ /obj/structure/sign/poster/random{ pixel_x = -32 }, +/obj/machinery/atmospherics/binary/valve, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "neutral" @@ -92940,14 +94355,13 @@ }, /area/station/security/warden) "uOF" = ( -/obj/machinery/door/airlock/maintenance, -/obj/effect/mapping_helpers/airlock/autoname, -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" +/obj/structure/closet, +/obj/item/assembly/prox_sensor{ + pixel_x = 2; + pixel_y = -2 }, -/obj/effect/mapping_helpers/airlock/access/any/engineering/maintenance, +/obj/item/assembly/signaler, +/obj/effect/landmark/damageturf, /turf/simulated/floor/plating, /area/station/maintenance/fore) "uOG" = ( @@ -93123,6 +94537,15 @@ /obj/item/scalpel, /turf/simulated/floor/plating, /area/station/maintenance/asmaint) +"uSc" = ( +/obj/effect/decal/cleanable/dirt, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fore) "uSD" = ( /obj/effect/spawner/window/reinforced/grilled, /obj/machinery/door/poddoor/preopen{ @@ -93331,6 +94754,13 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/plasteel, /area/station/public/storage/tools) +"uVG" = ( +/obj/structure/reagent_dispensers/watertank, +/obj/effect/decal/cleanable/dirt, +/obj/effect/landmark/damageturf, +/obj/effect/decal/cleanable/dust, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "uVH" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, @@ -93348,10 +94778,13 @@ }, /area/station/science/xenobiology) "uVU" = ( -/obj/structure/table, -/obj/item/stack/sheet/metal, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/obj/structure/railing{ + dir = 4 + }, +/obj/structure/flora/ausbushes/fullgrass, +/obj/structure/flora/junglebush, +/turf/simulated/floor/grass/no_creep, +/area/station/public/arcade) "uWf" = ( /obj/structure/toilet{ dir = 8 @@ -93382,13 +94815,15 @@ }, /area/station/turret_protected/ai_upload) "uWw" = ( +/obj/effect/landmark/damageturf, +/obj/effect/decal/cleanable/dirt, /obj/structure/cable{ d1 = 4; d2 = 8; icon_state = "4-8" }, -/turf/simulated/floor/plasteel, -/area/station/hallway/primary/fore) +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "uWP" = ( /obj/structure/chair{ dir = 1 @@ -93404,6 +94839,17 @@ }, /turf/simulated/floor/wood/fancy, /area/station/legal/courtroom) +"uXm" = ( +/obj/machinery/door/poddoor{ + id = "maints3"; + id_tag = "maints3" + }, +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "darkgreen" + }, +/area/station/maintenance/fsmaint) "uXy" = ( /obj/effect/turf_decal/siding/white, /obj/effect/decal/cleanable/dust, @@ -93677,11 +95123,15 @@ /turf/simulated/floor/plating, /area/station/maintenance/aft) "vca" = ( -/obj/machinery/economy/vending/artvend, -/turf/simulated/floor/plasteel{ - icon_state = "bar" +/mob/living/simple_animal/hostile/retaliate/carp/koi{ + name = "Jeremy" }, -/area/station/public/dorms) +/obj/machinery/camera{ + c_tag = "Showers"; + dir = 1 + }, +/turf/simulated/floor/plasteel/freezer, +/area/station/public/toilet) "vcb" = ( /obj/structure/cable{ d1 = 4; @@ -93754,21 +95204,19 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/assembly_line) "vdh" = ( -/obj/machinery/door/firedoor, -/obj/machinery/door/airlock/bathroom, -/obj/effect/mapping_helpers/airlock/autoname, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 + d1 = 1; + d2 = 2; + icon_state = "1-2" }, +/obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel{ - icon_state = "showroomfloor" + dir = 8; + icon_state = "neutral" }, -/area/station/public/toilet) +/area/station/public/dorms) "vdo" = ( /turf/simulated/floor/bluegrid, /area/station/aisat/hall) @@ -93826,13 +95274,25 @@ /turf/simulated/floor/plating, /area/station/maintenance/asmaint) "veP" = ( -/obj/structure/closet/secure_closet/clown, -/obj/machinery/camera{ - c_tag = "Clown's Office"; +/obj/machinery/light/directional/south, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, -/turf/simulated/floor/wood/oak, -/area/station/service/clown) +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 8 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + icon_state = "neutralcorner" + }, +/area/station/public/dorms) "veR" = ( /obj/structure/cable{ d1 = 2; @@ -94105,6 +95565,18 @@ /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/station/maintenance/aft) +"vim" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/turf/simulated/floor/plasteel{ + icon_state = "neutralcorner" + }, +/area/station/public/dorms) "viP" = ( /obj/structure/table/glass, /obj/item/hand_labeler, @@ -94283,6 +95755,16 @@ icon_state = "darkbluefull" }, /area/station/science/server/coldroom) +"vnM" = ( +/obj/structure/chair/sofa/corp/right{ + dir = 4 + }, +/obj/effect/landmark/start/assistant, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "caution" + }, +/area/station/public/dorms) "vnO" = ( /obj/structure/disposalpipe/segment/corner{ dir = 1 @@ -94362,6 +95844,37 @@ /obj/effect/mapping_helpers/airlock/access/any/engineering/maintenance, /turf/simulated/floor/plating, /area/station/maintenance/fpmaint) +"vpJ" = ( +/obj/structure/chair/sofa/corner{ + dir = 8 + }, +/turf/simulated/floor/plasteel{ + icon_state = "neutralfull" + }, +/area/station/public/dorms) +"vpM" = ( +/obj/machinery/door/airlock/public/glass, +/obj/effect/mapping_helpers/airlock/autoname, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/machinery/door/firedoor, +/obj/effect/turf_decal/siding/wood/end{ + dir = 4 + }, +/obj/effect/mapping_helpers/airlock/polarized{ + id = "mrchang" + }, +/turf/simulated/floor/wood, +/area/station/public/mrchangs) "vpR" = ( /obj/machinery/door/airlock/security/glass, /obj/effect/mapping_helpers/airlock/autoname, @@ -94653,15 +96166,14 @@ /turf/simulated/floor/plasteel, /area/station/hallway/secondary/exit) "vvV" = ( -/obj/effect/decal/cleanable/dirt, -/obj/machinery/door_control/shutter/south{ - id = "maint3"; - name = "Blast Door Control C"; - pixel_x = 4 - }, /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ dir = 4 }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "vwc" = ( @@ -94727,6 +96239,20 @@ icon_state = "darkyellowcorners" }, /area/station/science/robotics/chargebay) +"vwU" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/transparent/glass/reinforced, +/area/station/public/dorms) "vxf" = ( /obj/machinery/light/directional/south, /turf/simulated/floor/plasteel{ @@ -94932,11 +96458,22 @@ }, /area/station/medical/sleeper) "vAO" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/machinery/light/directional/south, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/status_display/directional/south, /turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "neutralcorner" + dir = 1; + icon_state = "neutral" }, /area/station/public/dorms) "vAW" = ( @@ -94951,27 +96488,20 @@ }, /area/station/engineering/supermatter_room) "vAZ" = ( -/obj/structure/cable{ - d1 = 2; - d2 = 8; - icon_state = "2-8" - }, -/obj/structure/cable{ - d1 = 2; - d2 = 4; - icon_state = "2-4" - }, -/obj/structure/disposalpipe/segment/corner{ - dir = 4 - }, +/obj/effect/landmark/damageturf, +/obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/station/maintenance/fore) "vBm" = ( -/obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ dir = 4 }, -/turf/simulated/floor/plating, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/plasteel, /area/station/maintenance/fsmaint) "vBs" = ( /obj/machinery/door/firedoor, @@ -95100,14 +96630,22 @@ /turf/simulated/floor/plating, /area/station/maintenance/asmaint) "vCe" = ( -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" +/obj/structure/table/reinforced, +/obj/machinery/door/firedoor, +/obj/structure/noticeboard{ + dir = 4; + pixel_x = -27 }, -/obj/effect/decal/cleanable/dust, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/obj/machinery/door/window/classic/normal{ + dir = 1 + }, +/obj/machinery/door/poddoor/shutters/preopen{ + dir = 1; + id_tag = "ChangKitchen"; + name = "Mr. Chang's Shutters" + }, +/turf/simulated/floor/wood/cherry, +/area/station/public/mrchangs) "vCM" = ( /obj/machinery/power/apc/directional/east, /obj/structure/cable, @@ -95219,10 +96757,13 @@ /turf/simulated/floor/grass, /area/station/security/permabrig) "vEL" = ( -/obj/machinery/atmospherics/unary/vent_scrubber/on, -/turf/simulated/floor/plasteel{ +/obj/structure/platform{ dir = 4; - icon_state = "neutralcorner" + anchored = 1 + }, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "neutral" }, /area/station/public/dorms) "vET" = ( @@ -95315,17 +96856,15 @@ }, /area/station/maintenance/asmaint) "vFZ" = ( -/obj/machinery/camera{ - c_tag = "Holodeck East"; - dir = 1 +/obj/machinery/computer/arcade/battle{ + dir = 8 }, -/obj/item/radio/intercom/directional/south, -/obj/machinery/light/small/directional/south, -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 4 +/obj/machinery/camera{ + c_tag = "Arcade"; + dir = 8 }, -/turf/simulated/floor/plasteel, -/area/station/public/dorms) +/turf/simulated/floor/carpet/arcade, +/area/station/public/arcade) "vGj" = ( /turf/simulated/floor/plasteel{ dir = 4; @@ -95439,13 +96978,12 @@ /turf/simulated/floor/engine/xenobio, /area/station/science/xenobiology) "vJc" = ( -/obj/structure/closet/secure_closet/mime, -/obj/machinery/camera{ - c_tag = "Mime's Office"; - dir = 8 +/obj/structure/sign/poster/random/east, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "neutralcorner" }, -/turf/simulated/floor/mineral/tranquillite, -/area/station/service/mime) +/area/station/public/dorms) "vJf" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /turf/simulated/floor/plasteel{ @@ -95672,15 +97210,18 @@ /turf/simulated/floor/bluegrid, /area/station/turret_protected/ai_upload) "vNh" = ( -/obj/machinery/hologram/holopad, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 +/obj/machinery/shower{ + pixel_y = 20 }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ +/obj/structure/curtain/open/shower{ + anchored = 1 + }, +/obj/structure/window/reinforced/tinted{ + pixel_y = -1; dir = 4 }, -/turf/simulated/floor/plasteel, -/area/station/public/dorms) +/turf/simulated/floor/plasteel/freezer, +/area/station/public/toilet) "vNj" = ( /obj/structure/cable{ d1 = 4; @@ -95774,6 +97315,24 @@ icon_state = "freezerfloor" }, /area/station/security/permabrig) +"vOR" = ( +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + icon_state = "whitegreenfull" + }, +/area/station/public/sleep) +"vPh" = ( +/obj/machinery/camera{ + c_tag = "Dormitories North" + }, +/obj/structure/disposalpipe/segment/corner, +/turf/simulated/floor/plasteel{ + dir = 5; + icon_state = "neutral" + }, +/area/station/public/dorms) "vPr" = ( /obj/machinery/door/airlock/maintenance, /obj/effect/mapping_helpers/airlock/autoname, @@ -95977,6 +97536,23 @@ icon_state = "bar" }, /area/station/security/permabrig) +"vSq" = ( +/obj/structure/chair/wood{ + dir = 1 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 10 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 10 + }, +/obj/structure/cable{ + d1 = 2; + d2 = 4; + icon_state = "2-4" + }, +/turf/simulated/floor/carpet/green, +/area/station/public/arcade) "vSz" = ( /obj/structure/window/reinforced{ dir = 1 @@ -96368,8 +97944,10 @@ }, /area/station/hallway/primary/central/se) "vZl" = ( -/obj/structure/sink/directional/west, /obj/effect/decal/cleanable/dust, +/obj/structure/table/reinforced, +/obj/effect/spawner/lootdrop/maintenance, +/obj/effect/spawner/lootdrop/trash, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "vZo" = ( @@ -96405,9 +97983,21 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/apmaint) "wap" = ( -/obj/machinery/light/directional/south, -/turf/simulated/floor/wood/oak, -/area/station/service/clown) +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, +/obj/machinery/firealarm/directional/south, +/turf/simulated/floor/plasteel{ + icon_state = "neutralcorner" + }, +/area/station/public/dorms) "waY" = ( /obj/structure/bed/dogbed/ian, /mob/living/simple_animal/pet/dog/corgi/Ian, @@ -96452,9 +98042,12 @@ }, /area/station/medical/medbay2) "wbM" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/cryopod{ + dir = 1 + }, /turf/simulated/floor/plasteel{ - icon_state = "whitegreenfull" + dir = 9; + icon_state = "whitegreen" }, /area/station/public/sleep) "wbV" = ( @@ -96503,6 +98096,15 @@ icon_state = "black" }, /area/station/command/bridge) +"wcs" = ( +/obj/machinery/door/airlock/bathroom{ + id_tag = "toilet_dorm2" + }, +/obj/effect/mapping_helpers/airlock/autoname, +/turf/simulated/floor/plasteel{ + icon_state = "hydrofloor" + }, +/area/station/public/toilet) "wcA" = ( /obj/machinery/computer/operating, /turf/simulated/floor/plasteel{ @@ -96546,6 +98148,10 @@ }, /turf/simulated/floor/plating, /area/station/medical/chemistry) +"wdm" = ( +/obj/effect/decal/cleanable/cobweb, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "weg" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/plasteel{ @@ -96674,11 +98280,10 @@ }, /area/station/science/toxins/mixing) "whv" = ( -/obj/machinery/computer/HolodeckControl{ - dir = 4 - }, -/turf/simulated/floor/plasteel, -/area/station/public/dorms) +/obj/structure/reagent_dispensers/fueltank, +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "why" = ( /obj/effect/turf_decal/stripes/corner, /obj/effect/decal/cleanable/dirt, @@ -97131,9 +98736,12 @@ /turf/simulated/floor/plating, /area/station/maintenance/fpmaint) "wpY" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/door/airlock/maintenance, +/obj/effect/mapping_helpers/airlock/autoname, +/obj/effect/mapping_helpers/airlock/access/any/engineering/maintenance, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan, /turf/simulated/floor/plasteel, -/area/station/public/dorms) +/area/station/maintenance/fsmaint) "wqh" = ( /obj/structure/chair/stool{ dir = 1 @@ -97165,6 +98773,26 @@ icon_state = "showroomfloor" }, /area/station/maintenance/abandonedbar) +"wqZ" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + dir = 5; + icon_state = "neutral" + }, +/area/station/public/dorms) "wri" = ( /obj/machinery/door/firedoor, /obj/machinery/door/airlock/public/glass, @@ -97223,19 +98851,8 @@ /obj/structure/disposalpipe/segment/corner{ dir = 1 }, -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/obj/structure/cable{ - d1 = 1; - d2 = 8; - icon_state = "1-8" - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 9 +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 5 }, /turf/simulated/floor/plasteel{ icon_state = "darkredcorners" @@ -97285,18 +98902,29 @@ }, /area/station/science/hallway) "wsA" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/turf/simulated/floor/plasteel, -/area/station/public/dorms) -"wsC" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ +/obj/machinery/newscaster/directional/south, +/obj/structure/disposalpipe/segment{ dir = 4 }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 8 + }, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, -/turf/simulated/floor/plasteel, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/plasteel{ + icon_state = "neutralcorner" + }, +/area/station/public/dorms) +"wsC" = ( +/obj/structure/flora/rock, +/obj/structure/flora/ausbushes/brflowers, +/turf/simulated/floor/grass/no_creep, /area/station/public/dorms) "wsD" = ( /obj/effect/decal/cleanable/dirt, @@ -97488,9 +99116,14 @@ /turf/simulated/floor/plating, /area/station/maintenance/fpmaint2) "wwL" = ( -/obj/item/flag/clown, -/turf/simulated/floor/wood/oak, -/area/station/service/clown) +/obj/structure/railing/corner{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "neutralcorner" + }, +/area/station/public/dorms) "wwM" = ( /obj/structure/table/reinforced, /obj/machinery/door/poddoor/shutters{ @@ -97648,19 +99281,19 @@ }, /area/station/maintenance/asmaint) "wAj" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 +/obj/structure/railing/cap{ + dir = 1 }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" + d1 = 1; + d2 = 2; + icon_state = "1-2" }, +/obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel{ - icon_state = "neutralcorner" + icon_state = "stairs-l" }, /area/station/public/dorms) "wAF" = ( @@ -97749,14 +99382,10 @@ /turf/simulated/floor/carpet, /area/station/medical/psych) "wBU" = ( -/obj/structure/table/wood, -/obj/item/deck/cards{ - pixel_y = 2 - }, -/turf/simulated/floor/plasteel{ - icon_state = "cafeteria" - }, -/area/station/public/dorms) +/obj/effect/decal/cleanable/dirt, +/obj/effect/decal/cleanable/dust, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "wCd" = ( /obj/machinery/door/window/classic/normal, /obj/structure/disposalpipe/segment/corner{ @@ -97842,13 +99471,12 @@ /turf/simulated/floor/plating, /area/station/maintenance/asmaint2) "wCZ" = ( -/obj/machinery/ai_status_display/south, -/obj/item/kirbyplants, -/obj/machinery/light/directional/south, -/turf/simulated/floor/plasteel{ - icon_state = "cafeteria" +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 4 }, -/area/station/public/dorms) +/obj/machinery/light/small/directional/south, +/turf/simulated/floor/plasteel/freezer, +/area/station/public/toilet) "wDe" = ( /obj/structure/sign/poster/contraband/random/west, /obj/effect/decal/cleanable/dirt, @@ -97870,19 +99498,14 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/west) "wEb" = ( -/obj/item/clothing/under/towel/long{ - pixel_x = -5; - pixel_y = 5 - }, -/obj/item/clothing/under/towel/long/alt{ - pixel_y = 10; - pixel_x = -5 +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, -/obj/structure/table, -/turf/simulated/floor/plasteel{ - icon_state = "showroomfloor" +/obj/structure/disposalpipe/segment{ + dir = 4 }, -/area/station/public/toilet) +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "wEe" = ( /obj/machinery/atmospherics/pipe/simple/hidden/purple, /turf/simulated/wall/r_wall, @@ -98094,7 +99717,9 @@ /obj/structure/disposalpipe/segment{ dir = 4 }, -/turf/simulated/floor/plating, +/obj/effect/landmark/damageturf, +/obj/effect/decal/cleanable/dust, +/turf/simulated/floor/plasteel, /area/station/maintenance/fore) "wII" = ( /obj/structure/disposalpipe/segment, @@ -98366,11 +99991,25 @@ "wNr" = ( /obj/machinery/door/airlock/maintenance, /obj/effect/mapping_helpers/airlock/autoname, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, /turf/simulated/floor/plating, /area/station/maintenance/fore) "wNE" = ( -/turf/simulated/floor/mineral/tranquillite, -/area/station/service/mime) +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/disposalpipe/segment/corner{ + dir = 2 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + icon_state = "hydrofloor" + }, +/area/station/public/toilet) "wNT" = ( /obj/structure/sign/bobross{ pixel_y = 32 @@ -98421,6 +100060,17 @@ icon_state = "dark" }, /area/station/engineering/secure_storage) +"wPg" = ( +/obj/structure/curtain/open/shower/security, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/turf/simulated/floor/carpet/red, +/area/station/public/arcade) "wPs" = ( /obj/machinery/computer/mech_bay_power_console{ dir = 4 @@ -98649,6 +100299,16 @@ /obj/effect/spawner/random_spawners/fungus_probably, /turf/simulated/wall, /area/station/maintenance/fpmaint2) +"wTE" = ( +/obj/structure/chair/stool{ + dir = 4 + }, +/obj/machinery/atmospherics/unary/vent_scrubber/on{ + dir = 8 + }, +/obj/effect/landmark/start/assistant, +/turf/simulated/floor/carpet/arcade, +/area/station/public/arcade) "wTO" = ( /obj/machinery/atmospherics/pipe/simple/hidden{ dir = 6 @@ -98764,6 +100424,10 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/fore) +"wWG" = ( +/obj/machinery/light/small/directional/north, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) "wWM" = ( /obj/structure/closet/secure_closet/hos, /obj/structure/cable{ @@ -99029,12 +100693,15 @@ }, /area/station/security/brig) "xcB" = ( -/obj/structure/chair{ - dir = 8 +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/turf/simulated/floor/plasteel, -/area/station/public/dorms) +/obj/effect/decal/cleanable/dirt, +/obj/machinery/light/small/directional/south, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "xcC" = ( /obj/structure/cable{ d1 = 1; @@ -99076,6 +100743,21 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/asmaint) +"xdl" = ( +/obj/structure/railing/corner, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/obj/structure/disposalpipe/segment, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "neutralcorner" + }, +/area/station/public/dorms) "xdo" = ( /obj/structure/table, /obj/machinery/requests_console{ @@ -99143,14 +100825,16 @@ /turf/simulated/floor/plating, /area/station/maintenance/asmaint) "xdS" = ( -/obj/structure/table/wood, -/obj/item/storage/bag/dice{ - pixel_y = 2 +/obj/effect/decal/cleanable/dirt, +/obj/effect/decal/cleanable/dust, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ + dir = 5 }, /turf/simulated/floor/plasteel{ - icon_state = "bar" + dir = 4; + icon_state = "purple" }, -/area/station/public/dorms) +/area/station/maintenance/fsmaint) "xdY" = ( /obj/structure/chair/office/light{ dir = 4 @@ -99276,20 +100960,13 @@ /turf/simulated/floor/plasteel, /area/station/service/janitor) "xfi" = ( -/obj/structure/disposalpipe/segment{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 9 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 9 - }, -/obj/machinery/light/directional/south, -/turf/simulated/floor/plasteel{ - icon_state = "neutralcorner" +/obj/structure/table/wood, +/obj/item/deck/cards/doublecards, +/obj/machinery/button/windowtint/north{ + id = "casino" }, -/area/station/public/dorms) +/turf/simulated/floor/carpet/green, +/area/station/public/arcade) "xfI" = ( /turf/simulated/wall/r_wall, /area/station/engineering/smes) @@ -99313,13 +100990,14 @@ }, /area/station/security/interrogation) "xfQ" = ( -/obj/machinery/light/small/directional/north, -/obj/machinery/firealarm/directional/north, -/obj/machinery/atmospherics/unary/vent_scrubber/on{ - dir = 4 +/obj/effect/spawner/random_spawners/grille_often, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" }, -/turf/simulated/floor/plasteel, -/area/station/public/dorms) +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "xgm" = ( /obj/machinery/light/directional/north, /turf/simulated/floor/plasteel{ @@ -99451,16 +101129,13 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/asmaint) "xhM" = ( -/obj/machinery/light_switch/west, -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" +/obj/structure/chair/sofa/corner{ + dir = 1 }, /turf/simulated/floor/plasteel{ - icon_state = "showroomfloor" + icon_state = "neutralfull" }, -/area/station/public/toilet) +/area/station/public/dorms) "xhR" = ( /obj/machinery/light/directional/south, /turf/simulated/floor/plating, @@ -99708,6 +101383,14 @@ icon_state = "floorgrime" }, /area/station/command/teleporter) +"xnb" = ( +/obj/structure/rack, +/obj/effect/spawner/lootdrop/maintenance, +/obj/item/flashlight, +/obj/effect/decal/cleanable/dirt, +/obj/effect/decal/cleanable/dust, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) "xne" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ @@ -99761,6 +101444,16 @@ /obj/structure/disaster_counter/supermatter, /turf/simulated/wall/r_wall, /area/station/engineering/engine/supermatter) +"xox" = ( +/obj/machinery/atmospherics/unary/vent_scrubber/on, +/obj/structure/bed{ + dir = 4 + }, +/obj/item/bedsheet/blue{ + dir = 1 + }, +/turf/simulated/floor/wood/fancy, +/area/station/public/sleep_male) "xoE" = ( /obj/structure/cable{ d2 = 2; @@ -99804,9 +101497,15 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/fore) "xpP" = ( -/obj/machinery/atmospherics/unary/vent_pump/on, -/turf/simulated/floor/carpet/arcade, -/area/station/public/arcade) +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 10 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 10; + initialize_directions = 10 + }, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "xpV" = ( /obj/structure/cable{ d1 = 1; @@ -99886,10 +101585,15 @@ /turf/simulated/floor/plating, /area/station/maintenance/apmaint) "xqV" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 6 +/obj/effect/turf_decal/siding/wood{ + dir = 1 }, -/turf/simulated/floor/carpet, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/wood, /area/station/public/mrchangs) "xrq" = ( /obj/structure/disposalpipe/sortjunction{ @@ -100039,6 +101743,12 @@ }, /turf/simulated/floor/wood/oak, /area/station/command/office/hop) +"xts" = ( +/obj/structure/table/wood/poker, +/obj/machinery/light/directional/north, +/obj/item/deck/holder, +/turf/simulated/floor/carpet/green, +/area/station/public/arcade) "xtJ" = ( /obj/structure/table, /obj/item/book/manual/supermatter_engine{ @@ -100119,14 +101829,9 @@ /turf/simulated/floor/plating, /area/station/maintenance/apmaint) "xvd" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 5 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 5 - }, +/obj/effect/spawner/lootdrop/trash, /turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/area/station/maintenance/fore) "xvh" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -100275,6 +101980,13 @@ icon_state = "dark" }, /area/station/hallway/primary/fore) +"xxG" = ( +/obj/structure/weightmachine/weightlifter, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "caution" + }, +/area/station/public/dorms) "xyr" = ( /obj/machinery/light/directional/west, /obj/effect/turf_decal/stripes/line{ @@ -100378,11 +102090,16 @@ /turf/simulated/floor/plating, /area/station/maintenance/apmaint) "xAf" = ( -/obj/effect/spawner/random_spawners/grille_often, -/obj/effect/decal/cleanable/dirt, -/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ - dir = 4 +/obj/machinery/light/small/directional/north, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/cyan{ + dir = 1 }, +/obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "xAk" = ( @@ -100557,6 +102274,14 @@ /obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel, /area/station/maintenance/asmaint) +"xFl" = ( +/obj/machinery/power/apc/directional/north, +/obj/structure/cable{ + d2 = 2; + icon_state = "0-2" + }, +/turf/simulated/floor/carpet/green, +/area/station/public/arcade) "xFt" = ( /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 1 @@ -100751,24 +102476,13 @@ }, /area/station/maintenance/aft) "xIj" = ( -/obj/structure/disposalpipe/junction/reversed{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 5 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 5 - }, /obj/structure/cable{ - d1 = 1; + d1 = 4; d2 = 8; - icon_state = "1-8" + icon_state = "4-8" }, -/obj/structure/cable{ - d1 = 1; - d2 = 4; - icon_state = "1-4" +/obj/structure/disposalpipe/segment/corner{ + dir = 4 }, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) @@ -100935,6 +102649,14 @@ icon_state = "white" }, /area/station/science/hallway) +"xKp" = ( +/obj/effect/decal/cleanable/dirt, +/obj/effect/decal/cleanable/dust, +/turf/simulated/floor/plasteel{ + dir = 6; + icon_state = "purple" + }, +/area/station/maintenance/fsmaint) "xKv" = ( /obj/machinery/hydroponics/constructable{ desc = "These are connected with an irrigation tube. You see a little pipe connecting the trays."; @@ -101150,6 +102872,23 @@ /obj/effect/spawner/random_spawners/grille_maybe, /turf/simulated/floor/plasteel, /area/station/maintenance/apmaint) +"xOH" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 9 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 9 + }, +/obj/structure/cable{ + d1 = 1; + d2 = 8; + icon_state = "1-8" + }, +/obj/structure/disposalpipe/segment/corner{ + dir = 8 + }, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) "xOM" = ( /obj/structure/chair/stool{ dir = 1 @@ -101291,6 +103030,7 @@ /obj/machinery/atmospherics/pipe/manifold/hidden/cyan{ dir = 1 }, +/obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "xQB" = ( @@ -101336,15 +103076,16 @@ /turf/simulated/floor/plasteel, /area/station/service/chapel) "xRy" = ( -/obj/machinery/door_control/shutter/west{ - id = "maint2"; - name = "Blast Control Door B"; - pixel_y = 4 +/obj/effect/decal/cleanable/dust, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" }, +/obj/effect/spawner/wire_splicing/thirty, /obj/machinery/door_control/shutter/west{ - id = "maint1"; - name = "Blast Control Door A"; - pixel_y = -6 + id = "maints1"; + name = "Blast Door Control A" }, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) @@ -101532,14 +103273,18 @@ /turf/simulated/floor/plasteel, /area/station/supply/miningdock) "xTV" = ( -/obj/structure/urinal{ - pixel_y = 32 +/obj/structure/chair/wood{ + dir = 1 }, -/obj/machinery/alarm/directional/east, -/turf/simulated/floor/plasteel{ - icon_state = "hydrofloor" +/obj/effect/landmark/start/bar, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 }, -/area/station/public/toilet) +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/turf/simulated/floor/carpet/green, +/area/station/public/arcade) "xTZ" = ( /obj/machinery/light/directional/east, /turf/simulated/floor/plasteel{ @@ -101750,13 +103495,9 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/aft) "xXD" = ( -/obj/structure/cable{ - d1 = 1; - d2 = 4; - icon_state = "1-4" - }, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/obj/machinery/economy/vending/boozeomat, +/turf/simulated/floor/carpet/green, +/area/station/public/arcade) "xXO" = ( /obj/structure/table, /obj/item/storage/belt/utility, @@ -101775,17 +103516,20 @@ /turf/simulated/floor/plating, /area/station/maintenance/fpmaint2) "xYc" = ( -/obj/machinery/atmospherics/unary/vent_scrubber/on, -/obj/structure/chair/stool{ - dir = 8 - }, -/turf/simulated/floor/carpet/arcade, +/obj/structure/chair/comfy/black, +/mob/living/simple_animal/walrus, +/turf/simulated/floor/carpet/green, /area/station/public/arcade) "xYi" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 +/obj/effect/turf_decal/siding/wood{ + dir = 1 }, -/turf/simulated/floor/carpet, +/obj/structure/cable{ + d1 = 2; + d2 = 8; + icon_state = "2-8" + }, +/turf/simulated/floor/wood, /area/station/public/mrchangs) "xYl" = ( /obj/effect/landmark/burnturf, @@ -101841,12 +103585,20 @@ /turf/simulated/floor/plating, /area/station/maintenance/aft) "xYK" = ( -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 1 +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" }, /turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "neutralcorner" + dir = 4; + icon_state = "neutral" }, /area/station/public/dorms) "xZg" = ( @@ -101904,6 +103656,25 @@ }, /turf/simulated/floor/plating, /area/station/security/interrogation/observation) +"xZQ" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + icon_state = "hydrofloor" + }, +/area/station/public/toilet) "yaa" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on, /turf/simulated/floor/plasteel, @@ -101945,12 +103716,16 @@ }, /area/station/medical/morgue) "yaK" = ( -/obj/structure/sign/poster/random{ +/obj/effect/decal/cleanable/dirt, +/obj/effect/decal/cleanable/dust, +/obj/structure/sign/nosmoking_2{ pixel_y = 32 }, /obj/machinery/light/small/directional/north, -/obj/structure/rack, -/obj/effect/spawner/lootdrop/trash, +/obj/effect/landmark/damageturf, +/obj/structure/table, +/obj/item/food/snacks/meat/tomatomeat, +/obj/effect/decal/cleanable/ants, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "ybE" = ( @@ -101997,17 +103772,17 @@ /turf/simulated/floor/plasteel, /area/station/supply/office) "ybX" = ( -/obj/structure/chair/wood{ - dir = 4 +/obj/machinery/camera{ + c_tag = "Toilet"; + dir = 1 }, -/obj/effect/decal/remains/human{ - desc = "This guy seemed to have died in terrible way! Half his remains are dust."; - name = "human remains" +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 9 }, -/obj/effect/decal/cleanable/blood/old, -/obj/item/toy/figure/crew/botanist, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/turf/simulated/floor/plasteel{ + icon_state = "hydrofloor" + }, +/area/station/public/toilet) "ycf" = ( /obj/effect/spawner/window/reinforced/grilled, /obj/machinery/door/poddoor/shutters{ @@ -102039,6 +103814,15 @@ /obj/item/camera, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) +"ydt" = ( +/obj/machinery/light/small/directional/south, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/plating, +/area/station/maintenance/fore) "ydv" = ( /obj/structure/barricade/wooden, /obj/machinery/door/airlock/welded, @@ -102061,22 +103845,16 @@ }, /area/station/security/permabrig) "ydU" = ( -/obj/effect/decal/cleanable/dust, -/obj/structure/closet{ - icon_state = "mixed"; - opened = 1; - icon_opened = "generic_open" - }, -/obj/item/cartridge/janitor, -/obj/item/flashlight, -/obj/item/storage/bag/trash, -/obj/item/reagent_containers/spray/cleaner, -/obj/item/melee/flyswatter, -/obj/item/storage/box/lights/mixed, -/turf/simulated/floor/plasteel{ - icon_state = "purple" - }, +/obj/effect/decal/cleanable/blood/old, +/obj/effect/landmark/damageturf, +/obj/item/stack/spacecash/c10, +/turf/simulated/floor/engine, /area/station/maintenance/fsmaint) +"yeH" = ( +/obj/item/candle/eternal, +/obj/structure/table/wood/fancy/red, +/turf/simulated/floor/transparent/glass/reinforced, +/area/station/public/dorms) "yeI" = ( /obj/structure/window/reinforced, /obj/effect/decal/cleanable/dirt, @@ -102166,6 +103944,31 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/apmaint) +"ygq" = ( +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 8 + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 8 + }, +/obj/structure/cable{ + d1 = 2; + d2 = 4; + icon_state = "2-4" + }, +/obj/structure/cable{ + d1 = 1; + d2 = 4; + icon_state = "1-4" + }, +/obj/structure/disposalpipe/segment/corner{ + dir = 1 + }, +/turf/simulated/floor/plasteel{ + dir = 10; + icon_state = "neutral" + }, +/area/station/public/dorms) "ygr" = ( /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 4 @@ -102464,6 +104267,10 @@ icon_state = "purple" }, /area/station/science/hallway) +"ykv" = ( +/obj/machinery/atmospherics/unary/vent_scrubber/on, +/turf/simulated/floor/carpet/green, +/area/station/public/arcade) "ykw" = ( /obj/structure/cable{ d1 = 4; @@ -131454,10 +133261,10 @@ qCv qCv qCv aQD -owz +aIu jRf +aWB owz -leL owz owz baE @@ -131705,15 +133512,15 @@ hFW aFF aHT aIO -uWw +lik aQS aNc aHT -aNT aHT aHT +aNT aSc -aFF +aHa lnL aIO tae @@ -131961,17 +133768,17 @@ aFw sqU aFw aKy -aEj -hDI -awl -awl -awl -awl -awl awl +hDI awl -aPm -bdI +aLP +aSl +aSl +aSl +aLP +aWF +pHV +aDN aDN aDN aDN @@ -132189,7 +133996,7 @@ ahV aiq aiN ajr -ajj +guL kAr aiv amG @@ -132219,17 +134026,17 @@ xxv aJj aKA awl -aTm -avq -avq -avq -avq -avq -avq -okf -aRx -kGo -aDN +fDU +aTG +aLP +kSe +tDo +aPM +aSl +lwN +aTE +pAv +aVs biQ bpQ cSW @@ -132477,15 +134284,15 @@ vTx axe awl aTm +wBU aLP -aLP -aLP -aLP -aLP -aLP -aLP -aRx -kGo +sRW +vOR +aPL +nNq +aZs +dpn +pAv bgT biP xqV @@ -132732,17 +134539,17 @@ mET akN aJk axe -aCz -aTm +uVG +kAX +aWH aLP -oCG -aPM +lem aTC -aPM +mmr aYs -aLP -aRx -kGo +vim +fio +pAv bgT biT bpT @@ -132990,17 +134797,17 @@ lBr ayA axe aMj -nvm +aJv uOF -ozS -aPL +aLP +kWl ofu wbM -ppd aSl -aRx -kGo -bgT +lFa +asc +pAv +obK biR xYi aOm @@ -133246,23 +135053,23 @@ iXs bIC fwA axe -avq -aTm -aLP -aPN -aQd -aQd -aQd -fhx +aCz +aJv +fKS +aLA +aLA +aLA +aLA +aLA bbg vAO -acW +aDN aDN aYJ lXF boU dhq -aDN +vCe bhq thq bwj @@ -133504,21 +135311,21 @@ aHX aJl axe aFH -aTm -aLP +jsn +aDP rvw -aPM -aPM -aPM -aYv -aSl -aRx +iIk +iRT +nqG +aYI +dxq +aya kGo -aDN -bgT +lwb +oGV +bqm +vpM bqm -bgT -aDN aDN dkm thq @@ -133761,23 +135568,23 @@ xrI prR axe axe -aTm -aLP -aQf -aPL +aJv +att +aLA +qXm rlG dEv aYI -aSl -aRx +dxq +oWF bea aVN -aVN -fyV +kGo +kGo xYK -aZs -djg -bhg +aRx +aOI +gEd bns bwj bmi @@ -134018,22 +135825,22 @@ aIb awG gVt axe -aTm -aLP -bsx -aQd -aQd +bfz +whv +aLA +aPk +fjQ aQd -aLP -aLP +aLA +jpG vEL ugX -aPm +vwU +buU buU -sqc bmT -aRx -uxn +gEz +oCG gEd oYu lIv @@ -134275,24 +136082,24 @@ kIk qvP iKi axe -aTm -aLP -aLP -aSl -aSl -aLP -aLP +aJv +awl +aLA +aYI +lHL +aYI +aLA bbi -aPm +shN wAj -aUQ -aUQ +fUQ vdh -aUQ -aUQ -aUQ +vdh +aAc +ygq +emL bhg -thq +kRo bwj bmi aaa @@ -134532,22 +136339,22 @@ csI eMV lpF axe -aTm -aOI +aJv +awl aQk -aSk -aTD -aWB +aWD +oVY +aWD lZu -jbB +bcc dtg qtR -aUQ -wEb +gGq +pyq meN xhM haD -aUQ +aOI dky thq bwj @@ -134782,29 +136589,29 @@ azW aBb aCw aAx -ogL +qaK axe aGE oJZ rtU aGG axe -vAZ -aOb +uWw +awl hpQ -aPm -aTF -aTF -aTF -aTF -aPm -sUe -aUQ -uCJ -eri +sdX +owH +aWD +lZu +nqL +rBZ +pnG +gGq +yeH +pyq bAh mdr -aUQ +aOI aTa thq bwj @@ -135039,29 +136846,29 @@ aAx aAx aAx aAx -ogL +aEw axe loP aIg aIi aJq axe -hLk -aOI +bfz +awl aWz -aSM -aTE -aWC +aWD +oVY +aWD aZt bcc -bbv -sUe -aUQ -aUQ +bdr +pnG +gGq +pyq lhf -aUQ -aUQ -aUQ +vpJ +sUe +aOI dkD thq bwj @@ -135303,22 +137110,22 @@ aKE axe axe axe -tFr -aOI +aJv +awl aQp -aSM +sEm aTI aWE aZv bce -bbv -tfz -aUQ -jsn -qSD -enJ +gHo +pnG +gGq +buU +aZE +rgz bJU -aUQ +aOI aWN iit bhq @@ -135553,29 +137360,29 @@ azX aBi aHU aBs -mqw -gDU +ogL +awl aGH +aKF +aPN +lOY +aWT ssY -ssY -ssY -ssY -rQP -aOI +awl aQo -aSM -aTG aWD -aZu +oVY +aWD +aZt bcd -bbv +bdr pnG gGq pyq exD -aUQ -aUQ -aUQ +xhM +ppd +aOI aUN bnM bVu @@ -135810,29 +137617,29 @@ otY aBp aAC aBs -mbb -aDP -aDP -aDP -aDP -aDP -aDP -aDP -aDP +ogL +sqc +wBU +ava +jDg +wBU +att +ydt +awl aQr -aSM +aVQ aTR -aWF -aZt +aWD +lZu bcf -bbv -mGQ -aUQ -kYC -qSD +lop +pnG +gGq +uCJ +pyq qhO fYg -aUQ +aOI dnk bhq bhq @@ -136067,28 +137874,28 @@ aBs aBs aBs aBs -mbb -aDP -aGI +wEb +avq +att aIj -aJr -aKF -aGI -aNX +uSc +aNZ aDP +aNX +awl aQq -aPm -aTJ -aTJ -aTJ -aTJ -aPm -mGQ -aUQ -lXb +aWD +oVY +aWD +lZu +aWD +phd +fzl +gGq +pyq omI -aUQ -aUQ +vpJ +wqZ aVu aVu fIP @@ -136321,30 +138128,30 @@ aFL rqy azm awl -ayd -avq +mlg +kYC aDp -mbb -aDP +aOY +aFH aGL -aHY -aJt -qaK +awl aJt -aNZ -aDP -tLp +awl +awl +xfQ +awl +aIc ipS aUG -aWH -aZw -aUG ipS +aIc +kDx +aGR esS -aUQ -xTV -qSD -eKH +kGo +kGo +kGo +kGo kTo aVu goS @@ -136580,30 +138387,30 @@ iVr dAH aBq lme -lme -kPK -aDP -aGJ +att +awl +tTx +awl qek -aJs -aKG -aMw -oYo +att +aqc +ayd +bfz aPe -phd -aSJ +aIc +lXb aUd aWG -aWG +aIc bbk bda pKv -aUQ -aUQ -aUQ -aUQ -aUQ -aVu +aJA +mrk +aJA +aJA +mqw +oHO mUt jpm orv @@ -136837,31 +138644,31 @@ wWC aBR wIz avq -aCh -avq -aDP -aGM +rQP +awl +qtQ +awl aIn aJu -aFI -aFI -aFI -aFI -aQx +awl +aJx +aJv +att +aIc aSJ aUI aWK -aZy -bbn -bda -mGQ -aOI +ipS +aZs +ocJ +aRx +vJc dSf mQL -mQL -mQL -ipA -gFX +aRx +aRx +uxn +tly fma orv vKu @@ -137093,25 +138900,25 @@ xnM gce dAH aFs -avq -avq -avq -aFI -aFI -aFI -aFI -aFI -aKK -aKK -aFI +att +jbB +aOI +aOI +aOI +aOI +aOI +lOY +aIq +eKH +aZu aDv uAT -aUI +aQJ aWJ -aWK -bbn -bda -bfb +ipS +aZs +nGj +aOI aOI aYO aUS @@ -137350,27 +139157,27 @@ awl awl aIq iQo -avq -avq -avq -aFI +tGs +nLw +mju +jmr aGO aIp -aJv +aWL aKI -aGN -aGN -aPf -aQA -uAT -aUK -aWM -aWM +qSO +ava +avq +aIc +aIc +aIc +aIc +aIc bbo -bda -mGQ +okN aOI -aYO +aJs +qtc aUS mhv eoR @@ -137604,30 +139411,30 @@ apG auI aFL axW -avq -avq +nan +gDU mbb -aCh -avq avq +aOI +uAW aIY -aGN -aGN -aGN +nqX +aJz +aOI xpP -qfL gLe +arR aPf aQz oqZ -aUJ +gLe aWL aZz aUJ -aPm -bfi +wap aOI -aYO +dKK +xcB aUS kFB sSj @@ -137861,30 +139668,30 @@ aFL aFL aFL axY -avq -avq -iQo -arR -awl -awl -aFI -aGQ -iIk -aJx -aKL -aJx -umk +fYD +aOI +aOI +aOI +aOI +gFG +aFK +aFK +gFG +aOI +aOI +aOI +aOI aPg -iRT -wpY -pHV -aPm -aPm -pbz +aQv +aQv +aQv +aQv +jru +aZs pIr -bfp aOI -aYO +aOI +aRI aUS xPJ gPj @@ -138118,30 +139925,30 @@ aaa aab awl axX -avq -avq -iQo -arR -avq -ayb -aFI -aGP -mEs -fmN -uZJ -aJw -lFe -ckc +tFr +aOI +sHt +sHt +sHt +sHt +sHt +sHt +sHt +sHt +sHt +sHt +aOI +aQv aQv aWW aWP -aWP -aWP +aQv +aQv aWU -aPm +aKG mGQ aOI -aYO +aRI aUS dzE bom @@ -138375,30 +140182,30 @@ awl awl awl aIq -avq -aAc -mbb -wNr -aCh -aEw -aFI -aGZ -fio -aJz -ggd -dwg -lFe -aPf -aQv -aZD +tFr +aOI +sHt +sHt +sHt +sHt +sHt +sHt +sHt +sHt +sHt +sHt +aOI +rOg +xox +lui aVo +jMr aZG -aZG -bbu -aPm +eal +bdj oKl aOI -aYO +bfb aUS spe kPF @@ -138629,33 +140436,33 @@ ame gDU gDU aBw +lJX +gWU gDU -gDU -gDU -qor -aAa -kDx -awl -avq -ayc -aFI -aGR -mEs -aJy -xYc -aMI -iHu -aPf +fXj +aOI +sHt +sHt +sHt +pwU +sHt +sHt +pwU +sHt +sHt +sHt +aOI +aQE +aQE +aQE +aQv +aQv aQv -jKA -aUT -hBo -aWT bbu -bdj +fyV bfq aOI -aYO +bfb aUS eeF kPF @@ -138883,39 +140690,39 @@ aqX aqW tjk amw +ldl +ilS +ava +caI avq -aCh -avq -avq -avq -avq -avq +sRj avq -dku -awl -awl -awl -aFI -aHa -aIu -aJA -aKO -aMJ -aOg -aFI +aOI +sHt +sHt +sHt +sHt +sHt +sHt +sHt +sHt +sHt +sHt +aOI +phC bbZ aZD aVp iBD qSh -bbu +azn bdj bfv aOI -aYO +qtc aUS izr -kPF +cqW iyh lFO rcG @@ -139141,34 +140948,34 @@ azL rlu atG awl -arR +awl awl wNr aqc -aya awl -avq -fUQ -avq -avq -avq -aFI -aFI -aFI -aFI -aFI -aFI -aFI -aFI +aqc +aOI +sHt +sHt +sHt +sHt +sHt +sHt +sHt +sHt +sHt +sHt +aOI +aQE aQE bxP aUT -hBo -aWT -bbu -bdj +aQE +aQE +aKO +fyV kGL -qFV +aOI xIj dRf lNp @@ -139400,31 +141207,31 @@ atG apZ avq atr -ava +aWC +vAZ awD awD -awl -aqc -tGs -lFa -lFa -lFa -lFa -lFa -lFa -lFa -lFa -lFa -lFa +aOI +aFK +aFK +aFK +gFG +aFK +aFK +gFG +aFK +aFK +aFK +aOI raG -fzl -aZD -aVs -aZG -aZG -bbu -aPm -bfy +aQE +aQE +aQE +aQE +hcz +aZs +fyV +aOI aOI nwx aUS @@ -139658,31 +141465,31 @@ nDi arS aqc auZ -att -ava -avq -awl -aFJ -aFJ -aFJ -aFJ +iQk +aHW +eFl +qFV +lOE aFJ aFJ +bfi aFJ aFJ +aYv aFJ aFJ aFJ -aOI +aZs +aZs aQG aZC aVq uCQ -aZE -otX +aZs +aZs wsA -xfi aOI +aLc nwx aUS vHT @@ -139918,28 +141725,28 @@ ava awF awF avq -okf -aPm -aPm +aOI +vPh +sLX lkw -aPm +aWM nXr aKQ fRL -aPm -aPm -lkw +bfp fho -aPm -aPm -aPm +fho +aGI +oYv +gFD +xdl +aUa aUa -aPm -bbw bbw +kky bdm -bfz aOI +wWG nwx aUS aUS @@ -140174,30 +141981,30 @@ ats ava awE ayf -azn -arR -fes -fes -fes -aPm -fes -fes -aPm -fes -fes +att +aOI +pTx +aFI +aFI +aFI +aFI +aOI +qPF +eyq fes -aPm -aPm -aPm -aPm -wsC -aXf -aIc -aIc -aIc -aIc -aIc -nwx +ewV +aGP +kiu +bsx +qfL +hnp +aQA +ojJ +aZs +fcL +cQZ +tfz +aOx hae aUS pvL @@ -140431,29 +142238,29 @@ aqc aEI awH ayg -aOY -awl -aFK -aFK -aFK -gFG -aFK -aFK -gFG -aFK -aFK -aFK -aFK -aPk +avq +aFI +aFI +aFI +aMI +uVU +aFI +ggd +qno +eeW +ayb +vnM +aaZ +kiu ePV iGP wsC -aXf +ftc pmG wwL veP -isv -aIc +aOI +acW bjz xsi dkR @@ -140684,35 +142491,35 @@ aab atG aqc aqc -arR +awl avb aAQ aNH -ava -awl -sHt -sHt -sHt -sHt -sHt -sHt -sHt -sHt -sHt -sHt -aFK -kiu +att +okf +bgZ +oWB +xXD +iZe +aOb +bbv +qtC +aPm +ckc aPm aSM -wsC +kiu +fmN +jtK +oDj aXf nci qef kvJ -wap -aIc -nwx -aGY +aOI +tTF +bfy +qsA iLw gWV vqm @@ -140932,7 +142739,7 @@ aab dQR aab aab -alv +aab aab aab aab @@ -140940,36 +142747,36 @@ aab aab awl aqn -asc -att -avc -avq avq +otX +avc +xvd avq -awl -sHt -sHt -sHt -sHt -sHt -sHt -sHt -sHt -sHt -sHt -aFK +att +aFI +bgZ +ykv +ngV +aTJ +aOb +xxG +hBo klz +aSk +ljT +ipA +aOg rpd -aHW -eln -xdS -pmG +aUQ +aUQ +aUQ +aUQ lEH udh -pni -oYI -mrk -qsA +aOI +aOC +bmH +aVA aUS aUS aUS @@ -141189,7 +142996,6 @@ aaa aaa aaa aaa -aaa aab awl awl @@ -141204,29 +143010,30 @@ atG avs atG atG -sHt -sHt -sHt -pwU -sHt -sHt -pwU -sHt -sHt -sHt -aFK -aPm -aPm -aSM -mYc +aFI +nXT +djg +oYo +bgZ +aOb +gFX +aTF +aTF +tDg +aTF +iyI +kiu +bsx +aUQ +vNh vca -aIc +aUQ sbR -utP -bdr -aIc -aLc -bbI +aUQ +aUQ +umk +hkN +aVA qzo hAx vSz @@ -141447,7 +143254,6 @@ aaa aaa aaa aaa -aab awl amK avq @@ -141461,29 +143267,30 @@ aup avq hmS atG -sHt -sHt -sHt -sHt -sHt -sHt -sHt -sHt -sHt -sHt -aOI +aFI +xts +gez +xTV +dIc +aFI +aFI +lEW +lEW +lEW +aFI +aFI gCU -qtC -aSM +bsx +aUQ vNh wCZ -aLA -aLA -aLA -aIc -aIc -aGX -nwx +aUQ +xZQ +kua +aUQ +aGJ +aOF +oYI bdT nzF dfW @@ -141704,7 +143511,6 @@ aaa aaa aaa aaa -aaa awl aCh aqq @@ -141718,28 +143524,29 @@ lQS avt lQS atG -sHt -sHt -sHt -sHt -sHt -sHt -sHt -sHt -sHt -sHt -aOI -aPm -aPm -aSM +xfi +xYc +lFe +vSq +mvX +wPg +kQQ +kPS +oPr +pni +aTD +aKX +eln +udn +aUQ mYc jJh -aLA +aHY aXi kua -oVY -aLA -aNh +aUQ +leL +sCE xrq aSR fEN @@ -141961,7 +143768,6 @@ aaa aaa aaa aaa -aaa awl amL aqr @@ -141975,28 +143781,29 @@ auq avp auq atG -aFK -aFK -aOI -gFG -aFK -aFK -gFG -aOI -aOI -aOI -aOI -iyI +eri +bgZ +gez +rGv +bgZ +aOb +aGN +wTE +aMw +aUc +mxM +aFI +aFI pbz -ilS -iTC -wBU -fIB +aUQ +aUQ +aUQ +aUQ hjO gxE -rBZ +aUQ jqS -jne +mEs quc bdT aJB @@ -142218,7 +144025,6 @@ aaa aaa aaa aaa -aaa awl awl awl @@ -142231,29 +144037,30 @@ awl auq avu auq -aaa -aaa -aaa -aOI -xfQ -whv -nqX +atG +aFI +xFl +rDG +aAa +bgZ +aFI +aGQ vFZ -aOI -aUW -aLc -aOI +bcm +uZJ +aKK +aFI tuZ -aPm -aSM -wsC +jkI +aUQ +iBL aZL -bgZ +qSD wNE odR -rOg -aLA -aGY +aUQ +aJr +aOF pHs bdT hUm @@ -142480,7 +144287,6 @@ aaa aaa aaa aaa -aaa awl doE doE @@ -142489,29 +144295,30 @@ auq avw auq aaa -aaa -aaa -aOI +aFI +aFI +aFI +aFI sPb -lop -xcB -lJX -lEW -aIF -xvd -aOI -nqG +aFI +aFI +aFI +aFI +aFI +aFI +aFI +aQL edM -emL -wsC -lOY +aUQ +aUQ +aUQ fIB jUq -vJc -sRW -aLA -aGY -vbB +aUQ +aUQ +aUQ +mAX +uuZ beb beb beb @@ -142747,28 +144554,28 @@ aaa aaa aaa aaa -aaa -aOI -aOI -aOI -aOI -aOI -aOI +aHN +xnb +sCE +bkD +aGX +wdm +pIY +uki aGY -qXm -aOI -aOI -aOI -aOI +ozS +iTC +jKA +aUQ ixh -aOI -aLA -aLA -aLA -aLA -aLA +wcs +qSD +aQx +aJw +hsm +aUQ aGY -nwx +hgR bfB bhu nTn @@ -143003,27 +144810,27 @@ aaa aaa aaa aaa +aaa aHN -aGX -aGX -npF -aGX +aUK +hkN +sCE kCH pIY -aGX -aGY -oHO +pgD +aHb +hkN qmv -jne -jne -jne -nqL -xXD +aGY +aLc +aUQ +aUQ +aUQ mxZ ybX -aMz -aUb -aQL +aUQ +aUQ +aUQ aGY obX kjL @@ -143261,28 +145068,28 @@ aaa aaa aHN aHN -sLX +lrO aGX aGX +bmH +hCG +aQL aGX -aKX -hcz aGX aGX -aOC qOP aGX -aGX aHP +aUQ aQC kkz -jKH -vCe -vCe -jKH -woV -woV -oGv +qSD +qSD +aUQ +aIF +aJy +aGY +vbB beb iYn dUW @@ -143521,7 +145328,7 @@ qej naG mcF vMN -fDU +vMN kWL qCO jQW @@ -143529,16 +145336,16 @@ uKn aKT aMi ikx -aHb -aHP -aVA -aRI -hkN +aYK +aUQ +aUQ +aUQ +aUQ mTZ -pAv -sCE -sCE -bkD +aUQ +hGo +aMz +aGY uuZ beb mOH @@ -143785,17 +145592,17 @@ tXx aQL bwW cKu -pcF +tLp qtr aGX -aQL -aRI +dku +aMJ lCp -aMz +nvm aGX -aMz -aMz -aHN +mCw +aGX +rxm bck beb iki @@ -144044,15 +145851,15 @@ aGX aOC aGX xAf -aGX -aQJ -aRI -aOF -aGX +wpY +jtl +xdS +lcH +xKp aTZ -cQZ -aGX -aab +aGY +hkN +hkN bcn beb mTh @@ -144302,15 +146109,15 @@ aOi aGX fEx aGX -kWl -qtc -aGY -lrO -vZl +aGX +oGv +aGX +aGX +aGX +hkN mAX -aHP -aHN -bck +aMz +vbB beb rRW vXb @@ -144552,22 +146359,22 @@ fHg gRB sCE mNT -qEa +qor hir kgM hkN lie -vBm -aMz -aGX -qtc -aGX +enJ aMz -aGX -aGX -aGX -aGY -bcm +fKw +vmH +soF +aQf +dMb +hkN +bmH +isv +vbB beb beb beb @@ -144814,16 +146621,16 @@ gsN pzF uKa dYq -wZU +utP aMz -aUU -qtc -aGX +ayc +aZw +sCE sYP -aaZ aGX +aOF aWb -aYK +aGY bct tfH jxS @@ -145072,16 +146879,16 @@ owB aOi lie vBm -aMz +aGX aNh -qtc +hLk uDS vZl -ldl -aMz -kSe -aGY -aGY +aOC +pIY +dMb +rVO +aGM epd aJD kcQ @@ -145330,14 +147137,14 @@ aGY aOC vvV aGX +aOC aGX -qtc aGX -aMz -aMz -aMz -kSe -tfk +aGX +aGX +aGY +bkF +bbI aGY aGX lQc @@ -145585,16 +147392,16 @@ sCE lCk ohp nFx -vBm +kPK aPK xRy gJd +npF +jKH +aZy woV -eal -woV -ojJ svD -tfk +xOH bmH bau bau @@ -145844,13 +147651,13 @@ egR fys xQd ksx -pcF -fDc -aQI -aUc -aAY -aVQ -bbI +fIf +qwt +aKL +sCE +uXm +hkN +eLj tfk ewz bau @@ -146100,13 +147907,13 @@ gQN aOC aGX uvk -aGX -aGX +heL +heL bhX -aMz -aGX -aGX -aGX +heL +dwg +heL +dwg bbI aGY bau @@ -146357,13 +148164,13 @@ hCG aID aGX qTN -aMz +dwg aQM -uvk -aGX +bbn +dwg aUe dqF -dMb +heL lql xFJ bqj @@ -146614,13 +148421,13 @@ ohp ohp sZQ uvk -aMz +heL pZg -uvk -aGX +fhx +rrD guK ydU -aGX +aGZ lfj bau bau @@ -146871,13 +148678,13 @@ lQZ aYE pcF wZU -aGX +aGZ yaK fuH mPO -aGY +iHu gPk -aGX +heL lfj bau bav @@ -147121,20 +148928,20 @@ aWV aEy aFO aHf -fys +aGX aGY hrS aKV efN aNj lPR -aMz +heL aQO jYF -aGX +rrD pRf tAa -aGX +dwg bbI bau bao @@ -147385,13 +149192,13 @@ aKU aMl aNj nEC -aMz +dwg aQN sHi -aGX +dwg ueH dxe -aGX +heL lfj bau bax @@ -147642,13 +149449,13 @@ aYC aYC xne iwS -aGX -aGX heL -aGX -aGX -aGX -aGX +heL +heL +dwg +heL +heL +heL bbI bau bau @@ -147900,11 +149707,11 @@ aGX aMn aMz aGX -aGY -aGY -aGY -uVU +aUb +aQL +bmH aMo +bdI aGY wgs dWK @@ -149445,7 +151252,7 @@ aGX aGX aGX sCE -gXX +ehK baz aUL aXg @@ -151244,7 +153051,7 @@ aGX aGX aJM aGY -ehK +gXX aYP aYB baB diff --git a/_maps/map_files220/stations/deltastation.dmm b/_maps/map_files220/stations/deltastation.dmm index a0525b7e5208..b5cd6d65a613 100644 --- a/_maps/map_files220/stations/deltastation.dmm +++ b/_maps/map_files220/stations/deltastation.dmm @@ -223,20 +223,17 @@ /area/station/maintenance/abandonedbar) "acU" = ( /obj/structure/rack/gunrack, -/obj/item/gun/energy/gun{ - pixel_x = -2 - }, -/obj/effect/turf_decal/delivery/red/hollow, -/obj/item/gun/energy/gun, -/obj/item/gun/energy/gun{ - pixel_x = 2 +/obj/item/gun/projectile/automatic/sslr{ + pixel_x = -4 }, -/obj/item/gun/energy/gun{ +/obj/item/gun/projectile/automatic/sslr, +/obj/item/gun/projectile/automatic/sslr{ pixel_x = 4 }, -/obj/item/gun/energy/gun{ - pixel_x = 6 +/obj/item/gun/projectile/automatic/sslr{ + pixel_x = 8 }, +/obj/effect/turf_decal/delivery/red/hollow, /turf/simulated/floor/plasteel/dark, /area/station/security/armory/secure) "acX" = ( @@ -1706,6 +1703,51 @@ /obj/structure/sign/pods, /turf/simulated/wall, /area/station/hallway/secondary/entry) +"amO" = ( +/obj/structure/rack, +/obj/item/ammo_box/magazine/sslr{ + pixel_y = 12; + pixel_x = -4 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_y = 12 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_y = 12; + pixel_x = 4 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_y = 8; + pixel_x = -4 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_y = 8 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_y = 8; + pixel_x = 4 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_y = 4; + pixel_x = -4 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_y = 4 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_y = 4; + pixel_x = 4 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_x = -4 + }, +/obj/item/ammo_box/magazine/sslr, +/obj/item/ammo_box/magazine/sslr{ + pixel_x = 4 + }, +/obj/effect/turf_decal/delivery/red/hollow, +/turf/simulated/floor/plasteel/dark, +/area/station/security/armory/secure) "amP" = ( /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel{ @@ -40219,10 +40261,6 @@ /mob/living/simple_animal/bot/secbot/armsky{ auto_patrol = 1 }, -/obj/machinery/navbeacon{ - codes_txt = "patrol;next_patrol=Armory_North"; - location = "Armory_South" - }, /obj/structure/cable{ d1 = 1; d2 = 2; @@ -51567,6 +51605,14 @@ icon_state = "redfull" }, /area/station/security/brig) +"fcC" = ( +/obj/effect/turf_decal/stripes/line, +/obj/machinery/navbeacon{ + codes_txt = "patrol;next_patrol=Armory_South"; + location = "Armory_North" + }, +/turf/simulated/floor/plasteel/dark, +/area/station/security/armory/secure) "fcZ" = ( /obj/structure/cable{ d1 = 4; @@ -55620,10 +55666,17 @@ }, /area/station/hallway/primary/central/sw) "grA" = ( -/obj/machinery/navbeacon{ - codes_txt = "patrol;next_patrol=Armory_South"; - location = "Armory_North" +/obj/effect/turf_decal/delivery/red/hollow, +/obj/item/gun/energy/laser{ + pixel_x = 2 + }, +/obj/item/gun/energy/laser{ + pixel_x = 4 }, +/obj/item/gun/energy/laser{ + pixel_x = 6 + }, +/obj/structure/rack/gunrack, /turf/simulated/floor/plasteel/dark, /area/station/security/armory/secure) "grY" = ( @@ -64405,18 +64458,14 @@ /area/station/science/toxins/mixing) "jeM" = ( /obj/structure/rack/gunrack, -/obj/item/gun/energy/laser{ - pixel_x = -2 - }, /obj/effect/turf_decal/delivery/red/hollow, -/obj/item/gun/energy/laser, -/obj/item/gun/energy/laser{ +/obj/item/gun/energy/gun{ pixel_x = 2 }, -/obj/item/gun/energy/laser{ +/obj/item/gun/energy/gun{ pixel_x = 4 }, -/obj/item/gun/energy/laser{ +/obj/item/gun/energy/gun{ pixel_x = 6 }, /turf/simulated/floor/plasteel/dark, @@ -84862,6 +84911,12 @@ pixel_x = 6 }, /obj/structure/rack/gunrack, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, /turf/simulated/floor/plasteel/dark, /area/station/security/armory/secure) "pup" = ( @@ -108021,6 +108076,10 @@ /obj/effect/turf_decal/stripes/corner{ dir = 4 }, +/obj/machinery/navbeacon{ + codes_txt = "patrol;next_patrol=Armory_North"; + location = "Armory_South" + }, /turf/simulated/floor/plasteel/dark, /area/station/security/armory/secure) "wKf" = ( @@ -112521,12 +112580,6 @@ pixel_y = 2 }, /obj/effect/turf_decal/delivery/red/hollow, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, /turf/simulated/floor/plasteel/dark, /area/station/security/armory/secure) "ycB" = ( @@ -165838,14 +165891,14 @@ off xPq npj wJU -lam +grA jeM -ycf ptZ -acU nqn -grA -gpP +acU +amO +ycf +fcC dMi oaR bxB diff --git a/_maps/map_files220/stations/metastation.dmm b/_maps/map_files220/stations/metastation.dmm index 1ab1cbaf92ad..846ccfeeb9fb 100644 --- a/_maps/map_files220/stations/metastation.dmm +++ b/_maps/map_files220/stations/metastation.dmm @@ -2606,8 +2606,6 @@ /turf/simulated/floor/plating, /area/station/maintenance/port) "arV" = ( -/obj/effect/turf_decal/delivery/hollow, -/mob/living/simple_animal/bot/secbot/armsky, /obj/structure/cable/yellow{ d1 = 2; d2 = 8; @@ -2618,8 +2616,11 @@ d2 = 4; icon_state = "2-4" }, +/mob/living/simple_animal/bot/secbot/armsky, +/obj/effect/turf_decal/delivery/hollow, /turf/simulated/floor/plasteel{ - icon_state = "dark" + dir = 6; + icon_state = "darkred" }, /area/station/security/armory/secure) "asu" = ( @@ -4879,9 +4880,48 @@ }, /area/station/security/permabrig) "aBx" = ( -/obj/structure/rack, /obj/structure/reagent_dispensers/peppertank/west, -/obj/item/gun/energy/ionrifle, +/obj/structure/rack, +/obj/item/ammo_box/magazine/sslr{ + pixel_y = 12; + pixel_x = -4 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_y = 12 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_y = 12; + pixel_x = 4 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_y = 8; + pixel_x = -4 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_y = 8 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_y = 8; + pixel_x = 4 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_y = 4; + pixel_x = -4 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_y = 4 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_y = 4; + pixel_x = 4 + }, +/obj/item/ammo_box/magazine/sslr{ + pixel_x = -4 + }, +/obj/item/ammo_box/magazine/sslr, +/obj/item/ammo_box/magazine/sslr{ + pixel_x = 4 + }, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "darkred" @@ -45129,15 +45169,18 @@ }, /area/station/security/main) "dCp" = ( -/obj/structure/rack, /obj/machinery/firealarm/directional/west, -/obj/item/gun/energy/disabler{ +/obj/structure/rack, +/obj/item/gun/projectile/automatic/sslr{ + pixel_y = 9 + }, +/obj/item/gun/projectile/automatic/sslr{ pixel_y = 6 }, -/obj/item/gun/energy/disabler{ +/obj/item/gun/projectile/automatic/sslr{ pixel_y = 3 }, -/obj/item/gun/energy/disabler, +/obj/item/gun/projectile/automatic/sslr, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "darkred" @@ -60628,6 +60671,7 @@ "kNk" = ( /obj/structure/rack, /obj/item/clothing/suit/hooded/ablative, +/obj/item/gun/energy/ionrifle, /turf/simulated/floor/plasteel{ dir = 9; icon_state = "darkblue" @@ -65355,8 +65399,6 @@ }, /area/station/medical/virology) "mRy" = ( -/obj/structure/rack, -/obj/item/storage/box/tranquilizer, /obj/structure/cable/yellow{ d1 = 1; d2 = 4; @@ -65367,6 +65409,26 @@ d2 = 4; icon_state = "2-4" }, +/obj/structure/rack, +/obj/item/storage/box/tranquilizer{ + pixel_x = 2; + pixel_y = 3 + }, +/obj/item/storage/box/beanbag, +/obj/item/storage/box/beanbag, +/obj/item/storage/box/beanbag, +/obj/item/storage/box/rubbershot{ + pixel_x = -2; + pixel_y = -3 + }, +/obj/item/storage/box/rubbershot{ + pixel_x = -2; + pixel_y = -3 + }, +/obj/item/storage/box/rubbershot{ + pixel_x = -2; + pixel_y = -3 + }, /turf/simulated/floor/plasteel{ icon_state = "darkred" }, @@ -66951,22 +67013,21 @@ /turf/simulated/floor/plasteel, /area/station/hallway/secondary/bridge) "nxO" = ( -/obj/structure/rack, -/obj/item/gun/projectile/shotgun/riot{ - pixel_y = 6 - }, -/obj/item/gun/projectile/shotgun/riot{ - pixel_y = 3 - }, -/obj/item/gun/projectile/shotgun/riot, /obj/structure/cable/yellow{ d1 = 4; d2 = 8; icon_state = "4-8" }, /obj/machinery/light/directional/north, +/obj/structure/rack, +/obj/item/gun/energy/disabler{ + pixel_y = 6 + }, +/obj/item/gun/energy/disabler{ + pixel_y = 3 + }, +/obj/item/gun/energy/disabler, /turf/simulated/floor/plasteel{ - dir = 6; icon_state = "darkred" }, /area/station/security/armory/secure) @@ -75669,7 +75730,6 @@ }, /area/station/engineering/atmos/control) "rJh" = ( -/obj/structure/rack, /obj/machinery/requests_console{ department = "Warden"; departmentType = 7; @@ -75681,21 +75741,14 @@ d2 = 8; icon_state = "4-8" }, -/obj/item/storage/box/beanbag{ - pixel_x = 2; - pixel_y = 3 - }, -/obj/item/storage/box/beanbag{ - pixel_x = 2; - pixel_y = 3 +/obj/structure/rack, +/obj/item/gun/projectile/shotgun/riot{ + pixel_y = 6 }, -/obj/item/storage/box/beanbag{ - pixel_x = 2; +/obj/item/gun/projectile/shotgun/riot{ pixel_y = 3 }, -/obj/item/storage/box/rubbershot, -/obj/item/storage/box/rubbershot, -/obj/item/storage/box/rubbershot, +/obj/item/gun/projectile/shotgun/riot, /turf/simulated/floor/plasteel{ icon_state = "darkred" }, @@ -86440,6 +86493,7 @@ }, /area/station/medical/virology) "xdb" = ( +/obj/machinery/alarm/directional/west, /obj/structure/rack, /obj/item/shield/riot{ pixel_y = 3 @@ -86448,9 +86502,8 @@ /obj/item/shield/riot{ pixel_y = -3 }, -/obj/machinery/alarm/directional/west, /turf/simulated/floor/plasteel{ - dir = 6; + dir = 4; icon_state = "darkred" }, /area/station/security/armory/secure) diff --git a/code/__DEFINES/directions.dm b/code/__DEFINES/directions.dm index dfe3b2ecc789..7e4dd3c9769a 100644 --- a/code/__DEFINES/directions.dm +++ b/code/__DEFINES/directions.dm @@ -28,3 +28,6 @@ #define IS_DIR_DIAGONAL(dir) (dir & (dir - 1)) /// returns TRUE if direction is cardinal and false if not #define IS_DIR_CARDINAL(dir) (!IS_DIR_DIAGONAL(dir)) + +/// Inverse direction, taking into account UP|DOWN if necessary. +#define REVERSE_DIR(dir) ( ((dir & 85) << 1) | ((dir & 170) >> 1) ) diff --git a/code/__DEFINES/misc_defines.dm b/code/__DEFINES/misc_defines.dm index ac94833413bb..69eae4cfa4e1 100644 --- a/code/__DEFINES/misc_defines.dm +++ b/code/__DEFINES/misc_defines.dm @@ -110,18 +110,17 @@ #define RECT_TURFS(H_RADIUS, V_RADIUS, CENTER) \ block( \ - locate(max(CENTER.x-(H_RADIUS),1), max(CENTER.y-(V_RADIUS),1), CENTER.z), \ - locate(min(CENTER.x+(H_RADIUS),world.maxx), min(CENTER.y+(V_RADIUS),world.maxy), CENTER.z) \ + max(CENTER.x - (H_RADIUS), 1), max(CENTER.y - (V_RADIUS), 1), CENTER.z, \ + min(CENTER.x + (H_RADIUS), world.maxx), min(CENTER.y + (V_RADIUS), world.maxy), CENTER.z \ ) /// Returns the turfs on the edge of a square with CENTER in the middle and with the given RADIUS. If used near the edge of the map, will still work fine. // order of the additions: top edge + bottom edge + left edge + right edge #define RANGE_EDGE_TURFS(RADIUS, CENTER)\ - (CENTER.y + RADIUS < world.maxy ? block(locate(max(CENTER.x - RADIUS, 1), min(CENTER.y + RADIUS, world.maxy), CENTER.z), locate(min(CENTER.x + RADIUS, world.maxx), min(CENTER.y + RADIUS, world.maxy), CENTER.z)) : list()) +\ - (CENTER.y - RADIUS > 1 ? block(locate(max(CENTER.x - RADIUS, 1), max(CENTER.y - RADIUS, 1), CENTER.z), locate(min(CENTER.x + RADIUS, world.maxx), max(CENTER.y - RADIUS, 1), CENTER.z)) : list()) +\ - (CENTER.x - RADIUS > 1 ? block(locate(max(CENTER.x - RADIUS, 1), min(CENTER.y + RADIUS - 1, world.maxy), CENTER.z), locate(max(CENTER.x - RADIUS, 1), max(CENTER.y - RADIUS + 1, 1), CENTER.z)) : list()) +\ - (CENTER.x + RADIUS < world.maxx ? block(locate(min(CENTER.x + RADIUS, world.maxx), min(CENTER.y + RADIUS - 1, world.maxy), CENTER.z), locate(min(CENTER.x + RADIUS, world.maxx), max(CENTER.y - RADIUS + 1, 1), CENTER.z)) : list()) - + (CENTER.y + RADIUS < world.maxy ? block(max(CENTER.x - RADIUS, 1), min(CENTER.y + RADIUS, world.maxy), CENTER.z, min(CENTER.x + RADIUS, world.maxx), min(CENTER.y + RADIUS, world.maxy), CENTER.z) : list()) +\ + (CENTER.y - RADIUS > 1 ? block(max(CENTER.x - RADIUS, 1), max(CENTER.y - RADIUS, 1), CENTER.z, min(CENTER.x + RADIUS, world.maxx), max(CENTER.y - RADIUS, 1), CENTER.z) : list()) +\ + (CENTER.x - RADIUS > 1 ? block(max(CENTER.x - RADIUS, 1), min(CENTER.y + RADIUS - 1, world.maxy), CENTER.z, max(CENTER.x - RADIUS, 1), max(CENTER.y - RADIUS + 1, 1), CENTER.z) : list()) +\ + (CENTER.x + RADIUS < world.maxx ? block(min(CENTER.x + RADIUS, world.maxx), min(CENTER.y + RADIUS - 1, world.maxy), CENTER.z, min(CENTER.x + RADIUS, world.maxx), max(CENTER.y - RADIUS + 1, 1), CENTER.z) : list()) #define FOR_DVIEW(type, range, center, invis_flags) \ GLOB.dview_mob.loc = center; \ diff --git a/code/__HELPERS/game.dm b/code/__HELPERS/game.dm index 7a40bfcd5973..17cb3e0cb91a 100644 --- a/code/__HELPERS/game.dm +++ b/code/__HELPERS/game.dm @@ -56,7 +56,7 @@ /proc/circlerange(center=usr,radius=3) var/turf/centerturf = get_turf(center) - var/list/turfs = new/list() + var/list/turfs = list() var/rsq = radius * (radius+0.5) for(var/atom/T in range(radius, centerturf)) @@ -71,7 +71,7 @@ /proc/circleview(center=usr,radius=3) var/turf/centerturf = get_turf(center) - var/list/atoms = new/list() + var/list/atoms = list() var/rsq = radius * (radius+0.5) for(var/atom/A in view(radius, centerturf)) @@ -107,7 +107,7 @@ /proc/circle_edge_turfs(center = usr, radius = 3) // Get the turfs on the edge of a circle. Currently only works for radius 3 var/turf/centerturf = get_turf(center) - var/list/turfs = new/list() + var/list/turfs = list() var/rsq = radius * (radius+0.5) for(var/turf/T in range(radius, centerturf)) @@ -122,7 +122,7 @@ /proc/circleviewturfs(center = usr, radius = 3) // All the turfs in a circle of the radius var/turf/centerturf = get_turf(center) - var/list/turfs = new/list() + var/list/turfs = list() var/rsq = radius * (radius+0.5) for(var/turf/T in view(radius, centerturf)) @@ -135,7 +135,7 @@ /proc/circlerangeturfs(center = usr, radius = 3) var/turf/centerturf = get_turf(center) - var/list/turfs = new/list() + var/list/turfs = list() var/rsq = radius * (radius + 0.5) for(var/turf/T in range(radius, centerturf)) diff --git a/code/__HELPERS/icon_smoothing.dm b/code/__HELPERS/icon_smoothing.dm index affda69950a6..df0fd8930d2e 100644 --- a/code/__HELPERS/icon_smoothing.dm +++ b/code/__HELPERS/icon_smoothing.dm @@ -362,7 +362,7 @@ DEFINE_BITFIELD(smoothing_junction, list( icon_state = "[base_icon_state]-[smoothing_junction]-d" if(!fixed_underlay && new_junction != .) // Mutable underlays? var/junction_dir = reverse_ndir(smoothing_junction) - var/turned_adjacency = reverse_direction(junction_dir) + var/turned_adjacency = REVERSE_DIR(junction_dir) var/turf/neighbor_turf = get_step(src, turned_adjacency & (NORTH|SOUTH)) var/mutable_appearance/underlay_appearance = mutable_appearance(layer = TURF_LAYER, plane = FLOOR_PLANE) if(neighbor_turf && (!neighbor_turf.get_smooth_underlay_icon(underlay_appearance, src, turned_adjacency) || neighbor_turf.density)) //dense turfs are unwanted for underlays diff --git a/code/__HELPERS/lists.dm b/code/__HELPERS/lists.dm index 06e95f8cb7c5..a7811800b54d 100644 --- a/code/__HELPERS/lists.dm +++ b/code/__HELPERS/lists.dm @@ -173,7 +173,7 @@ /proc/difflist(list/first, list/second, skiprep=0) if(!islist(first) || !islist(second)) return - var/list/result = new + var/list/result = list() if(skiprep) for(var/e in first) if(!(e in result) && !(e in second)) @@ -191,7 +191,7 @@ /proc/uniquemergelist(list/first, list/second, skiprep=0) if(!islist(first) || !islist(second)) return - var/list/result = new + var/list/result = list() if(skiprep) result = difflist(first, second, skiprep)+difflist(second, first, skiprep) else @@ -297,7 +297,7 @@ /proc/mergeKey(list/client/L, list/client/R, order = 1) var/Li=1 var/Ri=1 - var/list/result = new() + var/list/result = list() while(Li <= length(L) && Ri <= length(R)) var/client/rL = L[Li] var/client/rR = R[Ri] @@ -323,7 +323,7 @@ if(!L || !R) return 0 var/Li=1 var/Ri=1 - var/list/result = new() + var/list/result = list() while(Li <= length(L) && Ri <= length(R)) var/atom/rL = L[Li] var/atom/rR = R[Ri] @@ -352,7 +352,7 @@ /proc/mergeRecordLists(list/datum/data/record/L, list/datum/data/record/R, field = "name", order = 1) var/Li=1 var/Ri=1 - var/list/result = new() + var/list/result = list() if(!isnull(L) && !isnull(R)) while(Li <= length(L) && Ri <= length(R)) var/datum/data/record/rL = L[Li] @@ -385,7 +385,7 @@ /proc/mergeLists(list/L, list/R) var/Li=1 var/Ri=1 - var/list/result = new() + var/list/result = list() while(Li <= length(L) && Ri <= length(R)) if(sorttext(L[Li], R[Ri]) < 1) result += R[Ri++] @@ -407,7 +407,7 @@ /proc/mergeKeyedLists(list/L, list/R, key) var/Li=1 var/Ri=1 - var/list/result = new() + var/list/result = list() while(Li <= length(L) && Ri <= length(R)) if(sorttext(L[Li][key], R[Ri][key]) < 1) // Works around list += list2 merging lists; it's not pretty but it works @@ -432,7 +432,7 @@ /proc/mergeAssoc(list/L, list/R) var/Li=1 var/Ri=1 - var/list/result = new() + var/list/result = list() while(Li <= length(L) && Ri <= length(R)) if(sorttext(L[Li], R[Ri]) < 1) result += R&R[Ri++] @@ -519,7 +519,7 @@ /proc/dd_mergeObjectList(list/L, list/R, list/cache) var/Li=1 var/Ri=1 - var/list/result = new() + var/list/result = list() while(Li <= length(L) && Ri <= length(R)) var/LLi = L[Li] var/RRi = R[Ri] @@ -569,7 +569,7 @@ // This works by going to the half-point of the list, seeing if the node in question is higher or lower cost, // then going halfway up or down the list and checking again. // This is a very fast way to sort an item into a list. - var/list/sorted_text = new() + var/list/sorted_text = list() var/low_index var/high_index var/insert_index @@ -643,33 +643,54 @@ //Picks from the list, with some safeties, and returns the "default" arg if it fails #define DEFAULTPICK(L, default) ((istype(L, /list) && L:len) ? pick(L) : default) +///Initialize the lazylist #define LAZYINITLIST(L) if(!L) { L = list() } - +///If the provided list is empty, set it to null #define UNSETEMPTY(L) if(L && !length(L)) L = null +///If the provided key -> list is empty, remove it from the list +#define ASSOC_UNSETEMPTY(L, K) if(!length(L[K])) L -= K; +///Like LAZYCOPY - copies an input list if the list has entries, If it doesn't the assigned list is nulled +#define LAZYLISTDUPLICATE(L) (L ? L.Copy() : null ) +///Remove an item from the list, set the list to null if empty #define LAZYREMOVE(L, I) if(L) { L -= I; if(!length(L)) { L = null; } } +///Add an item to the list, if the list is null it will initialize it #define LAZYADD(L, I) if(!L) { L = list(); } L += I; -/// Add an item to the list if not already present, if the list is null it will initialize it +///Add an item to the list if not already present, if the list is null it will initialize it #define LAZYOR(L, I) if(!L) { L = list(); } L |= I; -/// Adds I to L, initializing L if necessary, if I is not already in L +///Adds I to L, initializing L if necessary, if I is not already in L #define LAZYDISTINCTADD(L, I) if(!L) { L = list(); } L |= I; +///returns L[I] if L exists and I is a valid index of L, runtimes if L is not a list #define LAZYACCESS(L, I) (L ? (isnum(I) ? (I > 0 && I <= length(L) ? L[I] : null) : L[I]) : null) +///Returns the length of L #define LAZYLEN(L) length(L) // Despite how pointless this looks, it's still needed in order to convey that the list is specificially a 'Lazy' list. +///Sets a list to null +#define LAZYNULL(L) L = null +///Removes all elements from the list #define LAZYCLEARLIST(L) if(L) L.Cut() - -// LAZYING PT 2: THE LAZENING +//Clears a list and then re-initializes it #define LAZYREINITLIST(L) LAZYCLEARLIST(L); LAZYINITLIST(L); - -// Lazying Episode 3 -#define LAZYSET(L, K, V) LAZYINITLIST(L); L[K] = V; - -#define LAZYADDASSOC(L, K, V) if(!L) { L = list(); } L[K] += list(V); +///Use LAZYLISTDUPLICATE instead if you want it to null with no entries +#define LAZYCOPY(L) (L ? L.Copy() : list() ) +///Sets the item K to the value V, if the list is null it will initialize it +#define LAZYSET(L, K, V) if(!L) { L = list(); } L[K] = V; +///Sets the length of a lazylist +#define LAZYSETLEN(L, V) if(!L) { L = list(); } L.len = V; +///Adds to the item K the value V, if the list is null it will initialize it +#define LAZYADDASSOC(L, K, V) if(!L) { L = list(); } L[K] += V; +///This is used to add onto lazy assoc list when the value you're adding is a /list/. This one has extra safety over lazyaddassoc because the value could be null (and thus cant be used to += objects) +#define LAZYADDASSOCLIST(L, K, V) if(!L) { L = list(); } L[K] += list(V); +///Removes the value V from the item K, if the item K is empty will remove it from the list, if the list is empty will set the list to null #define LAZYREMOVEASSOC(L, K, V) if(L) { if(L[K]) { L[K] -= V; if(!length(L[K])) L -= K; } if(!length(L)) L = null; } - -/// Returns whether a numerical index is within a given list's bounds. Faster than isnull(LAZYACCESS(L, I)). -#define ISINDEXSAFE(L, I) (I >= 1 && I <= length(L)) +///Accesses an associative list, returns null if nothing is found +#define LAZYACCESSASSOC(L, I, K) L ? L[I] ? L[I][K] ? L[I][K] : null : null : null +///Qdel every item in the list before setting the list to null +#define QDEL_LAZYLIST(L) for(var/I in L) qdel(I); L = null; ///If the lazy list is currently initialized find item I in list L #define LAZYIN(L, I) (L && (I in L)) -/// Performs an insertion on the given lazy list with the given key and value. If the value already exists, a new one will not be made. +///Returns whether a numerical index is within a given list's bounds. Faster than isnull(LAZYACCESS(L, I)). +#define ISINDEXSAFE(L, I) (I >= 1 && I <= length(L)) + +///Performs an insertion on the given lazy list with the given key and value. If the value already exists, a new one will not be made. #define LAZYORASSOCLIST(lazy_list, key, value) \ LAZYINITLIST(lazy_list); \ LAZYINITLIST(lazy_list[key]); \ diff --git a/code/__HELPERS/trait_helpers.dm b/code/__HELPERS/trait_helpers.dm index 3e9cb31305d1..21d632a2e45a 100644 --- a/code/__HELPERS/trait_helpers.dm +++ b/code/__HELPERS/trait_helpers.dm @@ -182,6 +182,7 @@ Remember to update _globalvars/traits.dm if you're adding/removing/renaming trai #define TRAIT_FLASH_PROTECTION "flash_protection" #define TRAIT_NIGHT_VISION "night_vision" #define TRAIT_EMOTE_MUTE "emote_mute" +#define TRAIT_HYPOSPRAY_IMMUNE "hypospray_immune" // For making crew-accessable hyposprays not pierce your clothing #define TRAIT_RSG_IMMUNE "rsgimmune" //prevents RSG syringes from piercing your clothing #define TRAIT_NO_BONES "no_bones" @@ -228,10 +229,12 @@ Remember to update _globalvars/traits.dm if you're adding/removing/renaming trai #define TRAIT_MEPHEDRONE_ADAPTED "mephedrone_adapted" // Trait that changes the ending effects of twitch leaving your system #define TRAIT_NOKNOCKDOWNSLOWDOWN "noknockdownslowdown" //If this person has this trait, they are not slowed via knockdown, but they can be hit by bullets like a self knockdown #define TRAIT_CAN_STRIP "can_strip" // This mob can strip other mobs. +#define TRAIT_CLING_BURSTING "cling_bursting" // This changeling is about to burst into a headslug, block cremation / gibber to prevent nullspace issues #define TRAIT_I_WANT_BRAINS "mob_zombie" // A general trait for tracking if the mob is a zombie. #define TRAIT_ABSTRACT_HANDS "abstract_hands" // Mobs with this trait can only pick up abstract items. #define TRAIT_SLOW_GRABBER "slow_grabber" // Adds a 1.5 * CLICK_CD_MELEE delay to upgrading into a aggressive grab. #define TRAIT_LANGUAGE_LOCKED "language_locked" // cant add/remove languages until removed (excludes babel because fuck everything i guess) +#define TRAIT_HAS_IV_BAG "iv_bag" // Used to check if there is an active IV bag. Currently blocks another IV bags from being inserted. //***** MIND TRAITS *****/ #define TRAIT_HOLY "is_holy" // The mob is holy in regards to religion diff --git a/code/__HELPERS/unsorted.dm b/code/__HELPERS/unsorted.dm index 9b78083f00dc..8b64aabf1e45 100644 --- a/code/__HELPERS/unsorted.dm +++ b/code/__HELPERS/unsorted.dm @@ -1143,25 +1143,6 @@ GLOBAL_LIST_INIT(can_embed_types, typecacheof(list( if(is_type_in_typecache(W, GLOB.can_embed_types)) return TRUE -/proc/reverse_direction(dir) - switch(dir) - if(NORTH) - return SOUTH - if(NORTHEAST) - return SOUTHWEST - if(EAST) - return WEST - if(SOUTHEAST) - return NORTHWEST - if(SOUTH) - return NORTH - if(SOUTHWEST) - return NORTHEAST - if(WEST) - return EAST - if(NORTHWEST) - return SOUTHEAST - /* Checks if that loc and dir has a item on the wall */ diff --git a/code/_globalvars/traits.dm b/code/_globalvars/traits.dm index 69f976fca951..48c993c8bf2a 100644 --- a/code/_globalvars/traits.dm +++ b/code/_globalvars/traits.dm @@ -92,10 +92,12 @@ GLOBAL_LIST_INIT(traits_by_type, list( "TRAIT_MEPHEDRONE_ADAPTED" = TRAIT_MEPHEDRONE_ADAPTED, "TRAIT_NOKNOCKDOWNSLOWDOWN" = TRAIT_NOKNOCKDOWNSLOWDOWN, "TRAIT_CAN_STRIP" = TRAIT_CAN_STRIP, + "TRAIT_CLING_BURSTING" = TRAIT_CLING_BURSTING, "TRAIT_I_WANT_BRAINS" = TRAIT_I_WANT_BRAINS, "TRAIT_ABSTRACT_HANDS" = TRAIT_ABSTRACT_HANDS, "TRAIT_SLOW_GRABBER" = TRAIT_SLOW_GRABBER, "TRAIT_LANGUAGE_LOCKED" = TRAIT_LANGUAGE_LOCKED, + "TRAIT_HAS_IV_BAG" = TRAIT_HAS_IV_BAG ), /datum/mind = list( @@ -119,7 +121,8 @@ GLOBAL_LIST_INIT(traits_by_type, list( "TRAIT_OBSCURED_WIRES" = TRAIT_OBSCURED_WIRES, "TRAIT_XENO_INTERACTABLE" = TRAIT_XENO_INTERACTABLE, "TRAIT_NO_THROWN_MESSAGE" = TRAIT_NO_THROWN_MESSAGE, - "TRAIT_SILENT_INSERTION" = TRAIT_SILENT_INSERTION + "TRAIT_SILENT_INSERTION" = TRAIT_SILENT_INSERTION, + "TRAIT_HYPOSPRAY_IMMUNE" = TRAIT_HYPOSPRAY_IMMUNE ), /turf = list( diff --git a/code/_onclick/ai_onclick.dm b/code/_onclick/ai_onclick.dm index b821e3591dcd..f5e450ad1355 100644 --- a/code/_onclick/ai_onclick.dm +++ b/code/_onclick/ai_onclick.dm @@ -18,7 +18,7 @@ if(control_disabled || stat) return if(ismob(A)) - ai_actual_track(A) + ai_actual_track(A, TRUE) else A.move_camera_by_click() diff --git a/code/_onclick/hud/parallax.dm b/code/_onclick/hud/parallax.dm index aec2360ededd..07818fb67fce 100644 --- a/code/_onclick/hud/parallax.dm +++ b/code/_onclick/hud/parallax.dm @@ -265,7 +265,7 @@ var/list/viewscales = getviewsize(view) var/countx = CEILING((viewscales[1] / 2) * parallax_scaler, 1) + 1 var/county = CEILING((viewscales[2] / 2) * parallax_scaler, 1) + 1 - var/list/new_overlays = new + var/list/new_overlays = list() for(var/x in -countx to countx) for(var/y in -county to county) if(x == 0 && y == 0) diff --git a/code/_onclick/item_attack.dm b/code/_onclick/item_attack.dm index 17d9c8c54e46..d06b59689ab7 100644 --- a/code/_onclick/item_attack.dm +++ b/code/_onclick/item_attack.dm @@ -61,6 +61,10 @@ if(flags & (NOBLUDGEON)) return FALSE + if((is_surgery_tool_by_behavior(src) || is_organ(src) || tool_behaviour) && user.a_intent == INTENT_HELP && on_operable_surface(M) && M != user) + to_chat(user, "You don't want to harm the person you're trying to help!") + return + if(force && HAS_TRAIT(user, TRAIT_PACIFISM)) to_chat(user, "You don't want to harm other living beings!") return diff --git a/code/controllers/configuration/sections/gamemode_configuration.dm b/code/controllers/configuration/sections/gamemode_configuration.dm index 1fc39b62217d..ef8bfc3c84d3 100644 --- a/code/controllers/configuration/sections/gamemode_configuration.dm +++ b/code/controllers/configuration/sections/gamemode_configuration.dm @@ -78,7 +78,7 @@ return new /datum/game_mode/extended() /datum/configuration_section/gamemode_configuration/proc/get_runnable_modes() - var/list/datum/game_mode/runnable_modes = new + var/list/datum/game_mode/runnable_modes = list() for(var/T in subtypesof(/datum/game_mode)) var/datum/game_mode/M = new T() diff --git a/code/controllers/subsystem/SSchat.dm b/code/controllers/subsystem/SSchat.dm index 604f18c2d7c4..3c184030c49b 100644 --- a/code/controllers/subsystem/SSchat.dm +++ b/code/controllers/subsystem/SSchat.dm @@ -66,7 +66,7 @@ SUBSYSTEM_DEF(chat) var/client/client = CLIENT_FROM_VAR(target) if(isnull(client)) continue - LAZYADDASSOC(client_to_payloads, client.ckey, generate_payload(client, message_data)) + LAZYADDASSOCLIST(client_to_payloads, client.ckey, generate_payload(client, message_data)) /datum/controller/subsystem/chat/proc/send_immediate(send_target, list/message_data) var/list/targets = islist(send_target) ? send_target : list(send_target) diff --git a/code/controllers/subsystem/SSthrowing.dm b/code/controllers/subsystem/SSthrowing.dm index 3e4bc1536ff0..95d137e0db42 100644 --- a/code/controllers/subsystem/SSthrowing.dm +++ b/code/controllers/subsystem/SSthrowing.dm @@ -13,6 +13,15 @@ SUBSYSTEM_DEF(throwing) var/list/currentrun var/list/processing = list() + /// How many throw impact sounds have happened this tick. + var/impact_sounds = 0 + /// How many throw impact sounds we allow per tick. + var/impact_sounds_cap = 20 + /// How many sounds we've skipped due to hitting the per-tick cap. + var/skipped_sounds = 0 + /// How many sounds there were last tick. + var/last_impact_sounds = 0 + /datum/controller/subsystem/throwing/get_stat_details() return "P:[length(processing)]" @@ -25,6 +34,8 @@ SUBSYSTEM_DEF(throwing) /datum/controller/subsystem/throwing/fire(resumed = 0) if(!resumed) src.currentrun = processing.Copy() + last_impact_sounds = impact_sounds + impact_sounds = 0 //cache for sanic speed (lists are references anyways) var/list/currentrun = src.currentrun @@ -46,6 +57,13 @@ SUBSYSTEM_DEF(throwing) currentrun = null +/datum/controller/subsystem/throwing/proc/playsound_capped(atom/source, soundin, vol, vary, extrarange, falloff_exponent = SOUND_FALLOFF_EXPONENT, frequency, channel = 0, pressure_affected = TRUE, ignore_walls = TRUE, falloff_distance = SOUND_DEFAULT_FALLOFF_DISTANCE, use_reverb = TRUE) + if(impact_sounds < impact_sounds_cap) + impact_sounds++ + playsound(source, soundin, vol, vary, extrarange, falloff_exponent, frequency, channel, pressure_affected, ignore_walls, falloff_distance, use_reverb) + else + skipped_sounds++ + /datum/thrownthing var/atom/movable/thrownthing var/atom/target diff --git a/code/controllers/subsystem/SSticker.dm b/code/controllers/subsystem/SSticker.dm index 2edc9003643a..c92da112e53d 100644 --- a/code/controllers/subsystem/SSticker.dm +++ b/code/controllers/subsystem/SSticker.dm @@ -251,7 +251,7 @@ SUBSYSTEM_DEF(ticker) SSjobs.DivideOccupations() //Distribute jobs if(hide_mode) - var/list/modes = new + var/list/modes = list() for(var/datum/game_mode/M in runnable_modes) modes += M.name modes = sortList(modes) diff --git a/code/datums/ai_laws_datums.dm b/code/datums/ai_laws_datums.dm index dd9e29fbb939..a86f29ff416d 100644 --- a/code/datums/ai_laws_datums.dm +++ b/code/datums/ai_laws_datums.dm @@ -45,7 +45,7 @@ /datum/ai_laws/proc/laws_to_state() sort_laws() - var/list/statements = new() + var/list/statements = list() for(var/datum/ai_law/law in sorted_laws) if(get_state_law(law)) statements += law diff --git a/code/datums/chatmessage.dm b/code/datums/chatmessage.dm index 387bcb2c719f..46852784a0fb 100644 --- a/code/datums/chatmessage.dm +++ b/code/datums/chatmessage.dm @@ -210,7 +210,7 @@ animate_lifespan = lifespan // View the message - LAZYADDASSOC(owned_by.seen_messages, message_loc, src) + LAZYADDASSOCLIST(owned_by.seen_messages, message_loc, src) owned_by.images |= message // Fade in diff --git a/code/datums/diseases/wizarditis.dm b/code/datums/diseases/wizarditis.dm index db78dfac2c62..90a80bd711b9 100644 --- a/code/datums/diseases/wizarditis.dm +++ b/code/datums/diseases/wizarditis.dm @@ -11,7 +11,7 @@ permeability_mod = 0.75 severity = MINOR /// A mapping of `num2text(SLOT_HUD_XYZ)` -> item path - var/list/magic_fashion = new + var/list/magic_fashion = list() /datum/disease/wizarditis/New() @@ -70,7 +70,7 @@ return // Woe, wizard xeno upon ye // Which slots can we replace? - var/list/eligible_slot_IDs = new + var/list/eligible_slot_IDs = list() for(var/slot in magic_fashion) var/slot_ID = text2num(slot) // Convert back to numeric defines diff --git a/code/datums/mind.dm b/code/datums/mind.dm index 23638a00a2fb..4ff87f420c87 100644 --- a/code/datums/mind.dm +++ b/code/datums/mind.dm @@ -1714,8 +1714,8 @@ S.team = team - var/list/obj/effect/landmark/abductor/agent_landmarks = new - var/list/obj/effect/landmark/abductor/scientist_landmarks = new + var/list/obj/effect/landmark/abductor/agent_landmarks = list() + var/list/obj/effect/landmark/abductor/scientist_landmarks = list() agent_landmarks.len = 4 scientist_landmarks.len = 4 for(var/obj/effect/landmark/abductor/A in GLOB.landmarks_list) diff --git a/code/datums/outfits/outfit_admin.dm b/code/datums/outfits/outfit_admin.dm index faf430fc98dd..13ed10d3ceda 100644 --- a/code/datums/outfits/outfit_admin.dm +++ b/code/datums/outfits/outfit_admin.dm @@ -221,7 +221,7 @@ var/obj/item/card/id/I = H.wear_id if(istype(I)) apply_to_card(I, H, get_centcom_access("Nanotrasen Navy Representative"), "Nanotrasen Diplomat") - // Will show as ? on sec huds, as this is not a recognized rank. + H.sec_hud_set_ID() /datum/outfit/admin/nt_undercover name = "NT Undercover Operative" diff --git a/code/datums/recipe.dm b/code/datums/recipe.dm index f10e70ed027c..bd684231f9bc 100644 --- a/code/datums/recipe.dm +++ b/code/datums/recipe.dm @@ -143,7 +143,7 @@ /proc/select_recipe(list/datum/recipe/available_recipes, obj/obj, exact = INGREDIENT_CHECK_EXACT, list/ignored_items = null) if(!exact) exact = -1 - var/list/datum/recipe/possible_recipes = new + var/list/datum/recipe/possible_recipes = list() for(var/datum/recipe/recipe in available_recipes) if(recipe.check_reagents(obj.reagents) == exact && recipe.check_items(obj, ignored_items) == exact) possible_recipes += recipe diff --git a/code/datums/spells/construct_spells.dm b/code/datums/spells/construct_spells.dm index 878f085d261f..a4e1727c1440 100644 --- a/code/datums/spells/construct_spells.dm +++ b/code/datums/spells/construct_spells.dm @@ -69,6 +69,9 @@ summon_type = list(/obj/item/soulstone/anybody/purified) +/datum/spell/aoe/conjure/build/soulstone/any + summon_type = list(/obj/item/soulstone/anybody) + /datum/spell/aoe/conjure/build/pylon name = "Cult Pylon" desc = "This spell uses dark magic to craft an unholy beacon. Heals cultists, and makes a handy light source." diff --git a/code/datums/spells/mimic.dm b/code/datums/spells/mimic.dm index 8dcbb947e2ed..af1ec3e5b4a5 100644 --- a/code/datums/spells/mimic.dm +++ b/code/datums/spells/mimic.dm @@ -3,10 +3,9 @@ desc = "Learn a new form to mimic or become one of your known forms" clothes_req = FALSE base_cooldown = 3 SECONDS - action_icon_state = "genetic_morph" + action_icon_state = "morph_mimic" selection_activated_message = "Click on a target to remember it's form. Click on yourself to change form." create_attack_logs = FALSE - action_icon_state = "morph_mimic" /// Which form is currently selected var/datum/mimic_form/selected_form /// Which forms the user can become diff --git a/code/datums/spells/turf_teleport.dm b/code/datums/spells/turf_teleport.dm index ac20dea2ae8a..9c8e50c51c3d 100644 --- a/code/datums/spells/turf_teleport.dm +++ b/code/datums/spells/turf_teleport.dm @@ -22,7 +22,7 @@ playsound(get_turf(user), sound1, 50, TRUE) for(var/mob/living/target in targets) - var/list/turfs = new/list() + var/list/turfs = list() for(var/turf/T in range(target,outer_tele_radius)) if(T in range(target,inner_tele_radius)) continue if(isspaceturf(T) && !include_space) continue diff --git a/code/datums/status_effects/buffs.dm b/code/datums/status_effects/buffs.dm index e476267e04b1..e8395f26fb9d 100644 --- a/code/datums/status_effects/buffs.dm +++ b/code/datums/status_effects/buffs.dm @@ -439,16 +439,20 @@ return /atom/movable/screen/alert/status_effect/regenerative_core - name = "Reinforcing Tendrils" + name = "Regenerative Core Tendrils" desc = "You can move faster than your broken body could normally handle!" icon_state = "regenerative_core" - name = "Regenerative Core Tendrils" /datum/status_effect/regenerative_core id = "Regenerative Core" duration = 1 MINUTES status_type = STATUS_EFFECT_REPLACE alert_type = /atom/movable/screen/alert/status_effect/regenerative_core + var/regen_type_applied + +/datum/status_effect/regenerative_core/on_creation(mob/living/new_owner, incoming_type) + regen_type_applied = incoming_type + return ..() /datum/status_effect/regenerative_core/on_apply() ADD_TRAIT(owner, TRAIT_IGNOREDAMAGESLOWDOWN, id) @@ -458,13 +462,24 @@ if(ishuman(owner)) var/mob/living/carbon/human/H = owner H.bodytemperature = H.dna.species.body_temperature - if(is_mining_level(H.z) || istype(get_area(H), /area/ruin/space/bubblegum_arena)) - for(var/obj/item/organ/external/E in H.bodyparts) - E.fix_internal_bleeding() - E.fix_burn_wound() - E.mend_fracture() - else - to_chat(owner, "...But the core was weakened, it is not close enough to the rest of the legions of the necropolis.") + if(regen_type_applied == "Legion") + if(is_mining_level(H.z) || istype(get_area(H), /area/ruin/space/bubblegum_arena)) + for(var/obj/item/organ/external/E in H.bodyparts) + E.fix_internal_bleeding() + E.fix_burn_wound() + E.mend_fracture() + else + to_chat(owner, "...But the core was weakened, it is not close enough to the rest of the legions of the necropolis.") + return TRUE + if(regen_type_applied == "Hivelord") + var/area/A = get_area(H) + if(isspaceturf(get_turf(H)) || isspacearea(A) || istype(A, /area/syndicate_depot) || istype(A, /area/ruin/space) || istype(A, /area/shuttle)) + for(var/obj/item/organ/external/E in H.bodyparts) + E.fix_internal_bleeding() + E.fix_burn_wound() + E.mend_fracture() + else + to_chat(owner, "...But the core was weakened, it is not close enough to the stars to absorb solar radiation...") else owner.bodytemperature = BODYTEMP_NORMAL return TRUE diff --git a/code/game/gamemodes/miniantags/demons/shadow_demon/shadow_demon.dm b/code/game/gamemodes/miniantags/demons/shadow_demon/shadow_demon.dm index 7edd0bf893ee..0792bf40c9f4 100644 --- a/code/game/gamemodes/miniantags/demons/shadow_demon/shadow_demon.dm +++ b/code/game/gamemodes/miniantags/demons/shadow_demon/shadow_demon.dm @@ -6,6 +6,7 @@ icon_living = "shadow_demon" move_resist = MOVE_FORCE_STRONG lighting_alpha = LIGHTING_PLANE_ALPHA_MOSTLY_VISIBLE // so they can tell where the darkness is + see_in_dark = 10 // Below 10 `see_in_dark`, you'll not have full vision with fullscreen loot = list(/obj/item/organ/internal/heart/demon/shadow) death_sound = 'sound/shadowdemon/shadowdeath.ogg' var/thrown_alert = FALSE diff --git a/code/game/gamemodes/wizard/magic_tarot.dm b/code/game/gamemodes/wizard/magic_tarot.dm index 5d4cdd5603fc..ce05763ceb3e 100644 --- a/code/game/gamemodes/wizard/magic_tarot.dm +++ b/code/game/gamemodes/wizard/magic_tarot.dm @@ -173,9 +173,13 @@ . += "Alt-Shift-Click to flip the card over." /obj/item/magic_tarot_card/attack_self(mob/user) - if(our_tarot) - INVOKE_ASYNC(our_tarot, TYPE_PROC_REF(/datum/tarot, activate), user) poof() + if(face_down) + flip() + if(our_tarot) + pre_activate(user) + return + qdel(src) /obj/item/magic_tarot_card/throw_at(atom/target, range, speed, mob/thrower, spin, diagonals_first, datum/callback/callback, force, dodgeable) if(face_down) @@ -184,9 +188,11 @@ /obj/item/magic_tarot_card/throw_impact(atom/hit_atom, datum/thrownthing/throwingdatum) . = ..() - if(isliving(hit_atom) && our_tarot) - INVOKE_ASYNC(our_tarot, TYPE_PROC_REF(/datum/tarot, activate), hit_atom) poof() + if(isliving(hit_atom) && our_tarot) + pre_activate(hit_atom) + return + qdel(src) /obj/item/magic_tarot_card/AltShiftClick(mob/user) flip() @@ -203,13 +209,37 @@ /obj/item/magic_tarot_card/proc/poof() new /obj/effect/temp_visual/revenant(get_turf(src)) - qdel(src) /obj/item/magic_tarot_card/proc/dust() visible_message("[src] disintegrates into dust!") new /obj/effect/temp_visual/revenant(get_turf(src)) qdel(src) +/obj/item/magic_tarot_card/proc/pre_activate(mob/user) + forceMove(user) + var/obj/effect/temp_visual/tarot_preview/draft = new /obj/effect/temp_visual/tarot_preview(user, our_tarot.card_icon) + user.vis_contents += draft + user.visible_message("[user] holds up [src]!") + addtimer(CALLBACK(our_tarot, TYPE_PROC_REF(/datum/tarot, activate), user), 0.5 SECONDS) + QDEL_IN(src, 0.6 SECONDS) + +/obj/effect/temp_visual/tarot_preview + name = "a tarot card" + icon = 'icons/obj/playing_cards.dmi' + icon_state = "tarot_the_unknown" + pixel_y = 20 + duration = 1.5 SECONDS + +/obj/effect/temp_visual/tarot_preview/Initialize(atom/mapload, new_icon_state) + . = ..() + if(new_icon_state) + icon_state = "tarot_[new_icon_state]" + var/new_filter = isnull(get_filter("ray")) + ray_filter_helper(1, 40,"#fcf3dc", 6, 20) + if(new_filter) + animate(get_filter("ray"), alpha = 0, offset = 10, time = duration, loop = -1) + animate(offset = 0, time = duration) + /datum/tarot /// Name used for the card var/name = "XXII - The Unknown." @@ -572,7 +602,7 @@ return var/mob/living/carbon/human/H = target for(var/obj/item/I in H) - if(istype(/obj/item/bio_chip, I)) + if(istype(I, /obj/item/bio_chip)) continue H.unEquip(I) diff --git a/code/game/gamemodes/wizard/soulstone.dm b/code/game/gamemodes/wizard/soulstone.dm index fdf530ea1198..896ecf85717f 100644 --- a/code/game/gamemodes/wizard/soulstone.dm +++ b/code/game/gamemodes/wizard/soulstone.dm @@ -389,13 +389,17 @@ /mob/living/simple_animal/hostile/construct/proc/init_construct(mob/living/simple_animal/shade/shade, obj/item/soulstone/SS, obj/structure/constructshell/shell) if(shade.mind) shade.mind.transfer_to(src) + if(SS.usability) + // Replace regular soulstone summoning with anyuse soulstones + if(is_type_in_list(/datum/spell/aoe/conjure/build/soulstone, mob_spell_list)) + RemoveSpell(/datum/spell/aoe/conjure/build/soulstone) + AddSpell(new /datum/spell/aoe/conjure/build/soulstone/any) if(SS.purified) make_holy() // Replace regular soulstone summoning with purified soulstones if(is_type_in_list(/datum/spell/aoe/conjure/build/soulstone, mob_spell_list)) RemoveSpell(/datum/spell/aoe/conjure/build/soulstone) AddSpell(new /datum/spell/aoe/conjure/build/soulstone/holy) - else if(mind.has_antag_datum(/datum/antagonist/cultist)) // Re-grant cult actions, lost in the transfer var/datum/action/innate/cult/comm/CC = new var/datum/action/innate/cult/check_progress/D = new diff --git a/code/game/jobs/access.dm b/code/game/jobs/access.dm index 01d85316fb74..c76b1211158f 100644 --- a/code/game/jobs/access.dm +++ b/code/game/jobs/access.dm @@ -391,16 +391,54 @@ return all_jobs /proc/get_all_centcom_jobs() - return list("VIP Guest","Custodian","Thunderdome Overseer","Intel Officer","Medical Officer","Deathsquad Commando","Research Officer","Special Operations Officer","Nanotrasen Navy Representative","Nanotrasen Navy Officer","Nanotrasen Navy Captain","Supreme Commander") + return list( + "VIP Guest", + "Custodian", + "Thunderdome Overseer", + "Intel Officer", + "Medical Officer", + "Research Officer", + "Special Operations Officer", + "Nanotrasen Diplomat", + "Nanotrasen Navy Representative", + "Nanotrasen Navy Officer", + "Nanotrasen Navy Captain", + "Supreme Commander") /proc/get_all_ERT_jobs() - return list("Emergency Response Team Officer","Emergency Response Team Engineer","Emergency Response Team Medic","Emergency Response Team Inquisitor","Emergency Response Team Janitor","Emergency Response Team Leader","Emergency Response Team Member") + return list( + "Emergency Response Team Member", + "Emergency Response Team Officer", + "Emergency Response Team Engineer", + "Emergency Response Team Medic", + "Emergency Response Team Janitor", + "Emergency Response Team Inquisitor", + "Emergency Response Team Leader") /proc/get_all_solgov_jobs() - return list("Solar Federation Lieutenant","Solar Federation Specops Lieutenant","Solar Federation Marine","Solar Federation Specops Marine","Solar Federation Representative","Sol Trader","Solar Federation General") + return list( + "Sol Trader", + "Solar Federation Marine", + "Solar Federation Lieutenant", + "Solar Federation Specops Marine", + "Solar Federation Specops Lieutenant", + "Solar Federation Representative", + "Solar Federation General") /proc/get_all_soviet_jobs() - return list("Soviet Tourist", "Soviet Conscript", "Soviet Soldier", "Soviet Officer", "Soviet Marine", "Soviet Marine Captain", "Soviet Admiral") + return list( + "Soviet Tourist", + "Soviet Conscript", + "Soviet Soldier", + "Soviet Officer", + "Soviet Marine", + "Soviet Marine Captain", + "Soviet Admiral") + +/proc/get_all_special_jobs() + return list( + "Deathsquad", + "Emergency Response Clown") /proc/get_all_job_icons() //For all existing HUD icons return GLOB.joblist + get_all_ERT_jobs() + list("Prisoner") diff --git a/code/game/jobs/job/security_jobs.dm b/code/game/jobs/job/security_jobs.dm index 1926484628cb..285e4a23bd1f 100644 --- a/code/game/jobs/job/security_jobs.dm +++ b/code/game/jobs/job/security_jobs.dm @@ -127,7 +127,6 @@ selection_color = "#ffeeee" alt_titles = list("Forensic Technician") access = list(ACCESS_SECURITY, ACCESS_SEC_DOORS, ACCESS_BRIG, ACCESS_FORENSICS_LOCKERS, ACCESS_MORGUE, ACCESS_MAINT_TUNNELS, ACCESS_COURT, ACCESS_WEAPONS) - alt_titles = list("Forensic Technician") minimal_player_age = 14 exp_map = list(EXP_TYPE_CREW = 600) blacklisted_disabilities = list(DISABILITY_FLAG_BLIND, DISABILITY_FLAG_DEAF, DISABILITY_FLAG_MUTE, DISABILITY_FLAG_DIZZY) diff --git a/code/game/jobs/job_objectives/science.dm b/code/game/jobs/job_objectives/science.dm index fb3a777dfa02..277907106e94 100644 --- a/code/game/jobs/job_objectives/science.dm +++ b/code/game/jobs/job_objectives/science.dm @@ -34,8 +34,8 @@ //RIPLEY's /datum/job_objective/make_ripley - objective_name = "Construct a Ripley Mech" - description = "Construct a Ripley Mech for station usage" + objective_name = "Construct a Working Class Mech" + description = "Construct a Ripley or Firefighter Mech for station usage. Don't forget about modules!" gives_payout = TRUE completion_payment = 200 diff --git a/code/game/machinery/camera/tracking.dm b/code/game/machinery/camera/tracking.dm index b4f9ca05dfa5..c2d6f34ea952 100644 --- a/code/game/machinery/camera/tracking.dm +++ b/code/game/machinery/camera/tracking.dm @@ -110,7 +110,7 @@ to_chat(src, "Режим слежения [forced ? "прерван" : "завершен"].") cameraFollow = null -/mob/living/silicon/ai/proc/ai_actual_track(mob/living/target) +/mob/living/silicon/ai/proc/ai_actual_track(mob/living/target, doubleclick = FALSE) if(!istype(target)) return var/mob/living/silicon/ai/U = usr @@ -119,7 +119,8 @@ U.tracking = TRUE to_chat(U, "Пытаемся отследить [target.get_visible_name()]...") - sleep(min(30, get_dist(target, U.eyeobj) / 4)) + if(!doubleclick) + sleep(1.5 SECONDS) // Gives antags a brief window to get out of dodge before the eye of sauron decends upon them when someone yells ;HALP spawn(15) //give the AI a grace period to stop moving. U.tracking = FALSE diff --git a/code/game/machinery/doors/windowdoor.dm b/code/game/machinery/doors/windowdoor.dm index 19d80bb7d037..f542c2978083 100644 --- a/code/game/machinery/doors/windowdoor.dm +++ b/code/game/machinery/doors/windowdoor.dm @@ -135,7 +135,7 @@ /obj/machinery/door/window/unrestricted_side(mob/M) var/mob_dir = get_dir(src, M) if(mob_dir == 0) // If the mob is inside the tile - mob_dir = reverse_direction(dir) // Set it to the inside direction of the windoor + mob_dir = REVERSE_DIR(dir) // Set it to the inside direction of the windoor return mob_dir & unres_sides diff --git a/code/game/machinery/syndicatebomb.dm b/code/game/machinery/syndicatebomb.dm index ad5ba2bb0d9a..3859c6a0c629 100644 --- a/code/game/machinery/syndicatebomb.dm +++ b/code/game/machinery/syndicatebomb.dm @@ -320,10 +320,10 @@ origin_tech = "syndicate=5;combat=6" resistance_flags = FLAMMABLE //Burnable (but the casing isn't) var/adminlog = null - var/range_heavy = 3 - var/range_medium = 9 - var/range_light = 17 - var/range_flame = 17 + var/range_heavy = 5 + var/range_medium = 10 + var/range_light = 20 + var/range_flame = 20 var/admin_log = TRUE /obj/item/bombcore/ex_act(severity) //Little boom can chain a big boom @@ -422,17 +422,10 @@ playsound(src.loc, 'sound/misc/sadtrombone.ogg', 50) ..() -/obj/item/bombcore/large - name = "large bomb payload" - range_heavy = 5 - range_medium = 10 - range_light = 20 - range_flame = 20 - -/obj/item/bombcore/large/explosive_wall +/obj/item/bombcore/explosive_wall admin_log = FALSE -/obj/item/bombcore/large/underwall +/obj/item/bombcore/underwall layer = ABOVE_OPEN_TURF_LAYER /obj/item/bombcore/miniature diff --git a/code/game/mecha/equipment/mecha_equipment.dm b/code/game/mecha/equipment/mecha_equipment.dm index ddac0b7cd482..a152e07e3958 100644 --- a/code/game/mecha/equipment/mecha_equipment.dm +++ b/code/game/mecha/equipment/mecha_equipment.dm @@ -128,6 +128,7 @@ if(chassis.selected == src) chassis.selected = null update_chassis_page() + remove_targeted_action() chassis.log_message("[src] removed from equipment.") chassis = null set_ready_state(1) diff --git a/code/game/mecha/equipment/tools/medical_tools.dm b/code/game/mecha/equipment/tools/medical_tools.dm index 979e78469eab..f090c33faf00 100644 --- a/code/game/mecha/equipment/tools/medical_tools.dm +++ b/code/game/mecha/equipment/tools/medical_tools.dm @@ -318,7 +318,7 @@ if(!step_towards(mechsyringe,trg)) break - var/list/mobs = new + var/list/mobs = list() for(var/mob/living/carbon/M in mechsyringe.loc) mobs += M var/mob/living/carbon/M = safepick(mobs) diff --git a/code/game/mecha/mecha.dm b/code/game/mecha/mecha.dm index f482f564ee2b..d398cc1c870d 100644 --- a/code/game/mecha/mecha.dm +++ b/code/game/mecha/mecha.dm @@ -63,7 +63,7 @@ var/obj/structure/mecha_wreckage/wreckage = null // type that the mecha becomes when destroyed - var/list/equipment = new + var/list/equipment = list() var/obj/item/mecha_parts/mecha_equipment/selected var/max_equip = 3 var/turf/crashing = null diff --git a/code/game/mecha/mecha_actions.dm b/code/game/mecha/mecha_actions.dm index 7121ebcc87b8..26a351c87d6f 100644 --- a/code/game/mecha/mecha_actions.dm +++ b/code/game/mecha/mecha_actions.dm @@ -231,8 +231,8 @@ equipment = _equipment icon_icon = equipment.icon button_icon_state = equipment.icon_state - . = ..() name = "Switch module to [equipment.name]" + return ..() /datum/action/innate/mecha/select_module/Activate() if(!owner || !chassis || chassis.occupant != owner) diff --git a/code/game/mecha/working/ripley.dm b/code/game/mecha/working/ripley.dm index 6323c2096f53..c805da7586d1 100644 --- a/code/game/mecha/working/ripley.dm +++ b/code/game/mecha/working/ripley.dm @@ -14,7 +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 - var/list/cargo = new + var/list/cargo = list() var/cargo_capacity = 15 /// How many goliath hides does the Ripley have? Does not stack with other armor diff --git a/code/game/objects/effects/effect_system/effects_chem_smoke.dm b/code/game/objects/effects/effect_system/effects_chem_smoke.dm index 57e04e26e22d..10220b45ec28 100644 --- a/code/game/objects/effects/effect_system/effects_chem_smoke.dm +++ b/code/game/objects/effects/effect_system/effects_chem_smoke.dm @@ -125,3 +125,24 @@ var/mob/living/carbon/C = A if(C.can_breathe_gas()) chemholder.reagents.copy_to(C, chemholder.reagents.total_volume) + +/datum/effect_system/smoke_spread/chem/plant + +/datum/effect_system/smoke_spread/chem/plant/SmokeEm(effect_range) + var/list/mobs_to_smoke = list() + for(var/atom/A in view(effect_range, get_turf(location))) + if(istype(A, /obj/effect/particle_effect)) // Don't impact particle effects, as there can be hundreds of them in a small area. Also, we don't want smoke particles adding themselves to this list. Major performance issue. + continue + if(A in smoked_atoms) + continue + smoked_atoms += A + chemholder.reagents.reaction(A) + SEND_SIGNAL(A, COMSIG_ATOM_EXPOSE_REAGENTS, chemholder.reagents, chemholder, chemholder.reagents.total_volume) + if(iscarbon(A)) + mobs_to_smoke += A + + var/percentage_to_add = chemholder.reagents.total_volume / length(mobs_to_smoke) + + for(var/mob/living/carbon/smoker as anything in mobs_to_smoke) + if(smoker.can_breathe_gas()) + chemholder.reagents.copy_to(smoker, percentage_to_add) diff --git a/code/game/objects/effects/effect_system/effects_foam.dm b/code/game/objects/effects/effect_system/effects_foam.dm index 1dd7548fd4f7..e426e2fbbbdf 100644 --- a/code/game/objects/effects/effect_system/effects_foam.dm +++ b/code/game/objects/effects/effect_system/effects_foam.dm @@ -8,7 +8,7 @@ opacity = FALSE density = FALSE layer = OBJ_LAYER + 0.9 - animate_movement = 0 + animate_movement = NO_STEPS var/amount = 3 var/expand = 1 var/metal = 0 diff --git a/code/game/objects/effects/effect_system/effects_other.dm b/code/game/objects/effects/effect_system/effects_other.dm index dda7a31249b0..ab4a464d0016 100644 --- a/code/game/objects/effects/effect_system/effects_other.dm +++ b/code/game/objects/effects/effect_system/effects_other.dm @@ -1,14 +1,12 @@ /// Ion trails for jetpacks, ion thrusters and other space-flying things /obj/effect/particle_effect/ion_trails name = "ion trails" - icon_state = "ion_trails" + icon_state = "ion_fade" /obj/effect/particle_effect/ion_trails/Initialize(mapload, targetdir) . = ..() dir = targetdir - flick("ion_fade", src) - icon_state = null - QDEL_IN(src, 2 SECONDS) + QDEL_IN(src, 0.6 SECONDS) //Reagent-based explosion effect /datum/effect_system/reagents_explosion diff --git a/code/game/objects/effects/spawners/grouped_spawner.dm b/code/game/objects/effects/spawners/grouped_spawner.dm index c4e62db038ad..d42cea7a91ef 100644 --- a/code/game/objects/effects/spawners/grouped_spawner.dm +++ b/code/game/objects/effects/spawners/grouped_spawner.dm @@ -51,7 +51,7 @@ ..() save_spawn_values() - LAZYADDASSOC(spawner_groups, group_id, src) + LAZYADDASSOCLIST(spawner_groups, group_id, src) return INITIALIZE_HINT_LATELOAD diff --git a/code/game/objects/items.dm b/code/game/objects/items.dm index b32a436c827b..3837f3358574 100644 --- a/code/game/objects/items.dm +++ b/code/game/objects/items.dm @@ -650,16 +650,16 @@ GLOBAL_DATUM_INIT(welding_sparks, /mutable_appearance, mutable_appearance('icons var/volume = get_volume_by_throwforce_and_or_w_class() if(throwforce > 0) if(mob_throw_hit_sound) - playsound(hit_atom, mob_throw_hit_sound, volume, TRUE, -1) + SSthrowing.playsound_capped(hit_atom, mob_throw_hit_sound, volume, TRUE, -1) else if(hitsound) - playsound(hit_atom, hitsound, volume, TRUE, -1) + SSthrowing.playsound_capped(hit_atom, hitsound, volume, TRUE, -1) else - playsound(hit_atom, 'sound/weapons/genhit.ogg', volume, TRUE, -1) + SSthrowing.playsound_capped(hit_atom, 'sound/weapons/genhit.ogg', volume, TRUE, -1) else - playsound(hit_atom, 'sound/weapons/throwtap.ogg', volume, TRUE, -1) + SSthrowing.playsound_capped(hit_atom, 'sound/weapons/throwtap.ogg', volume, TRUE, -1) else - playsound(src, drop_sound, YEET_SOUND_VOLUME, ignore_walls = FALSE) + SSthrowing.playsound_capped(src, drop_sound, YEET_SOUND_VOLUME, ignore_walls = FALSE) return hit_atom.hitby(src, 0, itempush, throwingdatum = throwingdatum) /obj/item/throw_at(atom/target, range, speed, mob/thrower, spin = 1, diagonals_first = 0, datum/callback/callback, force, dodgeable) @@ -840,7 +840,8 @@ GLOBAL_DATUM_INIT(welding_sparks, /mutable_appearance, mutable_appearance('icons // Access and Job stuff -/obj/item/proc/get_job_name() //Used in secHUD icon generation +/// Used in secHUD icon generation +/obj/item/proc/get_job_name() var/assignmentName = get_ID_assignment(if_no_id = "Unknown") var/rankName = get_ID_rank(if_no_id = "Unknown") @@ -848,22 +849,36 @@ GLOBAL_DATUM_INIT(welding_sparks, /mutable_appearance, mutable_appearance('icons var/centcom = get_all_centcom_jobs() var/solgov = get_all_solgov_jobs() var/soviet = get_all_soviet_jobs() + var/special = get_all_special_jobs() - if((assignmentName in centcom) || (rankName in centcom)) //Return with the NT logo if it is a Centcom job - return "Centcom" + // Return with the NT logo if it is a Centcom job + if((assignmentName in centcom) || (rankName in centcom)) + return "centcom" - if((assignmentName in solgov) || (rankName in solgov)) //Return with the SolGov logo if it is a SolGov job + // Return with the SolGov logo if it is a SolGov job + if((assignmentName in solgov) || (rankName in solgov)) return "solgov" - if((assignmentName in soviet) || (rankName in soviet)) //Return with the U.S.S.P logo if it is a Soviet job + // Return with the U.S.S.P logo if it is a Soviet job + if((assignmentName in soviet) || (rankName in soviet)) return "soviet" - if(assignmentName in job_icons) //Check if the job has a hud icon + // For roles that can't be assigned to any category and require custom icon + if(assignmentName in special) return assignmentName + + if(rankName in special) + return rankName + + // Check if the job has a hud icon + if(assignmentName in job_icons) + return assignmentName + if(rankName in job_icons) return rankName - return "Unknown" //Return unknown if none of the above apply + // Return unknown hud if none of the above apply + return "unknown" /obj/item/proc/get_ID_assignment(if_no_id = "No id") var/obj/item/card/id/id = GetID() diff --git a/code/game/objects/items/blueprints.dm b/code/game/objects/items/blueprints.dm index 66258630f481..1a71c1d73ccb 100644 --- a/code/game/objects/items/blueprints.dm +++ b/code/game/objects/items/blueprints.dm @@ -291,7 +291,7 @@ /obj/item/areaeditor/proc/detect_room(turf/first) - var/list/turf/found = new + var/list/turf/found = list() var/list/turf/pending = list(first) while(length(pending)) if(found.len+length(pending) > 300) diff --git a/code/game/objects/items/devices/radio/radio_objects.dm b/code/game/objects/items/devices/radio/radio_objects.dm index f201488678bd..259dca4e9caa 100644 --- a/code/game/objects/items/devices/radio/radio_objects.dm +++ b/code/game/objects/items/devices/radio/radio_objects.dm @@ -77,7 +77,7 @@ GLOBAL_LIST_EMPTY(deadsay_radio_systems) var/list/internal_channels var/datum/radio_frequency/radio_connection - var/list/datum/radio_frequency/secure_radio_connections = new + var/list/datum/radio_frequency/secure_radio_connections = list() var/requires_tcomms = FALSE // Does this device require tcomms to work.If TRUE it wont function at all without tcomms. If FALSE, it will work without tcomms, just slowly var/instant = FALSE // Should this device instantly communicate if there isnt tcomms diff --git a/code/game/objects/items/devices/traitordevices.dm b/code/game/objects/items/devices/traitordevices.dm index 464886db05ec..ca8e1e93b05e 100644 --- a/code/game/objects/items/devices/traitordevices.dm +++ b/code/game/objects/items/devices/traitordevices.dm @@ -111,7 +111,7 @@ var/mob/living/M = user var/turf/mobloc = get_turf(M) - var/list/turfs = new/list() + var/list/turfs = list() var/found_turf = FALSE var/list/bagholding = user.search_contents_for(/obj/item/storage/backpack/holding) for(var/turf/T in range(user, tp_range)) diff --git a/code/game/objects/items/mixing_bowl.dm b/code/game/objects/items/mixing_bowl.dm index 59898eec3f18..0beed2a583a4 100644 --- a/code/game/objects/items/mixing_bowl.dm +++ b/code/game/objects/items/mixing_bowl.dm @@ -63,9 +63,9 @@ if(dirty) dat = {"This [src] is dirty!
Please clean it before use!
"} else - var/list/items_counts = new - var/list/items_measures = new - var/list/items_measures_p = new + var/list/items_counts = list() + var/list/items_measures = list() + var/list/items_measures_p = list() for(var/obj/O in contents) var/display_name = O.name if(istype(O,/obj/item/food/snacks/egg)) diff --git a/code/game/objects/items/stacks/sheets/sheet_types.dm b/code/game/objects/items/stacks/sheets/sheet_types.dm index c79ceef488d9..315515a4f480 100644 --- a/code/game/objects/items/stacks/sheets/sheet_types.dm +++ b/code/game/objects/items/stacks/sheets/sheet_types.dm @@ -195,6 +195,12 @@ GLOBAL_LIST_INIT(plasteel_recipes, list( point_value = 23 table_type = /obj/structure/table/reinforced +/obj/item/stack/sheet/plasteel/five + amount = 5 + +/obj/item/stack/sheet/plasteel/fifteen + amount = 15 + /obj/item/stack/sheet/plasteel/fifty amount = 50 diff --git a/code/game/objects/items/weapons/RSF.dm b/code/game/objects/items/weapons/RSF.dm index 970916bba0d5..e06f2c8001dd 100644 --- a/code/game/objects/items/weapons/RSF.dm +++ b/code/game/objects/items/weapons/RSF.dm @@ -37,9 +37,9 @@ "Dice Pack" = image(icon = 'icons/obj/dice.dmi', icon_state = "dicebag"), "Cigarette" = image(icon = 'icons/obj/clothing/masks.dmi', icon_state = "cigon"), "Newdles" = image(icon = 'icons/obj/food/food.dmi', icon_state = "chinese3"), - "Donut" = image(icon = 'icons/obj/food/food.dmi', icon_state = "donut1"), + "Donut" = image(icon = 'icons/obj/food/bakedgoods.dmi', icon_state = "donut1"), "Chicken Soup" = image(icon = 'icons/obj/drinks.dmi', icon_state = "soupcan"), - "Tofu Burger" = image(icon = 'icons/obj/food/food.dmi', icon_state = "tofuburger")) + "Tofu Burger" = image(icon = 'icons/obj/food/burgerbread.dmi', icon_state = "tofuburger")) var/rsf_radial_choice = show_radial_menu(user, src, rsf_icons) if(user.stat || !in_range(user, src)) return diff --git a/code/game/objects/items/weapons/storage/boxes.dm b/code/game/objects/items/weapons/storage/boxes.dm index 62d5d2415d6f..914c985783ef 100644 --- a/code/game/objects/items/weapons/storage/boxes.dm +++ b/code/game/objects/items/weapons/storage/boxes.dm @@ -440,7 +440,8 @@ /obj/item/storage/box/pillbottles/populate_contents() for(var/I in 1 to 7) - new /obj/item/storage/pill_bottle(src) + var/obj/item/storage/pill_bottle/P = new /obj/item/storage/pill_bottle(src) + P.apply_wrapper_color(I) /obj/item/storage/box/patch_packs name = "box of patch packs" @@ -449,7 +450,8 @@ /obj/item/storage/box/patch_packs/populate_contents() for(var/I in 1 to 7) - new /obj/item/storage/pill_bottle/patch_pack(src) + var/obj/item/storage/pill_bottle/P = new /obj/item/storage/pill_bottle/patch_pack(src) + P.apply_wrapper_color(I) /obj/item/storage/box/bodybags name = "body bags" diff --git a/code/game/objects/items/weapons/storage/fancy.dm b/code/game/objects/items/weapons/storage/fancy.dm index e39ce7e1dd38..8185e2a4a9cc 100644 --- a/code/game/objects/items/weapons/storage/fancy.dm +++ b/code/game/objects/items/weapons/storage/fancy.dm @@ -43,7 +43,6 @@ icon_state = "donutbox" storage_slots = 6 can_hold = list(/obj/item/food/snacks/donut) - icon_type = "donut" foldable = /obj/item/stack/sheet/cardboard foldable_amt = 1 diff --git a/code/game/objects/items/weapons/storage/firstaid.dm b/code/game/objects/items/weapons/storage/firstaid.dm index 74f094d40aea..f50cb2fc2268 100644 --- a/code/game/objects/items/weapons/storage/firstaid.dm +++ b/code/game/objects/items/weapons/storage/firstaid.dm @@ -357,6 +357,11 @@ else return ..() +/obj/item/storage/pill_bottle/proc/apply_wrapper_color(color_number) + var/static/list/colors = list(COLOR_RED, COLOR_ORANGE, COLOR_YELLOW, COLOR_GREEN, COLOR_CYAN_BLUE, COLOR_VIOLET, COLOR_PURPLE) + wrapper_color = colors[(color_number - 1) % length(colors) + 1] + apply_wrap() + /obj/item/storage/pill_bottle/patch_pack name = "patch pack" desc = "It's a container for storing medical patches." diff --git a/code/game/objects/items/weapons/tanks/jetpack.dm b/code/game/objects/items/weapons/tanks/jetpack.dm index 865861edeb01..796ee726096a 100644 --- a/code/game/objects/items/weapons/tanks/jetpack.dm +++ b/code/game/objects/items/weapons/tanks/jetpack.dm @@ -23,7 +23,7 @@ /obj/item/tank/jetpack/on_mob_move(direction, mob/user) if(on) - var/turf/T = get_step(src, reverse_direction(direction)) + var/turf/T = get_step(src, REVERSE_DIR(direction)) if(!has_gravity(T)) new /obj/effect/particle_effect/ion_trails(T, direction) diff --git a/code/game/objects/objs.dm b/code/game/objects/objs.dm index e4e4745c4d2e..a7e1a8ff76ce 100644 --- a/code/game/objects/objs.dm +++ b/code/game/objects/objs.dm @@ -1,7 +1,7 @@ /obj //var/datum/module/mod //not used var/origin_tech = null //Used by R&D to determine what research bonuses it grants. - animate_movement = 2 + animate_movement = SLIDE_STEPS var/list/species_exception = null // list() of species types, if a species cannot put items in a certain slot, but species type is in list, it will be able to wear that item var/sharp = FALSE // whether this object cuts var/in_use = FALSE // If we have a user using us, this will be set on. We will check if the user has stopped using us, and thus stop updating and LAGGING EVERYTHING! diff --git a/code/game/objects/structures/crates_lockers/closets.dm b/code/game/objects/structures/crates_lockers/closets.dm index d7b37140b43d..cb5dc18f2422 100644 --- a/code/game/objects/structures/crates_lockers/closets.dm +++ b/code/game/objects/structures/crates_lockers/closets.dm @@ -92,6 +92,10 @@ if(throwing) throwing.finalize(FALSE) +/obj/structure/closet/extinguish_light(force) + for(var/atom/A in contents) + A.extinguish_light(force) + /obj/structure/closet/proc/open() if(opened) return FALSE diff --git a/code/game/objects/structures/holosigns.dm b/code/game/objects/structures/holosigns.dm index ef57ac1f836d..4e10e0c62650 100644 --- a/code/game/objects/structures/holosigns.dm +++ b/code/game/objects/structures/holosigns.dm @@ -79,7 +79,6 @@ density = FALSE layer = ABOVE_MOB_LAYER anchored = TRUE - layer = ABOVE_MOB_LAYER alpha = 150 flags_2 = RAD_PROTECT_CONTENTS_2 | RAD_NO_CONTAMINATE_2 rad_insulation = RAD_LIGHT_INSULATION diff --git a/code/game/objects/structures/lavaland/billboard.dm b/code/game/objects/structures/lavaland/billboard.dm index 571f2899b104..8e3077387dde 100644 --- a/code/game/objects/structures/lavaland/billboard.dm +++ b/code/game/objects/structures/lavaland/billboard.dm @@ -11,7 +11,6 @@ armor = list(MELEE = 20, BULLET = 20, LASER = 20, ENERGY = 100, BOMB = 0, RAD = 0, FIRE = 50, ACID = 50) resistance_flags = LAVA_PROOF | FIRE_PROOF layer = EDGED_TURF_LAYER - resistance_flags = FIRE_PROOF blocks_emissive = FALSE var/static/list/billboard_overlay = list("chasmland", "incompatible", "feed", "warm", "adventure", "plasmaland", "gate", "gate2", "ufo", "notfriendly", "gps", "service", "protection", "diamonds", "step", "paradise", "hell") diff --git a/code/game/objects/structures/morgue.dm b/code/game/objects/structures/morgue.dm index 194ad6dd4403..ba755ab35559 100644 --- a/code/game/objects/structures/morgue.dm +++ b/code/game/objects/structures/morgue.dm @@ -472,7 +472,10 @@ GLOBAL_LIST_EMPTY(crematoriums) M.show_message("You hear a hollow crackle.", EMOTE_VISIBLE) return - + for(var/mob/living/M in search_contents_for(/mob/living)) //search for this for funny cling shenaigins first. + if(HAS_TRAIT(M, TRAIT_CLING_BURSTING)) + visible_message("The crematorium fails to start, something big is blocking the pipes!") + return for(var/mob/M in viewers(src)) M.show_message("You hear a roar as the crematorium activates.", EMOTE_VISIBLE) diff --git a/code/game/objects/structures/transit_tubes/station.dm b/code/game/objects/structures/transit_tubes/station.dm index ddfc3b8fb645..aa3e6163f755 100644 --- a/code/game/objects/structures/transit_tubes/station.dm +++ b/code/game/objects/structures/transit_tubes/station.dm @@ -50,7 +50,7 @@ tube_dirs = list(NORTH, SOUTH) if(WEST) tube_dirs = list(NORTH, SOUTH) - boarding_dir = reverse_direction(dir) + boarding_dir = REVERSE_DIR(dir) /obj/structure/transit_tube/station/should_stop_pod(obj/structure/transit_tube_pod/pod, from_dir) for(var/atom/atom in pod.contents) @@ -209,7 +209,7 @@ /obj/structure/transit_tube/station/reverse/init_tube_dirs() tube_dirs = list(turn(dir, -90)) - boarding_dir = reverse_direction(dir) + boarding_dir = REVERSE_DIR(dir) /obj/structure/transit_tube/station/reverse/flipped icon_state = "closed_terminus1" @@ -285,7 +285,7 @@ /obj/structure/transit_tube/station/dispenser/reverse/init_tube_dirs() tube_dirs = list(turn(dir, -90)) - boarding_dir = reverse_direction(dir) + boarding_dir = REVERSE_DIR(dir) /obj/structure/transit_tube/station/dispenser/reverse/flipped icon_state = "open_terminusdispenser1" diff --git a/code/game/objects/structures/transit_tubes/transit_tube_pod.dm b/code/game/objects/structures/transit_tubes/transit_tube_pod.dm index 5238ee3c56cb..4a1a1cebe743 100644 --- a/code/game/objects/structures/transit_tubes/transit_tube_pod.dm +++ b/code/game/objects/structures/transit_tubes/transit_tube_pod.dm @@ -91,7 +91,7 @@ var/move_result = move_animation(current_move_anim_mode) if(isnull(move_result)) - if(isnull(current_tube) || (!(dir in current_tube.directions()) && !(reverse_direction(dir) in current_tube.directions()))) + if(isnull(current_tube) || (!(dir in current_tube.directions()) && !(REVERSE_DIR(dir) in current_tube.directions()))) outside_tube() return PROCESS_KILL diff --git a/code/game/turfs/space/space_turf.dm b/code/game/turfs/space/space_turf.dm index 0fc08324a640..e40b3382e26a 100644 --- a/code/game/turfs/space/space_turf.dm +++ b/code/game/turfs/space/space_turf.dm @@ -16,7 +16,6 @@ var/destination_z var/destination_x var/destination_y - plane = PLANE_SPACE /turf/space/Initialize(mapload) SHOULD_CALL_PARENT(FALSE) @@ -146,7 +145,7 @@ if(itercount > 100) stack_trace("SPACE Z-TRANSIT ERROR: [A] encountered a possible infinite loop while traveling through z-levels.") break - var/turf/target_turf = get_step(current_pull.pulledby.loc, reverse_direction(current_pull.pulledby.dir)) || current_pull.pulledby.loc + var/turf/target_turf = get_step(current_pull.pulledby.loc, REVERSE_DIR(current_pull.pulledby.dir)) || current_pull.pulledby.loc ADD_TRAIT(current_pull, TRAIT_CURRENTLY_Z_MOVING, ROUNDSTART_TRAIT) current_pull.forceMove(target_turf) REMOVE_TRAIT(current_pull, TRAIT_CURRENTLY_Z_MOVING, ROUNDSTART_TRAIT) diff --git a/code/game/turfs/turf.dm b/code/game/turfs/turf.dm index e7febcbd53e5..14a953bb0ede 100644 --- a/code/game/turfs/turf.dm +++ b/code/game/turfs/turf.dm @@ -428,7 +428,7 @@ /// Returns the adjacent turfs. Can check for density or cardinal directions only instead of all 8, or just dense turfs entirely. dense_only takes precedence over open_only. /turf/proc/AdjacentTurfs(open_only = FALSE, cardinal_only = FALSE, dense_only = FALSE) - var/list/L = new() + var/list/L = list() var/turf/T var/list/directions = cardinal_only ? GLOB.cardinal : GLOB.alldirs for(var/dir in directions) diff --git a/code/modules/admin/misc_admin_procs.dm b/code/modules/admin/misc_admin_procs.dm index 7acab0730462..887dbe86b4b9 100644 --- a/code/modules/admin/misc_admin_procs.dm +++ b/code/modules/admin/misc_admin_procs.dm @@ -716,7 +716,7 @@ GLOBAL_VAR_INIT(nologevent, 0) return var/list/types = typesof(/atom) - var/list/matches = new() + var/list/matches = list() var/include_subtypes = TRUE if(copytext(object, -1) == ".") diff --git a/code/modules/antagonists/changeling/powers/apex_predator.dm b/code/modules/antagonists/changeling/powers/apex_predator.dm index 60306e115f60..038c3bd27f71 100644 --- a/code/modules/antagonists/changeling/powers/apex_predator.dm +++ b/code/modules/antagonists/changeling/powers/apex_predator.dm @@ -10,7 +10,9 @@ /datum/action/changeling/apex_predator/sting_action(mob/user) var/list/target_by_name = list() for(var/mob/living/carbon/human/possible_target as anything in GLOB.human_list) - if(!possible_target.mind || possible_target.z != user.z) + var/turf/target_turf = get_turf(possible_target) + var/turf/user_turf = get_turf(user) + if(!possible_target.mind || (target_turf.z != user_turf.z)) continue target_by_name[possible_target.real_name] = possible_target diff --git a/code/modules/antagonists/changeling/powers/become_headslug.dm b/code/modules/antagonists/changeling/powers/become_headslug.dm index c6e87864784d..09cc81901219 100644 --- a/code/modules/antagonists/changeling/powers/become_headslug.dm +++ b/code/modules/antagonists/changeling/powers/become_headslug.dm @@ -17,6 +17,7 @@ ..() /datum/action/changeling/headslug/sting_action(mob/living/user) + ADD_TRAIT(user, TRAIT_CLING_BURSTING, "last_resort") user.Weaken(30 SECONDS) user.do_jitter_animation(1000, -1) // jitter until they are gibbed user.visible_message("A loud crack erupts from [user], followed by a hiss.") @@ -30,6 +31,11 @@ /datum/action/changeling/headslug/proc/become_headslug(mob/user) var/datum/mind/M = user.mind var/list/organs = user.get_organs_zone("head", 1) + if(isobj(user.loc)) + var/obj/thing_to_break = user.loc + user.forceMove(get_turf(user)) // Get them outside of it before it breaks, to prevent issues / so they burst out of it dramatically + thing_to_break.visible_message("[user] violently explodes out of [thing_to_break], breaking it!") + thing_to_break.obj_break(BRUTE) for(var/obj/item/organ/internal/I in organs) I.remove(user, TRUE) diff --git a/code/modules/antagonists/changeling/powers/environmental_adaption.dm b/code/modules/antagonists/changeling/powers/environmental_adaption.dm new file mode 100644 index 000000000000..bd4870fd8e4e --- /dev/null +++ b/code/modules/antagonists/changeling/powers/environmental_adaption.dm @@ -0,0 +1,43 @@ +/datum/action/changeling/environmental_adaptation + name = "Environmental Adaptation" + desc = "Our skin pigmentations rapidly change to suit the environment around us. Needs 10 chemicals in-storage to toggle. Slows down our chemical regeneration by 15%" + helptext = "Allows us to darken and change the translucency of our pigmentation. \ + The translucent effect works best in dark environments and garments. Can be toggled on and off." + button_icon_state = "enviro_adaptation" + dna_cost = 2 + chemical_cost = 10 + power_type = CHANGELING_PURCHASABLE_POWER + category = /datum/changeling_power_category/utility + + req_human = TRUE + //// is ability active (we are invisible)? + var/is_active = FALSE + /// How much we slow chemical regeneration while active, in chems per second + var/recharge_slowdown = 0.15 + var/chem_recharge_slowdown = 0 + +/datum/action/changeling/environmental_adaptation/sting_action(mob/living/carbon/human/cling) //SHOULD always be human, because req_human = TRUE + ..() + is_active = !is_active + if(is_active) + enable_ability(cling) + else + disable_ability(cling) + + +/datum/action/changeling/environmental_adaptation/proc/enable_ability(mob/living/carbon/human/cling) //Enable the adaptation + animate(cling, alpha = 65, time = 3 SECONDS) + cling.visible_message("[cling]'s skin suddenly starts becoming translucent!", \ + "We adapt our pigmentation to suit the environment around us.") + var/datum/antagonist/changeling/changeling_data = cling.mind?.has_antag_datum(/datum/antagonist/changeling) + changeling_data?.chem_recharge_slowdown -= recharge_slowdown //Slows down chem regeneration + +/datum/action/changeling/environmental_adaptation/proc/disable_ability(mob/living/carbon/human/cling) //Restore the adaptation + animate(cling, alpha = 255, time = 3 SECONDS) + cling.visible_message( + "[cling] appears from thin air!", + "We stop concentration on our pigmentation, allowing it to return to normal.", + ) + animate(cling, color = null, time = 3 SECONDS) + var/datum/antagonist/changeling/changeling_data = cling.mind?.has_antag_datum(/datum/antagonist/changeling) + changeling_data?.chem_recharge_slowdown += recharge_slowdown diff --git a/code/modules/antagonists/vampire/vampire_powers/hemomancer_powers.dm b/code/modules/antagonists/vampire/vampire_powers/hemomancer_powers.dm index d0e39dff30f1..928117760216 100644 --- a/code/modules/antagonists/vampire/vampire_powers/hemomancer_powers.dm +++ b/code/modules/antagonists/vampire/vampire_powers/hemomancer_powers.dm @@ -280,7 +280,9 @@ return A /datum/spell/vampire/predator_senses/valid_target(mob/target, mob/user) - return target.z == user.z && target.mind + var/turf/target_turf = get_turf(target) + var/turf/user_turf = get_turf(user) + return target.mind && (target_turf.z == user_turf.z) /datum/spell/vampire/predator_senses/cast(list/targets, mob/user) var/targets_by_name = list() diff --git a/code/modules/antagonists/vampire/vampire_powers/vampire_powers.dm b/code/modules/antagonists/vampire/vampire_powers/vampire_powers.dm index cf69f1e52a88..7bada89589d7 100644 --- a/code/modules/antagonists/vampire/vampire_powers/vampire_powers.dm +++ b/code/modules/antagonists/vampire/vampire_powers/vampire_powers.dm @@ -248,7 +248,7 @@ // - V - Attacker facing south // - - - // Victim at 135 or more degrees of where the victim is facing. - if(attacker_dir & reverse_direction(attacker_to_victim)) + if(attacker_dir & REVERSE_DIR(attacker_to_victim)) return DEVIATION_FULL // - - - // # V # Attacker facing south diff --git a/code/modules/atmospherics/machinery/atmospherics.dm b/code/modules/atmospherics/machinery/atmospherics.dm index e904ecf86831..d1b103b57c94 100644 --- a/code/modules/atmospherics/machinery/atmospherics.dm +++ b/code/modules/atmospherics/machinery/atmospherics.dm @@ -344,6 +344,10 @@ Pipelines + Other Objects -> Pipe network /obj/machinery/atmospherics/proc/can_crawl_through() return TRUE +/obj/machinery/atmospherics/extinguish_light(force) + set_light(0) + update_icon(UPDATE_OVERLAYS) + /obj/machinery/atmospherics/proc/change_color(new_color) //only pass valid pipe colors please ~otherwise your pipe will turn invisible if(!pipe_color_check(new_color)) diff --git a/code/modules/atmospherics/machinery/other/area_atmos_computer.dm b/code/modules/atmospherics/machinery/other/area_atmos_computer.dm index df28f79e02f1..e9d8e8966eaf 100644 --- a/code/modules/atmospherics/machinery/other/area_atmos_computer.dm +++ b/code/modules/atmospherics/machinery/other/area_atmos_computer.dm @@ -5,7 +5,7 @@ icon_keyboard = "atmos_key" circuit = /obj/item/circuitboard/area_atmos - var/list/connectedscrubbers = new() + var/list/connectedscrubbers = list() var/status = "" var/range = 25 diff --git a/code/modules/client/preference/character.dm b/code/modules/client/preference/character.dm index b490ada2ba1d..0ac2807a513c 100644 --- a/code/modules/client/preference/character.dm +++ b/code/modules/client/preference/character.dm @@ -72,7 +72,7 @@ var/list/organ_data = list() var/list/rlimb_data = list() - var/list/player_alt_titles = new() // the default name of a job like "Medical Doctor" + var/list/player_alt_titles = list() // the default name of a job like "Medical Doctor" var/flavor_text = "" var/med_record = "" var/sec_record = "" diff --git a/code/modules/clothing/clothing.dm b/code/modules/clothing/clothing.dm index a4836dcdaa3d..859642517d73 100644 --- a/code/modules/clothing/clothing.dm +++ b/code/modules/clothing/clothing.dm @@ -366,6 +366,7 @@ /obj/item/clothing/head name = "head" icon = 'icons/obj/clothing/hats.dmi' + icon_override = 'icons/mob/clothing/head.dmi' body_parts_covered = HEAD slot_flags = SLOT_FLAG_HEAD var/HUDType = null diff --git a/code/modules/clothing/head/job_hats.dm b/code/modules/clothing/head/job_hats.dm index 31afd6835b53..973e9ee404e0 100644 --- a/code/modules/clothing/head/job_hats.dm +++ b/code/modules/clothing/head/job_hats.dm @@ -2,10 +2,9 @@ //Bartender /obj/item/clothing/head/chefhat name = "chef's hat" - desc = "It's a hat used by chefs to keep hair out of your food. Judging by the food in the mess, they don't work." + desc = "The commander in chef's head wear." icon_state = "chef" item_state = "chef" - desc = "The commander in chef's head wear." strip_delay = 10 put_on_delay = 10 dog_fashion = /datum/dog_fashion/head/chef diff --git a/code/modules/clothing/masks/misc_masks.dm b/code/modules/clothing/masks/misc_masks.dm index 753bf65070df..2369f6de0216 100644 --- a/code/modules/clothing/masks/misc_masks.dm +++ b/code/modules/clothing/masks/misc_masks.dm @@ -416,7 +416,6 @@ "Drask" = 'icons/mob/clothing/species/drask/mask.dmi' ) actions_types = list(/datum/action/item_action/adjust) - can_toggle = TRUE /obj/item/clothing/mask/bandana/attack_self(mob/user) adjustmask(user) diff --git a/code/modules/clothing/spacesuits/ert_hardsuits.dm b/code/modules/clothing/spacesuits/ert_hardsuits.dm index 0bcd42feb604..f59f8ece4d74 100644 --- a/code/modules/clothing/spacesuits/ert_hardsuits.dm +++ b/code/modules/clothing/spacesuits/ert_hardsuits.dm @@ -57,12 +57,11 @@ icon_state = "ert_commander" item_state = "suit-command" w_class = WEIGHT_CLASS_NORMAL - allowed = list(/obj/item/gun,/obj/item/ammo_box,/obj/item/ammo_casing,/obj/item/melee/baton,/obj/item/melee/energy/sword/saber,/obj/item/restraints/handcuffs,/obj/item/tank/internals) armor = list(MELEE = 40, BULLET = 15, LASER = 20, ENERGY = 5, BOMB = 15, RAD = 50, FIRE = 200, ACID = 200) allowed = list(/obj/item/flashlight, /obj/item/tank/internals, /obj/item/t_scanner, /obj/item/rcd, /obj/item/crowbar, \ - /obj/item/screwdriver, /obj/item/weldingtool, /obj/item/wirecutters, /obj/item/wrench, /obj/item/multitool, \ - /obj/item/radio, /obj/item/analyzer, /obj/item/gun, /obj/item/melee/baton, /obj/item/reagent_containers/spray/pepper, \ - /obj/item/ammo_box, /obj/item/ammo_casing, /obj/item/restraints/handcuffs) + /obj/item/screwdriver, /obj/item/weldingtool, /obj/item/wirecutters, /obj/item/wrench, /obj/item/multitool, \ + /obj/item/radio, /obj/item/analyzer, /obj/item/gun, /obj/item/melee/baton, /obj/item/reagent_containers/spray/pepper, \ + /obj/item/ammo_box, /obj/item/ammo_casing, /obj/item/restraints/handcuffs) helmettype = /obj/item/clothing/head/helmet/space/hardsuit/ert strip_delay = 130 resistance_flags = FIRE_PROOF @@ -106,6 +105,7 @@ /obj/item/clothing/suit/space/hardsuit/ert/security/Initialize(mapload) . = ..() + ADD_TRAIT(src, TRAIT_HYPOSPRAY_IMMUNE, ROUNDSTART_TRAIT) ADD_TRAIT(src, TRAIT_RSG_IMMUNE, ROUNDSTART_TRAIT) //Engineer @@ -155,6 +155,7 @@ /obj/item/clothing/suit/space/hardsuit/ert/medical/Initialize(mapload) . = ..() + ADD_TRAIT(src, TRAIT_HYPOSPRAY_IMMUNE, ROUNDSTART_TRAIT) ADD_TRAIT(src, TRAIT_RSG_IMMUNE, ROUNDSTART_TRAIT) //Janitor diff --git a/code/modules/clothing/spacesuits/hardsuit.dm b/code/modules/clothing/spacesuits/hardsuit.dm index 185f31f23ffc..7fd7d909473f 100644 --- a/code/modules/clothing/spacesuits/hardsuit.dm +++ b/code/modules/clothing/spacesuits/hardsuit.dm @@ -388,6 +388,7 @@ /obj/item/clothing/suit/space/hardsuit/syndi/elite/sst/Initialize(mapload) . = ..() + ADD_TRAIT(src, TRAIT_HYPOSPRAY_IMMUNE, ROUNDSTART_TRAIT) ADD_TRAIT(src, TRAIT_RSG_IMMUNE, ROUNDSTART_TRAIT) /obj/item/clothing/suit/space/hardsuit/syndi/freedom diff --git a/code/modules/clothing/spacesuits/misc_spacesuits.dm b/code/modules/clothing/spacesuits/misc_spacesuits.dm index b411f216e08d..c73074e81e14 100644 --- a/code/modules/clothing/spacesuits/misc_spacesuits.dm +++ b/code/modules/clothing/spacesuits/misc_spacesuits.dm @@ -65,6 +65,7 @@ /obj/item/clothing/suit/space/deathsquad/Initialize(mapload) . = ..() + ADD_TRAIT(src, TRAIT_HYPOSPRAY_IMMUNE, ROUNDSTART_TRAIT) ADD_TRAIT(src, TRAIT_RSG_IMMUNE, ROUNDSTART_TRAIT) /obj/item/clothing/head/helmet/space/deathsquad/beret diff --git a/code/modules/clothing/spacesuits/syndi.dm b/code/modules/clothing/spacesuits/syndi.dm index 3896aca1b324..72045a72e104 100644 --- a/code/modules/clothing/spacesuits/syndi.dm +++ b/code/modules/clothing/spacesuits/syndi.dm @@ -1,10 +1,9 @@ //Regular syndicate space suit /obj/item/clothing/head/helmet/space/syndicate name = "red space helmet" - desc = "Top secret Spess Helmet." + desc = "Has a tag on it: Totally not property of a hostile corporation, honest!" icon_state = "syndicate" item_state = "syndicate" - desc = "Has a tag on it: Totally not property of a hostile corporation, honest!" armor = list(MELEE = 35, BULLET = 50, LASER = 20, ENERGY = 10, BOMB = 20, RAD = 20, FIRE = 200, ACID = 285) sprite_sheets = list( "Grey" = 'icons/mob/clothing/species/grey/helmet.dmi', diff --git a/code/modules/clothing/suits/armor_suits.dm b/code/modules/clothing/suits/armor_suits.dm index f57c9fecf167..7e7d3aa5eb2c 100644 --- a/code/modules/clothing/suits/armor_suits.dm +++ b/code/modules/clothing/suits/armor_suits.dm @@ -19,7 +19,8 @@ name = "armor" desc = "An armored vest that protects against some damage." sprite_sheets = list( - "Grey" = 'icons/mob/clothing/species/grey/suit.dmi' + "Grey" = 'icons/mob/clothing/species/grey/suit.dmi', + "Vox" = 'icons/mob/clothing/species/vox/suit.dmi' ) icon_state = "armor" item_state = "armor" @@ -44,7 +45,8 @@ name = "security armor" desc = "An armored vest that protects against some damage. This one has a clip for a holobadge." sprite_sheets = list( - "Grey" = 'icons/mob/clothing/species/grey/suit.dmi' + "Grey" = 'icons/mob/clothing/species/grey/suit.dmi', + "Vox" = 'icons/mob/clothing/species/vox/suit.dmi' ) icon_state = "armor" item_state = "armor" @@ -90,7 +92,8 @@ name = "blueshield's security armor" desc = "An armored vest with the badge of a Blueshield." sprite_sheets = list( - "Grey" = 'icons/mob/clothing/species/grey/suit.dmi' + "Grey" = 'icons/mob/clothing/species/grey/suit.dmi', + "Vox" = 'icons/mob/clothing/species/vox/suit.dmi' ) icon_state = "blueshield" item_state = "blueshield" @@ -275,7 +278,8 @@ icon_state = "knight_green" item_state = "knight_green" slowdown = 1 - sprite_sheets = list() + sprite_sheets = list("Vox" = 'icons/mob/clothing/species/vox/suit.dmi') + hide_tail_by_species = list("Vox") /obj/item/clothing/suit/armor/riot/knight/yellow icon_state = "knight_yellow" @@ -372,7 +376,8 @@ name = "armor" desc = "An armored vest with a detective's badge on it." sprite_sheets = list( - "Grey" = 'icons/mob/clothing/species/grey/suit.dmi' + "Grey" = 'icons/mob/clothing/species/grey/suit.dmi', + "Vox" = 'icons/mob/clothing/species/vox/suit.dmi' ) icon_state = "detective-armor" item_state = "armor" diff --git a/code/modules/clothing/under/costumes.dm b/code/modules/clothing/under/costumes.dm index d24d0545a05a..6593a1c96d64 100644 --- a/code/modules/clothing/under/costumes.dm +++ b/code/modules/clothing/under/costumes.dm @@ -173,7 +173,6 @@ name = "tourist outfit" desc = "A light blue shirt with brown shorts. Feels oddly spooky." icon_state = "tourist" - icon_state = "tourist" item_color = "tourist" /obj/item/clothing/under/costume/singery diff --git a/code/modules/economy/economy_machinery/atm.dm b/code/modules/economy/economy_machinery/atm.dm index c38a4600d0ec..c63ca7db88c0 100644 --- a/code/modules/economy/economy_machinery/atm.dm +++ b/code/modules/economy/economy_machinery/atm.dm @@ -4,7 +4,7 @@ #define ATM_SCREEN_LOGS 3 #define PRINT_DELAY (30 SECONDS) -#define LOCKOUT_TIME (10 SECONDS) +#define LOCKOUT_TIME (10 MINUTES) /obj/machinery/economy/atm name = "Nanotrasen automatic teller machine" @@ -214,7 +214,6 @@ . = TRUE /obj/machinery/economy/atm/proc/attempt_login(account_number, account_pin, mob/user) - var/account_to_attempt = account_number ? account_number : held_card?.associated_account_number if(!account_to_attempt) to_chat(user, "[bicon(src)]Authentification Failure: Account number not found.") @@ -225,6 +224,14 @@ to_chat(user, "[bicon(src)]Authentification Failure: User Account Not Found.") return FALSE + if(login_attempts >= 3) + if(lockout_time < world.time) + login_attempts = 0 + else + account_database.log_account_action(user_account, 0, "Unauthorised login attempt", name, log_on_database = FALSE) + unauthorized(user) + return FALSE + if(attempt_account_authentification(user_account, account_pin, user)) authenticated_account = user_account RegisterSignal(authenticated_account, COMSIG_PARENT_QDELETING, PROC_REF(clear_account)) @@ -235,14 +242,19 @@ return TRUE //else failed login - login_attempts++ account_database.log_account_action(user_account, 0, "Unauthorised login attempt", name, log_on_database = FALSE) - to_chat(user, "[bicon(src)]Incorrect pin/account combination entered, [3 - login_attempts] attempt\s remaining.") if(login_attempts >= 3) - playsound(src, 'sound/machines/buzz-two.ogg', 50, TRUE) - view_screen = ATM_SCREEN_DEFAULT + unauthorized(user) lockout_time = world.time + LOCKOUT_TIME + else + playsound(src, 'sound/machines/buzz-two.ogg', 50, TRUE) + to_chat(user, "[bicon(src)]Incorrect pin/account combination entered, [3 - login_attempts] attempt\s remaining.") + +/obj/machinery/economy/atm/proc/unauthorized(user) + to_chat(user, "[bicon(src)]Account is locked due to too many incorrect login attempts. Try again later.") + playsound(src, 'sound/machines/buzz-two.ogg', 50, TRUE) + view_screen = ATM_SCREEN_DEFAULT /obj/machinery/economy/atm/proc/logout() clear_account() diff --git a/code/modules/events/disease_outbreak.dm b/code/modules/events/disease_outbreak.dm index e54f1d2d0d30..d039572e45be 100644 --- a/code/modules/events/disease_outbreak.dm +++ b/code/modules/events/disease_outbreak.dm @@ -4,7 +4,7 @@ GLOBAL_LIST_EMPTY(current_pending_diseases) var/datum/disease/chosen_disease var/list/disease_blacklist = list(/datum/disease/advance, /datum/disease/appendicitis, /datum/disease/kuru, /datum/disease/critical, /datum/disease/rhumba_beat, /datum/disease/fake_gbs, - /datum/disease/gbs, /datum/disease/transformation, /datum/disease/food_poisoning, /datum/disease/berserker) + /datum/disease/gbs, /datum/disease/transformation, /datum/disease/food_poisoning, /datum/disease/berserker, /datum/disease/zombie) var/static/list/transmissable_symptoms = list() var/static/list/diseases_minor = list() var/static/list/diseases_moderate_major = list() diff --git a/code/modules/events/event.dm b/code/modules/events/event.dm index 8d1d4e03da35..9a3213d75eb8 100644 --- a/code/modules/events/event.dm +++ b/code/modules/events/event.dm @@ -91,6 +91,7 @@ * Ensure no sleep is called. Use INVOKE_ASYNC to call procs which do. */ /datum/event/proc/start() + SHOULD_NOT_SLEEP(TRUE) return /** @@ -101,6 +102,7 @@ * Ensure no sleep is called. Use INVOKE_ASYNC to call procs which do. */ /datum/event/proc/announce(false_alarm = FALSE) + SHOULD_NOT_SLEEP(TRUE) return /** @@ -112,6 +114,7 @@ * Ensure no sleep is called. Use INVOKE_ASYNC to call procs which do. */ /datum/event/proc/tick() + SHOULD_NOT_SLEEP(TRUE) return /** @@ -125,6 +128,7 @@ * Ensure no sleep is called. Use INVOKE_ASYNC to call procs which do. */ /datum/event/proc/end() + SHOULD_NOT_SLEEP(TRUE) return /** diff --git a/code/modules/food_and_drinks/kitchen_machinery/gibber.dm b/code/modules/food_and_drinks/kitchen_machinery/gibber.dm index 3ebf97c64ec3..8ad5a5a81cee 100644 --- a/code/modules/food_and_drinks/kitchen_machinery/gibber.dm +++ b/code/modules/food_and_drinks/kitchen_machinery/gibber.dm @@ -233,6 +233,10 @@ visible_message("You hear a loud metallic grinding sound.") return + if(HAS_TRAIT(occupant, TRAIT_CLING_BURSTING)) + visible_message("[src] jams up as [occupant]'s corpse rapidly grows in size...") + return + use_power(1000) visible_message("You hear a loud squelchy grinding sound.") diff --git a/code/modules/hydroponics/grown/nettle.dm b/code/modules/hydroponics/grown/nettle.dm index 07f9db551e33..d9c4adbd991d 100644 --- a/code/modules/hydroponics/grown/nettle.dm +++ b/code/modules/hydroponics/grown/nettle.dm @@ -32,10 +32,9 @@ /obj/item/grown/nettle name = "nettle" desc = "It's probably not wise to touch it with bare hands..." - icon = 'icons/obj/items.dmi' + icon = 'icons/obj/weapons/melee.dmi' lefthand_file = 'icons/mob/inhands/weapons_lefthand.dmi' righthand_file = 'icons/mob/inhands/weapons_righthand.dmi' - icon = 'icons/obj/weapons/melee.dmi' icon_state = "nettle" damtype = "fire" force = 15 diff --git a/code/modules/hydroponics/plant_genes.dm b/code/modules/hydroponics/plant_genes.dm index 95b53c40d64c..226d47129a90 100644 --- a/code/modules/hydroponics/plant_genes.dm +++ b/code/modules/hydroponics/plant_genes.dm @@ -444,7 +444,7 @@ dangerous = TRUE /datum/plant_gene/trait/smoke/on_squash(obj/item/food/snacks/grown/G, atom/target) - var/datum/effect_system/smoke_spread/chem/S = new + var/datum/effect_system/smoke_spread/chem/plant/S = new() var/splat_location = get_turf(target) var/smoke_amount = round(sqrt(G.seed.potency * 0.1), 1) S.set_up(G.reagents, splat_location) diff --git a/code/modules/maze_generation/maze_generator.dm b/code/modules/maze_generation/maze_generator.dm index 447017b4aa40..7891393482f9 100644 --- a/code/modules/maze_generation/maze_generator.dm +++ b/code/modules/maze_generation/maze_generator.dm @@ -120,7 +120,7 @@ // On both tiles for(var/obj/structure/window/reinforced/mazeglass/W in T3) - if(W.dir == reverse_direction(text2num(D))) + if(W.dir == REVERSE_DIR(text2num(D))) qdel(W) // Mark as visited diff --git a/code/modules/maze_generation/maze_generator_blockwise.dm b/code/modules/maze_generation/maze_generator_blockwise.dm index f6905bd11449..21d1388d8b06 100644 --- a/code/modules/maze_generation/maze_generator_blockwise.dm +++ b/code/modules/maze_generation/maze_generator_blockwise.dm @@ -68,7 +68,7 @@ var/turf/T3 = unvisited_neighbours["[D]"] // Pick random dir turf // Remove the color between the two - var/turf/T4 = get_step(T3, reverse_direction(text2num(D))) + var/turf/T4 = get_step(T3, REVERSE_DIR(text2num(D))) T4?.color = MAZEGEN_TURF_CELL // Mark as visited diff --git a/code/modules/mining/equipment/explorer_gear.dm b/code/modules/mining/equipment/explorer_gear.dm index a8dd6585c650..9eadbe5e2a7e 100644 --- a/code/modules/mining/equipment/explorer_gear.dm +++ b/code/modules/mining/equipment/explorer_gear.dm @@ -109,7 +109,7 @@ gas_transfer_coefficient = 0.90 permeability_coefficient = 0.50 body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|FEET|ARMS|HANDS - allowed = list(/obj/item/flashlight,/obj/item/tank/internals/emergency_oxygen,/obj/item/extinguisher) + allowed = list(/obj/item/flashlight, /obj/item/tank/internals, /obj/item/resonator, /obj/item/mining_scanner, /obj/item/t_scanner/adv_mining_scanner, /obj/item/gun/energy/kinetic_accelerator, /obj/item/pickaxe) slowdown = 1 armor = list(MELEE = 10, BULLET = 5, LASER = 10, ENERGY = 5, BOMB = 50, RAD = 10, FIRE = 50, ACID = 50) flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT|HIDETAIL @@ -119,7 +119,6 @@ min_cold_protection_temperature = FIRE_SUIT_MIN_TEMP_PROTECT strip_delay = 60 put_on_delay = 60 - allowed = list(/obj/item/flashlight, /obj/item/tank/internals, /obj/item/resonator, /obj/item/mining_scanner, /obj/item/t_scanner/adv_mining_scanner, /obj/item/gun/energy/kinetic_accelerator, /obj/item/pickaxe) resistance_flags = FIRE_PROOF hide_tail_by_species = list("Vox" , "Vulpkanin" , "Unathi" , "Tajaran") diff --git a/code/modules/mining/equipment/regenerative_core.dm b/code/modules/mining/equipment/regenerative_core.dm index 2df3f2bd9fcc..b592a93b3bc6 100644 --- a/code/modules/mining/equipment/regenerative_core.dm +++ b/code/modules/mining/equipment/regenerative_core.dm @@ -29,6 +29,8 @@ actions_types = list(/datum/action/item_action/organ_action/use) var/inert = 0 var/preserved = 0 + ///Is this a hivelord or legion core? + var/core_type = "Hivelord" /obj/item/organ/internal/regenerative_core/Initialize(mapload) . = ..() @@ -84,7 +86,7 @@ else to_chat(user, "You start to smear [src] on yourself. Disgusting tendrils hold you together and allow you to keep moving, but for how long?") SSblackbox.record_feedback("nested tally", "hivelord_core", 1, list("[type]", "used", "self")) - H.apply_status_effect(STATUS_EFFECT_REGENERATIVE_CORE) + H.apply_status_effect(STATUS_EFFECT_REGENERATIVE_CORE, core_type) user.drop_item() qdel(src) @@ -115,6 +117,7 @@ /obj/item/organ/internal/regenerative_core/legion desc = "A strange rock that crackles with power. It can be used to heal completely, but it will rapidly decay into uselessness." icon_state = "legion_soul" + core_type = "Legion" /obj/item/organ/internal/regenerative_core/legion/Initialize(mapload) . = ..() diff --git a/code/modules/mining/lavaland/loot/colossus_loot.dm b/code/modules/mining/lavaland/loot/colossus_loot.dm index 7c2002d27065..f57453a9e307 100644 --- a/code/modules/mining/lavaland/loot/colossus_loot.dm +++ b/code/modules/mining/lavaland/loot/colossus_loot.dm @@ -258,7 +258,7 @@ response_help = "waves away" response_disarm = "brushes aside" response_harm = "disrupts" - speak_emote = list("oscillates") + speak_emote = list("warps") maxHealth = 2 health = 2 harm_intent_damage = 1 @@ -270,14 +270,13 @@ ventcrawler = VENTCRAWLER_ALWAYS mob_size = MOB_SIZE_TINY gold_core_spawnable = HOSTILE_SPAWN - speak_emote = list("warps") + damage_coeff = list(BRUTE = 1, BURN = 1, TOX = 0, CLONE = 0, STAMINA = 0, OXY = 0) luminosity = 4 faction = list("neutral") universal_understand = TRUE del_on_death = TRUE unsuitable_atmos_damage = 0 - flying = TRUE minbodytemp = 0 maxbodytemp = 1500 environment_smash = 0 diff --git a/code/modules/mob/dead/observer/observer_base.dm b/code/modules/mob/dead/observer/observer_base.dm index c9c1d3e460f9..5ec9311df787 100644 --- a/code/modules/mob/dead/observer/observer_base.dm +++ b/code/modules/mob/dead/observer/observer_base.dm @@ -40,7 +40,6 @@ GLOBAL_DATUM_INIT(ghost_crew_monitor, /datum/ui_module/crew_monitor/ghost, new) var/gas_scan = FALSE ///toggle for ghost plant analyzer var/plant_analyzer = FALSE - var/datum/orbit_menu/orbit_menu /// The "color" their runechat would have had var/alive_runechat_color = "#FFFFFF" /// UID of the mob which we are currently observing @@ -116,9 +115,6 @@ GLOBAL_DATUM_INIT(ghost_crew_monitor, /datum/ui_module/crew_monitor/ghost, new) GLOB.ghost_images -= ghostimage QDEL_NULL(ghostimage) updateallghostimages() - if(orbit_menu) - SStgui.close_uis(orbit_menu) - QDEL_NULL(orbit_menu) if(seerads) STOP_PROCESSING(SSobj, src) remove_observer_verbs() @@ -500,10 +496,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp set name = "Orbit" // "Haunt" set desc = "Follow and orbit a mob." - if(!orbit_menu) - orbit_menu = new(src) - - orbit_menu.ui_interact(src) + GLOB.orbit_menu.ui_interact(src) /mob/dead/observer/verb/crew_monitor() set category = "Ghost" diff --git a/code/modules/mob/dead/observer/orbit.dm b/code/modules/mob/dead/observer/orbit.dm index 1f002db0a954..79cbaac0bb19 100644 --- a/code/modules/mob/dead/observer/orbit.dm +++ b/code/modules/mob/dead/observer/orbit.dm @@ -1,10 +1,6 @@ -/datum/orbit_menu - var/mob/dead/observer/owner +GLOBAL_DATUM_INIT(orbit_menu, /datum/orbit_menu, new) -/datum/orbit_menu/New(mob/dead/observer/new_owner) - if(!istype(new_owner)) - qdel(src) - owner = new_owner +/datum/orbit_menu /datum/orbit_menu/ui_state(mob/user) return GLOB.observer_state @@ -33,10 +29,11 @@ if(poi == null) . = TRUE return - owner.ManualFollow(poi) + var/mob/dead/observer/ghost = ui.user + ghost.ManualFollow(poi) . = TRUE if("refresh") - update_static_data(owner, ui) + update_static_data(ui.user, ui) . = TRUE /datum/orbit_menu/ui_static_data(mob/user) @@ -47,6 +44,7 @@ var/list/response_teams = list() var/list/antagonists = list() var/list/dead = list() + var/list/ssd = list() var/list/ghosts = list() var/list/misc = list() var/list/npcs = list() @@ -82,9 +80,12 @@ npcs += list(serialized) else if(M.stat == DEAD) dead += list(serialized) + else if(!M.client) // this includes mobs which ghosted, but aren't `player_logged`, so that the Alive count is more accurate + ssd += list(serialized) else if(length(orbiters) >= 0.2 * length_of_ghosts) // They're important if 20% of observers are watching them highlights += list(serialized) + serialized["ssd"] = !M.client alive += list(serialized) var/datum/mind/mind = M.mind @@ -166,6 +167,7 @@ data["highlights"] = highlights data["response_teams"] = response_teams data["alive"] = alive + data["ssd"] = ssd data["dead"] = dead data["ghosts"] = ghosts data["misc"] = misc diff --git a/code/modules/mob/living/brain/MMI.dm b/code/modules/mob/living/brain/MMI.dm index 7a0acac7751d..cf4d1c2570fb 100644 --- a/code/modules/mob/living/brain/MMI.dm +++ b/code/modules/mob/living/brain/MMI.dm @@ -5,7 +5,6 @@ icon = 'icons/obj/assemblies.dmi' icon_state = "mmi_empty" w_class = WEIGHT_CLASS_NORMAL - origin_tech = "biotech=3" origin_tech = "biotech=2;programming=3;engineering=2" //Revised. Brainmob is now contained directly within object of transfer. MMI in this case. diff --git a/code/modules/mob/living/brain/living_brain.dm b/code/modules/mob/living/brain/living_brain.dm index 5ad1d5ac57d0..397e65b1b7c7 100644 --- a/code/modules/mob/living/brain/living_brain.dm +++ b/code/modules/mob/living/brain/living_brain.dm @@ -18,14 +18,16 @@ return ..() /mob/living/brain/say_understands(other)//Goddamn is this hackish, but this say code is so odd - if(!ismob(other)) - return ..() if(issilicon(other)) return istype(container, /obj/item/mmi) if(ishuman(other)) return TRUE if(isslime(other)) return TRUE + if(isbrain(other)) + return TRUE + + return ..() /mob/living/brain/ex_act() //you cant blow up brainmobs because it makes transfer_to() freak out when borgs blow up. return diff --git a/code/modules/mob/living/carbon/carbon_life.dm b/code/modules/mob/living/carbon/carbon_life.dm index 27ca9cd42d3b..bcbe21148121 100644 --- a/code/modules/mob/living/carbon/carbon_life.dm +++ b/code/modules/mob/living/carbon/carbon_life.dm @@ -248,13 +248,9 @@ /mob/living/carbon/handle_status_effects() ..() if(stam_regen_start_time <= world.time) - if(stam_paralyzed) - update_stamina() if(staminaloss) - setStaminaLoss(0, FALSE) + setStaminaLoss(0) SEND_SIGNAL(src, COMSIG_CARBON_STAMINA_REGENERATED) - update_stamina_hud() - update_health_hud() // Keep SSD people asleep if(player_logged) diff --git a/code/modules/mob/living/carbon/human/appearance.dm b/code/modules/mob/living/carbon/human/appearance.dm index 0d27033de48b..39760db276ef 100644 --- a/code/modules/mob/living/carbon/human/appearance.dm +++ b/code/modules/mob/living/carbon/human/appearance.dm @@ -348,7 +348,7 @@ SEND_SIGNAL(src, COMSIG_HUMAN_UPDATE_DNA) /mob/living/carbon/human/proc/generate_valid_species(check_whitelist = TRUE, list/whitelist = list(), list/blacklist = list()) - var/list/valid_species = new() + var/list/valid_species = list() for(var/current_species_name in GLOB.all_species) if(check_whitelist && !check_rights(R_ADMIN, FALSE, src)) //If we're using the whitelist, make sure to check it! if(length(whitelist) && !(current_species_name in whitelist)) @@ -363,7 +363,7 @@ return sortTim(valid_species, GLOBAL_PROC_REF(cmp_text_asc)) /mob/living/carbon/human/proc/generate_valid_hairstyles() - var/list/valid_hairstyles = new() + var/list/valid_hairstyles = list() var/obj/item/organ/external/head/H = get_organ("head") if(!H) return //No head, no hair. @@ -389,7 +389,7 @@ return sortTim(valid_hairstyles, GLOBAL_PROC_REF(cmp_text_asc)) /mob/living/carbon/human/proc/generate_valid_facial_hairstyles() - var/list/valid_facial_hairstyles = new() + var/list/valid_facial_hairstyles = list() var/obj/item/organ/external/head/H = get_organ("head") if(!H) return //No head, no hair. @@ -416,7 +416,7 @@ return sortTim(valid_facial_hairstyles, GLOBAL_PROC_REF(cmp_text_asc)) /mob/living/carbon/human/proc/generate_valid_head_accessories() - var/list/valid_head_accessories = new() + var/list/valid_head_accessories = list() var/obj/item/organ/external/head/H = get_organ("head") if(!H) return //No head, no head accessory. @@ -431,7 +431,7 @@ return sortTim(valid_head_accessories, GLOBAL_PROC_REF(cmp_text_asc)) /mob/living/carbon/human/proc/generate_valid_markings(location = "body") - var/list/valid_markings = new() + var/list/valid_markings = list() var/obj/item/organ/external/head/H = get_organ("head") if(!H && location == "head") return //No head, no head markings. diff --git a/code/modules/mob/living/carbon/human/human_defense.dm b/code/modules/mob/living/carbon/human/human_defense.dm index 455d8a2486a2..a67255511472 100644 --- a/code/modules/mob/living/carbon/human/human_defense.dm +++ b/code/modules/mob/living/carbon/human/human_defense.dm @@ -93,6 +93,9 @@ emp_act return var/obj/item/organ/external/S = bodyparts_by_name[user.zone_selected] if(!S) + if(ismachineperson(src)) + to_chat(user, "[p_they(TRUE)] [p_are()] missing that limb!") + return TRUE return if(!S.is_robotic() || S.open == ORGAN_SYNTHETIC_OPEN) return diff --git a/code/modules/mob/living/carbon/human/human_emote.dm b/code/modules/mob/living/carbon/human/human_emote.dm index 791cb2e9f57a..7b16e54d4d1b 100644 --- a/code/modules/mob/living/carbon/human/human_emote.dm +++ b/code/modules/mob/living/carbon/human/human_emote.dm @@ -38,7 +38,6 @@ hands_use_check = TRUE /datum/emote/living/carbon/human/clap - key = "clap" key = "clap" key_third_person = "claps" message = "хлопает." diff --git a/code/modules/mob/living/carbon/human/human_update_icons.dm b/code/modules/mob/living/carbon/human/human_update_icons.dm index 99edc8d9be80..8dcfb3ee449a 100644 --- a/code/modules/mob/living/carbon/human/human_update_icons.dm +++ b/code/modules/mob/living/carbon/human/human_update_icons.dm @@ -1492,7 +1492,7 @@ GLOBAL_LIST_EMPTY(damage_icon_parts) update_body() /mob/living/carbon/human/proc/get_overlays_copy(list/unwantedLayers) - var/list/out = new + var/list/out = list() for(var/i=1;i<=TOTAL_LAYERS;i++) if(overlays_standing[i]) if(i in unwantedLayers) diff --git a/code/modules/mob/living/carbon/human/species/golem.dm b/code/modules/mob/living/carbon/human/species/golem.dm index 416a9f2b73d5..169d9bcc28bd 100644 --- a/code/modules/mob/living/carbon/human/species/golem.dm +++ b/code/modules/mob/living/carbon/human/species/golem.dm @@ -439,7 +439,7 @@ /datum/species/golem/bluespace/proc/reactive_teleport(mob/living/carbon/human/H) H.visible_message("[H] teleports!", "You destabilize and teleport!") - var/list/turfs = new/list() + var/list/turfs = list() for(var/turf/T in orange(tele_range, H)) if(T.density) continue @@ -521,7 +521,7 @@ /datum/action/innate/unstable_teleport/proc/teleport(mob/living/carbon/human/H) activated = FALSE H.visible_message("[H] teleports!", "You teleport!") - var/list/turfs = new/list() + var/list/turfs = list() for(var/turf/T in orange(tele_range, H)) if(isspaceturf(T)) continue diff --git a/code/modules/mob/living/carbon/human/species/moth.dm b/code/modules/mob/living/carbon/human/species/moth.dm index 814a07ce8db1..51b4931fcf3a 100644 --- a/code/modules/mob/living/carbon/human/species/moth.dm +++ b/code/modules/mob/living/carbon/human/species/moth.dm @@ -8,16 +8,18 @@ name = "Nian" name_plural = "Nianae" language = "Tkachi" - icobase = 'icons/mob/human_races/r_moth.dmi' + icobase = 'icons/mob/human_races/nian/r_moth.dmi' inherent_factions = list("nian") - species_traits = list(NO_HAIR) + species_traits = list() inherent_biotypes = MOB_ORGANIC | MOB_HUMANOID | MOB_BUG clothing_flags = HAS_UNDERWEAR | HAS_UNDERSHIRT | HAS_SOCKS - bodyflags = HAS_HEAD_ACCESSORY | HAS_HEAD_MARKINGS | HAS_BODY_MARKINGS | HAS_WING | BALD | SHAVED + bodyflags = HAS_HEAD_ACCESSORY | HAS_HEAD_MARKINGS | HAS_BODY_MARKINGS | HAS_WING | SHAVED | HAS_ICON_SKIN_TONE reagent_tag = PROCESS_ORG dietflags = DIET_HERB tox_mod = 1.5 + blood_color = "#b9ae9c" + unarmed_type = /datum/unarmed_attack/claws scream_verb = "buzzes" male_scream_sound = 'sound/voice/scream_moth.ogg' @@ -33,6 +35,13 @@ В отличие от большинства видов в галактике, Нианы не признают власть Транс-Солнечной Федерации, \ установив вместо этого тесные дипломатические отношения с Союзом Советских Социалистических Планет." + icon_skin_tones = list( + 1 = "Default Biege", + 2 = "Lighter", + 3 = "Darker", + 4 = "Purple" + ) + has_organ = list( "heart" = /obj/item/organ/internal/heart/nian, "lungs" = /obj/item/organ/internal/lungs/nian, @@ -51,6 +60,20 @@ "is ripping their wings off!", "is holding their breath!" ) +/datum/species/moth/updatespeciescolor(mob/living/carbon/human/H, owner_sensitive = 1) //Handling species-specific skin-tones for the nian race. + if(H.dna.species.bodyflags & HAS_ICON_SKIN_TONE) + var/new_icobase = 'icons/mob/human_races/nian/r_moth.dmi' //Default nian. + switch(H.s_tone) + if(4) //Purple Nian. + new_icobase = 'icons/mob/human_races/nian/r_moth_purple.dmi' + if(3) //Darker Nian. + new_icobase = 'icons/mob/human_races/nian/r_moth_dark.dmi' + if(2) //Lighter Nian. + new_icobase = 'icons/mob/human_races/nian/r_moth_cream.dmi' + else //Default. + new_icobase = 'icons/mob/human_races/nian/r_moth.dmi' + + H.change_icobase(new_icobase, owner_sensitive) //Update the icobase of all our organs, but make sure we don't mess with frankenstein limbs in doing so. /datum/species/moth/on_species_gain(mob/living/carbon/human/H) @@ -81,7 +104,8 @@ return ..() /datum/species/moth/get_species_runechat_color(mob/living/carbon/human/H) - return H.m_colours["body"] + var/obj/item/organ/internal/eyes/E = H.get_int_organ(/obj/item/organ/internal/eyes) + return E.eye_color /datum/species/moth/spec_attacked_by(obj/item/I, mob/living/user, obj/item/organ/external/affecting, intent, mob/living/carbon/human/H) if(istype(I, /obj/item/melee/flyswatter) && I.force) diff --git a/code/modules/mob/living/living_defense.dm b/code/modules/mob/living/living_defense.dm index f41bcdc54ca5..b5690c9e83d1 100644 --- a/code/modules/mob/living/living_defense.dm +++ b/code/modules/mob/living/living_defense.dm @@ -67,10 +67,6 @@ "You evade [hitting_projectile]!", ) playsound(source, pick('sound/weapons/bulletflyby.ogg', 'sound/weapons/bulletflyby2.ogg', 'sound/weapons/bulletflyby3.ogg'), 75, TRUE) - var/dir_to_avoid = angle2dir_cardinal(hitting_projectile.Angle) - var/list/potential_first_directions = list(NORTH, SOUTH, EAST, WEST) - potential_first_directions -= dir_to_avoid - step(source, pick(potential_first_directions)) // Chance to dodge multiple shotgun spreads, but not likely. Mainly: Infinite loop prevention from admins setting it to 100 and doing something stupid. // If you want to set your dodge chance to 100 on a subtype, no issue: Just make sure the subtype does not step in a direction, otherwise you'll have the mob move a large distance to dodge rubbershot. if(prob(50)) diff --git a/code/modules/mob/living/living_emote.dm b/code/modules/mob/living/living_emote.dm index 2212fe0a689f..24d6861e4bc6 100644 --- a/code/modules/mob/living/living_emote.dm +++ b/code/modules/mob/living/living_emote.dm @@ -73,10 +73,9 @@ muzzle_ignore = TRUE // makes sure that sound is played upon death bypass_unintentional_cooldown = TRUE // again, this absolutely MUST play when a user dies, if it can. message = "цепенеет и расслабляется, взгляд становится пустым и безжизненным..." - message_alien = "цепенеет и расслабляется, взгляд становится пустым и безжизненным..." + message_alien = "издает затихающий гортанный визг, из его пасти пузырится зеленая кровь..." message_robot = "издаёт короткую серию пронзительных звуковых сигналов, вздрагивает и падает, не функционируя." message_AI = "скрипит, мерцая экраном, пока системы медленно выключаются." - message_alien = "издает ослабевающий крик, зеленая кровь пузырится из пасти..." message_larva = "с тошнотворным шипением выдыхает воздух и падает на пол..." message_monkey = "издаёт слабый визг, падает и перестаёт двигаться..." message_simple = "перестаёт двигаться..." diff --git a/code/modules/mob/living/silicon/robot/robot_damage.dm b/code/modules/mob/living/silicon/robot/robot_damage.dm index 9b67e2ce0524..60dbb3982185 100644 --- a/code/modules/mob/living/silicon/robot/robot_damage.dm +++ b/code/modules/mob/living/silicon/robot/robot_damage.dm @@ -49,7 +49,7 @@ return parts /mob/living/silicon/robot/proc/get_damageable_components() - var/list/rval = new + var/list/rval = list() for(var/V in components) var/datum/robot_component/C = components[V] if(C.installed) diff --git a/code/modules/mob/living/silicon/silicon_laws.dm b/code/modules/mob/living/silicon/silicon_laws.dm index a86455ea0944..d8659cea92e6 100644 --- a/code/modules/mob/living/silicon/silicon_laws.dm +++ b/code/modules/mob/living/silicon/silicon_laws.dm @@ -112,7 +112,7 @@ return 0 /mob/living/silicon/proc/law_channels() - var/list/channels = new() + var/list/channels = list() channels += MAIN_CHANNEL var/obj/item/radio/radio = get_radio() channels += radio.channels diff --git a/code/modules/mob/living/simple_animal/bot/ed209bot.dm b/code/modules/mob/living/simple_animal/bot/ed209bot.dm index 375e0c6325eb..b9f24cb07373 100644 --- a/code/modules/mob/living/simple_animal/bot/ed209bot.dm +++ b/code/modules/mob/living/simple_animal/bot/ed209bot.dm @@ -185,13 +185,10 @@ /mob/living/simple_animal/bot/ed209/attackby(obj/item/W, mob/user, params) ..() - if(istype(W, /obj/item/weldingtool) && user.a_intent != INTENT_HARM) // Any intent but harm will heal, so we shouldn't get angry. - return - if(!isscrewdriver(W) && !locked && (!target)) //If the target is locked, they are recieving damage from the screwdriver - if(W.force && W.damtype != STAMINA)//If force is non-zero and damage type isn't stamina. - retaliate(user) - if(lasercolor)//To make up for the fact that lasertag bots don't hunt - shootAt(user) + if(W.force && !target && W.damtype != STAMINA) + retaliate(user) + if(lasercolor)//To make up for the fact that lasertag bots don't hunt + shootAt(user) /mob/living/simple_animal/bot/ed209/emag_act(mob/user) ..() @@ -476,7 +473,7 @@ pulse2.anchored = TRUE pulse2.dir = pick(GLOB.cardinal) QDEL_IN(pulse2, 1 SECONDS) - var/list/mob/living/carbon/targets = new + var/list/mob/living/carbon/targets = list() for(var/mob/living/carbon/C in view(12,src)) if(C.stat==2) continue diff --git a/code/modules/mob/living/simple_animal/bot/mulebot.dm b/code/modules/mob/living/simple_animal/bot/mulebot.dm index 7279c47e4d27..517ee862abbc 100644 --- a/code/modules/mob/living/simple_animal/bot/mulebot.dm +++ b/code/modules/mob/living/simple_animal/bot/mulebot.dm @@ -12,7 +12,7 @@ icon_state = "mulebot0" density = TRUE move_resist = MOVE_FORCE_STRONG - animate_movement = 1 + animate_movement = FORWARD_STEPS health = 50 maxHealth = 50 damage_coeff = list(BRUTE = 0.5, BURN = 0.7, TOX = 0, CLONE = 0, STAMINA = 0, OXY = 0) diff --git a/code/modules/mob/living/simple_animal/bot/secbot.dm b/code/modules/mob/living/simple_animal/bot/secbot.dm index 189db94e45df..b1c774fa47ae 100644 --- a/code/modules/mob/living/simple_animal/bot/secbot.dm +++ b/code/modules/mob/living/simple_animal/bot/secbot.dm @@ -193,8 +193,6 @@ /mob/living/simple_animal/bot/secbot/attackby(obj/item/W, mob/user, params) ..() - if(istype(W, /obj/item/weldingtool) && user.a_intent != INTENT_HARM) // Any intent but harm will heal, so we shouldn't get angry. - return if(W.force && !target && W.damtype != STAMINA) retaliate(user) diff --git a/code/modules/mob/living/simple_animal/hostile/megafauna/bubblegum.dm b/code/modules/mob/living/simple_animal/hostile/megafauna/bubblegum.dm index 09585012a392..a57e877d5b0c 100644 --- a/code/modules/mob/living/simple_animal/hostile/megafauna/bubblegum.dm +++ b/code/modules/mob/living/simple_animal/hostile/megafauna/bubblegum.dm @@ -589,7 +589,6 @@ Difficulty: Hard maxHealth = 1 alpha = 127.5 crusher_loot = null - loot = null medal_type = null score_type = null deathmessage = "Explodes into a pool of blood!" diff --git a/code/modules/mob/living/simple_animal/hostile/megafauna/legion.dm b/code/modules/mob/living/simple_animal/hostile/megafauna/legion.dm index 0b81dff02c90..94e47e3e4392 100644 --- a/code/modules/mob/living/simple_animal/hostile/megafauna/legion.dm +++ b/code/modules/mob/living/simple_animal/hostile/megafauna/legion.dm @@ -48,7 +48,6 @@ Difficulty: Medium enraged_loot = /obj/item/disk/fauna_research/legion vision_range = 13 elimination = TRUE - appearance_flags = 0 mouse_opacity = MOUSE_OPACITY_ICON stat_attack = UNCONSCIOUS // Overriden from /tg/ - otherwise Legion starts chasing its minions appearance_flags = 512 diff --git a/code/modules/mob/living/simple_animal/hostile/mining/basilisk.dm b/code/modules/mob/living/simple_animal/hostile/mining/basilisk.dm index 9ca58f640a4a..6ead2543757e 100644 --- a/code/modules/mob/living/simple_animal/hostile/mining/basilisk.dm +++ b/code/modules/mob/living/simple_animal/hostile/mining/basilisk.dm @@ -28,7 +28,6 @@ a_intent = INTENT_HARM speak_emote = list("chitters") attack_sound = 'sound/weapons/bladeslice.ogg' - vision_range = 2 aggro_vision_range = 9 turns_per_move = 5 gold_core_spawnable = HOSTILE_SPAWN diff --git a/code/modules/mob/living/simple_animal/hostile/mining/elites/elite.dm b/code/modules/mob/living/simple_animal/hostile/mining/elites/elite.dm index 0d240100c26f..eab194c5bc21 100644 --- a/code/modules/mob/living/simple_animal/hostile/mining/elites/elite.dm +++ b/code/modules/mob/living/simple_animal/hostile/mining/elites/elite.dm @@ -398,14 +398,21 @@ While using this makes the system rely on OnFire, it still gives options for tim else SSblackbox.record_feedback("tally", "ai_controlled_elite_win", 1, mychild.name) if(times_won == 1) - mychild.playsound_local(get_turf(mychild), 'sound/magic/cult_spell.ogg', 40, 0) - to_chat(mychild, "As the life in the activator's eyes fade, the forcefield around you dies out and you feel your power subside.\n\ - Despite this inferno being your home, you feel as if you aren't welcome here anymore.\n\ - Without any guidance, your purpose is now for you to decide.") - to_chat(mychild, "Your max health has been halved, but can now heal by standing on your tumor. Note, it's your only way to heal.\n\ - Bear in mind, if anyone interacts with your tumor, you'll be resummoned here to carry out another fight. In such a case, you will regain your full max health.\n\ - Also, be weary of your fellow inhabitants, they likely won't be happy to see you!") - to_chat(mychild, "Note that you are a lavaland monster, and thus not allied to the station. You should not cooperate or act friendly with any station crew unless under extreme circumstances!") + mychild.playsound_local(get_turf(mychild), 'sound/magic/cult_spell.ogg', 40, FALSE) + var/list/text = list() + text += "As the life in the activator's eyes fade, the forcefield around you dies out and you feel your power subside." + text += "Despite this inferno being your home, you feel as if you aren't welcome here anymore." + text += "Without any guidance, your purpose is now for you to decide.\n" + text += "Your max health has been halved, but can now heal by standing on your tumor. Note, it's your only way to heal." + text += "Bear in mind, if anyone interacts with your tumor, you'll be resummoned here to carry out another fight. In such a case, you will regain your full max health." + text += "Also, be wary of your fellow inhabitants, they likely won't be happy to see you! \n" + text += "Note that you are a lavaland monster, and thus not allied to the station." + text += "" + text += "Do not attack the Mining Station or Labour Camp, unless the Shaft Miner you are actively fighting runs into the Station/Camp." + text += "After they are killed, you must withdraw. If you wish to continue attacking the Station, you MUST ahelp." + text += "If teleported to the Station by jaunter, you are allowed to attack people on Station, until you get killed." + to_chat(mychild, text.Join(" ")) + qdel(GetComponent(/datum/component/proximity_monitor)) /obj/item/tumor_shard diff --git a/code/modules/mob/living/simple_animal/hostile/mining/goliath.dm b/code/modules/mob/living/simple_animal/hostile/mining/goliath.dm index cd401129be22..2134fcff55bf 100644 --- a/code/modules/mob/living/simple_animal/hostile/mining/goliath.dm +++ b/code/modules/mob/living/simple_animal/hostile/mining/goliath.dm @@ -15,7 +15,6 @@ ranged_cooldown_time = 120 friendly = "wails at" speak_emote = list("bellows") - vision_range = 4 speed = 3 maxHealth = 300 health = 300 diff --git a/code/modules/mob/living/simple_animal/hostile/netherworld.dm b/code/modules/mob/living/simple_animal/hostile/netherworld.dm index 9d2ddae7a652..c4088eb86fdb 100644 --- a/code/modules/mob/living/simple_animal/hostile/netherworld.dm +++ b/code/modules/mob/living/simple_animal/hostile/netherworld.dm @@ -11,7 +11,6 @@ melee_damage_upper = 50 attacktext = "chomps" attack_sound = 'sound/weapons/bladeslice.ogg' - faction = list("creature") speak_emote = list("screams") gold_core_spawnable = HOSTILE_SPAWN atmos_requirements = list("min_oxy" = 0, "max_oxy" = 0, "min_tox" = 0, "max_tox" = 0, "min_co2" = 0, "max_co2" = 0, "min_n2" = 0, "max_n2" = 0) diff --git a/code/modules/mob/living/simple_animal/hostile/retaliate/clown.dm b/code/modules/mob/living/simple_animal/hostile/retaliate/clown.dm index 087261f39597..efd633819261 100644 --- a/code/modules/mob/living/simple_animal/hostile/retaliate/clown.dm +++ b/code/modules/mob/living/simple_animal/hostile/retaliate/clown.dm @@ -6,7 +6,6 @@ icon_living = "clown" icon_dead = "clown_dead" icon_gib = "clown_gib" - speak_chance = 0 mob_biotypes = MOB_ORGANIC | MOB_HUMANOID turns_per_move = 5 response_help = "pokes the" diff --git a/code/modules/mob/living/simple_animal/hostile/retaliate/combat_drone.dm b/code/modules/mob/living/simple_animal/hostile/retaliate/combat_drone.dm index f66f763b2521..b8dacf1f796d 100644 --- a/code/modules/mob/living/simple_animal/hostile/retaliate/combat_drone.dm +++ b/code/modules/mob/living/simple_animal/hostile/retaliate/combat_drone.dm @@ -108,11 +108,6 @@ "You evade [hitting_projectile]!", ) playsound(source, pick('sound/weapons/bulletflyby.ogg', 'sound/weapons/bulletflyby2.ogg', 'sound/weapons/bulletflyby3.ogg', 'sound/effects/refill.ogg'), 75, TRUE) - var/dir_to_avoid = angle2dir_cardinal(hitting_projectile.Angle) - var/list/potential_first_directions = list(NORTH, SOUTH, EAST, WEST) - potential_first_directions -= dir_to_avoid - new /obj/effect/temp_visual/decoy/fading(source.loc, source) - step(source, pick(potential_first_directions)) if(prob(50)) addtimer(VARSET_CALLBACK(source, advanced_bullet_dodge_chance, advanced_bullet_dodge_chance), 0.25 SECONDS) advanced_bullet_dodge_chance = 0 diff --git a/code/modules/mob/living/simple_animal/shade.dm b/code/modules/mob/living/simple_animal/shade.dm index 2fecb79c254c..ce0294ae6a5a 100644 --- a/code/modules/mob/living/simple_animal/shade.dm +++ b/code/modules/mob/living/simple_animal/shade.dm @@ -22,7 +22,6 @@ atmos_requirements = list("min_oxy" = 0, "max_oxy" = 0, "min_tox" = 0, "max_tox" = 0, "min_co2" = 0, "max_co2" = 0, "min_n2" = 0, "max_n2" = 0) speed = -1 stop_automated_movement = TRUE - status_flags = 0 pull_force = 0 see_invisible = SEE_INVISIBLE_HIDDEN_RUNES universal_speak = TRUE diff --git a/code/modules/mob/living/simple_animal/slime/slime_mob.dm b/code/modules/mob/living/simple_animal/slime/slime_mob.dm index 16e4a8773f92..dcad68cd578c 100644 --- a/code/modules/mob/living/simple_animal/slime/slime_mob.dm +++ b/code/modules/mob/living/simple_animal/slime/slime_mob.dm @@ -25,7 +25,6 @@ maxHealth = 150 health = 150 healable = FALSE - gender = NEUTER see_in_dark = 8 diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index d55c87535384..0890cda7307c 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -190,7 +190,7 @@ // based on say code var/omsg = replacetext(message, "[src] ", "") - var/list/listening_obj = new + var/list/listening_obj = list() for(var/atom/movable/A in view(range, src)) if(ismob(A)) var/mob/M = A @@ -545,7 +545,7 @@ GLOBAL_LIST_INIT(slot_equipment_priority, list( \ * Mobs out of view but in range will be listed as unknown. Else they will have their visible name */ /mob/proc/get_telepathic_targets() - var/list/validtargets = new /list() + var/list/validtargets = list() /list() var/turf/T = get_turf(src) var/list/mobs_in_view = get_visible_mobs() diff --git a/code/modules/mob/mob_vars.dm b/code/modules/mob/mob_vars.dm index b46a1d29f4e0..79c7b5883207 100644 --- a/code/modules/mob/mob_vars.dm +++ b/code/modules/mob/mob_vars.dm @@ -1,7 +1,7 @@ /mob density = TRUE layer = MOB_LAYER - animate_movement = 2 + animate_movement = SLIDE_STEPS pressure_resistance = 8 throwforce = 10 var/datum/mind/mind diff --git a/code/modules/mob/new_player/sprite_accessories/human/human_hair.dm b/code/modules/mob/new_player/sprite_accessories/human/human_hair.dm index c9d0087bd0b8..fe84c24fda18 100644 --- a/code/modules/mob/new_player/sprite_accessories/human/human_hair.dm +++ b/code/modules/mob/new_player/sprite_accessories/human/human_hair.dm @@ -6,150 +6,150 @@ name = "Short Hair" // try to capatilize the names please~ icon_state = "short" // you do not need to define _s or _l sub-states, game automatically does this for you a glasses_over = 1 - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/cut name = "Cut Hair" icon_state = "cut" glasses_over = 1 - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/long name = "Shoulder-length Hair" icon_state = "long" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/longalt name = "Shoulder-length Hair Alt" icon_state = "longfringe" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/longer name = "Long Hair" icon_state = "vlong" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/longeralt name = "Long Hair Alt" icon_state = "vlongfringe" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/longest name = "Very Long Hair" icon_state = "longest" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/longfringe name = "Long Fringe" icon_state = "longfringe" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/longestalt name = "Longer Fringe" icon_state = "vlongfringe" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/halfbang name = "Half-banged Hair" icon_state = "halfbang" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/halfbangalt name = "Half-banged Hair Alt" icon_state = "halfbang_alt" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/ponytail1 name = "Ponytail 1" icon_state = "ponytailm" glasses_over = 1 - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/ponytail2 name = "Ponytail 2" icon_state = "ponytailf" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/ponytail3 name = "Ponytail 3" icon_state = "ponytail3" glasses_over = 1 - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/sideponytail name = "Side Ponytail" icon_state = "stail" glasses_over = 1 - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/highponytail name = "High Ponytail" icon_state = "highponytail" glasses_over = 1 - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/wisp name = "Wisp" icon_state = "wisp" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/parted name = "Parted" icon_state = "parted" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/pompadour name = "Pompadour" icon_state = "pompadour" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") glasses_over = 1 /datum/sprite_accessory/hair/quiff name = "Quiff" icon_state = "quiff" glasses_over = 1 - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/bedhead name = "Bedhead" icon_state = "bedhead" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/bedhead2 name = "Bedhead 2" icon_state = "bedhead2" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/bedhead3 name = "Bedhead 3" icon_state = "bedhead3" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/beehive name = "Beehive" icon_state = "beehive" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/bobcurl name = "Bobcurl" icon_state = "bobcurl" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/bob name = "Bob" icon_state = "bobcut" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/bowl name = "Bowl" icon_state = "bowlcut" glasses_over = 1 - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/braid2 name = "Long Braid" icon_state = "hbraid" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/braid_hip name = "Hippie Braid" @@ -160,108 +160,108 @@ /datum/sprite_accessory/hair/buzz name = "Buzzcut" icon_state = "buzzcut" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") glasses_over = 1 /datum/sprite_accessory/hair/crew name = "Crewcut" icon_state = "crewcut" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") glasses_over = 1 /datum/sprite_accessory/hair/combover name = "Combover" icon_state = "combover" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") glasses_over = 1 /datum/sprite_accessory/hair/devillock name = "Devil Lock" icon_state = "devilock" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") glasses_over = 1 /datum/sprite_accessory/hair/dreadlocks name = "Dreadlocks" icon_state = "dreads" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/curls name = "Curls" icon_state = "curls" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/afro name = "Afro" icon_state = "afro" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/afro2 name = "Afro 2" icon_state = "afro2" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") glasses_over = 1 /datum/sprite_accessory/hair/afro_large name = "Big Afro" icon_state = "bigafro" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/sergeant name = "Flat Top" icon_state = "sergeant" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") glasses_over = 1 /datum/sprite_accessory/hair/emo name = "Emo" icon_state = "emo" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/flow name = "Flow Hair" icon_state = "flow" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/feather name = "Feather" icon_state = "feather" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/hitop name = "Hitop" icon_state = "hitop" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") glasses_over = 1 /datum/sprite_accessory/hair/mohawk name = "Mohawk" icon_state = "mohawk" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") glasses_over = 1 /datum/sprite_accessory/hair/jensen name = "Adam Jensen Hair" icon_state = "jensen" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") glasses_over = 1 /datum/sprite_accessory/hair/cia name = "CIA" icon_state = "cia" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") glasses_over = 1 /datum/sprite_accessory/hair/mulder name = "Mulder" icon_state = "mulder" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") glasses_over = 1 /datum/sprite_accessory/hair/gelled name = "Gelled Back" icon_state = "gelled" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") glasses_over = 1 /datum/sprite_accessory/hair/gentle @@ -272,62 +272,62 @@ /datum/sprite_accessory/hair/spiky name = "Spiky" icon_state = "spikey" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") glasses_over = 1 /datum/sprite_accessory/hair/kusanagi name = "Kusanagi Hair" icon_state = "kusanagi" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/kagami name = "Pigtails" icon_state = "kagami" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") glasses_over = 1 /datum/sprite_accessory/hair/himecut name = "Hime Cut" icon_state = "himecut" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/braid name = "Floorlength Braid" icon_state = "floorbraid" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/odango name = "Odango" icon_state = "odango" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") glasses_over = 1 /datum/sprite_accessory/hair/ombre name = "Ombre" icon_state = "ombre" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/updo name = "Updo" icon_state = "updo" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/skinhead name = "Skinhead" icon_state = "skinhead" glasses_over = 1 - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/balding name = "Balding Hair" icon_state = "balding" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") glasses_over = 1 /datum/sprite_accessory/hair/longemo name = "Long Emo" icon_state = "emolong" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") ////////////////////////////// //////START VG HAIRSTYLES///// @@ -335,12 +335,12 @@ /datum/sprite_accessory/hair/birdnest name = "Bird Nest" icon_state = "birdnest" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/unkept name = "Unkempt" icon_state = "unkept" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/duelist name = "Duelist" @@ -350,23 +350,23 @@ /datum/sprite_accessory/hair/modern name = "Modern" icon_state = "modern" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/unshavenmohawk name = "Unshaven Mohawk" icon_state = "unshavenmohawk" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") glasses_over = 1 /datum/sprite_accessory/hair/drills name = "Twincurls" icon_state = "twincurl" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/minidrills name = "Twincurls 2" icon_state = "twincurl2" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") ////////////////////////////// //////END VG HAIRSTYLES/////// ////////////////////////////// @@ -383,12 +383,12 @@ /datum/sprite_accessory/hair/rosa name = "Rosa" icon_state = "rosa" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/jade name = "Jade" icon_state = "jade" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/shy name = "Shy" @@ -398,82 +398,82 @@ /datum/sprite_accessory/hair/manbun name = "Manbun" icon_state = "manbun" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/thinningback name = "Thinning Back" icon_state = "thinningrear" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/thinningfront name = "Thinning Front" icon_state = "thinningfront" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/thinning name = "Thinning" icon_state = "thinning" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/bowlcut2 name = "Bowl 2" icon_state = "bowlcut2" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/ronin name = "Ronin" icon_state = "ronin" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/topknot name = "Topknot" icon_state = "topknot" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/regulationmohawk name = "Regulation Mohawk" icon_state = "shavedmohawk" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/rowbraid name = "Row Braid" icon_state = "rowbraid" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/rowdualbraid name = "Row Dual Braid" icon_state = "rowdualtail" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/rowbun name = "Row Bun" icon_state = "rowbun" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/hightight name = "High and Tight" icon_state = "hightight" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/partfade name = "Parted Fade" icon_state = "shavedpart" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/undercut3 name = "Undercut Swept Left" icon_state = "undercut3" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/undercut2 name = "Undercut Swept Right" icon_state = "undercut2" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/undercut1 name = "Undercut" icon_state = "undercut1" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/coffeehouse name = "Coffee House Cut" @@ -483,117 +483,117 @@ /datum/sprite_accessory/hair/tightbun name = "Tight Bun" icon_state = "tightbun" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/trimmed name = "Trimmed" icon_state = "trimmed" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/trimflat name = "Trimmed Flat Top" icon_state = "trimflat" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/nofade name = "Regulation Cut" icon_state = "nofade" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/baldfade name = "Balding Fade" icon_state = "baldfade" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/highfade name = "High Fade" icon_state = "highfade" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/medfade name = "Medium Fade" icon_state = "medfade" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/lowfade name = "Low Fade" icon_state = "lowfade" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/oxton name = "Oxton" icon_state = "oxton" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/doublebun name = "Double-Bun" icon_state = "doublebun" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/halfshaved name = "Half-Shaved Emo" icon_state = "halfshaved" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/shortbangs name = "Short Bangs" icon_state = "shortbangs" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/longeralt2 name = "Long Hair Alt 2" icon_state = "longeralt2" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/nia name = "Nia" icon_state = "nia" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/eighties name = "80's" icon_state = "80s" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/volaju name = "Volaju" icon_state = "volaju" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/joestar name = "Joestar" icon_state = "joestar" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/nitori name = "Nitori" icon_state = "nitori" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/scully name = "Scully" icon_state = "scully" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/vegeta name = "Vegeta" icon_state = "toriyama2" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/crono name = "Chrono" icon_state = "toriyama" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/poofy2 name = "Poofy2" icon_state = "poofy2" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/poofy name = "Poofy" icon_state = "poofy" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/dandypomp name = "Dandy Pompadour" @@ -603,63 +603,63 @@ /datum/sprite_accessory/hair/fringetail name = "Fringetail" icon_state = "fringetail" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/mahdrills name = "Drillruru" icon_state = "drillruru" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/familyman name = "The Family Man" icon_state = "thefamilyman" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/grandebraid name = "Grande Braid" icon_state = "grande" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/fringeemo name = "Emo Fringe" icon_state = "emofringe" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/emo2 name = "Emo Alt" icon_state = "emo2" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/rows2 name = "Rows 2" icon_state = "rows2" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/rows name = "Rows" icon_state = "rows1" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/reversemohawk name = "Reverse Mohawk" icon_state = "reversemohawk" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/father name = "Father" icon_state = "father" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/beehive2 name = "Beehive 2" icon_state = "beehive2" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/sleeze name = "Sleeze" icon_state = "sleeze" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/zieglertail name = "Zieglertail" @@ -674,93 +674,93 @@ /datum/sprite_accessory/hair/tresshoulder name = "Tress Shoulder" icon_state = "tressshoulder" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/oneshoulder name = "One Shoulder" icon_state = "oneshoulder" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/ponytail6 name = "Ponytail 6" icon_state = "ponytail6" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/ponytail5 name = "Ponytail 5" icon_state = "ponytail5" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/ponytail4 name = "Ponytail 4" icon_state = "ponytail4" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/country name = "Country" icon_state = "country" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/bedheadlong name = "Bedhead Long" icon_state = "long_bedhead" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/flair name = "Flaired Hair" icon_state = "flair" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/twintail name = "Twintail" icon_state = "twintail" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/short2 name = "Short Hair 2" icon_state = "shorthair3" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/bun2 name = "Bun 2" icon_state = "bun2" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/bun3 name = "Bun 3" icon_state = "bun3" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/shavehair name = "Shaved Hair" icon_state = "shaved" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/veryshortovereyealternate name = "Overeye Very Short, Alternate" icon_state = "veryshortovereyealternate" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/veryshortovereye name = "Overeye Very Short" icon_state = "veryshortovereye" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/shortovereye name = "Overeye Short" icon_state = "shortovereye" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/longovereye name = "Overeye Long" icon_state = "longovereye" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /// Due to a vulp hairstyle called bun /datum/sprite_accessory/hair/bun4 name = "Bun 4" icon_state = "bun4" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /////////////////////////////////// //////END POLARIS HAIRSTYLES/////// @@ -773,17 +773,17 @@ /datum/sprite_accessory/hair/eighties_ponytail name = "80's ponytail" icon_state = "80_ponytail" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/eighties_ponytailalt name = "80's ponytail alt" icon_state = "80_ponytail_alt" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/big_bow name = "Big bow" icon_state = "big_bow" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/buns name = "Buns" @@ -793,12 +793,12 @@ /datum/sprite_accessory/hair/himecut_long name = "Himecut long" icon_state = "himecut_long" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/himecut_long_ponytail name = "Himecut long ponytail" icon_state = "himecut_long_ponytail" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/himecut_ponytail name = "Himecut ponytail" @@ -823,17 +823,17 @@ /datum/sprite_accessory/hair/amanita_short name = "Amanita short" icon_state = "amanita_short" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/long_curls name = "Long curls" icon_state = "long_curls" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/long_curls_alt name = "Long curls alt" icon_state = "long_curls_alt" - species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin") + species_allowed = list("Human", "Slime People", "Unathi", "Tajaran", "Vulpkanin", "Nian") /datum/sprite_accessory/hair/long_buns name = "Long buns" diff --git a/code/modules/mob/new_player/sprite_accessories/moth/moth_head_accessories.dm b/code/modules/mob/new_player/sprite_accessories/moth/moth_head_accessories.dm index ac27f1e7a52a..077c20531cd4 100644 --- a/code/modules/mob/new_player/sprite_accessories/moth/moth_head_accessories.dm +++ b/code/modules/mob/new_player/sprite_accessories/moth/moth_head_accessories.dm @@ -2,7 +2,7 @@ icon = 'icons/mob/sprite_accessories/moth/moth_head_accessories.dmi' species_allowed = list("Nian") over_hair = TRUE - do_colouration = FALSE + do_colouration = TRUE /datum/sprite_accessory/head_accessory/moth/plain name = "Plain Antennae" diff --git a/code/modules/mod/mod_control.dm b/code/modules/mod/mod_control.dm index 417af923893f..94d6d02466cd 100644 --- a/code/modules/mod/mod_control.dm +++ b/code/modules/mod/mod_control.dm @@ -8,7 +8,6 @@ /obj/item/mod/control name = "MOD control unit" desc = "The control unit of a Modular Outerwear Device, a powered suit that protects against various environments." - icon_state = "standard-control" icon_state = "mod_control" item_state = "mod_control" base_icon_state = "control" @@ -244,7 +243,7 @@ /obj/item/mod/control/on_mob_move(direction, mob/user) if(!jetpack_active || !isturf(user.loc)) return - var/turf/T = get_step(src, reverse_direction(direction)) + var/turf/T = get_step(src, REVERSE_DIR(direction)) if(!has_gravity(T)) new /obj/effect/particle_effect/ion_trails(T, direction) diff --git a/code/modules/mod/mod_types.dm b/code/modules/mod/mod_types.dm index 7806681f01e1..f78359559f68 100644 --- a/code/modules/mod/mod_types.dm +++ b/code/modules/mod/mod_types.dm @@ -305,6 +305,10 @@ /obj/item/mod/module/jetpack/advanced, ) +/obj/item/mod/control/pre_equipped/nuclear/Initialize(mapload, new_theme, new_skin, new_core, new_access) + . = ..() + ADD_TRAIT(chestplate, TRAIT_HYPOSPRAY_IMMUNE, ROUNDSTART_TRAIT) + /obj/item/mod/control/pre_equipped/elite theme = /datum/mod_theme/elite applied_cell = /obj/item/stock_parts/cell/bluespace @@ -322,6 +326,10 @@ /obj/item/mod/module/jetpack/advanced, ) +/obj/item/mod/control/pre_equipped/elite/Initialize(mapload, new_theme, new_skin, new_core, new_access) + . = ..() + ADD_TRAIT(chestplate, TRAIT_HYPOSPRAY_IMMUNE, ROUNDSTART_TRAIT) + /obj/item/mod/control/pre_equipped/prototype theme = /datum/mod_theme/prototype req_access = list() diff --git a/code/modules/mod/modules/modules_antag.dm b/code/modules/mod/modules/modules_antag.dm index 24d21dda348b..8e034ea140b3 100644 --- a/code/modules/mod/modules/modules_antag.dm +++ b/code/modules/mod/modules/modules_antag.dm @@ -331,7 +331,6 @@ icon_state = "cloak_ninja" bumpoff = FALSE stealth_alpha = 10 - cooldown_time = 5 SECONDS active_power_cost = DEFAULT_CHARGE_DRAIN use_power_cost = DEFAULT_CHARGE_DRAIN * 5 cooldown_time = 3 SECONDS diff --git a/code/modules/mod/modules/modules_supply.dm b/code/modules/mod/modules/modules_supply.dm index a475f232d7e5..f4744a6cdcb6 100644 --- a/code/modules/mod/modules/modules_supply.dm +++ b/code/modules/mod/modules/modules_supply.dm @@ -58,7 +58,7 @@ if(target_turf.density) return playsound(src, 'sound/mecha/hydraulic.ogg', 25, TRUE) - if(!do_after(mod.wearer, load_time, target = target)) + if(!do_after(mod.wearer, load_time, target = target, extra_checks = list(CALLBACK(src, TYPE_PROC_REF(/obj/item/mod/module/clamp, should_cancel_drop))))) return if(target_turf.density) return @@ -86,6 +86,10 @@ return FALSE return TRUE +/// Checks if the target crate has already been dropped by another on_select_use call +/obj/item/mod/module/clamp/proc/should_cancel_drop() + return !length(stored_crates) + /obj/item/mod/module/clamp/loader name = "MOD loader hydraulic clamp module" icon_state = "clamp_loader" diff --git a/code/modules/power/cables/cable_coil.dm b/code/modules/power/cables/cable_coil.dm index c8f1c6d7c50a..0396b5075c40 100644 --- a/code/modules/power/cables/cable_coil.dm +++ b/code/modules/power/cables/cable_coil.dm @@ -11,7 +11,7 @@ GLOBAL_LIST_INIT(cable_coil_recipes, list (new/datum/stack_recipe/cable_restrain singular_name = "cable" icon = 'icons/obj/power.dmi' icon_state = "coil" - item_state = "coil_red" + item_state = "coil" belt_icon = "cable_coil" amount = MAXCOIL max_amount = MAXCOIL @@ -24,7 +24,6 @@ GLOBAL_LIST_INIT(cable_coil_recipes, list (new/datum/stack_recipe/cable_restrain materials = list(MAT_METAL = 15, MAT_GLASS = 10) flags = CONDUCT slot_flags = SLOT_FLAG_BELT - item_state = "coil" attack_verb = list("whipped", "lashed", "disciplined", "flogged") usesound = 'sound/items/deconstruct.ogg' toolspeed = 1 @@ -84,6 +83,10 @@ GLOBAL_LIST_INIT(cable_coil_recipes, list (new/datum/stack_recipe/cable_restrain var/mob/living/carbon/human/H = M var/obj/item/organ/external/S = H.bodyparts_by_name[user.zone_selected] + if(!S && ismachineperson(M) && user.a_intent == INTENT_HELP) + to_chat(user, "[M.p_they(TRUE)] [M.p_are()] missing that limb!") + return + if(!S?.is_robotic() || user.a_intent != INTENT_HELP || S.open == ORGAN_SYNTHETIC_OPEN) return ..() if(S.burn_dam > ROBOLIMB_SELF_REPAIR_CAP) diff --git a/code/modules/power/engines/singularity/singularity.dm b/code/modules/power/engines/singularity/singularity.dm index 83f255066c8a..43d6337f619f 100644 --- a/code/modules/power/engines/singularity/singularity.dm +++ b/code/modules/power/engines/singularity/singularity.dm @@ -291,24 +291,20 @@ /obj/singularity/proc/eat() - for(var/tile in spiral_range_turfs(grav_pull, src)) - var/turf/T = tile - if(!T || !isturf(loc)) + for(var/turf/tile as anything in RANGE_TURFS(grav_pull, src)) + if(!tile || !isturf(loc)) continue - if(get_dist(T, src) > consume_range) - T.singularity_pull(src, current_size) + if(get_dist(tile, src) > consume_range) + tile.singularity_pull(src, current_size) else - consume(T) - for(var/thing in T) - if(isturf(loc) && thing != src) + consume(tile) + for(var/thing in tile) + if(thing != src) var/atom/movable/X = thing if(get_dist(X, src) > consume_range) X.singularity_pull(src, current_size) else consume(X) - if(TICK_CHECK) - return // You've eaten enough. Prevents weirdness like the singulo eating the containment on stage 2 - /obj/singularity/proc/consume(atom/A) var/gain = A.singularity_act(current_size) diff --git a/code/modules/power/generators/treadmill.dm b/code/modules/power/generators/treadmill.dm index f363c27f6ff5..25fd175d013e 100644 --- a/code/modules/power/generators/treadmill.dm +++ b/code/modules/power/generators/treadmill.dm @@ -41,7 +41,7 @@ // if 2fast, throw the person, otherwise they just slide off, if there's reasonable speed at all if(speed && A.move_resist < INFINITY) var/dist = max(throw_dist * speed / MAX_SPEED, 1) - A.throw_at(get_distant_turf(get_turf(src), reverse_direction(dir), dist), A.throw_range, A.throw_speed, src, 1) + A.throw_at(get_distant_turf(get_turf(src), REVERSE_DIR(dir), dist), A.throw_range, A.throw_speed, src, 1) /obj/machinery/power/treadmill/process() if(!anchored) diff --git a/code/modules/power/smes.dm b/code/modules/power/smes.dm index 63f179a18dc5..844b98e2beee 100644 --- a/code/modules/power/smes.dm +++ b/code/modules/power/smes.dm @@ -159,7 +159,7 @@ tempDir = EAST if(NORTHWEST, SOUTHWEST) tempDir = WEST - var/turf/tempLoc = get_step(src, reverse_direction(tempDir)) + var/turf/tempLoc = get_step(src, REVERSE_DIR(tempDir)) if(isspaceturf(tempLoc)) to_chat(user, "You can't build a terminal on space.") return diff --git a/code/modules/projectiles/guns/grenade_launcher.dm b/code/modules/projectiles/guns/grenade_launcher.dm index 0f581dd75d34..2ba796623d98 100644 --- a/code/modules/projectiles/guns/grenade_launcher.dm +++ b/code/modules/projectiles/guns/grenade_launcher.dm @@ -8,7 +8,7 @@ throw_speed = 2 throw_range = 10 force = 5 - var/list/grenades = new/list() + var/list/grenades = list() var/max_grenades = 3 materials = list(MAT_METAL=2000) diff --git a/code/modules/projectiles/guns/projectile/toy.dm b/code/modules/projectiles/guns/projectile/toy.dm index 810077a519e9..dcf3c6261a77 100644 --- a/code/modules/projectiles/guns/projectile/toy.dm +++ b/code/modules/projectiles/guns/projectile/toy.dm @@ -113,6 +113,7 @@ can_suppress = FALSE needs_permit = FALSE mag_type = /obj/item/ammo_box/magazine/toy/m762 + origin_tech = "combat=5;engineering=3;syndicate=3" /obj/item/gun/projectile/automatic/l6_saw/toy/riot mag_type = /obj/item/ammo_box/magazine/toy/m762/riot diff --git a/code/modules/projectiles/projectile/beams.dm b/code/modules/projectiles/projectile/beams.dm index 214698db282a..b86877157626 100644 --- a/code/modules/projectiles/projectile/beams.dm +++ b/code/modules/projectiles/projectile/beams.dm @@ -119,7 +119,6 @@ muzzle_type = /obj/effect/projectile/muzzle/pulse tracer_type = /obj/effect/projectile/tracer/pulse impact_type = /obj/effect/projectile/impact/pulse - impact_effect_type = null hitscan_light_intensity = 3 hitscan_light_range = 0.75 hitscan_light_color_override = LIGHT_COLOR_DARKBLUE diff --git a/code/modules/projectiles/projectile_base.dm b/code/modules/projectiles/projectile_base.dm index 2bea14964e61..279516a9600c 100644 --- a/code/modules/projectiles/projectile_base.dm +++ b/code/modules/projectiles/projectile_base.dm @@ -33,7 +33,7 @@ var/Angle = null var/original_angle = null //Angle at firing var/spread = 0 //amount (in degrees) of projectile spread - animate_movement = 0 + animate_movement = NO_STEPS var/ignore_source_check = FALSE diff --git a/code/modules/reagents/chemistry/machinery/chem_master.dm b/code/modules/reagents/chemistry/machinery/chem_master.dm index 5a9b01f86a14..c0d15d5492f4 100644 --- a/code/modules/reagents/chemistry/machinery/chem_master.dm +++ b/code/modules/reagents/chemistry/machinery/chem_master.dm @@ -24,16 +24,18 @@ var/production_mode = null var/printing = FALSE var/static/list/pill_bottle_wrappers = list( - COLOR_RED = "Red", + COLOR_RED_LIGHT = "Red", COLOR_GREEN = "Green", COLOR_PALE_BTL_GREEN = "Pale Green", - COLOR_BLUE = "Blue", COLOR_CYAN_BLUE = "Light Blue", COLOR_TEAL = "Teal", COLOR_YELLOW = "Yellow", COLOR_ORANGE = "Orange", COLOR_PINK = "Pink", - COLOR_MAROON = "Brown" + COLOR_MAROON = "Brown", + COLOR_INDIGO = "Indigo", + COLOR_VIOLET = "Violet", + COLOR_PURPLE = "Purple" ) var/list/datum/chemical_production_mode/production_modes = list() diff --git a/code/modules/reagents/chemistry/reagents/toxins.dm b/code/modules/reagents/chemistry/reagents/toxins.dm index 212f9095d286..bfc87638d23d 100644 --- a/code/modules/reagents/chemistry/reagents/toxins.dm +++ b/code/modules/reagents/chemistry/reagents/toxins.dm @@ -473,7 +473,6 @@ drink_name = "Beer glass" drink_desc = "A freezing pint of beer" taste_description = "beer" - taste_description = "piss water" /datum/reagent/beer2/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE diff --git a/code/modules/reagents/chemistry/reagents_holder.dm b/code/modules/reagents/chemistry/reagents_holder.dm index 657e285ba4a4..2e108970e3c9 100644 --- a/code/modules/reagents/chemistry/reagents_holder.dm +++ b/code/modules/reagents/chemistry/reagents_holder.dm @@ -21,7 +21,7 @@ */ /datum/reagents /// All contained reagents. More specifically, references to the reagent datums. - var/list/datum/reagent/reagent_list = new/list() + var/list/datum/reagent/reagent_list = list() /// The total volume of all reagents in this holder. var/total_volume = 0 /// This is the maximum volume of the holder. @@ -31,8 +31,8 @@ var/chem_temp = T20C var/temperature_min = 0 var/temperature_max = 10000 - var/list/datum/reagent/addiction_list = new/list() - var/list/addiction_threshold_accumulated = new/list() + var/list/datum/reagent/addiction_list = list() + var/list/addiction_threshold_accumulated = list() var/flags /datum/reagents/New(maximum = 100, temperature_minimum, temperature_maximum) @@ -463,7 +463,7 @@ var/total_matching_catalysts = 0 var/matching_container = FALSE var/matching_other = FALSE - var/list/multipliers = new/list() + var/list/multipliers = list() var/min_temp = C.min_temp //Minimum temperature required for the reaction to occur (heat to/above this) var/max_temp = C.max_temp //Maximum temperature allowed for the reaction to occur (cool to/below this) for(var/B in C.required_reagents) @@ -819,7 +819,7 @@ if(R.id == id) return R - return + return /datum/reagents/proc/remove_all_type(reagent_type, amount, strict = FALSE, safety = TRUE) // Removes all reagent of X type. @strict set to 1 determines whether the childs of the type are included. if(!isnum(amount)) diff --git a/code/modules/reagents/reagent_containers/hypospray.dm b/code/modules/reagents/reagent_containers/hypospray.dm index b37c3078c1a9..2aafcf11eed9 100644 --- a/code/modules/reagents/reagent_containers/hypospray.dm +++ b/code/modules/reagents/reagent_containers/hypospray.dm @@ -1,7 +1,6 @@ -//////////////////////////////////////////////////////////////////////////////// -/// HYPOSPRAY -//////////////////////////////////////////////////////////////////////////////// - +////////////////////////////// +/// MARK: HYPOSPRAY +////////////////////////////// /obj/item/reagent_containers/hypospray name = "hypospray" desc = "The DeForest Medical Corporation hypospray is a sterile, air-needle autoinjector for rapid administration of drugs to patients." @@ -15,8 +14,14 @@ resistance_flags = ACID_PROOF container_type = OPENCONTAINER slot_flags = SLOT_FLAG_BELT - var/ignore_flags = FALSE + /// If TRUE, the hypospray can inject through most hardsuits/modsuits. + var/can_pierce_hardsuits = FALSE + /// If TRUE, the hypospray isn't blocked by suits with TRAIT_HYPOSPRAY_IMMUNE. + var/ignore_hypospray_immunity = FALSE + /// If TRUE, the hypospray will reject any chemicals not on the safe_chem_list. var/safety_hypo = FALSE + // List of SOSHA-approved medicines. + /// List of reagents that are allowed to go into a hypospray with active safeties. var/static/list/safe_chem_list = list("antihol", "charcoal", "epinephrine", "insulin", "teporone", "salbutamol", "omnizine", "weak_omnizine", "godblood", "potass_iodide", "oculine", "mannitol", "spaceacillin", "salglu_solution", "sal_acid", "cryoxadone", "sugar", "hydrocodone", "mitocholide", "rezadone", "menthol", @@ -30,7 +35,13 @@ if(!iscarbon(M)) return - if(reagents.total_volume && (ignore_flags || M.can_inject(user, TRUE))) // Ignore flag should be checked first or there will be an error message. + var/mob/living/carbon/human/H = M + if(H.wear_suit) + if(HAS_TRAIT(H.wear_suit, TRAIT_HYPOSPRAY_IMMUNE) && !ignore_hypospray_immunity) // This check is here entirely to stop goobers injecting nukies with meme chems + to_chat(user, "[src] is unable to penetrate the armour of [M] or interface with any injection ports.") + return + + if(reagents.total_volume && (can_pierce_hardsuits || M.can_inject(user, TRUE))) // can_pierce_hardsuits should be checked first or there will be an error message. to_chat(M, "You feel a tiny prick!") to_chat(user, "You inject [M] with [src].") @@ -88,10 +99,13 @@ /obj/item/reagent_containers/hypospray/emag_act(mob/user) if(safety_hypo && !emagged) emagged = TRUE - ignore_flags = TRUE + can_pierce_hardsuits = TRUE to_chat(user, "You short out the safeties on [src].") return TRUE +////////////////////////////// +// MARK: HYPO VARIANTS +////////////////////////////// /obj/item/reagent_containers/hypospray/safety name = "medical hypospray" desc = "A general use medical hypospray for quick injection of chemicals. There is a safety button by the trigger." @@ -103,32 +117,40 @@ icon_state = "ert_hypo" list_reagents = list("omnizine" = 30) -/obj/item/reagent_containers/hypospray/CMO - name = "advanced hypospray" - list_reagents = list("omnizine" = 30) - resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF - -/obj/item/reagent_containers/hypospray/CMO/Initialize(mapload) - . = ..() - RegisterSignal(src, COMSIG_PARENT_QDELETING, PROC_REF(alert_admins_on_destroy)) - /obj/item/reagent_containers/hypospray/combat name = "combat stimulant injector" - desc = "A modified air-needle autoinjector, used by support operatives to quickly heal injuries in combat." + desc = "A modified air-needle autoinjector, used by support operatives to quickly heal injuries in combat. It has a proprietary adapter allowing it to inject through the ports of Syndicate-made hardsuits." amount_per_transfer_from_this = 15 possible_transfer_amounts = null icon_state = "combat_hypo" volume = 90 - ignore_flags = 1 // So they can heal their comrades. + can_pierce_hardsuits = TRUE // So they can heal their comrades. + ignore_hypospray_immunity = TRUE list_reagents = list("epinephrine" = 30, "weak_omnizine" = 30, "salglu_solution" = 30) /obj/item/reagent_containers/hypospray/combat/nanites - desc = "A modified air-needle autoinjector for use in combat situations. Prefilled with expensive medical nanites for rapid healing." + desc = "A modified air-needle autoinjector for use in combat situations. Prefilled with expensive medical nanites for rapid healing. It can interface with the injection ports on any type of hardsuit." icon_state = "nanites_hypo" volume = 100 list_reagents = list("nanites" = 100) -/// This is an empty variant +////////////////////////////// +// MARK: CMO HYPO +////////////////////////////// +/obj/item/reagent_containers/hypospray/CMO + name = "advanced hypospray" + list_reagents = list("omnizine" = 30) + volume = 100 + can_pierce_hardsuits = TRUE + resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF + +/obj/item/reagent_containers/hypospray/CMO/Initialize(mapload) + . = ..() + RegisterSignal(src, COMSIG_PARENT_QDELETING, PROC_REF(alert_admins_on_destroy)) + +////////////////////////////// +// MARK: AUTOINJECTOR +////////////////////////////// /obj/item/reagent_containers/hypospray/autoinjector name = "empty autoinjector" desc = "A rapid and safe way to inject chemicals into humanoids. This one is empty." @@ -138,7 +160,8 @@ amount_per_transfer_from_this = 10 possible_transfer_amounts = null volume = 10 - ignore_flags = TRUE //so you can medipen through hardsuits + can_pierce_hardsuits = TRUE //so you can medipen through hardsuits + ignore_hypospray_immunity = TRUE container_type = DRAWABLE flags = null diff --git a/code/modules/reagents/reagent_containers/iv_bag.dm b/code/modules/reagents/reagent_containers/iv_bag.dm index d2d0de9697f3..9bee791230f8 100644 --- a/code/modules/reagents/reagent_containers/iv_bag.dm +++ b/code/modules/reagents/reagent_containers/iv_bag.dm @@ -41,11 +41,19 @@ ..() update_icon(UPDATE_OVERLAYS) +/obj/item/reagent_containers/iv_bag/proc/on_examine(datum/source, mob/examiner, list/examine_list) + SIGNAL_HANDLER // COMSIG_PARENT_EXAMINE + examine_list += "[source.p_they(TRUE)] [source.p_have()] an active IV bag." + /obj/item/reagent_containers/iv_bag/proc/begin_processing(mob/target) injection_target = target + ADD_TRAIT(injection_target, TRAIT_HAS_IV_BAG, UID()) + RegisterSignal(injection_target, COMSIG_PARENT_EXAMINE, PROC_REF(on_examine)) START_PROCESSING(SSobj, src) /obj/item/reagent_containers/iv_bag/proc/end_processing() + REMOVE_TRAIT(injection_target, TRAIT_HAS_IV_BAG, UID()) + UnregisterSignal(injection_target, COMSIG_PARENT_EXAMINE) injection_target = null STOP_PROCESSING(SSobj, src) @@ -106,6 +114,9 @@ else // Inserting the needle if(!L.can_inject(user, TRUE)) return + if(HAS_TRAIT(target, TRAIT_HAS_IV_BAG)) + to_chat(user, "[target] already [target.p_have()] another IV bag inserted into [target.p_them()]!") + return if(amount_per_transfer_from_this > 10) // We only want to be able to transfer 1, 5, or 10 units to people. Higher numbers are for transfering to other containers to_chat(user, "The IV bag can only be used on someone with a transfer amount of 1, 5 or 10.") return diff --git a/code/modules/shuttle/dock_generator.dm b/code/modules/shuttle/dock_generator.dm index ab53133315bb..86ac963c464c 100644 --- a/code/modules/shuttle/dock_generator.dm +++ b/code/modules/shuttle/dock_generator.dm @@ -37,6 +37,7 @@ var/list/dir_choices = list("North" = NORTH, "East" = EAST, "South" = SOUTH, "West" = WEST) var/dir_choice = tgui_input_list(user, "Select the new docking area orientation.", "Dock Orientation", dir_choices) if(!dir_choice) + to_chat(user, "Docking placement cancelled.") return var/dest_dir = dir_choices[dir_choice] @@ -76,17 +77,22 @@ qdel(port, force = TRUE) return - placed_docks += port - var/dock_count = length(placed_docks) - - var/basename = "Custom Dock #[dock_count]" + var/basename = "Docking Port #[length(placed_docks) + 1]" var/name = tgui_input_text(user, message = "Select the new docking area name.", title = "New Dock Name", default = basename, max_length = 20 ) - port.name = name ? name : basename + if(!name) + to_chat(user, "Docking placement cancelled.") + qdel(port, force = TRUE) + return + + placed_docks += port + var/dock_count = length(placed_docks) + + port.name = name port.id = "whiteship_custom_[dock_count]" port.register() diff --git a/code/modules/shuttle/shuttle.dm b/code/modules/shuttle/shuttle.dm index 433baaf248a6..0148925f8721 100644 --- a/code/modules/shuttle/shuttle.dm +++ b/code/modules/shuttle/shuttle.dm @@ -201,7 +201,6 @@ return 1 /obj/docking_port/mobile - icon_state = "mobile" name = "shuttle" icon_state = "pinonclose" diff --git a/code/modules/supply/supply_packs/pack_science.dm b/code/modules/supply/supply_packs/pack_science.dm index 97be6d8a40d9..4cbfdc9a966d 100644 --- a/code/modules/supply/supply_packs/pack_science.dm +++ b/code/modules/supply/supply_packs/pack_science.dm @@ -46,7 +46,7 @@ /obj/item/circuitboard/mecha/ripley/main, /obj/item/circuitboard/mecha/ripley/peripherals, /obj/item/clothing/suit/fire/firefighter, - /obj/item/stack/sheet/plasteel = 15) + /obj/item/stack/sheet/plasteel/fifteen) cost = 350 containertype = /obj/structure/closet/crate/sci/robo containername = "\improper APLU \"Ripley\" construction crate" @@ -58,7 +58,7 @@ contains = list(/obj/item/circuitboard/mecha/odysseus/peripherals, /obj/item/circuitboard/mecha/odysseus/main, /obj/item/mecha_parts/mecha_equipment/medical/sleeper, - /obj/item/stack/sheet/plasteel = 5) + /obj/item/stack/sheet/plasteel/five) cost = 350 containertype = /obj/structure/closet/crate/sci/robo containername = "\improper \"Odysseus\" construction crate" diff --git a/code/modules/surgery/organs/augments_internal.dm b/code/modules/surgery/organs/augments_internal.dm index 97ea59781f45..f1d635803b99 100644 --- a/code/modules/surgery/organs/augments_internal.dm +++ b/code/modules/surgery/organs/augments_internal.dm @@ -417,7 +417,7 @@ playsound(human_owner, 'sound/goonstation/items/hypo.ogg', 80, TRUE) var/obj/item/telegraph_vial = new /obj/item/qani_laaca_telegraph(get_turf(owner)) - var/turf/turf_we_throw_at = get_edge_target_turf(owner, reverse_direction(owner.dir)) + var/turf/turf_we_throw_at = get_edge_target_turf(owner, REVERSE_DIR(owner.dir)) telegraph_vial.throw_at(turf_we_throw_at, 5, 1) // Safety net in case the injection amount doesn't get reset. Apparently it happened to someone in a round. diff --git a/code/modules/surgery/organs/organ_datums/lung_datum.dm b/code/modules/surgery/organs/organ_datums/lung_datum.dm index 9e98a434eccd..9b5abb05f2e6 100644 --- a/code/modules/surgery/organs/organ_datums/lung_datum.dm +++ b/code/modules/surgery/organs/organ_datums/lung_datum.dm @@ -361,10 +361,6 @@ cold_level_2_threshold = 220 cold_level_3_threshold = 140 - heat_level_1_threshold = 505 - heat_level_2_threshold = 540 - heat_level_3_threshold = 600 - /datum/organ/lungs/slime cold_level_1_threshold = 280 cold_level_2_threshold = 240 diff --git a/code/modules/surgery/organs/organ_external.dm b/code/modules/surgery/organs/organ_external.dm index a4ba6329b300..1e9adcf7eaf9 100644 --- a/code/modules/surgery/organs/organ_external.dm +++ b/code/modules/surgery/organs/organ_external.dm @@ -317,9 +317,9 @@ //If limb took enough damage, try to cut or tear it off if(owner) if(sharp && !(limb_flags & CANNOT_DISMEMBER)) - if(limb_brute >= max_damage && prob(original_brute / 2)) + if(limb_brute + limb_burn >= max_damage && prob(original_brute / 2)) droplimb(0, DROPLIMB_SHARP) - if(limb_burn >= max_damage && prob(original_burn / 2)) + if(limb_brute + limb_burn >= max_damage && prob(original_burn / 2)) droplimb(0, DROPLIMB_BURN) if(owner_old) diff --git a/code/modules/unit_tests/map_tests.dm b/code/modules/unit_tests/map_tests.dm index fa8415727a71..f4e869ceef8c 100644 --- a/code/modules/unit_tests/map_tests.dm +++ b/code/modules/unit_tests/map_tests.dm @@ -137,7 +137,7 @@ if(!direction) // cable direction = 0, which means its a node return TRUE var/turf/potential_cable_turf = get_step(origin_turf, direction) - var/reversed_direction = reverse_direction(direction) + var/reversed_direction = REVERSE_DIR(direction) for(var/obj/structure/cable/other_cable in potential_cable_turf.contents) if(reversed_direction == other_cable.d1 || reversed_direction == other_cable.d2) return TRUE diff --git a/icons/effects/effects.dmi b/icons/effects/effects.dmi index 656a8380279d..1581440b4fe3 100644 Binary files a/icons/effects/effects.dmi and b/icons/effects/effects.dmi differ diff --git a/icons/mob/actions/actions.dmi b/icons/mob/actions/actions.dmi index 567b10475582..122a250846ec 100644 Binary files a/icons/mob/actions/actions.dmi and b/icons/mob/actions/actions.dmi differ diff --git a/icons/mob/hud/sechud.dmi b/icons/mob/hud/sechud.dmi index c1fa305d1b22..dda149df1895 100644 Binary files a/icons/mob/hud/sechud.dmi and b/icons/mob/hud/sechud.dmi differ diff --git a/icons/mob/human_face.dmi b/icons/mob/human_face.dmi index 876057298bf7..d83b4ea17c35 100644 Binary files a/icons/mob/human_face.dmi and b/icons/mob/human_face.dmi differ diff --git a/icons/mob/human_races/nian/r_moth.dmi b/icons/mob/human_races/nian/r_moth.dmi new file mode 100644 index 000000000000..404f36ee0e39 Binary files /dev/null and b/icons/mob/human_races/nian/r_moth.dmi differ diff --git a/icons/mob/human_races/nian/r_moth_cream.dmi b/icons/mob/human_races/nian/r_moth_cream.dmi new file mode 100644 index 000000000000..788e618e0a58 Binary files /dev/null and b/icons/mob/human_races/nian/r_moth_cream.dmi differ diff --git a/icons/mob/human_races/nian/r_moth_dark.dmi b/icons/mob/human_races/nian/r_moth_dark.dmi new file mode 100644 index 000000000000..957427fb08c7 Binary files /dev/null and b/icons/mob/human_races/nian/r_moth_dark.dmi differ diff --git a/icons/mob/human_races/nian/r_moth_purple.dmi b/icons/mob/human_races/nian/r_moth_purple.dmi new file mode 100644 index 000000000000..c817d8ec9f79 Binary files /dev/null and b/icons/mob/human_races/nian/r_moth_purple.dmi differ diff --git a/icons/mob/human_races/r_moth.dmi b/icons/mob/human_races/r_moth.dmi deleted file mode 100644 index 7ec64a0d8c65..000000000000 Binary files a/icons/mob/human_races/r_moth.dmi and /dev/null differ diff --git a/icons/obj/ammo.dmi b/icons/obj/ammo.dmi index 05c38bf7276c..c1175b0c242c 100644 Binary files a/icons/obj/ammo.dmi and b/icons/obj/ammo.dmi differ diff --git a/icons/obj/chemical.dmi b/icons/obj/chemical.dmi index b4c5d6bafaf0..f025eabce3c9 100644 Binary files a/icons/obj/chemical.dmi and b/icons/obj/chemical.dmi differ diff --git a/modular_ss220/maps220/_maps220.dme b/modular_ss220/maps220/_maps220.dme index 338747f4246b..ea07fa149115 100644 --- a/modular_ss220/maps220/_maps220.dme +++ b/modular_ss220/maps220/_maps220.dme @@ -9,16 +9,16 @@ #include "code/RandomRuins/space/space_ruins.dm" #include "code/Station/station_areas.dm" #include "code/Station/station_datums.dm" +#include "code/admin.dm" #include "code/corpses.dm" #include "code/directions.dm" +#include "code/effects.dm" +#include "code/flora.dm" +#include "code/layers.dm" #include "code/helpers.dm" #include "code/misc.dm" #include "code/mobs.dm" -#include "code/spawners.dm" -#include "code/walls.dm" -#include "code/effects.dm" #include "code/objects.dm" #include "code/papers.dm" -#include "code/admin.dm" -#include "code/layers.dm" -#include "code/flora.dm" +#include "code/spawners.dm" +#include "code/walls.dm" diff --git a/modular_ss220/maps220/code/Station/station_areas.dm b/modular_ss220/maps220/code/Station/station_areas.dm index 2b9af9214e8c..9364cf8eee7e 100644 --- a/modular_ss220/maps220/code/Station/station_areas.dm +++ b/modular_ss220/maps220/code/Station/station_areas.dm @@ -160,6 +160,10 @@ name = "ЦК - Тюрьма" icon_state = "centcom" +/area/shuttle/assault_pod/nanotrasen + name = "Nanotrasen Drop Pod" + icon_state = "shuttle" + /* Syndicate Base - Mothership */ /area/syndicate_mothership name = "Syndicate Forward Base" diff --git a/modular_ss220/objects/_objects.dme b/modular_ss220/objects/_objects.dme index 4094f6c693fb..569a05343a18 100644 --- a/modular_ss220/objects/_objects.dme +++ b/modular_ss220/objects/_objects.dme @@ -34,4 +34,4 @@ #include "code/flashlight.dm" #include "code/electrostaff.dm" #include "code/material_pouch.dm" - +#include "code/sslr.dm" diff --git a/modular_ss220/objects/code/sslr.dm b/modular_ss220/objects/code/sslr.dm new file mode 100644 index 000000000000..d52c18a2e973 --- /dev/null +++ b/modular_ss220/objects/code/sslr.dm @@ -0,0 +1,70 @@ +/obj/item/gun/projectile/automatic/sslr + name = "SSLR" + desc = "Стандартная лазерная винтовка производства Warp-Tac Industries, использующая лазерные картриджи вместо аккумулятора. Одно из самых популярных решений для службы безопасности Nanotrasen" + icon = 'modular_ss220/objects/icons/guns.dmi' + lefthand_file = 'modular_ss220/objects/icons/inhands/guns_lefthand.dmi' + righthand_file = 'modular_ss220/objects/icons/inhands/guns_righthand.dmi' + icon_state = "sslr" + item_state = "sslr" + w_class = WEIGHT_CLASS_BULKY + weapon_weight = WEAPON_HEAVY + origin_tech = "combat=1;materials=1" + mag_type = /obj/item/ammo_box/magazine/sslr + fire_sound = 'sound/weapons/gunshots/gunshot_lascarbine.ogg' + magin_sound = 'sound/weapons/gun_interactions/batrifle_magin.ogg' + magout_sound = 'sound/weapons/gun_interactions/batrifle_magout.ogg' + can_suppress = FALSE + burst_size = 1 + actions_types = list() + +/obj/item/gun/projectile/automatic/sslr/update_icon_state() + icon_state = "sslr[magazine ? "-[CEILING(get_ammo(0) / 4, 1) * 4]" : ""]" + item_state = "sslr[magazine ? "" : "_empty"]" + +/obj/item/ammo_box/magazine/sslr + name = "SSLR magazine" + desc = "Стандартный магазин для винтовки SSLR производства Warp-Tac Industries" + icon = 'modular_ss220/objects/icons/ammo.dmi' + icon_state = "sslr" + ammo_type = /obj/item/ammo_casing/caseless/laser + origin_tech = "combat=1" + caliber = "laser" + max_ammo = 8 + multi_sprite_step = 4 + w_class = WEIGHT_CLASS_NORMAL + +/obj/item/ammo_box/small_laser + name = "small ammo box (laser)" + desc = "Упаковка на 8 лазерных патронов для лазерных винтовок с магазинным способом заряжания" + icon_state = "laserbox" + origin_tech = "combat=1" + ammo_type = /obj/item/ammo_casing/caseless/laser + max_ammo = 8 + w_class = WEIGHT_CLASS_NORMAL + +/datum/design/sslr_magazine + name = "SSLR magazine" + desc = "Стандратный магазин на 8 патронов для SSLR" + id = "mag_sslr" + build_type = PROTOLATHE + materials = list(MAT_METAL = 1600, MAT_PLASMA = 240) + build_path = /obj/item/ammo_box/magazine/sslr + category = list("Weapons") + +/datum/design/laser_rifle_small_ammo_box + name = "small ammo box (laser)" + desc = "Упаковка на 8 лазерных патронов для лазерных винтовок с магазинным способом заряжания" + id = "small_box_laser" + build_type = PROTOLATHE + materials = list(MAT_METAL = 1600, MAT_PLASMA = 240) + build_path = /obj/item/ammo_box/small_laser + category = list("Weapons") + +/datum/supply_packs/security/armory/sslr_ammo + name = "SSLR Ammo Crate" + contains = list(/obj/item/ammo_box/magazine/sslr, + /obj/item/ammo_box/magazine/sslr, + /obj/item/ammo_box/magazine/sslr, + /obj/item/ammo_box/magazine/sslr) + cost = 150 + containername = "SSLR ammo crate" diff --git a/modular_ss220/objects/icons/ammo.dmi b/modular_ss220/objects/icons/ammo.dmi index 0b0a1d7f3255..a3fab60866e5 100644 Binary files a/modular_ss220/objects/icons/ammo.dmi and b/modular_ss220/objects/icons/ammo.dmi differ diff --git a/modular_ss220/objects/icons/guns.dmi b/modular_ss220/objects/icons/guns.dmi index 5c4790ce2e40..f8b2a57d0c3f 100644 Binary files a/modular_ss220/objects/icons/guns.dmi and b/modular_ss220/objects/icons/guns.dmi differ diff --git a/modular_ss220/objects/icons/inhands/guns_lefthand.dmi b/modular_ss220/objects/icons/inhands/guns_lefthand.dmi index db772dfb9cfc..efc57de302c2 100644 Binary files a/modular_ss220/objects/icons/inhands/guns_lefthand.dmi and b/modular_ss220/objects/icons/inhands/guns_lefthand.dmi differ diff --git a/modular_ss220/objects/icons/inhands/guns_righthand.dmi b/modular_ss220/objects/icons/inhands/guns_righthand.dmi index 2c7d8f3525c4..1f7f67772815 100644 Binary files a/modular_ss220/objects/icons/inhands/guns_righthand.dmi and b/modular_ss220/objects/icons/inhands/guns_righthand.dmi differ diff --git a/modular_ss220/shuttles/_shuttles.dme b/modular_ss220/shuttles/_shuttles.dme index 4b1e8d4e9b4a..7aca3691c749 100644 --- a/modular_ss220/shuttles/_shuttles.dme +++ b/modular_ss220/shuttles/_shuttles.dme @@ -1,3 +1,4 @@ #include "_shuttles.dm" #include "code/lance_shuttle.dm" +#include "code/nanotrasen_drop_pod.dm" diff --git a/modular_ss220/shuttles/code/nanotrasen_drop_pod.dm b/modular_ss220/shuttles/code/nanotrasen_drop_pod.dm new file mode 100644 index 000000000000..f37fbec2ff1b --- /dev/null +++ b/modular_ss220/shuttles/code/nanotrasen_drop_pod.dm @@ -0,0 +1,79 @@ +/* Nanotrasen Shuttles */ +// This is actually don't work for now and only need for Drop Pod +/obj/machinery/computer/shuttle/nanotrasen + name = "nanotrasen shuttle terminal" + icon_screen = "syndishuttle" + icon_keyboard = "syndie_key" + req_access = list(ACCESS_CENT_SPECOPS_COMMANDER) + bubble_icon = "syndibot" + circuit = /obj/item/circuitboard/shuttle/nanotrasen + shuttleId = "nanotrasen" + possible_destinations = "syndicate_away;syndicate_z5;syndicate_z3;syndicate_ne;syndicate_nw;syndicate_n;syndicate_se;syndicate_sw;syndicate_s;syndicate_custom" + resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF + flags = NODECONSTRUCT + +/obj/machinery/computer/shuttle/nanotrasen/recall + name = "nanotrasen shuttle recall terminal" + circuit = /obj/item/circuitboard/shuttle/nanotrasen/recall + possible_destinations = "syndicate_away" + +// Nanotrasen Drop Pod +/obj/machinery/computer/shuttle/nanotrasen/drop_pod + name = "nanotrasen assault pod control" + icon = 'icons/obj/terminals.dmi' + icon_state = "syndie_assault_pod" + req_access = list(ACCESS_CENT_SPECOPS_COMMANDER) + circuit = /obj/item/circuitboard/shuttle/nanotrasen/drop_pod + shuttleId = "nt_drop_pod" + possible_destinations = null + /// Is it possible to force sent a drop pod? (for admin shitspawns) + var/allow_force_sent = FALSE + /// To prevent spamming + var/next_request + +/obj/machinery/computer/shuttle/nanotrasen/drop_pod/can_call_shuttle(user, action) + if(action == "move") + if(world.time < next_request) + var/wait_time = round((next_request - world.time) / 10, 1) + to_chat(user, span_warning("Подождите ещё [wait_time] [wait_time == 1 ? "секунду" : "секунд"] перед использованием!")) + return + // 20 seconds cooldown before use + next_request = world.time + 20 SECONDS + if(z != level_name_to_num(CENTCOMM)) + to_chat(user, span_warning("Дроп Под может лететь только в одну сторону!")) + return FALSE + if(!allow_force_sent && SSsecurity_level.get_current_level_as_number() < SEC_LEVEL_EPSILON) + to_chat(user, span_warning("Дроп Под доступен при коде не ниже «Epsilon»!")) + return FALSE + return ..() + +/obj/machinery/computer/shuttle/nanotrasen/drop_pod/vv_edit_var(var_name, var_value) + if(var_name == "allow_force_sent") + var/confirm = tgui_alert(usr, "Отправка Дроп Пода в последующем будет невозможна, вы уверены?", "Подтверждение", list("Да", "Нет")) + if(confirm != "Да") + return FALSE + return ..() + +/* Docking Ports */ +/obj/docking_port/mobile/assault_pod/nanotrasen + id = "nt_drop_pod" + +/obj/docking_port/mobile/assault_pod/nanotrasen/request() + // No launching pods that have already launched + if(z == initial(src.z)) + return ..() + +/* Circuits */ +/obj/item/circuitboard/shuttle/nanotrasen/recall + board_name = "Nanotrasen Shuttle Recall Terminal" + icon_state = "generic" + build_path = /obj/machinery/computer/shuttle/nanotrasen/recall + +/obj/item/circuitboard/shuttle/nanotrasen/drop_pod + board_name = "Nanotrasen Drop Pod" + icon_state = "generic" + build_path = /obj/machinery/computer/shuttle/nanotrasen/drop_pod + +/* Specific Shuttle Items */ +/obj/item/assault_pod/nanotrasen + shuttle_id = "nt_drop_pod" diff --git a/paradise.dme b/paradise.dme index c8f3a4cba589..926934edac10 100644 --- a/paradise.dme +++ b/paradise.dme @@ -1445,6 +1445,7 @@ #include "code\modules\antagonists\changeling\powers\chameleon_skin.dm" #include "code\modules\antagonists\changeling\powers\contort_body.dm" #include "code\modules\antagonists\changeling\powers\digitalcamo.dm" +#include "code\modules\antagonists\changeling\powers\environmental_adaption.dm" #include "code\modules\antagonists\changeling\powers\epinephrine.dm" #include "code\modules\antagonists\changeling\powers\fakedeath.dm" #include "code\modules\antagonists\changeling\powers\fleshmend.dm" diff --git a/tgui/packages/tgui/interfaces/Orbit.js b/tgui/packages/tgui/interfaces/Orbit.js index a0f07bd15332..9c836bfaa17e 100644 --- a/tgui/packages/tgui/interfaces/Orbit.js +++ b/tgui/packages/tgui/interfaces/Orbit.js @@ -120,6 +120,7 @@ export const Orbit = (props, context) => { response_teams, auto_observe, dead, + ssd, ghosts, misc, npcs, @@ -146,6 +147,7 @@ export const Orbit = (props, context) => { highlights, alive, ghosts, + ssd, dead, npcs, misc, @@ -241,6 +243,13 @@ export const Orbit = (props, context) => { color={'grey'} /> + + 0&&(0,a.round)(C.width)/y.offsetWidth||1,c=y.offsetHeight>0&&(0,a.round)(C.height)/y.offsetHeight||1);var m=(0,e.isElement)(y)?(0,t.default)(y):window,d=m.visualViewport,l=!(0,o.default)()&&k,s=(C.left+(l&&d?d.offsetLeft:0))/u,i=(C.top+(l&&d?d.offsetTop:0))/c,p=C.width/u,v=C.height/c;return{width:p,height:v,top:i,right:s+p,bottom:i+v,left:s,x:s,y:i}}},86380:function(w,r,n){"use strict";r.__esModule=!0,r.default=v;var e=n(41521),a=l(n(2868)),t=l(n(39799)),o=l(n(54826)),f=l(n(43243)),V=l(n(33733)),y=l(n(14522)),S=n(72600),k=l(n(32125)),C=l(n(34972)),u=l(n(96343)),c=l(n(13203)),m=l(n(31855)),d=n(69031);function l(g){return g&&g.__esModule?g:{default:g}}function s(g,h){var N=(0,k.default)(g,!1,h==="fixed");return N.top=N.top+g.clientTop,N.left=N.left+g.clientLeft,N.bottom=N.top+g.clientHeight,N.right=N.left+g.clientWidth,N.width=g.clientWidth,N.height=g.clientHeight,N.x=N.left,N.y=N.top,N}function i(g,h,N){return h===e.viewport?(0,m.default)((0,a.default)(g,N)):(0,S.isElement)(h)?s(h,N):(0,m.default)((0,t.default)((0,V.default)(g)))}function p(g){var h=(0,o.default)((0,C.default)(g)),N=["absolute","fixed"].indexOf((0,y.default)(g).position)>=0,b=N&&(0,S.isHTMLElement)(g)?(0,f.default)(g):g;return(0,S.isElement)(b)?h.filter(function(B){return(0,S.isElement)(B)&&(0,u.default)(B,b)&&(0,c.default)(B)!=="body"}):[]}function v(g,h,N,b){var B=h==="clippingParents"?p(g):[].concat(h),I=[].concat(B,[N]),L=I[0],T=I.reduce(function(x,A){var E=i(g,A,b);return x.top=(0,d.max)(E.top,x.top),x.right=(0,d.min)(E.right,x.right),x.bottom=(0,d.min)(E.bottom,x.bottom),x.left=(0,d.max)(E.left,x.left),x},i(g,L,b));return T.width=T.right-T.left,T.height=T.bottom-T.top,T.x=T.left,T.y=T.top,T}},8823:function(w,r,n){"use strict";r.__esModule=!0,r.default=u;var e=k(n(32125)),a=k(n(45401)),t=k(n(13203)),o=n(72600),f=k(n(85750)),V=k(n(33733)),y=k(n(44011)),S=n(69031);function k(c){return c&&c.__esModule?c:{default:c}}function C(c){var m=c.getBoundingClientRect(),d=(0,S.round)(m.width)/c.offsetWidth||1,l=(0,S.round)(m.height)/c.offsetHeight||1;return d!==1||l!==1}function u(c,m,d){d===void 0&&(d=!1);var l=(0,o.isHTMLElement)(m),s=(0,o.isHTMLElement)(m)&&C(m),i=(0,V.default)(m),p=(0,e.default)(c,s,d),v={scrollLeft:0,scrollTop:0},g={x:0,y:0};return(l||!l&&!d)&&(((0,t.default)(m)!=="body"||(0,y.default)(i))&&(v=(0,a.default)(m)),(0,o.isHTMLElement)(m)?(g=(0,e.default)(m,!0),g.x+=m.clientLeft,g.y+=m.clientTop):i&&(g.x=(0,f.default)(i))),{x:p.left+v.scrollLeft-g.x,y:p.top+v.scrollTop-g.y,width:p.width,height:p.height}}},14522:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(81020));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return(0,e.default)(o).getComputedStyle(o)}},33733:function(w,r,n){"use strict";r.__esModule=!0,r.default=a;var e=n(72600);function a(t){return(((0,e.isElement)(t)?t.ownerDocument:t.document)||window.document).documentElement}},39799:function(w,r,n){"use strict";r.__esModule=!0,r.default=y;var e=V(n(33733)),a=V(n(14522)),t=V(n(85750)),o=V(n(79569)),f=n(69031);function V(S){return S&&S.__esModule?S:{default:S}}function y(S){var k,C=(0,e.default)(S),u=(0,o.default)(S),c=(k=S.ownerDocument)==null?void 0:k.body,m=(0,f.max)(C.scrollWidth,C.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),d=(0,f.max)(C.scrollHeight,C.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),l=-u.scrollLeft+(0,t.default)(S),s=-u.scrollTop;return(0,a.default)(c||C).direction==="rtl"&&(l+=(0,f.max)(C.clientWidth,c?c.clientWidth:0)-m),{width:m,height:d,x:l,y:s}}},75680:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}},19820:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(32125));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var f=(0,e.default)(o),V=o.offsetWidth,y=o.offsetHeight;return Math.abs(f.width-V)<=1&&(V=f.width),Math.abs(f.height-y)<=1&&(y=f.height),{x:o.offsetLeft,y:o.offsetTop,width:V,height:y}}},13203:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e?(e.nodeName||"").toLowerCase():null}},45401:function(w,r,n){"use strict";r.__esModule=!0,r.default=V;var e=f(n(79569)),a=f(n(81020)),t=n(72600),o=f(n(75680));function f(y){return y&&y.__esModule?y:{default:y}}function V(y){return y===(0,a.default)(y)||!(0,t.isHTMLElement)(y)?(0,e.default)(y):(0,o.default)(y)}},43243:function(w,r,n){"use strict";r.__esModule=!0,r.default=u;var e=S(n(81020)),a=S(n(13203)),t=S(n(14522)),o=n(72600),f=S(n(25658)),V=S(n(34972)),y=S(n(97353));function S(c){return c&&c.__esModule?c:{default:c}}function k(c){return!(0,o.isHTMLElement)(c)||(0,t.default)(c).position==="fixed"?null:c.offsetParent}function C(c){var m=/firefox/i.test((0,y.default)()),d=/Trident/i.test((0,y.default)());if(d&&(0,o.isHTMLElement)(c)){var l=(0,t.default)(c);if(l.position==="fixed")return null}var s=(0,V.default)(c);for((0,o.isShadowRoot)(s)&&(s=s.host);(0,o.isHTMLElement)(s)&&["html","body"].indexOf((0,a.default)(s))<0;){var i=(0,t.default)(s);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||m&&i.willChange==="filter"||m&&i.filter&&i.filter!=="none")return s;s=s.parentNode}return null}function u(c){for(var m=(0,e.default)(c),d=k(c);d&&(0,f.default)(d)&&(0,t.default)(d).position==="static";)d=k(d);return d&&((0,a.default)(d)==="html"||(0,a.default)(d)==="body"&&(0,t.default)(d).position==="static")?m:d||C(c)||m}},34972:function(w,r,n){"use strict";r.__esModule=!0,r.default=f;var e=o(n(13203)),a=o(n(33733)),t=n(72600);function o(V){return V&&V.__esModule?V:{default:V}}function f(V){return(0,e.default)(V)==="html"?V:V.assignedSlot||V.parentNode||((0,t.isShadowRoot)(V)?V.host:null)||(0,a.default)(V)}},65329:function(w,r,n){"use strict";r.__esModule=!0,r.default=V;var e=f(n(34972)),a=f(n(44011)),t=f(n(13203)),o=n(72600);function f(y){return y&&y.__esModule?y:{default:y}}function V(y){return["html","body","#document"].indexOf((0,t.default)(y))>=0?y.ownerDocument.body:(0,o.isHTMLElement)(y)&&(0,a.default)(y)?y:V((0,e.default)(y))}},2868:function(w,r,n){"use strict";r.__esModule=!0,r.default=V;var e=f(n(81020)),a=f(n(33733)),t=f(n(85750)),o=f(n(14894));function f(y){return y&&y.__esModule?y:{default:y}}function V(y,S){var k=(0,e.default)(y),C=(0,a.default)(y),u=k.visualViewport,c=C.clientWidth,m=C.clientHeight,d=0,l=0;if(u){c=u.width,m=u.height;var s=(0,o.default)();(s||!s&&S==="fixed")&&(d=u.offsetLeft,l=u.offsetTop)}return{width:c,height:m,x:d+(0,t.default)(y),y:l}}},81020:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var a=e.ownerDocument;return a&&a.defaultView||window}return e}},79569:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(81020));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var f=(0,e.default)(o),V=f.pageXOffset,y=f.pageYOffset;return{scrollLeft:V,scrollTop:y}}},85750:function(w,r,n){"use strict";r.__esModule=!0,r.default=f;var e=o(n(32125)),a=o(n(33733)),t=o(n(79569));function o(V){return V&&V.__esModule?V:{default:V}}function f(V){return(0,e.default)((0,a.default)(V)).left+(0,t.default)(V).scrollLeft}},72600:function(w,r,n){"use strict";r.__esModule=!0,r.isElement=t,r.isHTMLElement=o,r.isShadowRoot=f;var e=a(n(81020));function a(V){return V&&V.__esModule?V:{default:V}}function t(V){var y=(0,e.default)(V).Element;return V instanceof y||V instanceof Element}function o(V){var y=(0,e.default)(V).HTMLElement;return V instanceof y||V instanceof HTMLElement}function f(V){if(typeof ShadowRoot=="undefined")return!1;var y=(0,e.default)(V).ShadowRoot;return V instanceof y||V instanceof ShadowRoot}},14894:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(97353));function a(o){return o&&o.__esModule?o:{default:o}}function t(){return!/^((?!chrome|android).)*safari/i.test((0,e.default)())}},44011:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(14522));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var f=(0,e.default)(o),V=f.overflow,y=f.overflowX,S=f.overflowY;return/auto|scroll|overlay|hidden/.test(V+S+y)}},25658:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(13203));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return["table","td","th"].indexOf((0,e.default)(o))>=0}},54826:function(w,r,n){"use strict";r.__esModule=!0,r.default=V;var e=f(n(65329)),a=f(n(34972)),t=f(n(81020)),o=f(n(44011));function f(y){return y&&y.__esModule?y:{default:y}}function V(y,S){var k;S===void 0&&(S=[]);var C=(0,e.default)(y),u=C===((k=y.ownerDocument)==null?void 0:k.body),c=(0,t.default)(C),m=u?[c].concat(c.visualViewport||[],(0,o.default)(C)?C:[]):C,d=S.concat(m);return u?d:d.concat(V((0,a.default)(m)))}},41521:function(w,r){"use strict";r.__esModule=!0,r.write=r.viewport=r.variationPlacements=r.top=r.start=r.right=r.reference=r.read=r.popper=r.placements=r.modifierPhases=r.main=r.left=r.end=r.clippingParents=r.bottom=r.beforeWrite=r.beforeRead=r.beforeMain=r.basePlacements=r.auto=r.afterWrite=r.afterRead=r.afterMain=void 0;var n=r.top="top",e=r.bottom="bottom",a=r.right="right",t=r.left="left",o=r.auto="auto",f=r.basePlacements=[n,e,a,t],V=r.start="start",y=r.end="end",S=r.clippingParents="clippingParents",k=r.viewport="viewport",C=r.popper="popper",u=r.reference="reference",c=r.variationPlacements=f.reduce(function(B,I){return B.concat([I+"-"+V,I+"-"+y])},[]),m=r.placements=[].concat(f,[o]).reduce(function(B,I){return B.concat([I,I+"-"+V,I+"-"+y])},[]),d=r.beforeRead="beforeRead",l=r.read="read",s=r.afterRead="afterRead",i=r.beforeMain="beforeMain",p=r.main="main",v=r.afterMain="afterMain",g=r.beforeWrite="beforeWrite",h=r.write="write",N=r.afterWrite="afterWrite",b=r.modifierPhases=[d,l,s,i,p,v,g,h,N]},60023:function(w,r,n){"use strict";r.__esModule=!0;var e={popperGenerator:!0,detectOverflow:!0,createPopperBase:!0,createPopper:!0,createPopperLite:!0};r.popperGenerator=r.detectOverflow=r.createPopperLite=r.createPopperBase=r.createPopper=void 0;var a=n(41521);Object.keys(a).forEach(function(y){y==="default"||y==="__esModule"||Object.prototype.hasOwnProperty.call(e,y)||y in r&&r[y]===a[y]||(r[y]=a[y])});var t=n(91078);Object.keys(t).forEach(function(y){y==="default"||y==="__esModule"||Object.prototype.hasOwnProperty.call(e,y)||y in r&&r[y]===t[y]||(r[y]=t[y])});var o=n(66641);r.popperGenerator=o.popperGenerator,r.detectOverflow=o.detectOverflow,r.createPopperBase=o.createPopper;var f=n(7925);r.createPopper=f.createPopper;var V=n(62642);r.createPopperLite=V.createPopper},56304:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=t(n(13203)),a=n(72600);function t(y){return y&&y.__esModule?y:{default:y}}function o(y){var S=y.state;Object.keys(S.elements).forEach(function(k){var C=S.styles[k]||{},u=S.attributes[k]||{},c=S.elements[k];!(0,a.isHTMLElement)(c)||!(0,e.default)(c)||(Object.assign(c.style,C),Object.keys(u).forEach(function(m){var d=u[m];d===!1?c.removeAttribute(m):c.setAttribute(m,d===!0?"":d)}))})}function f(y){var S=y.state,k={popper:{position:S.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(S.elements.popper.style,k.popper),S.styles=k,S.elements.arrow&&Object.assign(S.elements.arrow.style,k.arrow),function(){Object.keys(S.elements).forEach(function(C){var u=S.elements[C],c=S.attributes[C]||{},m=Object.keys(S.styles.hasOwnProperty(C)?S.styles[C]:k[C]),d=m.reduce(function(l,s){return l[s]="",l},{});!(0,a.isHTMLElement)(u)||!(0,e.default)(u)||(Object.assign(u.style,d),Object.keys(c).forEach(function(l){u.removeAttribute(l)}))})}}var V=r.default={name:"applyStyles",enabled:!0,phase:"write",fn:o,effect:f,requires:["computeStyles"]}},57243:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=C(n(38141)),a=C(n(19820)),t=C(n(96343)),o=C(n(43243)),f=C(n(7770)),V=n(76770),y=C(n(77631)),S=C(n(54824)),k=n(41521);function C(l){return l&&l.__esModule?l:{default:l}}var u=function(){function l(s,i){return s=typeof s=="function"?s(Object.assign({},i.rects,{placement:i.placement})):s,(0,y.default)(typeof s!="number"?s:(0,S.default)(s,k.basePlacements))}return l}();function c(l){var s,i=l.state,p=l.name,v=l.options,g=i.elements.arrow,h=i.modifiersData.popperOffsets,N=(0,e.default)(i.placement),b=(0,f.default)(N),B=[k.left,k.right].indexOf(N)>=0,I=B?"height":"width";if(!(!g||!h)){var L=u(v.padding,i),T=(0,a.default)(g),x=b==="y"?k.top:k.left,A=b==="y"?k.bottom:k.right,E=i.rects.reference[I]+i.rects.reference[b]-h[b]-i.rects.popper[I],M=h[b]-i.rects.reference[b],D=(0,o.default)(g),P=D?b==="y"?D.clientHeight||0:D.clientWidth||0:0,R=E/2-M/2,j=L[x],F=P-T[I]-L[A],W=P/2-T[I]/2+R,_=(0,V.within)(j,W,F),K=b;i.modifiersData[p]=(s={},s[K]=_,s.centerOffset=_-W,s)}}function m(l){var s=l.state,i=l.options,p=i.element,v=p===void 0?"[data-popper-arrow]":p;v!=null&&(typeof v=="string"&&(v=s.elements.popper.querySelector(v),!v)||(0,t.default)(s.elements.popper,v)&&(s.elements.arrow=v))}var d=r.default={name:"arrow",enabled:!0,phase:"main",fn:c,effect:m,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},60421:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0,r.mapToStyles=c;var e=n(41521),a=k(n(43243)),t=k(n(81020)),o=k(n(33733)),f=k(n(14522)),V=k(n(38141)),y=k(n(14380)),S=n(69031);function k(l){return l&&l.__esModule?l:{default:l}}var C={top:"auto",right:"auto",bottom:"auto",left:"auto"};function u(l,s){var i=l.x,p=l.y,v=s.devicePixelRatio||1;return{x:(0,S.round)(i*v)/v||0,y:(0,S.round)(p*v)/v||0}}function c(l){var s,i=l.popper,p=l.popperRect,v=l.placement,g=l.variation,h=l.offsets,N=l.position,b=l.gpuAcceleration,B=l.adaptive,I=l.roundOffsets,L=l.isFixed,T=h.x,x=T===void 0?0:T,A=h.y,E=A===void 0?0:A,M=typeof I=="function"?I({x:x,y:E}):{x:x,y:E};x=M.x,E=M.y;var D=h.hasOwnProperty("x"),P=h.hasOwnProperty("y"),R=e.left,j=e.top,F=window;if(B){var W=(0,a.default)(i),_="clientHeight",K="clientWidth";if(W===(0,t.default)(i)&&(W=(0,o.default)(i),(0,f.default)(W).position!=="static"&&N==="absolute"&&(_="scrollHeight",K="scrollWidth")),W=W,v===e.top||(v===e.left||v===e.right)&&g===e.end){j=e.bottom;var $=L&&W===F&&F.visualViewport?F.visualViewport.height:W[_];E-=$-p.height,E*=b?1:-1}if(v===e.left||(v===e.top||v===e.bottom)&&g===e.end){R=e.right;var G=L&&W===F&&F.visualViewport?F.visualViewport.width:W[K];x-=G-p.width,x*=b?1:-1}}var X=Object.assign({position:N},B&&C),J=I===!0?u({x:x,y:E},(0,t.default)(i)):{x:x,y:E};if(x=J.x,E=J.y,b){var ue;return Object.assign({},X,(ue={},ue[j]=P?"0":"",ue[R]=D?"0":"",ue.transform=(F.devicePixelRatio||1)<=1?"translate("+x+"px, "+E+"px)":"translate3d("+x+"px, "+E+"px, 0)",ue))}return Object.assign({},X,(s={},s[j]=P?E+"px":"",s[R]=D?x+"px":"",s.transform="",s))}function m(l){var s=l.state,i=l.options,p=i.gpuAcceleration,v=p===void 0?!0:p,g=i.adaptive,h=g===void 0?!0:g,N=i.roundOffsets,b=N===void 0?!0:N,B={placement:(0,V.default)(s.placement),variation:(0,y.default)(s.placement),popper:s.elements.popper,popperRect:s.rects.popper,gpuAcceleration:v,isFixed:s.options.strategy==="fixed"};s.modifiersData.popperOffsets!=null&&(s.styles.popper=Object.assign({},s.styles.popper,c(Object.assign({},B,{offsets:s.modifiersData.popperOffsets,position:s.options.strategy,adaptive:h,roundOffsets:b})))),s.modifiersData.arrow!=null&&(s.styles.arrow=Object.assign({},s.styles.arrow,c(Object.assign({},B,{offsets:s.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:b})))),s.attributes.popper=Object.assign({},s.attributes.popper,{"data-popper-placement":s.placement})}var d=r.default={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:m,data:{}}},84601:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=a(n(81020));function a(V){return V&&V.__esModule?V:{default:V}}var t={passive:!0};function o(V){var y=V.state,S=V.instance,k=V.options,C=k.scroll,u=C===void 0?!0:C,c=k.resize,m=c===void 0?!0:c,d=(0,e.default)(y.elements.popper),l=[].concat(y.scrollParents.reference,y.scrollParents.popper);return u&&l.forEach(function(s){s.addEventListener("scroll",S.update,t)}),m&&d.addEventListener("resize",S.update,t),function(){u&&l.forEach(function(s){s.removeEventListener("scroll",S.update,t)}),m&&d.removeEventListener("resize",S.update,t)}}var f=r.default={name:"eventListeners",enabled:!0,phase:"write",fn:function(){function V(){}return V}(),effect:o,data:{}}},17267:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=S(n(79641)),a=S(n(38141)),t=S(n(71976)),o=S(n(31584)),f=S(n(44744)),V=n(41521),y=S(n(14380));function S(c){return c&&c.__esModule?c:{default:c}}function k(c){if((0,a.default)(c)===V.auto)return[];var m=(0,e.default)(c);return[(0,t.default)(c),m,(0,t.default)(m)]}function C(c){var m=c.state,d=c.options,l=c.name;if(!m.modifiersData[l]._skip){for(var s=d.mainAxis,i=s===void 0?!0:s,p=d.altAxis,v=p===void 0?!0:p,g=d.fallbackPlacements,h=d.padding,N=d.boundary,b=d.rootBoundary,B=d.altBoundary,I=d.flipVariations,L=I===void 0?!0:I,T=d.allowedAutoPlacements,x=m.options.placement,A=(0,a.default)(x),E=A===x,M=g||(E||!L?[(0,e.default)(x)]:k(x)),D=[x].concat(M).reduce(function(ee,oe){return ee.concat((0,a.default)(oe)===V.auto?(0,f.default)(m,{placement:oe,boundary:N,rootBoundary:b,padding:h,flipVariations:L,allowedAutoPlacements:T}):oe)},[]),P=m.rects.reference,R=m.rects.popper,j=new Map,F=!0,W=D[0],_=0;_=0,J=X?"width":"height",ue=(0,o.default)(m,{placement:K,boundary:N,rootBoundary:b,altBoundary:B,padding:h}),ce=X?G?V.right:V.left:G?V.bottom:V.top;P[J]>R[J]&&(ce=(0,e.default)(ce));var fe=(0,e.default)(ce),pe=[];if(i&&pe.push(ue[$]<=0),v&&pe.push(ue[ce]<=0,ue[fe]<=0),pe.every(function(ee){return ee})){W=K,F=!1;break}j.set(K,pe)}if(F)for(var he=L?3:1,te=function(){function ee(oe){var le=D.find(function(re){var ge=j.get(re);if(ge)return ge.slice(0,oe).every(function(Be){return Be})});if(le)return W=le,"break"}return ee}(),Q=he;Q>0;Q--){var ae=te(Q);if(ae==="break")break}m.placement!==W&&(m.modifiersData[l]._skip=!0,m.placement=W,m.reset=!0)}}var u=r.default={name:"flip",enabled:!0,phase:"main",fn:C,requiresIfExists:["offset"],data:{_skip:!1}}},88476:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=n(41521),a=t(n(31584));function t(S){return S&&S.__esModule?S:{default:S}}function o(S,k,C){return C===void 0&&(C={x:0,y:0}),{top:S.top-k.height-C.y,right:S.right-k.width+C.x,bottom:S.bottom-k.height+C.y,left:S.left-k.width-C.x}}function f(S){return[e.top,e.right,e.bottom,e.left].some(function(k){return S[k]>=0})}function V(S){var k=S.state,C=S.name,u=k.rects.reference,c=k.rects.popper,m=k.modifiersData.preventOverflow,d=(0,a.default)(k,{elementContext:"reference"}),l=(0,a.default)(k,{altBoundary:!0}),s=o(d,u),i=o(l,c,m),p=f(s),v=f(i);k.modifiersData[C]={referenceClippingOffsets:s,popperEscapeOffsets:i,isReferenceHidden:p,hasPopperEscaped:v},k.attributes.popper=Object.assign({},k.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":v})}var y=r.default={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:V}},91078:function(w,r,n){"use strict";r.__esModule=!0,r.preventOverflow=r.popperOffsets=r.offset=r.hide=r.flip=r.eventListeners=r.computeStyles=r.arrow=r.applyStyles=void 0;var e=C(n(56304));r.applyStyles=e.default;var a=C(n(57243));r.arrow=a.default;var t=C(n(60421));r.computeStyles=t.default;var o=C(n(84601));r.eventListeners=o.default;var f=C(n(17267));r.flip=f.default;var V=C(n(88476));r.hide=V.default;var y=C(n(36707));r.offset=y.default;var S=C(n(98916));r.popperOffsets=S.default;var k=C(n(44454));r.preventOverflow=k.default;function C(u){return u&&u.__esModule?u:{default:u}}},36707:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0,r.distanceAndSkiddingToXY=o;var e=t(n(38141)),a=n(41521);function t(y){return y&&y.__esModule?y:{default:y}}function o(y,S,k){var C=(0,e.default)(y),u=[a.left,a.top].indexOf(C)>=0?-1:1,c=typeof k=="function"?k(Object.assign({},S,{placement:y})):k,m=c[0],d=c[1];return m=m||0,d=(d||0)*u,[a.left,a.right].indexOf(C)>=0?{x:d,y:m}:{x:m,y:d}}function f(y){var S=y.state,k=y.options,C=y.name,u=k.offset,c=u===void 0?[0,0]:u,m=a.placements.reduce(function(i,p){return i[p]=o(p,S.rects,c),i},{}),d=m[S.placement],l=d.x,s=d.y;S.modifiersData.popperOffsets!=null&&(S.modifiersData.popperOffsets.x+=l,S.modifiersData.popperOffsets.y+=s),S.modifiersData[C]=m}var V=r.default={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:f}},98916:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=a(n(47566));function a(f){return f&&f.__esModule?f:{default:f}}function t(f){var V=f.state,y=f.name;V.modifiersData[y]=(0,e.default)({reference:V.rects.reference,element:V.rects.popper,strategy:"absolute",placement:V.placement})}var o=r.default={name:"popperOffsets",enabled:!0,phase:"read",fn:t,data:{}}},44454:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=n(41521),a=c(n(38141)),t=c(n(7770)),o=c(n(39571)),f=n(76770),V=c(n(19820)),y=c(n(43243)),S=c(n(31584)),k=c(n(14380)),C=c(n(92385)),u=n(69031);function c(l){return l&&l.__esModule?l:{default:l}}function m(l){var s=l.state,i=l.options,p=l.name,v=i.mainAxis,g=v===void 0?!0:v,h=i.altAxis,N=h===void 0?!1:h,b=i.boundary,B=i.rootBoundary,I=i.altBoundary,L=i.padding,T=i.tether,x=T===void 0?!0:T,A=i.tetherOffset,E=A===void 0?0:A,M=(0,S.default)(s,{boundary:b,rootBoundary:B,padding:L,altBoundary:I}),D=(0,a.default)(s.placement),P=(0,k.default)(s.placement),R=!P,j=(0,t.default)(D),F=(0,o.default)(j),W=s.modifiersData.popperOffsets,_=s.rects.reference,K=s.rects.popper,$=typeof E=="function"?E(Object.assign({},s.rects,{placement:s.placement})):E,G=typeof $=="number"?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),X=s.modifiersData.offset?s.modifiersData.offset[s.placement]:null,J={x:0,y:0};if(W){if(g){var ue,ce=j==="y"?e.top:e.left,fe=j==="y"?e.bottom:e.right,pe=j==="y"?"height":"width",he=W[j],te=he+M[ce],Q=he-M[fe],ae=x?-K[pe]/2:0,ee=P===e.start?_[pe]:K[pe],oe=P===e.start?-K[pe]:-_[pe],le=s.elements.arrow,re=x&&le?(0,V.default)(le):{width:0,height:0},ge=s.modifiersData["arrow#persistent"]?s.modifiersData["arrow#persistent"].padding:(0,C.default)(),Be=ge[ce],ve=ge[fe],Ve=(0,f.within)(0,_[pe],re[pe]),ke=R?_[pe]/2-ae-Ve-Be-G.mainAxis:ee-Ve-Be-G.mainAxis,ye=R?-_[pe]/2+ae+Ve+ve+G.mainAxis:oe+Ve+ve+G.mainAxis,Ie=s.elements.arrow&&(0,y.default)(s.elements.arrow),we=Ie?j==="y"?Ie.clientTop||0:Ie.clientLeft||0:0,xe=(ue=X==null?void 0:X[j])!=null?ue:0,Oe=he+ke-xe-we,We=he+ye-xe,be=(0,f.within)(x?(0,u.min)(te,Oe):te,he,x?(0,u.max)(Q,We):Q);W[j]=be,J[j]=be-he}if(N){var ie,se=j==="x"?e.top:e.left,Ce=j==="x"?e.bottom:e.right,me=W[F],Ne=F==="y"?"height":"width",Ae=me+M[se],De=me-M[Ce],je=[e.top,e.left].indexOf(D)!==-1,_e=(ie=X==null?void 0:X[F])!=null?ie:0,Ue=je?Ae:me-_[Ne]-K[Ne]-_e+G.altAxis,ze=je?me+_[Ne]+K[Ne]-_e-G.altAxis:De,Ge=x&&je?(0,f.withinMaxClamp)(Ue,me,ze):(0,f.within)(x?Ue:Ae,me,x?ze:De);W[F]=Ge,J[F]=Ge-me}s.modifiersData[p]=J}}var d=r.default={name:"preventOverflow",enabled:!0,phase:"main",fn:m,requiresIfExists:["offset"]}},62642:function(w,r,n){"use strict";r.__esModule=!0,r.defaultModifiers=r.createPopper=void 0;var e=n(66641);r.popperGenerator=e.popperGenerator,r.detectOverflow=e.detectOverflow;var a=V(n(84601)),t=V(n(98916)),o=V(n(60421)),f=V(n(56304));function V(k){return k&&k.__esModule?k:{default:k}}var y=r.defaultModifiers=[a.default,t.default,o.default,f.default],S=r.createPopper=(0,e.popperGenerator)({defaultModifiers:y})},7925:function(w,r,n){"use strict";r.__esModule=!0;var e={createPopper:!0,createPopperLite:!0,defaultModifiers:!0,popperGenerator:!0,detectOverflow:!0};r.defaultModifiers=r.createPopperLite=r.createPopper=void 0;var a=n(66641);r.popperGenerator=a.popperGenerator,r.detectOverflow=a.detectOverflow;var t=d(n(84601)),o=d(n(98916)),f=d(n(60421)),V=d(n(56304)),y=d(n(36707)),S=d(n(17267)),k=d(n(44454)),C=d(n(57243)),u=d(n(88476)),c=n(62642);r.createPopperLite=c.createPopper;var m=n(91078);Object.keys(m).forEach(function(i){i==="default"||i==="__esModule"||Object.prototype.hasOwnProperty.call(e,i)||i in r&&r[i]===m[i]||(r[i]=m[i])});function d(i){return i&&i.__esModule?i:{default:i}}var l=r.defaultModifiers=[t.default,o.default,f.default,V.default,y.default,S.default,k.default,C.default,u.default],s=r.createPopperLite=r.createPopper=(0,a.popperGenerator)({defaultModifiers:l})},44744:function(w,r,n){"use strict";r.__esModule=!0,r.default=V;var e=f(n(14380)),a=n(41521),t=f(n(31584)),o=f(n(38141));function f(y){return y&&y.__esModule?y:{default:y}}function V(y,S){S===void 0&&(S={});var k=S,C=k.placement,u=k.boundary,c=k.rootBoundary,m=k.padding,d=k.flipVariations,l=k.allowedAutoPlacements,s=l===void 0?a.placements:l,i=(0,e.default)(C),p=i?d?a.variationPlacements:a.variationPlacements.filter(function(h){return(0,e.default)(h)===i}):a.basePlacements,v=p.filter(function(h){return s.indexOf(h)>=0});v.length===0&&(v=p);var g=v.reduce(function(h,N){return h[N]=(0,t.default)(y,{placement:N,boundary:u,rootBoundary:c,padding:m})[(0,o.default)(N)],h},{});return Object.keys(g).sort(function(h,N){return g[h]-g[N]})}},47566:function(w,r,n){"use strict";r.__esModule=!0,r.default=V;var e=f(n(38141)),a=f(n(14380)),t=f(n(7770)),o=n(41521);function f(y){return y&&y.__esModule?y:{default:y}}function V(y){var S=y.reference,k=y.element,C=y.placement,u=C?(0,e.default)(C):null,c=C?(0,a.default)(C):null,m=S.x+S.width/2-k.width/2,d=S.y+S.height/2-k.height/2,l;switch(u){case o.top:l={x:m,y:S.y-k.height};break;case o.bottom:l={x:m,y:S.y+S.height};break;case o.right:l={x:S.x+S.width,y:d};break;case o.left:l={x:S.x-k.width,y:d};break;default:l={x:S.x,y:S.y}}var s=u?(0,t.default)(u):null;if(s!=null){var i=s==="y"?"height":"width";switch(c){case o.start:l[s]=l[s]-(S[i]/2-k[i]/2);break;case o.end:l[s]=l[s]+(S[i]/2-k[i]/2);break;default:}}return l}},80798:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){var a;return function(){return a||(a=new Promise(function(t){Promise.resolve().then(function(){a=void 0,t(e())})})),a}}},31584:function(w,r,n){"use strict";r.__esModule=!0,r.default=u;var e=C(n(86380)),a=C(n(33733)),t=C(n(32125)),o=C(n(47566)),f=C(n(31855)),V=n(41521),y=n(72600),S=C(n(77631)),k=C(n(54824));function C(c){return c&&c.__esModule?c:{default:c}}function u(c,m){m===void 0&&(m={});var d=m,l=d.placement,s=l===void 0?c.placement:l,i=d.strategy,p=i===void 0?c.strategy:i,v=d.boundary,g=v===void 0?V.clippingParents:v,h=d.rootBoundary,N=h===void 0?V.viewport:h,b=d.elementContext,B=b===void 0?V.popper:b,I=d.altBoundary,L=I===void 0?!1:I,T=d.padding,x=T===void 0?0:T,A=(0,S.default)(typeof x!="number"?x:(0,k.default)(x,V.basePlacements)),E=B===V.popper?V.reference:V.popper,M=c.rects.popper,D=c.elements[L?E:B],P=(0,e.default)((0,y.isElement)(D)?D:D.contextElement||(0,a.default)(c.elements.popper),g,N,p),R=(0,t.default)(c.elements.reference),j=(0,o.default)({reference:R,element:M,strategy:"absolute",placement:s}),F=(0,f.default)(Object.assign({},M,j)),W=B===V.popper?F:R,_={top:P.top-W.top+A.top,bottom:W.bottom-P.bottom+A.bottom,left:P.left-W.left+A.left,right:W.right-P.right+A.right},K=c.modifiersData.offset;if(B===V.popper&&K){var $=K[s];Object.keys(_).forEach(function(G){var X=[V.right,V.bottom].indexOf(G)>=0?1:-1,J=[V.top,V.bottom].indexOf(G)>=0?"y":"x";_[G]+=$[J]*X})}return _}},54824:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e,a){return a.reduce(function(t,o){return t[o]=e,t},{})}},39571:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e==="x"?"y":"x"}},38141:function(w,r,n){"use strict";r.__esModule=!0,r.default=a;var e=n(41521);function a(t){return t.split("-")[0]}},92385:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(){return{top:0,right:0,bottom:0,left:0}}},7770:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}},79641:function(w,r){"use strict";r.__esModule=!0,r.default=e;var n={left:"right",right:"left",bottom:"top",top:"bottom"};function e(a){return a.replace(/left|right|bottom|top/g,function(t){return n[t]})}},71976:function(w,r){"use strict";r.__esModule=!0,r.default=e;var n={start:"end",end:"start"};function e(a){return a.replace(/start|end/g,function(t){return n[t]})}},14380:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e.split("-")[1]}},69031:function(w,r){"use strict";r.__esModule=!0,r.round=r.min=r.max=void 0;var n=r.max=Math.max,e=r.min=Math.min,a=r.round=Math.round},46343:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){var a=e.reduce(function(t,o){var f=t[o.name];return t[o.name]=f?Object.assign({},f,o,{options:Object.assign({},f.options,o.options),data:Object.assign({},f.data,o.data)}):o,t},{});return Object.keys(a).map(function(t){return a[t]})}},77631:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(92385));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return Object.assign({},(0,e.default)(),o)}},17859:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=n(41521);function a(o){var f=new Map,V=new Set,y=[];o.forEach(function(k){f.set(k.name,k)});function S(k){V.add(k.name);var C=[].concat(k.requires||[],k.requiresIfExists||[]);C.forEach(function(u){if(!V.has(u)){var c=f.get(u);c&&S(c)}}),y.push(k)}return o.forEach(function(k){V.has(k.name)||S(k)}),y}function t(o){var f=a(o);return e.modifierPhases.reduce(function(V,y){return V.concat(f.filter(function(S){return S.phase===y}))},[])}},31855:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}},97353:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(a){return a.brand+"/"+a.version}).join(" "):navigator.userAgent}},76770:function(w,r,n){"use strict";r.__esModule=!0,r.within=a,r.withinMaxClamp=t;var e=n(69031);function a(o,f,V){return(0,e.max)(o,(0,e.min)(f,V))}function t(o,f,V){var y=a(o,f,V);return y>V?V:y}},63935:function(w,r){"use strict";r.__esModule=!0,r.Fragment=r.EMPTY_OBJ=r.Component=void 0,r._CI=Et,r._HI=te,r._M=Ke,r._MCCC=Ot,r._ME=Pt,r._MFCC=Rt,r._MP=xt,r._MR=ot,r._RFC=Ct,r.__render=Ft,r.createComponentVNode=_,r.createFragment=$,r.createPortal=ce,r.createRef=Yt,r.createRenderer=kn,r.createTextVNode=K,r.createVNode=R,r.directClone=J,r.findDOMfromVNode=N,r.forwardRef=Xt,r.getFlagsForElementVnode=pe,r.linkEvent=C,r.normalizeProps=G,r.options=void 0,r.render=Wt,r.rerender=_t,r.version=void 0;var n=Array.isArray;function e(O){var U=typeof O;return U==="string"||U==="number"}function a(O){return O==null}function t(O){return O===null||O===!1||O===!0||O===void 0}function o(O){return typeof O=="function"}function f(O){return typeof O=="string"}function V(O){return typeof O=="number"}function y(O){return O===null}function S(O){return O===void 0}function k(O,U){var z={};if(O)for(var H in O)z[H]=O[H];if(U)for(var Z in U)z[Z]=U[Z];return z}function C(O,U){return o(U)?{data:O,event:U}:null}function u(O){return!y(O)&&typeof O=="object"}var c=r.EMPTY_OBJ={},m=r.Fragment="$F";function d(O){return O.substr(2).toLowerCase()}function l(O,U){O.appendChild(U)}function s(O,U,z){y(z)?l(O,U):O.insertBefore(U,z)}function i(O,U){return U?document.createElementNS("http://www.w3.org/2000/svg",O):document.createElement(O)}function p(O,U,z){O.replaceChild(U,z)}function v(O,U){O.removeChild(U)}function g(O){for(var U=0;U0,Se=y(de),Le=f(de)&&de[0]===D;Te||Se||Le?(z=z||U.slice(0,q),(Te||Le)&&(ne=J(ne)),(Se||Le)&&(ne.key=D+q),z.push(ne)):z&&z.push(ne),ne.flags|=65536}}z=z||U,z.length===0?H=1:H=8}else z=U,z.flags|=65536,U.flags&81920&&(z=J(U)),H=2;return O.children=z,O.childFlags=H,O}function te(O){return t(O)||e(O)?K(O,null):n(O)?$(O,0,null):O.flags&16384?J(O):O}var Q="http://www.w3.org/1999/xlink",ae="http://www.w3.org/XML/1998/namespace",ee={"xlink:actuate":Q,"xlink:arcrole":Q,"xlink:href":Q,"xlink:role":Q,"xlink:show":Q,"xlink:title":Q,"xlink:type":Q,"xml:base":ae,"xml:lang":ae,"xml:space":ae};function oe(O){return{onClick:O,onDblClick:O,onFocusIn:O,onFocusOut:O,onKeyDown:O,onKeyPress:O,onKeyUp:O,onMouseDown:O,onMouseMove:O,onMouseUp:O,onTouchEnd:O,onTouchMove:O,onTouchStart:O}}var le=oe(0),re=oe(null),ge=oe(!0);function Be(O,U){var z=U.$EV;return z||(z=U.$EV=oe(null)),z[O]||++le[O]===1&&(re[O]=ie(O)),z}function ve(O,U){var z=U.$EV;z&&z[O]&&(--le[O]===0&&(document.removeEventListener(d(O),re[O]),re[O]=null),z[O]=null)}function Ve(O,U,z,H){if(o(z))Be(O,H)[O]=z;else if(u(z)){if(A(U,z))return;Be(O,H)[O]=z}else ve(O,H)}function ke(O){return o(O.composedPath)?O.composedPath()[0]:O.target}function ye(O,U,z,H){var Z=ke(O);do{if(U&&Z.disabled)return;var q=Z.$EV;if(q){var ne=q[z];if(ne&&(H.dom=Z,ne.event?ne.event(ne.data,O):ne(O),O.cancelBubble))return}Z=Z.parentNode}while(!y(Z))}function Ie(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function we(){return this.defaultPrevented}function xe(){return this.cancelBubble}function Oe(O){var U={dom:document};return O.isDefaultPrevented=we,O.isPropagationStopped=xe,O.stopPropagation=Ie,Object.defineProperty(O,"currentTarget",{configurable:!0,get:function(){function z(){return U.dom}return z}()}),U}function We(O){return function(U){if(U.button!==0){U.stopPropagation();return}ye(U,!0,O,Oe(U))}}function be(O){return function(U){ye(U,!1,O,Oe(U))}}function ie(O){var U=O==="onClick"||O==="onDblClick"?We(O):be(O);return document.addEventListener(d(O),U),U}function se(O,U){var z=document.createElement("i");return z.innerHTML=U,z.innerHTML===O.innerHTML}function Ce(O,U,z){if(O[U]){var H=O[U];H.event?H.event(H.data,z):H(z)}else{var Z=U.toLowerCase();O[Z]&&O[Z](z)}}function me(O,U){var z=function(Z){var q=this.$V;if(q){var ne=q.props||c,de=q.dom;if(f(O))Ce(ne,O,Z);else for(var Te=0;Te-1&&U.options[q]&&(de=U.options[q].value),z&&a(de)&&(de=O.defaultValue),Ge(H,de)}}var Bt=me("onInput",pt),It=me("onChange");function Lt(O,U){Ne(O,"input",Bt),U.onChange&&Ne(O,"change",It)}function pt(O,U,z){var H=O.value,Z=U.value;if(a(H)){if(z){var q=O.defaultValue;!a(q)&&q!==Z&&(U.defaultValue=q,U.value=q)}}else Z!==H&&(U.defaultValue=H,U.value=H)}function wt(O,U,z,H,Z,q){O&64?ze(H,z):O&256?ft(H,z,Z,U):O&128&&pt(H,z,Z),q&&(z.$V=U)}function Gt(O,U,z){O&64?Ue(U,z):O&256?St(U):O&128&&Lt(U,z)}function Tt(O){return O.type&&Ae(O.type)?!a(O.checked):!a(O.value)}function Yt(){return{current:null}}function Xt(O){return{render:O}}function lt(O){O&&!M(O,null)&&O.current&&(O.current=null)}function ot(O,U,z){O&&(o(O)||O.current!==void 0)&&z.push(function(){!M(O,U)&&O.current!==void 0&&(O.current=U)})}function Xe(O,U){Qe(O),b(O,U)}function Qe(O){var U=O.flags,z=O.children,H;if(U&481){H=O.ref;var Z=O.props;lt(H);var q=O.childFlags;if(!y(Z))for(var ne=Object.keys(Z),de=0,Te=ne.length;de0;ne&&(q=Tt(z),q&&Gt(U,H,z));for(var de in z)ht(de,null,z[de],H,Z,q,null);ne&&wt(U,O,H,z,!0,q)}function At(O,U,z){var H=te(O.render(U,O.state,z)),Z=z;return o(O.getChildContext)&&(Z=k(z,O.getChildContext())),O.$CX=Z,H}function Et(O,U,z,H,Z,q){var ne=new U(z,H),de=ne.$N=!!(U.getDerivedStateFromProps||ne.getSnapshotBeforeUpdate);if(ne.$SVG=Z,ne.$L=q,O.children=ne,ne.$BS=!1,ne.context=H,ne.props===c&&(ne.props=z),de)ne.state=I(ne,z,ne.state);else if(o(ne.componentWillMount)){ne.$BR=!0,ne.componentWillMount();var Te=ne.$PS;if(!y(Te)){var Se=ne.state;if(y(Se))ne.state=Te;else for(var Le in Te)Se[Le]=Te[Le];ne.$PS=null}ne.$BR=!1}return ne.$LI=At(ne,z,H),ne}function Ct(O,U){var z=O.props||c;return O.flags&32768?O.type.render(z,O.ref,U):O.type(z,U)}function Ke(O,U,z,H,Z,q){var ne=O.flags|=16384;ne&481?Pt(O,U,z,H,Z,q):ne&4?nn(O,U,z,H,Z,q):ne&8?(on(O,U,z,H,Z,q),Rt(O,q)):ne&512||ne&16?Mt(O,U,Z):ne&8192?tn(O,z,U,H,Z,q):ne&1024&&en(O,z,U,Z,q)}function en(O,U,z,H,Z){Ke(O.children,O.ref,U,!1,null,Z);var q=ue();Mt(q,z,H),O.dom=q.dom}function tn(O,U,z,H,Z,q){var ne=O.children,de=O.childFlags;de&12&&ne.length===0&&(de=O.childFlags=2,ne=O.children=ue()),de===2?Ke(ne,z,U,H,Z,q):nt(ne,z,U,H,Z,q)}function Mt(O,U,z){var H=O.dom=document.createTextNode(O.children);y(U)||s(U,H,z)}function Pt(O,U,z,H,Z,q){var ne=O.flags,de=O.props,Te=O.className,Se=O.childFlags,Le=O.dom=i(O.type,H=H||(ne&32)>0),Ee=O.children;if(!a(Te)&&Te!==""&&(H?Le.setAttribute("class",Te):Le.className=Te),Se===16)x(Le,Ee);else if(Se!==1){var Pe=H&&O.type!=="foreignObject";Se===2?(Ee.flags&16384&&(O.children=Ee=J(Ee)),Ke(Ee,Le,z,Pe,null,q)):(Se===8||Se===4)&&nt(Ee,Le,z,Pe,null,q)}y(U)||s(U,Le,Z),y(de)||xt(O,ne,de,Le,H),ot(O.ref,Le,q)}function nt(O,U,z,H,Z,q){for(var ne=0;nePe)&&(Le=N(ne[Pe-1],!1).nextSibling)}vt(Te,Se,ne,de,z,H,Z,Le,O,q)}function sn(O,U,z,H){var Z=O.ref,q=U.ref,ne=U.children;if(vt(O.childFlags,U.childFlags,O.children,ne,Z,z,!1,null,O,H),U.dom=O.dom,Z!==q&&!t(ne)){var de=ne.dom;v(Z,de),l(q,de)}}function mn(O,U,z,H,Z,q){var ne=U.dom=O.dom,de=O.props,Te=U.props,Se=!1,Le=!1,Ee;if(H=H||(Z&32)>0,de!==Te){var Pe=de||c;if(Ee=Te||c,Ee!==c){Se=(Z&448)>0,Se&&(Le=Tt(Ee));for(var Fe in Ee){var Me=Pe[Fe],He=Ee[Fe];Me!==He&&ht(Fe,Me,He,ne,H,Le,O)}}if(Pe!==c)for(var Re in Pe)a(Ee[Re])&&!a(Pe[Re])&&ht(Re,Pe[Re],null,ne,H,Le,O)}var et=U.children,Ye=U.className;O.className!==Ye&&(a(Ye)?ne.removeAttribute("class"):H?ne.setAttribute("class",Ye):ne.className=Ye),Z&4096?un(ne,et):vt(O.childFlags,U.childFlags,O.children,et,ne,z,H&&U.type!=="foreignObject",null,O,q),Se&&wt(Z,U,ne,Ee,!1,Le);var at=U.ref,Je=O.ref;Je!==at&&(lt(Je),ot(at,ne,q))}function fn(O,U,z,H,Z,q){Qe(O),nt(U,z,H,Z,N(O,!0),q),b(O,z)}function vt(O,U,z,H,Z,q,ne,de,Te,Se){switch(O){case 2:switch(U){case 2:Ze(z,H,Z,q,ne,de,Se);break;case 1:Xe(z,Z);break;case 16:Qe(z),x(Z,H);break;default:fn(z,H,Z,q,ne,Se);break}break;case 1:switch(U){case 2:Ke(H,Z,q,ne,de,Se);break;case 1:break;case 16:x(Z,H);break;default:nt(H,Z,q,ne,de,Se);break}break;case 16:switch(U){case 16:ln(z,H,Z);break;case 2:ut(Z),Ke(H,Z,q,ne,de,Se);break;case 1:ut(Z);break;default:ut(Z),nt(H,Z,q,ne,de,Se);break}break;default:switch(U){case 16:rt(z),x(Z,H);break;case 2:dt(Z,Te,z),Ke(H,Z,q,ne,de,Se);break;case 1:dt(Z,Te,z);break;default:var Le=z.length|0,Ee=H.length|0;Le===0?Ee>0&&nt(H,Z,q,ne,de,Se):Ee===0?dt(Z,Te,z):U===8&&O===8?Nn(z,H,Z,q,ne,Le,Ee,de,Te,Se):gn(z,H,Z,q,ne,Le,Ee,de,Se);break}break}}function pn(O,U,z,H,Z){Z.push(function(){O.componentDidUpdate(U,z,H)})}function Dt(O,U,z,H,Z,q,ne,de,Te){var Se=O.state,Le=O.props,Ee=!!O.$N,Pe=o(O.shouldComponentUpdate);if(Ee&&(U=I(O,z,U!==Se?k(Se,U):U)),ne||!Pe||Pe&&O.shouldComponentUpdate(z,U,Z)){!Ee&&o(O.componentWillUpdate)&&O.componentWillUpdate(z,U,Z),O.props=z,O.state=U,O.context=Z;var Fe=null,Me=At(O,z,Z);Ee&&o(O.getSnapshotBeforeUpdate)&&(Fe=O.getSnapshotBeforeUpdate(Le,Se)),Ze(O.$LI,Me,H,O.$CX,q,de,Te),O.$LI=Me,o(O.componentDidUpdate)&&pn(O,Le,Se,Fe,Te)}else O.props=z,O.state=U,O.context=Z}function hn(O,U,z,H,Z,q,ne){var de=U.children=O.children;if(!y(de)){de.$L=ne;var Te=U.props||c,Se=U.ref,Le=O.ref,Ee=de.state;if(!de.$N){if(o(de.componentWillReceiveProps)){if(de.$BR=!0,de.componentWillReceiveProps(Te,H),de.$UN)return;de.$BR=!1}y(de.$PS)||(Ee=k(Ee,de.$PS),de.$PS=null)}Dt(de,Ee,Te,z,H,Z,!1,q,ne),Le!==Se&&(lt(Le),ot(Se,de,ne))}}function Cn(O,U,z,H,Z,q,ne){var de=!0,Te=U.props||c,Se=U.ref,Le=O.props,Ee=!a(Se),Pe=O.children;if(Ee&&o(Se.onComponentShouldUpdate)&&(de=Se.onComponentShouldUpdate(Le,Te)),de!==!1){Ee&&o(Se.onComponentWillUpdate)&&Se.onComponentWillUpdate(Le,Te);var Fe=te(Ct(U,H));Ze(Pe,Fe,z,H,Z,q,ne),U.children=Fe,Ee&&o(Se.onComponentDidUpdate)&&Se.onComponentDidUpdate(Le,Te)}else U.children=Pe}function vn(O,U){var z=U.children,H=U.dom=O.dom;z!==O.children&&(H.nodeValue=z)}function gn(O,U,z,H,Z,q,ne,de,Te){for(var Se=q>ne?ne:q,Le=0,Ee,Pe;Lene)for(Le=Se;LeLe||Pe>Ee)break e;Fe=O[Pe],Me=U[Pe]}for(Fe=O[Le],Me=U[Ee];Fe.key===Me.key;){if(Me.flags&16384&&(U[Ee]=Me=J(Me)),Ze(Fe,Me,z,H,Z,de,Se),O[Le]=Me,Le--,Ee--,Pe>Le||Pe>Ee)break e;Fe=O[Le],Me=U[Ee]}}if(Pe>Le){if(Pe<=Ee)for(He=Ee+1,Re=HeEe)for(;Pe<=Le;)Xe(O[Pe++],z);else Vn(O,U,H,q,ne,Le,Ee,Pe,z,Z,de,Te,Se)}function Vn(O,U,z,H,Z,q,ne,de,Te,Se,Le,Ee,Pe){var Fe,Me,He,Re=0,et=de,Ye=de,at=q-de+1,Je=ne-de+1,ct=new Int32Array(Je+1),tt=at===H,Vt=!1,$e=0,it=0;if(Z<4||(at|Je)<32)for(Re=et;Re<=q;++Re)if(Fe=O[Re],itde?Vt=!0:$e=de,Me.flags&16384&&(U[de]=Me=J(Me)),Ze(Fe,Me,Te,z,Se,Le,Pe),++it;break}!tt&&de>ne&&Xe(Fe,Te)}else tt||Xe(Fe,Te);else{var Kt={};for(Re=Ye;Re<=ne;++Re)Kt[U[Re].key]=Re;for(Re=et;Re<=q;++Re)if(Fe=O[Re],itet;)Xe(O[et++],Te);ct[de-Ye]=Re+1,$e>de?Vt=!0:$e=de,Me=U[de],Me.flags&16384&&(U[de]=Me=J(Me)),Ze(Fe,Me,Te,z,Se,Le,Pe),++it}else tt||Xe(Fe,Te);else tt||Xe(Fe,Te)}if(tt)dt(Te,Ee,O),nt(U,Te,z,Se,Le,Pe);else if(Vt){var Ht=bn(ct);for(de=Ht.length-1,Re=Je-1;Re>=0;Re--)ct[Re]===0?($e=Re+Ye,Me=U[$e],Me.flags&16384&&(U[$e]=Me=J(Me)),He=$e+1,Ke(Me,Te,z,Se,He=0;Re--)ct[Re]===0&&($e=Re+Ye,Me=U[$e],Me.flags&16384&&(U[$e]=Me=J(Me)),He=$e+1,Ke(Me,Te,z,Se,Hejt&&(jt=Te,qe=new Int32Array(Te),st=new Int32Array(Te));z>1,O[qe[de]]0&&(st[z]=qe[q-1]),qe[q]=z)}q=Z+1;var Se=new Int32Array(q);for(ne=qe[q-1];q-- >0;)Se[q]=ne,ne=st[ne],qe[q]=0;return Se}var yn=typeof document!="undefined";yn&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);function Ft(O,U,z,H){var Z=[],q=U.$V;L.v=!0,a(q)?a(O)||(O.flags&16384&&(O=J(O)),Ke(O,U,H,!1,null,Z),U.$V=O,q=O):a(O)?(Xe(q,U),U.$V=null):(O.flags&16384&&(O=J(O)),Ze(q,O,U,H,!1,null,Z),q=U.$V=O),g(Z),L.v=!1,o(z)&&z(),o(T.renderComplete)&&T.renderComplete(q,U)}function Wt(O,U,z,H){z===void 0&&(z=null),H===void 0&&(H=c),Ft(O,U,z,H)}function kn(O){return function(){function U(z,H,Z,q){O||(O=z),Wt(H,O,Z,q)}return U}()}var mt=[],Sn=typeof Promise!="undefined"?Promise.resolve().then.bind(Promise.resolve()):function(O){window.setTimeout(O,0)},gt=!1;function Ut(O,U,z,H){var Z=O.$PS;if(o(U)&&(U=U(Z?k(O.state,Z):O.state,O.props,O.context)),a(Z))O.$PS=U;else for(var q in U)Z[q]=U[q];if(O.$BR)o(z)&&O.$L.push(z.bind(O));else{if(!L.v&&mt.length===0){zt(O,H),o(z)&&z.call(O);return}if(mt.indexOf(O)===-1&&mt.push(O),H&&(O.$F=!0),gt||(gt=!0,Sn(_t)),o(z)){var ne=O.$QU;ne||(ne=O.$QU=[]),ne.push(z)}}}function Bn(O){for(var U=O.$QU,z=0;z=0;--W){var _=this.tryEntries[W],K=_.completion;if(_.tryLoc==="root")return F("end");if(_.tryLoc<=this.prev){var $=a.call(_,"catchLoc"),G=a.call(_,"finallyLoc");if($&&G){if(this.prev<_.catchLoc)return F(_.catchLoc,!0);if(this.prev<_.finallyLoc)return F(_.finallyLoc)}else if($){if(this.prev<_.catchLoc)return F(_.catchLoc,!0)}else if(G){if(this.prev<_.finallyLoc)return F(_.finallyLoc)}else throw new Error("try statement without catch or finally")}}}return P}(),abrupt:function(){function P(R,j){for(var F=this.tryEntries.length-1;F>=0;--F){var W=this.tryEntries[F];if(W.tryLoc<=this.prev&&a.call(W,"finallyLoc")&&this.prev=0;--j){var F=this.tryEntries[j];if(F.finallyLoc===R)return this.complete(F.completion,F.afterLoc),A(F),s}}return P}(),catch:function(){function P(R){for(var j=this.tryEntries.length-1;j>=0;--j){var F=this.tryEntries[j];if(F.tryLoc===R){var W=F.completion;if(W.type==="throw"){var _=W.arg;A(F)}return _}}throw new Error("illegal catch attempt")}return P}(),delegateYield:function(){function P(R,j,F){return this.delegate={iterator:M(R),resultName:j,nextLoc:F},this.method==="next"&&(this.arg=o),s}return P}()},n}(w.exports);try{regeneratorRuntime=r}catch(n){typeof globalThis=="object"?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},16666:function(){"use strict";self.fetch||(self.fetch=function(w,r){return r=r||{},new Promise(function(n,e){var a=new XMLHttpRequest,t=[],o={},f=function(){function y(){return{ok:(a.status/100|0)==2,statusText:a.statusText,status:a.status,url:a.responseURL,text:function(){function S(){return Promise.resolve(a.responseText)}return S}(),json:function(){function S(){return Promise.resolve(a.responseText).then(JSON.parse)}return S}(),blob:function(){function S(){return Promise.resolve(new Blob([a.response]))}return S}(),clone:y,headers:{keys:function(){function S(){return t}return S}(),entries:function(){function S(){return t.map(function(k){return[k,a.getResponseHeader(k)]})}return S}(),get:function(){function S(k){return a.getResponseHeader(k)}return S}(),has:function(){function S(k){return a.getResponseHeader(k)!=null}return S}()}}}return y}();for(var V in a.open(r.method||"get",w,!0),a.onload=function(){a.getAllResponseHeaders().toLowerCase().replace(/^(.+?):/gm,function(y,S){o[S]||t.push(o[S]=S)}),n(f())},a.onerror=e,a.withCredentials=r.credentials=="include",r.headers)a.setRequestHeader(V,r.headers[V]);a.send(r.body||null)})})},50640:function(w,r){"use strict";r.__esModule=!0,r.zipWith=r.zip=r.uniqBy=r.uniq=r.toKeyedArray=r.toArray=r.sortBy=r.sort=r.reduce=r.range=r.map=r.filterMap=r.filter=void 0;function n(i,p){var v=typeof Symbol!="undefined"&&i[Symbol.iterator]||i["@@iterator"];if(v)return(v=v.call(i)).next.bind(v);if(Array.isArray(i)||(v=e(i))||p&&i&&typeof i.length=="number"){v&&(i=v);var g=0;return function(){return g>=i.length?{done:!0}:{done:!1,value:i[g++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function e(i,p){if(i){if(typeof i=="string")return a(i,p);var v=Object.prototype.toString.call(i).slice(8,-1);if(v==="Object"&&i.constructor&&(v=i.constructor.name),v==="Map"||v==="Set")return Array.from(i);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return a(i,p)}}function a(i,p){(p==null||p>i.length)&&(p=i.length);for(var v=0,g=new Array(p);v0&&(0,a.round)(C.width)/y.offsetWidth||1,c=y.offsetHeight>0&&(0,a.round)(C.height)/y.offsetHeight||1);var m=(0,e.isElement)(y)?(0,t.default)(y):window,d=m.visualViewport,l=!(0,o.default)()&&k,s=(C.left+(l&&d?d.offsetLeft:0))/u,i=(C.top+(l&&d?d.offsetTop:0))/c,p=C.width/u,v=C.height/c;return{width:p,height:v,top:i,right:s+p,bottom:i+v,left:s,x:s,y:i}}},86380:function(w,r,n){"use strict";r.__esModule=!0,r.default=v;var e=n(41521),a=l(n(2868)),t=l(n(39799)),o=l(n(54826)),f=l(n(43243)),V=l(n(33733)),y=l(n(14522)),S=n(72600),k=l(n(32125)),C=l(n(34972)),u=l(n(96343)),c=l(n(13203)),m=l(n(31855)),d=n(69031);function l(g){return g&&g.__esModule?g:{default:g}}function s(g,h){var N=(0,k.default)(g,!1,h==="fixed");return N.top=N.top+g.clientTop,N.left=N.left+g.clientLeft,N.bottom=N.top+g.clientHeight,N.right=N.left+g.clientWidth,N.width=g.clientWidth,N.height=g.clientHeight,N.x=N.left,N.y=N.top,N}function i(g,h,N){return h===e.viewport?(0,m.default)((0,a.default)(g,N)):(0,S.isElement)(h)?s(h,N):(0,m.default)((0,t.default)((0,V.default)(g)))}function p(g){var h=(0,o.default)((0,C.default)(g)),N=["absolute","fixed"].indexOf((0,y.default)(g).position)>=0,b=N&&(0,S.isHTMLElement)(g)?(0,f.default)(g):g;return(0,S.isElement)(b)?h.filter(function(B){return(0,S.isElement)(B)&&(0,u.default)(B,b)&&(0,c.default)(B)!=="body"}):[]}function v(g,h,N,b){var B=h==="clippingParents"?p(g):[].concat(h),I=[].concat(B,[N]),L=I[0],T=I.reduce(function(x,A){var E=i(g,A,b);return x.top=(0,d.max)(E.top,x.top),x.right=(0,d.min)(E.right,x.right),x.bottom=(0,d.min)(E.bottom,x.bottom),x.left=(0,d.max)(E.left,x.left),x},i(g,L,b));return T.width=T.right-T.left,T.height=T.bottom-T.top,T.x=T.left,T.y=T.top,T}},8823:function(w,r,n){"use strict";r.__esModule=!0,r.default=u;var e=k(n(32125)),a=k(n(45401)),t=k(n(13203)),o=n(72600),f=k(n(85750)),V=k(n(33733)),y=k(n(44011)),S=n(69031);function k(c){return c&&c.__esModule?c:{default:c}}function C(c){var m=c.getBoundingClientRect(),d=(0,S.round)(m.width)/c.offsetWidth||1,l=(0,S.round)(m.height)/c.offsetHeight||1;return d!==1||l!==1}function u(c,m,d){d===void 0&&(d=!1);var l=(0,o.isHTMLElement)(m),s=(0,o.isHTMLElement)(m)&&C(m),i=(0,V.default)(m),p=(0,e.default)(c,s,d),v={scrollLeft:0,scrollTop:0},g={x:0,y:0};return(l||!l&&!d)&&(((0,t.default)(m)!=="body"||(0,y.default)(i))&&(v=(0,a.default)(m)),(0,o.isHTMLElement)(m)?(g=(0,e.default)(m,!0),g.x+=m.clientLeft,g.y+=m.clientTop):i&&(g.x=(0,f.default)(i))),{x:p.left+v.scrollLeft-g.x,y:p.top+v.scrollTop-g.y,width:p.width,height:p.height}}},14522:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(81020));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return(0,e.default)(o).getComputedStyle(o)}},33733:function(w,r,n){"use strict";r.__esModule=!0,r.default=a;var e=n(72600);function a(t){return(((0,e.isElement)(t)?t.ownerDocument:t.document)||window.document).documentElement}},39799:function(w,r,n){"use strict";r.__esModule=!0,r.default=y;var e=V(n(33733)),a=V(n(14522)),t=V(n(85750)),o=V(n(79569)),f=n(69031);function V(S){return S&&S.__esModule?S:{default:S}}function y(S){var k,C=(0,e.default)(S),u=(0,o.default)(S),c=(k=S.ownerDocument)==null?void 0:k.body,m=(0,f.max)(C.scrollWidth,C.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),d=(0,f.max)(C.scrollHeight,C.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),l=-u.scrollLeft+(0,t.default)(S),s=-u.scrollTop;return(0,a.default)(c||C).direction==="rtl"&&(l+=(0,f.max)(C.clientWidth,c?c.clientWidth:0)-m),{width:m,height:d,x:l,y:s}}},75680:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}},19820:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(32125));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var f=(0,e.default)(o),V=o.offsetWidth,y=o.offsetHeight;return Math.abs(f.width-V)<=1&&(V=f.width),Math.abs(f.height-y)<=1&&(y=f.height),{x:o.offsetLeft,y:o.offsetTop,width:V,height:y}}},13203:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e?(e.nodeName||"").toLowerCase():null}},45401:function(w,r,n){"use strict";r.__esModule=!0,r.default=V;var e=f(n(79569)),a=f(n(81020)),t=n(72600),o=f(n(75680));function f(y){return y&&y.__esModule?y:{default:y}}function V(y){return y===(0,a.default)(y)||!(0,t.isHTMLElement)(y)?(0,e.default)(y):(0,o.default)(y)}},43243:function(w,r,n){"use strict";r.__esModule=!0,r.default=u;var e=S(n(81020)),a=S(n(13203)),t=S(n(14522)),o=n(72600),f=S(n(25658)),V=S(n(34972)),y=S(n(97353));function S(c){return c&&c.__esModule?c:{default:c}}function k(c){return!(0,o.isHTMLElement)(c)||(0,t.default)(c).position==="fixed"?null:c.offsetParent}function C(c){var m=/firefox/i.test((0,y.default)()),d=/Trident/i.test((0,y.default)());if(d&&(0,o.isHTMLElement)(c)){var l=(0,t.default)(c);if(l.position==="fixed")return null}var s=(0,V.default)(c);for((0,o.isShadowRoot)(s)&&(s=s.host);(0,o.isHTMLElement)(s)&&["html","body"].indexOf((0,a.default)(s))<0;){var i=(0,t.default)(s);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||m&&i.willChange==="filter"||m&&i.filter&&i.filter!=="none")return s;s=s.parentNode}return null}function u(c){for(var m=(0,e.default)(c),d=k(c);d&&(0,f.default)(d)&&(0,t.default)(d).position==="static";)d=k(d);return d&&((0,a.default)(d)==="html"||(0,a.default)(d)==="body"&&(0,t.default)(d).position==="static")?m:d||C(c)||m}},34972:function(w,r,n){"use strict";r.__esModule=!0,r.default=f;var e=o(n(13203)),a=o(n(33733)),t=n(72600);function o(V){return V&&V.__esModule?V:{default:V}}function f(V){return(0,e.default)(V)==="html"?V:V.assignedSlot||V.parentNode||((0,t.isShadowRoot)(V)?V.host:null)||(0,a.default)(V)}},65329:function(w,r,n){"use strict";r.__esModule=!0,r.default=V;var e=f(n(34972)),a=f(n(44011)),t=f(n(13203)),o=n(72600);function f(y){return y&&y.__esModule?y:{default:y}}function V(y){return["html","body","#document"].indexOf((0,t.default)(y))>=0?y.ownerDocument.body:(0,o.isHTMLElement)(y)&&(0,a.default)(y)?y:V((0,e.default)(y))}},2868:function(w,r,n){"use strict";r.__esModule=!0,r.default=V;var e=f(n(81020)),a=f(n(33733)),t=f(n(85750)),o=f(n(14894));function f(y){return y&&y.__esModule?y:{default:y}}function V(y,S){var k=(0,e.default)(y),C=(0,a.default)(y),u=k.visualViewport,c=C.clientWidth,m=C.clientHeight,d=0,l=0;if(u){c=u.width,m=u.height;var s=(0,o.default)();(s||!s&&S==="fixed")&&(d=u.offsetLeft,l=u.offsetTop)}return{width:c,height:m,x:d+(0,t.default)(y),y:l}}},81020:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var a=e.ownerDocument;return a&&a.defaultView||window}return e}},79569:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(81020));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var f=(0,e.default)(o),V=f.pageXOffset,y=f.pageYOffset;return{scrollLeft:V,scrollTop:y}}},85750:function(w,r,n){"use strict";r.__esModule=!0,r.default=f;var e=o(n(32125)),a=o(n(33733)),t=o(n(79569));function o(V){return V&&V.__esModule?V:{default:V}}function f(V){return(0,e.default)((0,a.default)(V)).left+(0,t.default)(V).scrollLeft}},72600:function(w,r,n){"use strict";r.__esModule=!0,r.isElement=t,r.isHTMLElement=o,r.isShadowRoot=f;var e=a(n(81020));function a(V){return V&&V.__esModule?V:{default:V}}function t(V){var y=(0,e.default)(V).Element;return V instanceof y||V instanceof Element}function o(V){var y=(0,e.default)(V).HTMLElement;return V instanceof y||V instanceof HTMLElement}function f(V){if(typeof ShadowRoot=="undefined")return!1;var y=(0,e.default)(V).ShadowRoot;return V instanceof y||V instanceof ShadowRoot}},14894:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(97353));function a(o){return o&&o.__esModule?o:{default:o}}function t(){return!/^((?!chrome|android).)*safari/i.test((0,e.default)())}},44011:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(14522));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var f=(0,e.default)(o),V=f.overflow,y=f.overflowX,S=f.overflowY;return/auto|scroll|overlay|hidden/.test(V+S+y)}},25658:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(13203));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return["table","td","th"].indexOf((0,e.default)(o))>=0}},54826:function(w,r,n){"use strict";r.__esModule=!0,r.default=V;var e=f(n(65329)),a=f(n(34972)),t=f(n(81020)),o=f(n(44011));function f(y){return y&&y.__esModule?y:{default:y}}function V(y,S){var k;S===void 0&&(S=[]);var C=(0,e.default)(y),u=C===((k=y.ownerDocument)==null?void 0:k.body),c=(0,t.default)(C),m=u?[c].concat(c.visualViewport||[],(0,o.default)(C)?C:[]):C,d=S.concat(m);return u?d:d.concat(V((0,a.default)(m)))}},41521:function(w,r){"use strict";r.__esModule=!0,r.write=r.viewport=r.variationPlacements=r.top=r.start=r.right=r.reference=r.read=r.popper=r.placements=r.modifierPhases=r.main=r.left=r.end=r.clippingParents=r.bottom=r.beforeWrite=r.beforeRead=r.beforeMain=r.basePlacements=r.auto=r.afterWrite=r.afterRead=r.afterMain=void 0;var n=r.top="top",e=r.bottom="bottom",a=r.right="right",t=r.left="left",o=r.auto="auto",f=r.basePlacements=[n,e,a,t],V=r.start="start",y=r.end="end",S=r.clippingParents="clippingParents",k=r.viewport="viewport",C=r.popper="popper",u=r.reference="reference",c=r.variationPlacements=f.reduce(function(B,I){return B.concat([I+"-"+V,I+"-"+y])},[]),m=r.placements=[].concat(f,[o]).reduce(function(B,I){return B.concat([I,I+"-"+V,I+"-"+y])},[]),d=r.beforeRead="beforeRead",l=r.read="read",s=r.afterRead="afterRead",i=r.beforeMain="beforeMain",p=r.main="main",v=r.afterMain="afterMain",g=r.beforeWrite="beforeWrite",h=r.write="write",N=r.afterWrite="afterWrite",b=r.modifierPhases=[d,l,s,i,p,v,g,h,N]},60023:function(w,r,n){"use strict";r.__esModule=!0;var e={popperGenerator:!0,detectOverflow:!0,createPopperBase:!0,createPopper:!0,createPopperLite:!0};r.popperGenerator=r.detectOverflow=r.createPopperLite=r.createPopperBase=r.createPopper=void 0;var a=n(41521);Object.keys(a).forEach(function(y){y==="default"||y==="__esModule"||Object.prototype.hasOwnProperty.call(e,y)||y in r&&r[y]===a[y]||(r[y]=a[y])});var t=n(91078);Object.keys(t).forEach(function(y){y==="default"||y==="__esModule"||Object.prototype.hasOwnProperty.call(e,y)||y in r&&r[y]===t[y]||(r[y]=t[y])});var o=n(66641);r.popperGenerator=o.popperGenerator,r.detectOverflow=o.detectOverflow,r.createPopperBase=o.createPopper;var f=n(7925);r.createPopper=f.createPopper;var V=n(62642);r.createPopperLite=V.createPopper},56304:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=t(n(13203)),a=n(72600);function t(y){return y&&y.__esModule?y:{default:y}}function o(y){var S=y.state;Object.keys(S.elements).forEach(function(k){var C=S.styles[k]||{},u=S.attributes[k]||{},c=S.elements[k];!(0,a.isHTMLElement)(c)||!(0,e.default)(c)||(Object.assign(c.style,C),Object.keys(u).forEach(function(m){var d=u[m];d===!1?c.removeAttribute(m):c.setAttribute(m,d===!0?"":d)}))})}function f(y){var S=y.state,k={popper:{position:S.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(S.elements.popper.style,k.popper),S.styles=k,S.elements.arrow&&Object.assign(S.elements.arrow.style,k.arrow),function(){Object.keys(S.elements).forEach(function(C){var u=S.elements[C],c=S.attributes[C]||{},m=Object.keys(S.styles.hasOwnProperty(C)?S.styles[C]:k[C]),d=m.reduce(function(l,s){return l[s]="",l},{});!(0,a.isHTMLElement)(u)||!(0,e.default)(u)||(Object.assign(u.style,d),Object.keys(c).forEach(function(l){u.removeAttribute(l)}))})}}var V=r.default={name:"applyStyles",enabled:!0,phase:"write",fn:o,effect:f,requires:["computeStyles"]}},57243:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=C(n(38141)),a=C(n(19820)),t=C(n(96343)),o=C(n(43243)),f=C(n(7770)),V=n(76770),y=C(n(77631)),S=C(n(54824)),k=n(41521);function C(l){return l&&l.__esModule?l:{default:l}}var u=function(){function l(s,i){return s=typeof s=="function"?s(Object.assign({},i.rects,{placement:i.placement})):s,(0,y.default)(typeof s!="number"?s:(0,S.default)(s,k.basePlacements))}return l}();function c(l){var s,i=l.state,p=l.name,v=l.options,g=i.elements.arrow,h=i.modifiersData.popperOffsets,N=(0,e.default)(i.placement),b=(0,f.default)(N),B=[k.left,k.right].indexOf(N)>=0,I=B?"height":"width";if(!(!g||!h)){var L=u(v.padding,i),T=(0,a.default)(g),x=b==="y"?k.top:k.left,A=b==="y"?k.bottom:k.right,E=i.rects.reference[I]+i.rects.reference[b]-h[b]-i.rects.popper[I],M=h[b]-i.rects.reference[b],D=(0,o.default)(g),P=D?b==="y"?D.clientHeight||0:D.clientWidth||0:0,R=E/2-M/2,j=L[x],F=P-T[I]-L[A],W=P/2-T[I]/2+R,_=(0,V.within)(j,W,F),K=b;i.modifiersData[p]=(s={},s[K]=_,s.centerOffset=_-W,s)}}function m(l){var s=l.state,i=l.options,p=i.element,v=p===void 0?"[data-popper-arrow]":p;v!=null&&(typeof v=="string"&&(v=s.elements.popper.querySelector(v),!v)||(0,t.default)(s.elements.popper,v)&&(s.elements.arrow=v))}var d=r.default={name:"arrow",enabled:!0,phase:"main",fn:c,effect:m,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},60421:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0,r.mapToStyles=c;var e=n(41521),a=k(n(43243)),t=k(n(81020)),o=k(n(33733)),f=k(n(14522)),V=k(n(38141)),y=k(n(14380)),S=n(69031);function k(l){return l&&l.__esModule?l:{default:l}}var C={top:"auto",right:"auto",bottom:"auto",left:"auto"};function u(l,s){var i=l.x,p=l.y,v=s.devicePixelRatio||1;return{x:(0,S.round)(i*v)/v||0,y:(0,S.round)(p*v)/v||0}}function c(l){var s,i=l.popper,p=l.popperRect,v=l.placement,g=l.variation,h=l.offsets,N=l.position,b=l.gpuAcceleration,B=l.adaptive,I=l.roundOffsets,L=l.isFixed,T=h.x,x=T===void 0?0:T,A=h.y,E=A===void 0?0:A,M=typeof I=="function"?I({x:x,y:E}):{x:x,y:E};x=M.x,E=M.y;var D=h.hasOwnProperty("x"),P=h.hasOwnProperty("y"),R=e.left,j=e.top,F=window;if(B){var W=(0,a.default)(i),_="clientHeight",K="clientWidth";if(W===(0,t.default)(i)&&(W=(0,o.default)(i),(0,f.default)(W).position!=="static"&&N==="absolute"&&(_="scrollHeight",K="scrollWidth")),W=W,v===e.top||(v===e.left||v===e.right)&&g===e.end){j=e.bottom;var H=L&&W===F&&F.visualViewport?F.visualViewport.height:W[_];E-=H-p.height,E*=b?1:-1}if(v===e.left||(v===e.top||v===e.bottom)&&g===e.end){R=e.right;var X=L&&W===F&&F.visualViewport?F.visualViewport.width:W[K];x-=X-p.width,x*=b?1:-1}}var Y=Object.assign({position:N},B&&C),J=I===!0?u({x:x,y:E},(0,t.default)(i)):{x:x,y:E};if(x=J.x,E=J.y,b){var le;return Object.assign({},Y,(le={},le[j]=P?"0":"",le[R]=D?"0":"",le.transform=(F.devicePixelRatio||1)<=1?"translate("+x+"px, "+E+"px)":"translate3d("+x+"px, "+E+"px, 0)",le))}return Object.assign({},Y,(s={},s[j]=P?E+"px":"",s[R]=D?x+"px":"",s.transform="",s))}function m(l){var s=l.state,i=l.options,p=i.gpuAcceleration,v=p===void 0?!0:p,g=i.adaptive,h=g===void 0?!0:g,N=i.roundOffsets,b=N===void 0?!0:N,B={placement:(0,V.default)(s.placement),variation:(0,y.default)(s.placement),popper:s.elements.popper,popperRect:s.rects.popper,gpuAcceleration:v,isFixed:s.options.strategy==="fixed"};s.modifiersData.popperOffsets!=null&&(s.styles.popper=Object.assign({},s.styles.popper,c(Object.assign({},B,{offsets:s.modifiersData.popperOffsets,position:s.options.strategy,adaptive:h,roundOffsets:b})))),s.modifiersData.arrow!=null&&(s.styles.arrow=Object.assign({},s.styles.arrow,c(Object.assign({},B,{offsets:s.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:b})))),s.attributes.popper=Object.assign({},s.attributes.popper,{"data-popper-placement":s.placement})}var d=r.default={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:m,data:{}}},84601:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=a(n(81020));function a(V){return V&&V.__esModule?V:{default:V}}var t={passive:!0};function o(V){var y=V.state,S=V.instance,k=V.options,C=k.scroll,u=C===void 0?!0:C,c=k.resize,m=c===void 0?!0:c,d=(0,e.default)(y.elements.popper),l=[].concat(y.scrollParents.reference,y.scrollParents.popper);return u&&l.forEach(function(s){s.addEventListener("scroll",S.update,t)}),m&&d.addEventListener("resize",S.update,t),function(){u&&l.forEach(function(s){s.removeEventListener("scroll",S.update,t)}),m&&d.removeEventListener("resize",S.update,t)}}var f=r.default={name:"eventListeners",enabled:!0,phase:"write",fn:function(){function V(){}return V}(),effect:o,data:{}}},17267:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=S(n(79641)),a=S(n(38141)),t=S(n(71976)),o=S(n(31584)),f=S(n(44744)),V=n(41521),y=S(n(14380));function S(c){return c&&c.__esModule?c:{default:c}}function k(c){if((0,a.default)(c)===V.auto)return[];var m=(0,e.default)(c);return[(0,t.default)(c),m,(0,t.default)(m)]}function C(c){var m=c.state,d=c.options,l=c.name;if(!m.modifiersData[l]._skip){for(var s=d.mainAxis,i=s===void 0?!0:s,p=d.altAxis,v=p===void 0?!0:p,g=d.fallbackPlacements,h=d.padding,N=d.boundary,b=d.rootBoundary,B=d.altBoundary,I=d.flipVariations,L=I===void 0?!0:I,T=d.allowedAutoPlacements,x=m.options.placement,A=(0,a.default)(x),E=A===x,M=g||(E||!L?[(0,e.default)(x)]:k(x)),D=[x].concat(M).reduce(function(ee,oe){return ee.concat((0,a.default)(oe)===V.auto?(0,f.default)(m,{placement:oe,boundary:N,rootBoundary:b,padding:h,flipVariations:L,allowedAutoPlacements:T}):oe)},[]),P=m.rects.reference,R=m.rects.popper,j=new Map,F=!0,W=D[0],_=0;_=0,J=Y?"width":"height",le=(0,o.default)(m,{placement:K,boundary:N,rootBoundary:b,altBoundary:B,padding:h}),ce=Y?X?V.right:V.left:X?V.bottom:V.top;P[J]>R[J]&&(ce=(0,e.default)(ce));var fe=(0,e.default)(ce),pe=[];if(i&&pe.push(le[H]<=0),v&&pe.push(le[ce]<=0,le[fe]<=0),pe.every(function(ee){return ee})){W=K,F=!1;break}j.set(K,pe)}if(F)for(var he=L?3:1,te=function(){function ee(oe){var ue=D.find(function(re){var ge=j.get(re);if(ge)return ge.slice(0,oe).every(function(Be){return Be})});if(ue)return W=ue,"break"}return ee}(),Q=he;Q>0;Q--){var ae=te(Q);if(ae==="break")break}m.placement!==W&&(m.modifiersData[l]._skip=!0,m.placement=W,m.reset=!0)}}var u=r.default={name:"flip",enabled:!0,phase:"main",fn:C,requiresIfExists:["offset"],data:{_skip:!1}}},88476:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=n(41521),a=t(n(31584));function t(S){return S&&S.__esModule?S:{default:S}}function o(S,k,C){return C===void 0&&(C={x:0,y:0}),{top:S.top-k.height-C.y,right:S.right-k.width+C.x,bottom:S.bottom-k.height+C.y,left:S.left-k.width-C.x}}function f(S){return[e.top,e.right,e.bottom,e.left].some(function(k){return S[k]>=0})}function V(S){var k=S.state,C=S.name,u=k.rects.reference,c=k.rects.popper,m=k.modifiersData.preventOverflow,d=(0,a.default)(k,{elementContext:"reference"}),l=(0,a.default)(k,{altBoundary:!0}),s=o(d,u),i=o(l,c,m),p=f(s),v=f(i);k.modifiersData[C]={referenceClippingOffsets:s,popperEscapeOffsets:i,isReferenceHidden:p,hasPopperEscaped:v},k.attributes.popper=Object.assign({},k.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":v})}var y=r.default={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:V}},91078:function(w,r,n){"use strict";r.__esModule=!0,r.preventOverflow=r.popperOffsets=r.offset=r.hide=r.flip=r.eventListeners=r.computeStyles=r.arrow=r.applyStyles=void 0;var e=C(n(56304));r.applyStyles=e.default;var a=C(n(57243));r.arrow=a.default;var t=C(n(60421));r.computeStyles=t.default;var o=C(n(84601));r.eventListeners=o.default;var f=C(n(17267));r.flip=f.default;var V=C(n(88476));r.hide=V.default;var y=C(n(36707));r.offset=y.default;var S=C(n(98916));r.popperOffsets=S.default;var k=C(n(44454));r.preventOverflow=k.default;function C(u){return u&&u.__esModule?u:{default:u}}},36707:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0,r.distanceAndSkiddingToXY=o;var e=t(n(38141)),a=n(41521);function t(y){return y&&y.__esModule?y:{default:y}}function o(y,S,k){var C=(0,e.default)(y),u=[a.left,a.top].indexOf(C)>=0?-1:1,c=typeof k=="function"?k(Object.assign({},S,{placement:y})):k,m=c[0],d=c[1];return m=m||0,d=(d||0)*u,[a.left,a.right].indexOf(C)>=0?{x:d,y:m}:{x:m,y:d}}function f(y){var S=y.state,k=y.options,C=y.name,u=k.offset,c=u===void 0?[0,0]:u,m=a.placements.reduce(function(i,p){return i[p]=o(p,S.rects,c),i},{}),d=m[S.placement],l=d.x,s=d.y;S.modifiersData.popperOffsets!=null&&(S.modifiersData.popperOffsets.x+=l,S.modifiersData.popperOffsets.y+=s),S.modifiersData[C]=m}var V=r.default={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:f}},98916:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=a(n(47566));function a(f){return f&&f.__esModule?f:{default:f}}function t(f){var V=f.state,y=f.name;V.modifiersData[y]=(0,e.default)({reference:V.rects.reference,element:V.rects.popper,strategy:"absolute",placement:V.placement})}var o=r.default={name:"popperOffsets",enabled:!0,phase:"read",fn:t,data:{}}},44454:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=n(41521),a=c(n(38141)),t=c(n(7770)),o=c(n(39571)),f=n(76770),V=c(n(19820)),y=c(n(43243)),S=c(n(31584)),k=c(n(14380)),C=c(n(92385)),u=n(69031);function c(l){return l&&l.__esModule?l:{default:l}}function m(l){var s=l.state,i=l.options,p=l.name,v=i.mainAxis,g=v===void 0?!0:v,h=i.altAxis,N=h===void 0?!1:h,b=i.boundary,B=i.rootBoundary,I=i.altBoundary,L=i.padding,T=i.tether,x=T===void 0?!0:T,A=i.tetherOffset,E=A===void 0?0:A,M=(0,S.default)(s,{boundary:b,rootBoundary:B,padding:L,altBoundary:I}),D=(0,a.default)(s.placement),P=(0,k.default)(s.placement),R=!P,j=(0,t.default)(D),F=(0,o.default)(j),W=s.modifiersData.popperOffsets,_=s.rects.reference,K=s.rects.popper,H=typeof E=="function"?E(Object.assign({},s.rects,{placement:s.placement})):E,X=typeof H=="number"?{mainAxis:H,altAxis:H}:Object.assign({mainAxis:0,altAxis:0},H),Y=s.modifiersData.offset?s.modifiersData.offset[s.placement]:null,J={x:0,y:0};if(W){if(g){var le,ce=j==="y"?e.top:e.left,fe=j==="y"?e.bottom:e.right,pe=j==="y"?"height":"width",he=W[j],te=he+M[ce],Q=he-M[fe],ae=x?-K[pe]/2:0,ee=P===e.start?_[pe]:K[pe],oe=P===e.start?-K[pe]:-_[pe],ue=s.elements.arrow,re=x&&ue?(0,V.default)(ue):{width:0,height:0},ge=s.modifiersData["arrow#persistent"]?s.modifiersData["arrow#persistent"].padding:(0,C.default)(),Be=ge[ce],ve=ge[fe],Ve=(0,f.within)(0,_[pe],re[pe]),ke=R?_[pe]/2-ae-Ve-Be-X.mainAxis:ee-Ve-Be-X.mainAxis,ye=R?-_[pe]/2+ae+Ve+ve+X.mainAxis:oe+Ve+ve+X.mainAxis,Ie=s.elements.arrow&&(0,y.default)(s.elements.arrow),we=Ie?j==="y"?Ie.clientTop||0:Ie.clientLeft||0:0,xe=(le=Y==null?void 0:Y[j])!=null?le:0,Oe=he+ke-xe-we,We=he+ye-xe,be=(0,f.within)(x?(0,u.min)(te,Oe):te,he,x?(0,u.max)(Q,We):Q);W[j]=be,J[j]=be-he}if(N){var ie,se=j==="x"?e.top:e.left,Ce=j==="x"?e.bottom:e.right,me=W[F],Ne=F==="y"?"height":"width",Ae=me+M[se],De=me-M[Ce],je=[e.top,e.left].indexOf(D)!==-1,_e=(ie=Y==null?void 0:Y[F])!=null?ie:0,Ue=je?Ae:me-_[Ne]-K[Ne]-_e+X.altAxis,ze=je?me+_[Ne]+K[Ne]-_e-X.altAxis:De,Ge=x&&je?(0,f.withinMaxClamp)(Ue,me,ze):(0,f.within)(x?Ue:Ae,me,x?ze:De);W[F]=Ge,J[F]=Ge-me}s.modifiersData[p]=J}}var d=r.default={name:"preventOverflow",enabled:!0,phase:"main",fn:m,requiresIfExists:["offset"]}},62642:function(w,r,n){"use strict";r.__esModule=!0,r.defaultModifiers=r.createPopper=void 0;var e=n(66641);r.popperGenerator=e.popperGenerator,r.detectOverflow=e.detectOverflow;var a=V(n(84601)),t=V(n(98916)),o=V(n(60421)),f=V(n(56304));function V(k){return k&&k.__esModule?k:{default:k}}var y=r.defaultModifiers=[a.default,t.default,o.default,f.default],S=r.createPopper=(0,e.popperGenerator)({defaultModifiers:y})},7925:function(w,r,n){"use strict";r.__esModule=!0;var e={createPopper:!0,createPopperLite:!0,defaultModifiers:!0,popperGenerator:!0,detectOverflow:!0};r.defaultModifiers=r.createPopperLite=r.createPopper=void 0;var a=n(66641);r.popperGenerator=a.popperGenerator,r.detectOverflow=a.detectOverflow;var t=d(n(84601)),o=d(n(98916)),f=d(n(60421)),V=d(n(56304)),y=d(n(36707)),S=d(n(17267)),k=d(n(44454)),C=d(n(57243)),u=d(n(88476)),c=n(62642);r.createPopperLite=c.createPopper;var m=n(91078);Object.keys(m).forEach(function(i){i==="default"||i==="__esModule"||Object.prototype.hasOwnProperty.call(e,i)||i in r&&r[i]===m[i]||(r[i]=m[i])});function d(i){return i&&i.__esModule?i:{default:i}}var l=r.defaultModifiers=[t.default,o.default,f.default,V.default,y.default,S.default,k.default,C.default,u.default],s=r.createPopperLite=r.createPopper=(0,a.popperGenerator)({defaultModifiers:l})},44744:function(w,r,n){"use strict";r.__esModule=!0,r.default=V;var e=f(n(14380)),a=n(41521),t=f(n(31584)),o=f(n(38141));function f(y){return y&&y.__esModule?y:{default:y}}function V(y,S){S===void 0&&(S={});var k=S,C=k.placement,u=k.boundary,c=k.rootBoundary,m=k.padding,d=k.flipVariations,l=k.allowedAutoPlacements,s=l===void 0?a.placements:l,i=(0,e.default)(C),p=i?d?a.variationPlacements:a.variationPlacements.filter(function(h){return(0,e.default)(h)===i}):a.basePlacements,v=p.filter(function(h){return s.indexOf(h)>=0});v.length===0&&(v=p);var g=v.reduce(function(h,N){return h[N]=(0,t.default)(y,{placement:N,boundary:u,rootBoundary:c,padding:m})[(0,o.default)(N)],h},{});return Object.keys(g).sort(function(h,N){return g[h]-g[N]})}},47566:function(w,r,n){"use strict";r.__esModule=!0,r.default=V;var e=f(n(38141)),a=f(n(14380)),t=f(n(7770)),o=n(41521);function f(y){return y&&y.__esModule?y:{default:y}}function V(y){var S=y.reference,k=y.element,C=y.placement,u=C?(0,e.default)(C):null,c=C?(0,a.default)(C):null,m=S.x+S.width/2-k.width/2,d=S.y+S.height/2-k.height/2,l;switch(u){case o.top:l={x:m,y:S.y-k.height};break;case o.bottom:l={x:m,y:S.y+S.height};break;case o.right:l={x:S.x+S.width,y:d};break;case o.left:l={x:S.x-k.width,y:d};break;default:l={x:S.x,y:S.y}}var s=u?(0,t.default)(u):null;if(s!=null){var i=s==="y"?"height":"width";switch(c){case o.start:l[s]=l[s]-(S[i]/2-k[i]/2);break;case o.end:l[s]=l[s]+(S[i]/2-k[i]/2);break;default:}}return l}},80798:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){var a;return function(){return a||(a=new Promise(function(t){Promise.resolve().then(function(){a=void 0,t(e())})})),a}}},31584:function(w,r,n){"use strict";r.__esModule=!0,r.default=u;var e=C(n(86380)),a=C(n(33733)),t=C(n(32125)),o=C(n(47566)),f=C(n(31855)),V=n(41521),y=n(72600),S=C(n(77631)),k=C(n(54824));function C(c){return c&&c.__esModule?c:{default:c}}function u(c,m){m===void 0&&(m={});var d=m,l=d.placement,s=l===void 0?c.placement:l,i=d.strategy,p=i===void 0?c.strategy:i,v=d.boundary,g=v===void 0?V.clippingParents:v,h=d.rootBoundary,N=h===void 0?V.viewport:h,b=d.elementContext,B=b===void 0?V.popper:b,I=d.altBoundary,L=I===void 0?!1:I,T=d.padding,x=T===void 0?0:T,A=(0,S.default)(typeof x!="number"?x:(0,k.default)(x,V.basePlacements)),E=B===V.popper?V.reference:V.popper,M=c.rects.popper,D=c.elements[L?E:B],P=(0,e.default)((0,y.isElement)(D)?D:D.contextElement||(0,a.default)(c.elements.popper),g,N,p),R=(0,t.default)(c.elements.reference),j=(0,o.default)({reference:R,element:M,strategy:"absolute",placement:s}),F=(0,f.default)(Object.assign({},M,j)),W=B===V.popper?F:R,_={top:P.top-W.top+A.top,bottom:W.bottom-P.bottom+A.bottom,left:P.left-W.left+A.left,right:W.right-P.right+A.right},K=c.modifiersData.offset;if(B===V.popper&&K){var H=K[s];Object.keys(_).forEach(function(X){var Y=[V.right,V.bottom].indexOf(X)>=0?1:-1,J=[V.top,V.bottom].indexOf(X)>=0?"y":"x";_[X]+=H[J]*Y})}return _}},54824:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e,a){return a.reduce(function(t,o){return t[o]=e,t},{})}},39571:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e==="x"?"y":"x"}},38141:function(w,r,n){"use strict";r.__esModule=!0,r.default=a;var e=n(41521);function a(t){return t.split("-")[0]}},92385:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(){return{top:0,right:0,bottom:0,left:0}}},7770:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}},79641:function(w,r){"use strict";r.__esModule=!0,r.default=e;var n={left:"right",right:"left",bottom:"top",top:"bottom"};function e(a){return a.replace(/left|right|bottom|top/g,function(t){return n[t]})}},71976:function(w,r){"use strict";r.__esModule=!0,r.default=e;var n={start:"end",end:"start"};function e(a){return a.replace(/start|end/g,function(t){return n[t]})}},14380:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e.split("-")[1]}},69031:function(w,r){"use strict";r.__esModule=!0,r.round=r.min=r.max=void 0;var n=r.max=Math.max,e=r.min=Math.min,a=r.round=Math.round},46343:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){var a=e.reduce(function(t,o){var f=t[o.name];return t[o.name]=f?Object.assign({},f,o,{options:Object.assign({},f.options,o.options),data:Object.assign({},f.data,o.data)}):o,t},{});return Object.keys(a).map(function(t){return a[t]})}},77631:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(92385));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return Object.assign({},(0,e.default)(),o)}},17859:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=n(41521);function a(o){var f=new Map,V=new Set,y=[];o.forEach(function(k){f.set(k.name,k)});function S(k){V.add(k.name);var C=[].concat(k.requires||[],k.requiresIfExists||[]);C.forEach(function(u){if(!V.has(u)){var c=f.get(u);c&&S(c)}}),y.push(k)}return o.forEach(function(k){V.has(k.name)||S(k)}),y}function t(o){var f=a(o);return e.modifierPhases.reduce(function(V,y){return V.concat(f.filter(function(S){return S.phase===y}))},[])}},31855:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}},97353:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(a){return a.brand+"/"+a.version}).join(" "):navigator.userAgent}},76770:function(w,r,n){"use strict";r.__esModule=!0,r.within=a,r.withinMaxClamp=t;var e=n(69031);function a(o,f,V){return(0,e.max)(o,(0,e.min)(f,V))}function t(o,f,V){var y=a(o,f,V);return y>V?V:y}},63935:function(w,r){"use strict";r.__esModule=!0,r.Fragment=r.EMPTY_OBJ=r.Component=void 0,r._CI=Et,r._HI=te,r._M=Ke,r._MCCC=Ot,r._ME=Pt,r._MFCC=Rt,r._MP=xt,r._MR=ot,r._RFC=Ct,r.__render=Ft,r.createComponentVNode=_,r.createFragment=H,r.createPortal=ce,r.createRef=Yt,r.createRenderer=kn,r.createTextVNode=K,r.createVNode=R,r.directClone=J,r.findDOMfromVNode=N,r.forwardRef=Xt,r.getFlagsForElementVnode=pe,r.linkEvent=C,r.normalizeProps=X,r.options=void 0,r.render=Wt,r.rerender=_t,r.version=void 0;var n=Array.isArray;function e(O){var U=typeof O;return U==="string"||U==="number"}function a(O){return O==null}function t(O){return O===null||O===!1||O===!0||O===void 0}function o(O){return typeof O=="function"}function f(O){return typeof O=="string"}function V(O){return typeof O=="number"}function y(O){return O===null}function S(O){return O===void 0}function k(O,U){var z={};if(O)for(var $ in O)z[$]=O[$];if(U)for(var Z in U)z[Z]=U[Z];return z}function C(O,U){return o(U)?{data:O,event:U}:null}function u(O){return!y(O)&&typeof O=="object"}var c=r.EMPTY_OBJ={},m=r.Fragment="$F";function d(O){return O.substr(2).toLowerCase()}function l(O,U){O.appendChild(U)}function s(O,U,z){y(z)?l(O,U):O.insertBefore(U,z)}function i(O,U){return U?document.createElementNS("http://www.w3.org/2000/svg",O):document.createElement(O)}function p(O,U,z){O.replaceChild(U,z)}function v(O,U){O.removeChild(U)}function g(O){for(var U=0;U0,Se=y(de),Le=f(de)&&de[0]===D;Te||Se||Le?(z=z||U.slice(0,q),(Te||Le)&&(ne=J(ne)),(Se||Le)&&(ne.key=D+q),z.push(ne)):z&&z.push(ne),ne.flags|=65536}}z=z||U,z.length===0?$=1:$=8}else z=U,z.flags|=65536,U.flags&81920&&(z=J(U)),$=2;return O.children=z,O.childFlags=$,O}function te(O){return t(O)||e(O)?K(O,null):n(O)?H(O,0,null):O.flags&16384?J(O):O}var Q="http://www.w3.org/1999/xlink",ae="http://www.w3.org/XML/1998/namespace",ee={"xlink:actuate":Q,"xlink:arcrole":Q,"xlink:href":Q,"xlink:role":Q,"xlink:show":Q,"xlink:title":Q,"xlink:type":Q,"xml:base":ae,"xml:lang":ae,"xml:space":ae};function oe(O){return{onClick:O,onDblClick:O,onFocusIn:O,onFocusOut:O,onKeyDown:O,onKeyPress:O,onKeyUp:O,onMouseDown:O,onMouseMove:O,onMouseUp:O,onTouchEnd:O,onTouchMove:O,onTouchStart:O}}var ue=oe(0),re=oe(null),ge=oe(!0);function Be(O,U){var z=U.$EV;return z||(z=U.$EV=oe(null)),z[O]||++ue[O]===1&&(re[O]=ie(O)),z}function ve(O,U){var z=U.$EV;z&&z[O]&&(--ue[O]===0&&(document.removeEventListener(d(O),re[O]),re[O]=null),z[O]=null)}function Ve(O,U,z,$){if(o(z))Be(O,$)[O]=z;else if(u(z)){if(A(U,z))return;Be(O,$)[O]=z}else ve(O,$)}function ke(O){return o(O.composedPath)?O.composedPath()[0]:O.target}function ye(O,U,z,$){var Z=ke(O);do{if(U&&Z.disabled)return;var q=Z.$EV;if(q){var ne=q[z];if(ne&&($.dom=Z,ne.event?ne.event(ne.data,O):ne(O),O.cancelBubble))return}Z=Z.parentNode}while(!y(Z))}function Ie(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function we(){return this.defaultPrevented}function xe(){return this.cancelBubble}function Oe(O){var U={dom:document};return O.isDefaultPrevented=we,O.isPropagationStopped=xe,O.stopPropagation=Ie,Object.defineProperty(O,"currentTarget",{configurable:!0,get:function(){function z(){return U.dom}return z}()}),U}function We(O){return function(U){if(U.button!==0){U.stopPropagation();return}ye(U,!0,O,Oe(U))}}function be(O){return function(U){ye(U,!1,O,Oe(U))}}function ie(O){var U=O==="onClick"||O==="onDblClick"?We(O):be(O);return document.addEventListener(d(O),U),U}function se(O,U){var z=document.createElement("i");return z.innerHTML=U,z.innerHTML===O.innerHTML}function Ce(O,U,z){if(O[U]){var $=O[U];$.event?$.event($.data,z):$(z)}else{var Z=U.toLowerCase();O[Z]&&O[Z](z)}}function me(O,U){var z=function(Z){var q=this.$V;if(q){var ne=q.props||c,de=q.dom;if(f(O))Ce(ne,O,Z);else for(var Te=0;Te-1&&U.options[q]&&(de=U.options[q].value),z&&a(de)&&(de=O.defaultValue),Ge($,de)}}var Bt=me("onInput",pt),It=me("onChange");function Lt(O,U){Ne(O,"input",Bt),U.onChange&&Ne(O,"change",It)}function pt(O,U,z){var $=O.value,Z=U.value;if(a($)){if(z){var q=O.defaultValue;!a(q)&&q!==Z&&(U.defaultValue=q,U.value=q)}}else Z!==$&&(U.defaultValue=$,U.value=$)}function wt(O,U,z,$,Z,q){O&64?ze($,z):O&256?ft($,z,Z,U):O&128&&pt($,z,Z),q&&(z.$V=U)}function Gt(O,U,z){O&64?Ue(U,z):O&256?St(U):O&128&&Lt(U,z)}function Tt(O){return O.type&&Ae(O.type)?!a(O.checked):!a(O.value)}function Yt(){return{current:null}}function Xt(O){return{render:O}}function lt(O){O&&!M(O,null)&&O.current&&(O.current=null)}function ot(O,U,z){O&&(o(O)||O.current!==void 0)&&z.push(function(){!M(O,U)&&O.current!==void 0&&(O.current=U)})}function Xe(O,U){Qe(O),b(O,U)}function Qe(O){var U=O.flags,z=O.children,$;if(U&481){$=O.ref;var Z=O.props;lt($);var q=O.childFlags;if(!y(Z))for(var ne=Object.keys(Z),de=0,Te=ne.length;de0;ne&&(q=Tt(z),q&&Gt(U,$,z));for(var de in z)ht(de,null,z[de],$,Z,q,null);ne&&wt(U,O,$,z,!0,q)}function At(O,U,z){var $=te(O.render(U,O.state,z)),Z=z;return o(O.getChildContext)&&(Z=k(z,O.getChildContext())),O.$CX=Z,$}function Et(O,U,z,$,Z,q){var ne=new U(z,$),de=ne.$N=!!(U.getDerivedStateFromProps||ne.getSnapshotBeforeUpdate);if(ne.$SVG=Z,ne.$L=q,O.children=ne,ne.$BS=!1,ne.context=$,ne.props===c&&(ne.props=z),de)ne.state=I(ne,z,ne.state);else if(o(ne.componentWillMount)){ne.$BR=!0,ne.componentWillMount();var Te=ne.$PS;if(!y(Te)){var Se=ne.state;if(y(Se))ne.state=Te;else for(var Le in Te)Se[Le]=Te[Le];ne.$PS=null}ne.$BR=!1}return ne.$LI=At(ne,z,$),ne}function Ct(O,U){var z=O.props||c;return O.flags&32768?O.type.render(z,O.ref,U):O.type(z,U)}function Ke(O,U,z,$,Z,q){var ne=O.flags|=16384;ne&481?Pt(O,U,z,$,Z,q):ne&4?nn(O,U,z,$,Z,q):ne&8?(on(O,U,z,$,Z,q),Rt(O,q)):ne&512||ne&16?Mt(O,U,Z):ne&8192?tn(O,z,U,$,Z,q):ne&1024&&en(O,z,U,Z,q)}function en(O,U,z,$,Z){Ke(O.children,O.ref,U,!1,null,Z);var q=le();Mt(q,z,$),O.dom=q.dom}function tn(O,U,z,$,Z,q){var ne=O.children,de=O.childFlags;de&12&&ne.length===0&&(de=O.childFlags=2,ne=O.children=le()),de===2?Ke(ne,z,U,$,Z,q):nt(ne,z,U,$,Z,q)}function Mt(O,U,z){var $=O.dom=document.createTextNode(O.children);y(U)||s(U,$,z)}function Pt(O,U,z,$,Z,q){var ne=O.flags,de=O.props,Te=O.className,Se=O.childFlags,Le=O.dom=i(O.type,$=$||(ne&32)>0),Ee=O.children;if(!a(Te)&&Te!==""&&($?Le.setAttribute("class",Te):Le.className=Te),Se===16)x(Le,Ee);else if(Se!==1){var Pe=$&&O.type!=="foreignObject";Se===2?(Ee.flags&16384&&(O.children=Ee=J(Ee)),Ke(Ee,Le,z,Pe,null,q)):(Se===8||Se===4)&&nt(Ee,Le,z,Pe,null,q)}y(U)||s(U,Le,Z),y(de)||xt(O,ne,de,Le,$),ot(O.ref,Le,q)}function nt(O,U,z,$,Z,q){for(var ne=0;nePe)&&(Le=N(ne[Pe-1],!1).nextSibling)}vt(Te,Se,ne,de,z,$,Z,Le,O,q)}function sn(O,U,z,$){var Z=O.ref,q=U.ref,ne=U.children;if(vt(O.childFlags,U.childFlags,O.children,ne,Z,z,!1,null,O,$),U.dom=O.dom,Z!==q&&!t(ne)){var de=ne.dom;v(Z,de),l(q,de)}}function mn(O,U,z,$,Z,q){var ne=U.dom=O.dom,de=O.props,Te=U.props,Se=!1,Le=!1,Ee;if($=$||(Z&32)>0,de!==Te){var Pe=de||c;if(Ee=Te||c,Ee!==c){Se=(Z&448)>0,Se&&(Le=Tt(Ee));for(var Fe in Ee){var Me=Pe[Fe],He=Ee[Fe];Me!==He&&ht(Fe,Me,He,ne,$,Le,O)}}if(Pe!==c)for(var Re in Pe)a(Ee[Re])&&!a(Pe[Re])&&ht(Re,Pe[Re],null,ne,$,Le,O)}var et=U.children,Ye=U.className;O.className!==Ye&&(a(Ye)?ne.removeAttribute("class"):$?ne.setAttribute("class",Ye):ne.className=Ye),Z&4096?un(ne,et):vt(O.childFlags,U.childFlags,O.children,et,ne,z,$&&U.type!=="foreignObject",null,O,q),Se&&wt(Z,U,ne,Ee,!1,Le);var at=U.ref,Je=O.ref;Je!==at&&(lt(Je),ot(at,ne,q))}function fn(O,U,z,$,Z,q){Qe(O),nt(U,z,$,Z,N(O,!0),q),b(O,z)}function vt(O,U,z,$,Z,q,ne,de,Te,Se){switch(O){case 2:switch(U){case 2:Ze(z,$,Z,q,ne,de,Se);break;case 1:Xe(z,Z);break;case 16:Qe(z),x(Z,$);break;default:fn(z,$,Z,q,ne,Se);break}break;case 1:switch(U){case 2:Ke($,Z,q,ne,de,Se);break;case 1:break;case 16:x(Z,$);break;default:nt($,Z,q,ne,de,Se);break}break;case 16:switch(U){case 16:ln(z,$,Z);break;case 2:ut(Z),Ke($,Z,q,ne,de,Se);break;case 1:ut(Z);break;default:ut(Z),nt($,Z,q,ne,de,Se);break}break;default:switch(U){case 16:rt(z),x(Z,$);break;case 2:dt(Z,Te,z),Ke($,Z,q,ne,de,Se);break;case 1:dt(Z,Te,z);break;default:var Le=z.length|0,Ee=$.length|0;Le===0?Ee>0&&nt($,Z,q,ne,de,Se):Ee===0?dt(Z,Te,z):U===8&&O===8?Nn(z,$,Z,q,ne,Le,Ee,de,Te,Se):gn(z,$,Z,q,ne,Le,Ee,de,Se);break}break}}function pn(O,U,z,$,Z){Z.push(function(){O.componentDidUpdate(U,z,$)})}function Dt(O,U,z,$,Z,q,ne,de,Te){var Se=O.state,Le=O.props,Ee=!!O.$N,Pe=o(O.shouldComponentUpdate);if(Ee&&(U=I(O,z,U!==Se?k(Se,U):U)),ne||!Pe||Pe&&O.shouldComponentUpdate(z,U,Z)){!Ee&&o(O.componentWillUpdate)&&O.componentWillUpdate(z,U,Z),O.props=z,O.state=U,O.context=Z;var Fe=null,Me=At(O,z,Z);Ee&&o(O.getSnapshotBeforeUpdate)&&(Fe=O.getSnapshotBeforeUpdate(Le,Se)),Ze(O.$LI,Me,$,O.$CX,q,de,Te),O.$LI=Me,o(O.componentDidUpdate)&&pn(O,Le,Se,Fe,Te)}else O.props=z,O.state=U,O.context=Z}function hn(O,U,z,$,Z,q,ne){var de=U.children=O.children;if(!y(de)){de.$L=ne;var Te=U.props||c,Se=U.ref,Le=O.ref,Ee=de.state;if(!de.$N){if(o(de.componentWillReceiveProps)){if(de.$BR=!0,de.componentWillReceiveProps(Te,$),de.$UN)return;de.$BR=!1}y(de.$PS)||(Ee=k(Ee,de.$PS),de.$PS=null)}Dt(de,Ee,Te,z,$,Z,!1,q,ne),Le!==Se&&(lt(Le),ot(Se,de,ne))}}function Cn(O,U,z,$,Z,q,ne){var de=!0,Te=U.props||c,Se=U.ref,Le=O.props,Ee=!a(Se),Pe=O.children;if(Ee&&o(Se.onComponentShouldUpdate)&&(de=Se.onComponentShouldUpdate(Le,Te)),de!==!1){Ee&&o(Se.onComponentWillUpdate)&&Se.onComponentWillUpdate(Le,Te);var Fe=te(Ct(U,$));Ze(Pe,Fe,z,$,Z,q,ne),U.children=Fe,Ee&&o(Se.onComponentDidUpdate)&&Se.onComponentDidUpdate(Le,Te)}else U.children=Pe}function vn(O,U){var z=U.children,$=U.dom=O.dom;z!==O.children&&($.nodeValue=z)}function gn(O,U,z,$,Z,q,ne,de,Te){for(var Se=q>ne?ne:q,Le=0,Ee,Pe;Lene)for(Le=Se;LeLe||Pe>Ee)break e;Fe=O[Pe],Me=U[Pe]}for(Fe=O[Le],Me=U[Ee];Fe.key===Me.key;){if(Me.flags&16384&&(U[Ee]=Me=J(Me)),Ze(Fe,Me,z,$,Z,de,Se),O[Le]=Me,Le--,Ee--,Pe>Le||Pe>Ee)break e;Fe=O[Le],Me=U[Ee]}}if(Pe>Le){if(Pe<=Ee)for(He=Ee+1,Re=HeEe)for(;Pe<=Le;)Xe(O[Pe++],z);else Vn(O,U,$,q,ne,Le,Ee,Pe,z,Z,de,Te,Se)}function Vn(O,U,z,$,Z,q,ne,de,Te,Se,Le,Ee,Pe){var Fe,Me,He,Re=0,et=de,Ye=de,at=q-de+1,Je=ne-de+1,ct=new Int32Array(Je+1),tt=at===$,Vt=!1,$e=0,it=0;if(Z<4||(at|Je)<32)for(Re=et;Re<=q;++Re)if(Fe=O[Re],itde?Vt=!0:$e=de,Me.flags&16384&&(U[de]=Me=J(Me)),Ze(Fe,Me,Te,z,Se,Le,Pe),++it;break}!tt&&de>ne&&Xe(Fe,Te)}else tt||Xe(Fe,Te);else{var Kt={};for(Re=Ye;Re<=ne;++Re)Kt[U[Re].key]=Re;for(Re=et;Re<=q;++Re)if(Fe=O[Re],itet;)Xe(O[et++],Te);ct[de-Ye]=Re+1,$e>de?Vt=!0:$e=de,Me=U[de],Me.flags&16384&&(U[de]=Me=J(Me)),Ze(Fe,Me,Te,z,Se,Le,Pe),++it}else tt||Xe(Fe,Te);else tt||Xe(Fe,Te)}if(tt)dt(Te,Ee,O),nt(U,Te,z,Se,Le,Pe);else if(Vt){var Ht=bn(ct);for(de=Ht.length-1,Re=Je-1;Re>=0;Re--)ct[Re]===0?($e=Re+Ye,Me=U[$e],Me.flags&16384&&(U[$e]=Me=J(Me)),He=$e+1,Ke(Me,Te,z,Se,He=0;Re--)ct[Re]===0&&($e=Re+Ye,Me=U[$e],Me.flags&16384&&(U[$e]=Me=J(Me)),He=$e+1,Ke(Me,Te,z,Se,Hejt&&(jt=Te,qe=new Int32Array(Te),st=new Int32Array(Te));z>1,O[qe[de]]0&&(st[z]=qe[q-1]),qe[q]=z)}q=Z+1;var Se=new Int32Array(q);for(ne=qe[q-1];q-- >0;)Se[q]=ne,ne=st[ne],qe[q]=0;return Se}var yn=typeof document!="undefined";yn&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);function Ft(O,U,z,$){var Z=[],q=U.$V;L.v=!0,a(q)?a(O)||(O.flags&16384&&(O=J(O)),Ke(O,U,$,!1,null,Z),U.$V=O,q=O):a(O)?(Xe(q,U),U.$V=null):(O.flags&16384&&(O=J(O)),Ze(q,O,U,$,!1,null,Z),q=U.$V=O),g(Z),L.v=!1,o(z)&&z(),o(T.renderComplete)&&T.renderComplete(q,U)}function Wt(O,U,z,$){z===void 0&&(z=null),$===void 0&&($=c),Ft(O,U,z,$)}function kn(O){return function(){function U(z,$,Z,q){O||(O=z),Wt($,O,Z,q)}return U}()}var mt=[],Sn=typeof Promise!="undefined"?Promise.resolve().then.bind(Promise.resolve()):function(O){window.setTimeout(O,0)},gt=!1;function Ut(O,U,z,$){var Z=O.$PS;if(o(U)&&(U=U(Z?k(O.state,Z):O.state,O.props,O.context)),a(Z))O.$PS=U;else for(var q in U)Z[q]=U[q];if(O.$BR)o(z)&&O.$L.push(z.bind(O));else{if(!L.v&&mt.length===0){zt(O,$),o(z)&&z.call(O);return}if(mt.indexOf(O)===-1&&mt.push(O),$&&(O.$F=!0),gt||(gt=!0,Sn(_t)),o(z)){var ne=O.$QU;ne||(ne=O.$QU=[]),ne.push(z)}}}function Bn(O){for(var U=O.$QU,z=0;z=0;--W){var _=this.tryEntries[W],K=_.completion;if(_.tryLoc==="root")return F("end");if(_.tryLoc<=this.prev){var H=a.call(_,"catchLoc"),X=a.call(_,"finallyLoc");if(H&&X){if(this.prev<_.catchLoc)return F(_.catchLoc,!0);if(this.prev<_.finallyLoc)return F(_.finallyLoc)}else if(H){if(this.prev<_.catchLoc)return F(_.catchLoc,!0)}else if(X){if(this.prev<_.finallyLoc)return F(_.finallyLoc)}else throw new Error("try statement without catch or finally")}}}return P}(),abrupt:function(){function P(R,j){for(var F=this.tryEntries.length-1;F>=0;--F){var W=this.tryEntries[F];if(W.tryLoc<=this.prev&&a.call(W,"finallyLoc")&&this.prev=0;--j){var F=this.tryEntries[j];if(F.finallyLoc===R)return this.complete(F.completion,F.afterLoc),A(F),s}}return P}(),catch:function(){function P(R){for(var j=this.tryEntries.length-1;j>=0;--j){var F=this.tryEntries[j];if(F.tryLoc===R){var W=F.completion;if(W.type==="throw"){var _=W.arg;A(F)}return _}}throw new Error("illegal catch attempt")}return P}(),delegateYield:function(){function P(R,j,F){return this.delegate={iterator:M(R),resultName:j,nextLoc:F},this.method==="next"&&(this.arg=o),s}return P}()},n}(w.exports);try{regeneratorRuntime=r}catch(n){typeof globalThis=="object"?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},16666:function(){"use strict";self.fetch||(self.fetch=function(w,r){return r=r||{},new Promise(function(n,e){var a=new XMLHttpRequest,t=[],o={},f=function(){function y(){return{ok:(a.status/100|0)==2,statusText:a.statusText,status:a.status,url:a.responseURL,text:function(){function S(){return Promise.resolve(a.responseText)}return S}(),json:function(){function S(){return Promise.resolve(a.responseText).then(JSON.parse)}return S}(),blob:function(){function S(){return Promise.resolve(new Blob([a.response]))}return S}(),clone:y,headers:{keys:function(){function S(){return t}return S}(),entries:function(){function S(){return t.map(function(k){return[k,a.getResponseHeader(k)]})}return S}(),get:function(){function S(k){return a.getResponseHeader(k)}return S}(),has:function(){function S(k){return a.getResponseHeader(k)!=null}return S}()}}}return y}();for(var V in a.open(r.method||"get",w,!0),a.onload=function(){a.getAllResponseHeaders().toLowerCase().replace(/^(.+?):/gm,function(y,S){o[S]||t.push(o[S]=S)}),n(f())},a.onerror=e,a.withCredentials=r.credentials=="include",r.headers)a.setRequestHeader(V,r.headers[V]);a.send(r.body||null)})})},50640:function(w,r){"use strict";r.__esModule=!0,r.zipWith=r.zip=r.uniqBy=r.uniq=r.toKeyedArray=r.toArray=r.sortBy=r.sort=r.reduce=r.range=r.map=r.filterMap=r.filter=void 0;function n(i,p){var v=typeof Symbol!="undefined"&&i[Symbol.iterator]||i["@@iterator"];if(v)return(v=v.call(i)).next.bind(v);if(Array.isArray(i)||(v=e(i))||p&&i&&typeof i.length=="number"){v&&(i=v);var g=0;return function(){return g>=i.length?{done:!0}:{done:!1,value:i[g++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function e(i,p){if(i){if(typeof i=="string")return a(i,p);var v=Object.prototype.toString.call(i).slice(8,-1);if(v==="Object"&&i.constructor&&(v=i.constructor.name),v==="Map"||v==="Set")return Array.from(i);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return a(i,p)}}function a(i,p){(p==null||p>i.length)&&(p=i.length);for(var v=0,g=new Array(p);v1?d-1:0),s=1;s1?b-1:0),I=1;I=0;--oe){var le=this.tryEntries[oe],re=le.completion;if(le.tryLoc==="root")return ee("end");if(le.tryLoc<=this.prev){var ge=g.call(le,"catchLoc"),Be=g.call(le,"finallyLoc");if(ge&&Be){if(this.prev=0;--ee){var oe=this.tryEntries[ee];if(oe.tryLoc<=this.prev&&g.call(oe,"finallyLoc")&&this.prev=0;--ae){var ee=this.tryEntries[ae];if(ee.finallyLoc===Q)return this.complete(ee.completion,ee.afterLoc),fe(ee),P}}return te}(),catch:function(){function te(Q){for(var ae=this.tryEntries.length-1;ae>=0;--ae){var ee=this.tryEntries[ae];if(ee.tryLoc===Q){var oe=ee.completion;if(oe.type==="throw"){var le=oe.arg;fe(ee)}return le}}throw Error("illegal catch attempt")}return te}(),delegateYield:function(){function te(Q,ae,ee){return this.delegate={iterator:he(Q),resultName:ae,nextLoc:ee},this.method==="next"&&(this.arg=i),P}return te}()},p}function e(i,p,v,g,h,N,b){try{var B=i[N](b),I=B.value}catch(L){v(L);return}B.done?p(I):Promise.resolve(I).then(g,h)}function a(i){return function(){var p=this,v=arguments;return new Promise(function(g,h){var N=i.apply(p,v);function b(I){e(N,g,h,b,B,"next",I)}function B(I){e(N,g,h,b,B,"throw",I)}b(void 0)})}}/** + */var a=r.createStore=function(){function S(k,C){if(C)return C(S)(k);var u,c=[],m=function(){function s(){return u}return s}(),d=function(){function s(i){c.push(i)}return s}(),l=function(){function s(i){u=k(u,i);for(var p=0;p1?d-1:0),s=1;s1?b-1:0),I=1;I=0;--oe){var ue=this.tryEntries[oe],re=ue.completion;if(ue.tryLoc==="root")return ee("end");if(ue.tryLoc<=this.prev){var ge=g.call(ue,"catchLoc"),Be=g.call(ue,"finallyLoc");if(ge&&Be){if(this.prev=0;--ee){var oe=this.tryEntries[ee];if(oe.tryLoc<=this.prev&&g.call(oe,"finallyLoc")&&this.prev=0;--ae){var ee=this.tryEntries[ae];if(ee.finallyLoc===Q)return this.complete(ee.completion,ee.afterLoc),fe(ee),P}}return te}(),catch:function(){function te(Q){for(var ae=this.tryEntries.length-1;ae>=0;--ae){var ee=this.tryEntries[ae];if(ee.tryLoc===Q){var oe=ee.completion;if(oe.type==="throw"){var ue=oe.arg;fe(ee)}return ue}}throw Error("illegal catch attempt")}return te}(),delegateYield:function(){function te(Q,ae,ee){return this.delegate={iterator:he(Q),resultName:ae,nextLoc:ee},this.method==="next"&&(this.arg=i),P}return te}()},p}function e(i,p,v,g,h,N,b){try{var B=i[N](b),I=B.value}catch(L){v(L);return}B.done?p(I):Promise.resolve(I).then(g,h)}function a(i){return function(){var p=this,v=arguments;return new Promise(function(g,h){var N=i.apply(p,v);function b(I){e(N,g,h,b,B,"next",I)}function B(I){e(N,g,h,b,B,"throw",I)}b(void 0)})}}/** * Browser-agnostic abstraction of key-value web storage. * * @file @@ -89,7 +89,7 @@ * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function c(g,h){g.prototype=Object.create(h.prototype),g.prototype.constructor=g,m(g,h)}function m(g,h){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function N(b,B){return b.__proto__=B,b}return N}(),m(g,h)}function d(g,h){if(g==null)return{};var N={},b=Object.keys(g),B,I;for(I=0;I=0)&&(N[B]=g[B]);return N}var l=(0,o.createLogger)("Button"),s=r.Button=function(){function g(h){var N=h.className,b=h.fluid,B=h.icon,I=h.iconRotation,L=h.iconSpin,T=h.color,x=h.textColor,A=h.disabled,E=h.selected,M=h.tooltip,D=h.tooltipPosition,P=h.ellipsis,R=h.compact,j=h.circular,F=h.content,W=h.iconColor,_=h.iconRight,K=h.iconStyle,$=h.children,G=h.onclick,X=h.onClick,J=h.multiLine,ue=d(h,S),ce=!!(F||$);G&&l.warn("Lowercase 'onclick' is not supported on Button and lowercase prop names are discouraged in general. Please use a camelCase'onClick' instead and read: https://infernojs.org/docs/guides/event-handling"),ue.onClick=function(pe){!A&&X&&X(pe)};var fe=(0,e.normalizeProps)((0,e.createComponentVNode)(2,f.Box,Object.assign({className:(0,a.classes)(["Button",b&&"Button--fluid",A&&"Button--disabled",E&&"Button--selected",ce&&"Button--hasContent",P&&"Button--ellipsis",j&&"Button--circular",R&&"Button--compact",_&&"Button--iconRight",J&&"Button--multiLine",T&&typeof T=="string"?"Button--color--"+T:"Button--color--default",N]),tabIndex:!A&&"0",color:x,onKeyDown:function(){function pe(he){var te=window.event?he.which:he.keyCode;if(te===t.KEY_SPACE||te===t.KEY_ENTER){he.preventDefault(),!A&&X&&X(he);return}if(te===t.KEY_ESCAPE){he.preventDefault();return}}return pe}()},ue,{children:[B&&!_&&(0,e.createComponentVNode)(2,V.Icon,{name:B,color:W,rotation:I,spin:L,style:K}),F,$,B&&_&&(0,e.createComponentVNode)(2,V.Icon,{name:B,color:W,rotation:I,spin:L,style:K})]})));return M&&(fe=(0,e.createComponentVNode)(2,y.Tooltip,{content:M,position:D,children:fe})),fe}return g}();s.defaultHooks=a.pureComponentHooks;var i=r.ButtonCheckbox=function(){function g(h){var N=h.checked,b=d(h,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,s,Object.assign({color:"transparent",icon:N?"check-square-o":"square-o",selected:N},b)))}return g}();s.Checkbox=i;var p=r.ButtonConfirm=function(g){function h(){var b;return b=g.call(this)||this,b.state={clickedOnce:!1},b.handleClick=function(){b.state.clickedOnce&&b.setClickedOnce(!1)},b}c(h,g);var N=h.prototype;return N.setClickedOnce=function(){function b(B){var I=this;this.setState({clickedOnce:B}),B?setTimeout(function(){return window.addEventListener("click",I.handleClick)}):window.removeEventListener("click",this.handleClick)}return b}(),N.render=function(){function b(){var B=this,I=this.props,L=I.confirmContent,T=L===void 0?"Confirm?":L,x=I.confirmColor,A=x===void 0?"bad":x,E=I.confirmIcon,M=I.icon,D=I.color,P=I.content,R=I.onClick,j=d(I,C);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,s,Object.assign({content:this.state.clickedOnce?T:P,icon:this.state.clickedOnce?E:M,color:this.state.clickedOnce?A:D,onClick:function(){function F(){return B.state.clickedOnce?R():B.setClickedOnce(!0)}return F}()},j)))}return b}(),h}(e.Component);s.Confirm=p;var v=r.ButtonInput=function(g){function h(){var b;return b=g.call(this)||this,b.inputRef=(0,e.createRef)(),b.state={inInput:!1},b}c(h,g);var N=h.prototype;return N.setInInput=function(){function b(B){var I=this.props.disabled;if(!I&&(this.setState({inInput:B}),this.inputRef)){var L=this.inputRef.current;if(B){L.value=this.props.currentValue||"";try{L.focus(),L.select()}catch(T){}}}}return b}(),N.commitResult=function(){function b(B){if(this.inputRef){var I=this.inputRef.current,L=I.value!=="";if(L){this.props.onCommit(B,I.value);return}else{if(!this.props.defaultValue)return;this.props.onCommit(B,this.props.defaultValue)}}}return b}(),N.render=function(){function b(){var B=this,I=this.props,L=I.fluid,T=I.content,x=I.icon,A=I.iconRotation,E=I.iconSpin,M=I.tooltip,D=I.tooltipPosition,P=I.color,R=P===void 0?"default":P,j=I.disabled,F=I.placeholder,W=I.maxLength,_=I.multiLine,K=d(I,u),$=(0,e.normalizeProps)((0,e.createComponentVNode)(2,f.Box,Object.assign({className:(0,a.classes)(["Button",L&&"Button--fluid",j&&"Button--disabled","Button--color--"+R,_+"Button--multiLine"])},K,{onClick:function(){function G(){return B.setInInput(!0)}return G}(),children:[x&&(0,e.createComponentVNode)(2,V.Icon,{name:x,rotation:A,spin:E}),(0,e.createVNode)(1,"div",null,T,0),(0,e.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:this.state.inInput?void 0:"none","text-align":"left"},onBlur:function(){function G(X){B.state.inInput&&(B.setInInput(!1),B.commitResult(X))}return G}(),onKeyDown:function(){function G(X){if(X.keyCode===t.KEY_ENTER){B.setInInput(!1),B.commitResult(X);return}X.keyCode===t.KEY_ESCAPE&&B.setInInput(!1)}return G}()},null,this.inputRef)]})));return M&&($=(0,e.createComponentVNode)(2,y.Tooltip,{content:M,position:D,children:$})),$}return b}(),h}(e.Component);s.Input=v},42204:function(w,r,n){"use strict";r.__esModule=!0,r.ByondUi=void 0;var e=n(96524),a=n(28234),t=n(56052),o=n(81856),f=n(3051),V=["params"],y=["params"],S=["parent","params"];function k(p,v){if(p==null)return{};var g={},h=Object.keys(p),N,b;for(b=0;b=0)&&(g[N]=p[N]);return g}function C(p,v){p.prototype=Object.create(v.prototype),p.prototype.constructor=p,u(p,v)}function u(p,v){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function g(h,N){return h.__proto__=N,h}return g}(),u(p,v)}/** + */function c(g,h){g.prototype=Object.create(h.prototype),g.prototype.constructor=g,m(g,h)}function m(g,h){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function N(b,B){return b.__proto__=B,b}return N}(),m(g,h)}function d(g,h){if(g==null)return{};var N={},b=Object.keys(g),B,I;for(I=0;I=0)&&(N[B]=g[B]);return N}var l=(0,o.createLogger)("Button"),s=r.Button=function(){function g(h){var N=h.className,b=h.fluid,B=h.icon,I=h.iconRotation,L=h.iconSpin,T=h.color,x=h.textColor,A=h.disabled,E=h.selected,M=h.tooltip,D=h.tooltipPosition,P=h.ellipsis,R=h.compact,j=h.circular,F=h.content,W=h.iconColor,_=h.iconRight,K=h.iconStyle,H=h.children,X=h.onclick,Y=h.onClick,J=h.multiLine,le=d(h,S),ce=!!(F||H);X&&l.warn("Lowercase 'onclick' is not supported on Button and lowercase prop names are discouraged in general. Please use a camelCase'onClick' instead and read: https://infernojs.org/docs/guides/event-handling"),le.onClick=function(pe){!A&&Y&&Y(pe)};var fe=(0,e.normalizeProps)((0,e.createComponentVNode)(2,f.Box,Object.assign({className:(0,a.classes)(["Button",b&&"Button--fluid",A&&"Button--disabled",E&&"Button--selected",ce&&"Button--hasContent",P&&"Button--ellipsis",j&&"Button--circular",R&&"Button--compact",_&&"Button--iconRight",J&&"Button--multiLine",T&&typeof T=="string"?"Button--color--"+T:"Button--color--default",N]),tabIndex:!A&&"0",color:x,onKeyDown:function(){function pe(he){var te=window.event?he.which:he.keyCode;if(te===t.KEY_SPACE||te===t.KEY_ENTER){he.preventDefault(),!A&&Y&&Y(he);return}if(te===t.KEY_ESCAPE){he.preventDefault();return}}return pe}()},le,{children:[B&&!_&&(0,e.createComponentVNode)(2,V.Icon,{name:B,color:W,rotation:I,spin:L,style:K}),F,H,B&&_&&(0,e.createComponentVNode)(2,V.Icon,{name:B,color:W,rotation:I,spin:L,style:K})]})));return M&&(fe=(0,e.createComponentVNode)(2,y.Tooltip,{content:M,position:D,children:fe})),fe}return g}();s.defaultHooks=a.pureComponentHooks;var i=r.ButtonCheckbox=function(){function g(h){var N=h.checked,b=d(h,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,s,Object.assign({color:"transparent",icon:N?"check-square-o":"square-o",selected:N},b)))}return g}();s.Checkbox=i;var p=r.ButtonConfirm=function(g){function h(){var b;return b=g.call(this)||this,b.state={clickedOnce:!1},b.handleClick=function(){b.state.clickedOnce&&b.setClickedOnce(!1)},b}c(h,g);var N=h.prototype;return N.setClickedOnce=function(){function b(B){var I=this;this.setState({clickedOnce:B}),B?setTimeout(function(){return window.addEventListener("click",I.handleClick)}):window.removeEventListener("click",this.handleClick)}return b}(),N.render=function(){function b(){var B=this,I=this.props,L=I.confirmContent,T=L===void 0?"Confirm?":L,x=I.confirmColor,A=x===void 0?"bad":x,E=I.confirmIcon,M=I.icon,D=I.color,P=I.content,R=I.onClick,j=d(I,C);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,s,Object.assign({content:this.state.clickedOnce?T:P,icon:this.state.clickedOnce?E:M,color:this.state.clickedOnce?A:D,onClick:function(){function F(){return B.state.clickedOnce?R():B.setClickedOnce(!0)}return F}()},j)))}return b}(),h}(e.Component);s.Confirm=p;var v=r.ButtonInput=function(g){function h(){var b;return b=g.call(this)||this,b.inputRef=(0,e.createRef)(),b.state={inInput:!1},b}c(h,g);var N=h.prototype;return N.setInInput=function(){function b(B){var I=this.props.disabled;if(!I&&(this.setState({inInput:B}),this.inputRef)){var L=this.inputRef.current;if(B){L.value=this.props.currentValue||"";try{L.focus(),L.select()}catch(T){}}}}return b}(),N.commitResult=function(){function b(B){if(this.inputRef){var I=this.inputRef.current,L=I.value!=="";if(L){this.props.onCommit(B,I.value);return}else{if(!this.props.defaultValue)return;this.props.onCommit(B,this.props.defaultValue)}}}return b}(),N.render=function(){function b(){var B=this,I=this.props,L=I.fluid,T=I.content,x=I.icon,A=I.iconRotation,E=I.iconSpin,M=I.tooltip,D=I.tooltipPosition,P=I.color,R=P===void 0?"default":P,j=I.disabled,F=I.placeholder,W=I.maxLength,_=I.multiLine,K=d(I,u),H=(0,e.normalizeProps)((0,e.createComponentVNode)(2,f.Box,Object.assign({className:(0,a.classes)(["Button",L&&"Button--fluid",j&&"Button--disabled","Button--color--"+R,_+"Button--multiLine"])},K,{onClick:function(){function X(){return B.setInInput(!0)}return X}(),children:[x&&(0,e.createComponentVNode)(2,V.Icon,{name:x,rotation:A,spin:E}),(0,e.createVNode)(1,"div",null,T,0),(0,e.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:this.state.inInput?void 0:"none","text-align":"left"},onBlur:function(){function X(Y){B.state.inInput&&(B.setInInput(!1),B.commitResult(Y))}return X}(),onKeyDown:function(){function X(Y){if(Y.keyCode===t.KEY_ENTER){B.setInInput(!1),B.commitResult(Y);return}Y.keyCode===t.KEY_ESCAPE&&B.setInInput(!1)}return X}()},null,this.inputRef)]})));return M&&(H=(0,e.createComponentVNode)(2,y.Tooltip,{content:M,position:D,children:H})),H}return b}(),h}(e.Component);s.Input=v},42204:function(w,r,n){"use strict";r.__esModule=!0,r.ByondUi=void 0;var e=n(96524),a=n(28234),t=n(56052),o=n(81856),f=n(3051),V=["params"],y=["params"],S=["parent","params"];function k(p,v){if(p==null)return{};var g={},h=Object.keys(p),N,b;for(b=0;b=0)&&(g[N]=p[N]);return g}function C(p,v){p.prototype=Object.create(v.prototype),p.prototype.constructor=p,u(p,v)}function u(p,v){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function g(h,N){return h.__proto__=N,h}return g}(),u(p,v)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT @@ -113,7 +113,7 @@ * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=r.Divider=function(){function o(f){var V=f.vertical,y=f.hidden;return(0,e.createVNode)(1,"div",(0,a.classes)(["Divider",y&&"Divider--hidden",V?"Divider--vertical":"Divider--horizontal"]))}return o}()},27648:function(w,r,n){"use strict";r.__esModule=!0,r.DraggableControl=void 0;var e=n(96524),a=n(36121),t=n(28234),o=n(65416);function f(C,u){C.prototype=Object.create(u.prototype),C.prototype.constructor=C,V(C,u)}function V(C,u){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function c(m,d){return m.__proto__=d,m}return c}(),V(C,u)}var y=400,S=function(u,c){return u.screenX*c[0]+u.screenY*c[1]},k=r.DraggableControl=function(C){function u(m){var d;return d=C.call(this,m)||this,d.inputRef=(0,e.createRef)(),d.state={originalValue:m.value,value:m.value,dragging:!1,editing:!1,origin:null,suppressingFlicker:!1},d.flickerTimer=null,d.suppressFlicker=function(){var l=d.props.suppressFlicker;l>0&&(d.setState({suppressingFlicker:!0}),clearTimeout(d.flickerTimer),d.flickerTimer=setTimeout(function(){return d.setState({suppressingFlicker:!1})},l))},d.handleDragStart=function(l){var s=d.props,i=s.value,p=s.dragMatrix,v=s.disabled,g=d.state.editing;g||v||(document.body.style["pointer-events"]="none",d.ref=l.currentTarget,d.setState({originalValue:i,dragging:!1,value:i,origin:S(l,p)}),d.timer=setTimeout(function(){d.setState({dragging:!0})},250),d.dragInterval=setInterval(function(){var h=d.state,N=h.dragging,b=h.value,B=d.props.onDrag;N&&B&&B(l,b)},d.props.updateRate||y),document.addEventListener("mousemove",d.handleDragMove),document.addEventListener("mouseup",d.handleDragEnd))},d.handleDragMove=function(l){var s,i=d.props,p=i.minValue,v=i.maxValue,g=i.step,h=i.dragMatrix,N=i.disabled;if(!N){var b=d.ref.offsetWidth/((v-p)/g),B=(s=d.props.stepPixelSize)!=null?s:b;typeof B=="function"&&(B=B(b)),d.setState(function(I){var L=Object.assign({},I),T=I.origin,x=S(l,h)-T;if(I.dragging){var A=Math.trunc(x/B);L.value=(0,a.clamp)(Math.floor(L.originalValue/g)*g+A*g,p,v)}else Math.abs(x)>4&&(L.dragging=!0);return L})}},d.handleDragEnd=function(l){var s=d.props,i=s.onChange,p=s.onDrag,v=d.state,g=v.dragging,h=v.value;if(document.body.style["pointer-events"]="auto",clearTimeout(d.timer),clearInterval(d.dragInterval),d.setState({originalValue:null,dragging:!1,editing:!g,origin:null}),document.removeEventListener("mousemove",d.handleDragMove),document.removeEventListener("mouseup",d.handleDragEnd),g)d.suppressFlicker(),i&&i(l,h),p&&p(l,h);else if(d.inputRef){var N=d.inputRef.current;N.value=h;try{N.focus(),N.select()}catch(b){}}},d}f(u,C);var c=u.prototype;return c.render=function(){function m(){var d=this,l=this.state,s=l.dragging,i=l.editing,p=l.value,v=l.suppressingFlicker,g=this.props,h=g.animated,N=g.value,b=g.unit,B=g.minValue,I=g.maxValue,L=g.format,T=g.onChange,x=g.onDrag,A=g.children,E=g.height,M=g.lineHeight,D=g.fontSize,P=g.disabled,R=N;(s||v)&&(R=p);var j=function(){function _(K){return K+(b?" "+b:"")}return _}(),F=h&&!s&&!v&&(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:R,format:L,children:j})||j(L?L(R):R),W=(0,e.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:!i||P?"none":void 0,height:E,"line-height":M,"font-size":D},onBlur:function(){function _(K){if(i){var $=(0,a.clamp)(parseFloat(K.target.value),B,I);if(Number.isNaN($)){d.setState({editing:!1});return}d.setState({editing:!1,value:$}),d.suppressFlicker(),T&&T(K,$),x&&x(K,$)}}return _}(),onKeyDown:function(){function _(K){if(K.keyCode===13){var $=(0,a.clamp)(parseFloat(K.target.value),B,I);if(Number.isNaN($)){d.setState({editing:!1});return}d.setState({editing:!1,value:$}),d.suppressFlicker(),T&&T(K,$),x&&x(K,$);return}if(K.keyCode===27){d.setState({editing:!1});return}}return _}(),disabled:P},null,this.inputRef);return A({dragging:s,editing:i,value:N,displayValue:R,displayElement:F,inputElement:W,handleDragStart:this.handleDragStart})}return m}(),u}(e.Component);k.defaultHooks=t.pureComponentHooks,k.defaultProps={minValue:-1/0,maxValue:1/0,step:1,suppressFlicker:50,dragMatrix:[1,0]}},45293:function(w,r,n){"use strict";r.__esModule=!0,r.Dropdown=void 0;var e=n(96524),a=n(60023),t=n(28234),o=n(3051),f=n(11253),V=["icon","iconRotation","iconSpin","clipSelectedText","color","dropdownStyle","over","nochevron","width","onClick","onSelected","selected","disabled","displayText"],y=["className"],S;function k(i,p){if(i==null)return{};var v={},g=Object.keys(i),h,N;for(N=0;N=0)&&(v[h]=i[h]);return v}function C(i,p){i.prototype=Object.create(p.prototype),i.prototype.constructor=i,u(i,p)}function u(i,p){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function v(g,h){return g.__proto__=h,g}return v}(),u(i,p)}var c={placement:"left-start",modifiers:[{name:"eventListeners",enabled:!1}]},m={width:0,height:0,top:0,right:0,bottom:0,left:0,x:0,y:0,toJSON:function(){function i(){return null}return i}()},d="Layout Dropdown__menu",l="Layout Dropdown__menu-scroll",s=r.Dropdown=function(i){function p(g){var h;return h=i.call(this,g)||this,h.menuContents=void 0,h.handleClick=function(){h.state.open&&h.setOpen(!1)},h.state={open:!1,selected:h.props.selected},h.menuContents=null,h}C(p,i);var v=p.prototype;return v.getDOMNode=function(){function g(){return(0,e.findDOMfromVNode)(this.$LI,!0)}return g}(),v.componentDidMount=function(){function g(){var h=this.getDOMNode()}return g}(),v.openMenu=function(){function g(){var h=p.renderedMenu;h===void 0&&(h=document.createElement("div"),h.className=d,document.body.appendChild(h),p.renderedMenu=h);var N=this.getDOMNode();p.currentOpenMenu=N,h.scrollTop=0,h.style.width=this.props.menuWidth||N.offsetWidth+"px",h.style.opacity="1",h.style.pointerEvents="auto",setTimeout(function(){var b;(b=p.renderedMenu)==null||b.focus()},400),this.renderMenuContent()}return g}(),v.closeMenu=function(){function g(){p.currentOpenMenu===this.getDOMNode()&&(p.currentOpenMenu=void 0,p.renderedMenu.style.opacity="0",p.renderedMenu.style.pointerEvents="none")}return g}(),v.componentWillUnmount=function(){function g(){this.closeMenu(),this.setOpen(!1)}return g}(),v.renderMenuContent=function(){function g(){var h=this,N=p.renderedMenu;if(N){N.offsetHeight>200?N.className=l:N.className=d;var b=this.props.options,B=b===void 0?[]:b,I=B.map(function(T){var x,A;return typeof T=="string"?(A=T,x=T):T!==null&&(A=T.displayText,x=T.value),(0,e.createVNode)(1,"div",(0,t.classes)(["Dropdown__menuentry",h.state.selected===x&&"selected"]),A,0,{onClick:function(){function E(){h.setSelected(x)}return E}()},x)}),L=I.length?I:"No Options Found";(0,e.render)((0,e.createVNode)(1,"div",null,L,0),N,function(){var T=p.singletonPopper;T===void 0?(T=(0,a.createPopper)(p.virtualElement,N,Object.assign({},c,{placement:"bottom-start"})),p.singletonPopper=T):(T.setOptions(Object.assign({},c,{placement:"bottom-start"})),T.update())},this.context)}}return g}(),v.setOpen=function(){function g(h){var N=this;this.setState(function(b){return Object.assign({},b,{open:h})}),h?setTimeout(function(){N.openMenu(),window.addEventListener("click",N.handleClick)}):(this.closeMenu(),window.removeEventListener("click",this.handleClick))}return g}(),v.setSelected=function(){function g(h){this.setState(function(N){return Object.assign({},N,{selected:h})}),this.setOpen(!1),this.props.onSelected&&this.props.onSelected(h)}return g}(),v.render=function(){function g(){var h=this,N=this.props,b=N.icon,B=N.iconRotation,I=N.iconSpin,L=N.clipSelectedText,T=L===void 0?!0:L,x=N.color,A=x===void 0?"default":x,E=N.dropdownStyle,M=N.over,D=N.nochevron,P=N.width,R=N.onClick,j=N.onSelected,F=N.selected,W=N.disabled,_=N.displayText,K=k(N,V),$=K.className,G=k(K,y),X=M?!this.state.open:this.state.open;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({width:P,className:(0,t.classes)(["Dropdown__control","Button","Button--color--"+A,W&&"Button--disabled",$]),onClick:function(){function J(ue){W&&!h.state.open||(h.setOpen(!h.state.open),R&&R(ue))}return J}()},G,{children:[b&&(0,e.createComponentVNode)(2,f.Icon,{name:b,rotation:B,spin:I,mr:1}),(0,e.createVNode)(1,"span","Dropdown__selected-text",_||this.state.selected,0,{style:{overflow:T?"hidden":"visible"}}),D||(0,e.createVNode)(1,"span","Dropdown__arrow-button",(0,e.createComponentVNode)(2,f.Icon,{name:X?"chevron-up":"chevron-down"}),2)]})))}return g}(),p}(e.Component);S=s,s.renderedMenu=void 0,s.singletonPopper=void 0,s.currentOpenMenu=void 0,s.virtualElement={getBoundingClientRect:function(){function i(){var p,v;return(p=(v=S.currentOpenMenu)==null?void 0:v.getBoundingClientRect())!=null?p:m}return i}()}},18963:function(w,r,n){"use strict";r.__esModule=!0,r.computeFlexProps=r.computeFlexItemProps=r.computeFlexItemClassName=r.computeFlexClassName=r.Flex=void 0;var e=n(96524),a=n(28234),t=n(3051),o=["className","direction","wrap","align","justify","inline","style"],f=["className"],V=["className","style","grow","order","shrink","basis","align"],y=["className"];/** + */var t=r.Divider=function(){function o(f){var V=f.vertical,y=f.hidden;return(0,e.createVNode)(1,"div",(0,a.classes)(["Divider",y&&"Divider--hidden",V?"Divider--vertical":"Divider--horizontal"]))}return o}()},27648:function(w,r,n){"use strict";r.__esModule=!0,r.DraggableControl=void 0;var e=n(96524),a=n(36121),t=n(28234),o=n(65416);function f(C,u){C.prototype=Object.create(u.prototype),C.prototype.constructor=C,V(C,u)}function V(C,u){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function c(m,d){return m.__proto__=d,m}return c}(),V(C,u)}var y=400,S=function(u,c){return u.screenX*c[0]+u.screenY*c[1]},k=r.DraggableControl=function(C){function u(m){var d;return d=C.call(this,m)||this,d.inputRef=(0,e.createRef)(),d.state={originalValue:m.value,value:m.value,dragging:!1,editing:!1,origin:null,suppressingFlicker:!1},d.flickerTimer=null,d.suppressFlicker=function(){var l=d.props.suppressFlicker;l>0&&(d.setState({suppressingFlicker:!0}),clearTimeout(d.flickerTimer),d.flickerTimer=setTimeout(function(){return d.setState({suppressingFlicker:!1})},l))},d.handleDragStart=function(l){var s=d.props,i=s.value,p=s.dragMatrix,v=s.disabled,g=d.state.editing;g||v||(document.body.style["pointer-events"]="none",d.ref=l.currentTarget,d.setState({originalValue:i,dragging:!1,value:i,origin:S(l,p)}),d.timer=setTimeout(function(){d.setState({dragging:!0})},250),d.dragInterval=setInterval(function(){var h=d.state,N=h.dragging,b=h.value,B=d.props.onDrag;N&&B&&B(l,b)},d.props.updateRate||y),document.addEventListener("mousemove",d.handleDragMove),document.addEventListener("mouseup",d.handleDragEnd))},d.handleDragMove=function(l){var s,i=d.props,p=i.minValue,v=i.maxValue,g=i.step,h=i.dragMatrix,N=i.disabled;if(!N){var b=d.ref.offsetWidth/((v-p)/g),B=(s=d.props.stepPixelSize)!=null?s:b;typeof B=="function"&&(B=B(b)),d.setState(function(I){var L=Object.assign({},I),T=I.origin,x=S(l,h)-T;if(I.dragging){var A=Math.trunc(x/B);L.value=(0,a.clamp)(Math.floor(L.originalValue/g)*g+A*g,p,v)}else Math.abs(x)>4&&(L.dragging=!0);return L})}},d.handleDragEnd=function(l){var s=d.props,i=s.onChange,p=s.onDrag,v=d.state,g=v.dragging,h=v.value;if(document.body.style["pointer-events"]="auto",clearTimeout(d.timer),clearInterval(d.dragInterval),d.setState({originalValue:null,dragging:!1,editing:!g,origin:null}),document.removeEventListener("mousemove",d.handleDragMove),document.removeEventListener("mouseup",d.handleDragEnd),g)d.suppressFlicker(),i&&i(l,h),p&&p(l,h);else if(d.inputRef){var N=d.inputRef.current;N.value=h;try{N.focus(),N.select()}catch(b){}}},d}f(u,C);var c=u.prototype;return c.render=function(){function m(){var d=this,l=this.state,s=l.dragging,i=l.editing,p=l.value,v=l.suppressingFlicker,g=this.props,h=g.animated,N=g.value,b=g.unit,B=g.minValue,I=g.maxValue,L=g.format,T=g.onChange,x=g.onDrag,A=g.children,E=g.height,M=g.lineHeight,D=g.fontSize,P=g.disabled,R=N;(s||v)&&(R=p);var j=function(){function _(K){return K+(b?" "+b:"")}return _}(),F=h&&!s&&!v&&(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:R,format:L,children:j})||j(L?L(R):R),W=(0,e.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:!i||P?"none":void 0,height:E,"line-height":M,"font-size":D},onBlur:function(){function _(K){if(i){var H=(0,a.clamp)(parseFloat(K.target.value),B,I);if(Number.isNaN(H)){d.setState({editing:!1});return}d.setState({editing:!1,value:H}),d.suppressFlicker(),T&&T(K,H),x&&x(K,H)}}return _}(),onKeyDown:function(){function _(K){if(K.keyCode===13){var H=(0,a.clamp)(parseFloat(K.target.value),B,I);if(Number.isNaN(H)){d.setState({editing:!1});return}d.setState({editing:!1,value:H}),d.suppressFlicker(),T&&T(K,H),x&&x(K,H);return}if(K.keyCode===27){d.setState({editing:!1});return}}return _}(),disabled:P},null,this.inputRef);return A({dragging:s,editing:i,value:N,displayValue:R,displayElement:F,inputElement:W,handleDragStart:this.handleDragStart})}return m}(),u}(e.Component);k.defaultHooks=t.pureComponentHooks,k.defaultProps={minValue:-1/0,maxValue:1/0,step:1,suppressFlicker:50,dragMatrix:[1,0]}},45293:function(w,r,n){"use strict";r.__esModule=!0,r.Dropdown=void 0;var e=n(96524),a=n(60023),t=n(28234),o=n(3051),f=n(11253),V=["icon","iconRotation","iconSpin","clipSelectedText","color","dropdownStyle","over","nochevron","width","onClick","onSelected","selected","disabled","displayText"],y=["className"],S;function k(i,p){if(i==null)return{};var v={},g=Object.keys(i),h,N;for(N=0;N=0)&&(v[h]=i[h]);return v}function C(i,p){i.prototype=Object.create(p.prototype),i.prototype.constructor=i,u(i,p)}function u(i,p){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function v(g,h){return g.__proto__=h,g}return v}(),u(i,p)}var c={placement:"left-start",modifiers:[{name:"eventListeners",enabled:!1}]},m={width:0,height:0,top:0,right:0,bottom:0,left:0,x:0,y:0,toJSON:function(){function i(){return null}return i}()},d="Layout Dropdown__menu",l="Layout Dropdown__menu-scroll",s=r.Dropdown=function(i){function p(g){var h;return h=i.call(this,g)||this,h.menuContents=void 0,h.handleClick=function(){h.state.open&&h.setOpen(!1)},h.state={open:!1,selected:h.props.selected},h.menuContents=null,h}C(p,i);var v=p.prototype;return v.getDOMNode=function(){function g(){return(0,e.findDOMfromVNode)(this.$LI,!0)}return g}(),v.componentDidMount=function(){function g(){var h=this.getDOMNode()}return g}(),v.openMenu=function(){function g(){var h=p.renderedMenu;h===void 0&&(h=document.createElement("div"),h.className=d,document.body.appendChild(h),p.renderedMenu=h);var N=this.getDOMNode();p.currentOpenMenu=N,h.scrollTop=0,h.style.width=this.props.menuWidth||N.offsetWidth+"px",h.style.opacity="1",h.style.pointerEvents="auto",setTimeout(function(){var b;(b=p.renderedMenu)==null||b.focus()},400),this.renderMenuContent()}return g}(),v.closeMenu=function(){function g(){p.currentOpenMenu===this.getDOMNode()&&(p.currentOpenMenu=void 0,p.renderedMenu.style.opacity="0",p.renderedMenu.style.pointerEvents="none")}return g}(),v.componentWillUnmount=function(){function g(){this.closeMenu(),this.setOpen(!1)}return g}(),v.renderMenuContent=function(){function g(){var h=this,N=p.renderedMenu;if(N){N.offsetHeight>200?N.className=l:N.className=d;var b=this.props.options,B=b===void 0?[]:b,I=B.map(function(T){var x,A;return typeof T=="string"?(A=T,x=T):T!==null&&(A=T.displayText,x=T.value),(0,e.createVNode)(1,"div",(0,t.classes)(["Dropdown__menuentry",h.state.selected===x&&"selected"]),A,0,{onClick:function(){function E(){h.setSelected(x)}return E}()},x)}),L=I.length?I:"No Options Found";(0,e.render)((0,e.createVNode)(1,"div",null,L,0),N,function(){var T=p.singletonPopper;T===void 0?(T=(0,a.createPopper)(p.virtualElement,N,Object.assign({},c,{placement:"bottom-start"})),p.singletonPopper=T):(T.setOptions(Object.assign({},c,{placement:"bottom-start"})),T.update())},this.context)}}return g}(),v.setOpen=function(){function g(h){var N=this;this.setState(function(b){return Object.assign({},b,{open:h})}),h?setTimeout(function(){N.openMenu(),window.addEventListener("click",N.handleClick)}):(this.closeMenu(),window.removeEventListener("click",this.handleClick))}return g}(),v.setSelected=function(){function g(h){this.setState(function(N){return Object.assign({},N,{selected:h})}),this.setOpen(!1),this.props.onSelected&&this.props.onSelected(h)}return g}(),v.render=function(){function g(){var h=this,N=this.props,b=N.icon,B=N.iconRotation,I=N.iconSpin,L=N.clipSelectedText,T=L===void 0?!0:L,x=N.color,A=x===void 0?"default":x,E=N.dropdownStyle,M=N.over,D=N.nochevron,P=N.width,R=N.onClick,j=N.onSelected,F=N.selected,W=N.disabled,_=N.displayText,K=k(N,V),H=K.className,X=k(K,y),Y=M?!this.state.open:this.state.open;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({width:P,className:(0,t.classes)(["Dropdown__control","Button","Button--color--"+A,W&&"Button--disabled",H]),onClick:function(){function J(le){W&&!h.state.open||(h.setOpen(!h.state.open),R&&R(le))}return J}()},X,{children:[b&&(0,e.createComponentVNode)(2,f.Icon,{name:b,rotation:B,spin:I,mr:1}),(0,e.createVNode)(1,"span","Dropdown__selected-text",_||this.state.selected,0,{style:{overflow:T?"hidden":"visible"}}),D||(0,e.createVNode)(1,"span","Dropdown__arrow-button",(0,e.createComponentVNode)(2,f.Icon,{name:Y?"chevron-up":"chevron-down"}),2)]})))}return g}(),p}(e.Component);S=s,s.renderedMenu=void 0,s.singletonPopper=void 0,s.currentOpenMenu=void 0,s.virtualElement={getBoundingClientRect:function(){function i(){var p,v;return(p=(v=S.currentOpenMenu)==null?void 0:v.getBoundingClientRect())!=null?p:m}return i}()}},18963:function(w,r,n){"use strict";r.__esModule=!0,r.computeFlexProps=r.computeFlexItemProps=r.computeFlexItemClassName=r.computeFlexClassName=r.Flex=void 0;var e=n(96524),a=n(28234),t=n(3051),o=["className","direction","wrap","align","justify","inline","style"],f=["className"],V=["className","style","grow","order","shrink","basis","align"],y=["className"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT @@ -137,7 +137,7 @@ * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function S(C,u){if(C==null)return{};var c={},m=Object.keys(C),d,l;for(l=0;l=0)&&(c[d]=C[d]);return c}var k=r.Knob=function(){function C(u){var c=u.animated,m=u.format,d=u.maxValue,l=u.minValue,s=u.onChange,i=u.onDrag,p=u.step,v=u.stepPixelSize,g=u.suppressFlicker,h=u.unit,N=u.value,b=u.className,B=u.style,I=u.fillValue,L=u.color,T=u.ranges,x=T===void 0?{}:T,A=u.size,E=A===void 0?1:A,M=u.bipolar,D=u.children,P=u.popUpPosition,R=S(u,y);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,f.DraggableControl,Object.assign({dragMatrix:[0,-1]},{animated:c,format:m,maxValue:d,minValue:l,onChange:s,onDrag:i,step:p,stepPixelSize:v,suppressFlicker:g,unit:h,value:N},{children:function(){function j(F){var W=F.dragging,_=F.editing,K=F.value,$=F.displayValue,G=F.displayElement,X=F.inputElement,J=F.handleDragStart,ue=(0,a.scale)(I!=null?I:$,l,d),ce=(0,a.scale)($,l,d),fe=L||(0,a.keyOfMatchingRange)(I!=null?I:K,x)||"default",pe=(ce-.5)*270;return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,t.classes)(["Knob","Knob--color--"+fe,M&&"Knob--bipolar",b,(0,o.computeBoxClassName)(R)]),[(0,e.createVNode)(1,"div","Knob__circle",(0,e.createVNode)(1,"div","Knob__cursorBox",(0,e.createVNode)(1,"div","Knob__cursor"),2,{style:{transform:"rotate("+pe+"deg)"}}),2),W&&(0,e.createVNode)(1,"div",(0,t.classes)(["Knob__popupValue",P&&"Knob__popupValue--"+P]),G,0),(0,e.createVNode)(32,"svg","Knob__ring Knob__ringTrackPivot",(0,e.createVNode)(32,"circle","Knob__ringTrack",null,1,{cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),(0,e.createVNode)(32,"svg","Knob__ring Knob__ringFillPivot",(0,e.createVNode)(32,"circle","Knob__ringFill",null,1,{style:{"stroke-dashoffset":((M?2.75:2)-ue*1.5)*Math.PI*50},cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),X],0,Object.assign({},(0,o.computeBoxProps)(Object.assign({style:Object.assign({"font-size":E+"em"},B)},R)),{onMouseDown:J})))}return j}()})))}return C}()},86259:function(w,r,n){"use strict";r.__esModule=!0,r.LabeledControls=void 0;var e=n(96524),a=n(18963),t=["children"],o=["label","children"];/** + */function S(C,u){if(C==null)return{};var c={},m=Object.keys(C),d,l;for(l=0;l=0)&&(c[d]=C[d]);return c}var k=r.Knob=function(){function C(u){var c=u.animated,m=u.format,d=u.maxValue,l=u.minValue,s=u.onChange,i=u.onDrag,p=u.step,v=u.stepPixelSize,g=u.suppressFlicker,h=u.unit,N=u.value,b=u.className,B=u.style,I=u.fillValue,L=u.color,T=u.ranges,x=T===void 0?{}:T,A=u.size,E=A===void 0?1:A,M=u.bipolar,D=u.children,P=u.popUpPosition,R=S(u,y);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,f.DraggableControl,Object.assign({dragMatrix:[0,-1]},{animated:c,format:m,maxValue:d,minValue:l,onChange:s,onDrag:i,step:p,stepPixelSize:v,suppressFlicker:g,unit:h,value:N},{children:function(){function j(F){var W=F.dragging,_=F.editing,K=F.value,H=F.displayValue,X=F.displayElement,Y=F.inputElement,J=F.handleDragStart,le=(0,a.scale)(I!=null?I:H,l,d),ce=(0,a.scale)(H,l,d),fe=L||(0,a.keyOfMatchingRange)(I!=null?I:K,x)||"default",pe=(ce-.5)*270;return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,t.classes)(["Knob","Knob--color--"+fe,M&&"Knob--bipolar",b,(0,o.computeBoxClassName)(R)]),[(0,e.createVNode)(1,"div","Knob__circle",(0,e.createVNode)(1,"div","Knob__cursorBox",(0,e.createVNode)(1,"div","Knob__cursor"),2,{style:{transform:"rotate("+pe+"deg)"}}),2),W&&(0,e.createVNode)(1,"div",(0,t.classes)(["Knob__popupValue",P&&"Knob__popupValue--"+P]),X,0),(0,e.createVNode)(32,"svg","Knob__ring Knob__ringTrackPivot",(0,e.createVNode)(32,"circle","Knob__ringTrack",null,1,{cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),(0,e.createVNode)(32,"svg","Knob__ring Knob__ringFillPivot",(0,e.createVNode)(32,"circle","Knob__ringFill",null,1,{style:{"stroke-dashoffset":((M?2.75:2)-le*1.5)*Math.PI*50},cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),Y],0,Object.assign({},(0,o.computeBoxProps)(Object.assign({style:Object.assign({"font-size":E+"em"},B)},R)),{onMouseDown:J})))}return j}()})))}return C}()},86259:function(w,r,n){"use strict";r.__esModule=!0,r.LabeledControls=void 0;var e=n(96524),a=n(18963),t=["children"],o=["label","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT @@ -173,7 +173,7 @@ * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function S(C,u){if(C==null)return{};var c={},m=Object.keys(C),d,l;for(l=0;l=0)&&(c[d]=C[d]);return c}var k=r.Slider=function(){function C(u){var c=u.animated,m=u.format,d=u.maxValue,l=u.minValue,s=u.onChange,i=u.onDrag,p=u.step,v=u.stepPixelSize,g=u.suppressFlicker,h=u.unit,N=u.value,b=u.className,B=u.fillValue,I=u.color,L=u.ranges,T=L===void 0?{}:L,x=u.children,A=u.disabled,E=S(u,y),M=x!==void 0;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,f.DraggableControl,Object.assign({dragMatrix:[1,0]},{animated:c,format:m,maxValue:d,minValue:l,onChange:s,onDrag:i,step:p,stepPixelSize:v,suppressFlicker:g,unit:h,value:N,disabled:A},{children:function(){function D(P){var R=P.dragging,j=P.editing,F=P.value,W=P.displayValue,_=P.displayElement,K=P.inputElement,$=P.handleDragStart,G=B!=null,X=(0,a.scale)(F,l,d),J=(0,a.scale)(B!=null?B:W,l,d),ue=(0,a.scale)(W,l,d),ce=I||(0,a.keyOfMatchingRange)(B!=null?B:F,T)||"default";return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,t.classes)(["Slider",A&&"Slider__disabled","ProgressBar",A?"ProgressBar--color--disabled":"ProgressBar--color--"+ce,b,(0,o.computeBoxClassName)(E)]),[(0,e.createVNode)(1,"div",(0,t.classes)(["ProgressBar__fill",G&&"ProgressBar__fill--animated"]),null,1,{style:{width:(0,a.clamp01)(J)*100+"%",opacity:.4}}),(0,e.createVNode)(1,"div","ProgressBar__fill",null,1,{style:{width:(0,a.clamp01)(Math.min(J,ue))*100+"%"}}),(0,e.createVNode)(1,"div","Slider__cursorOffset",[(0,e.createVNode)(1,"div","Slider__cursor"),(0,e.createVNode)(1,"div","Slider__pointer"),R&&(0,e.createVNode)(1,"div","Slider__popupValue",_,0)],0,{style:{width:(0,a.clamp01)(ue)*100+"%"}}),(0,e.createVNode)(1,"div","ProgressBar__content",M?x:_,0),K],0,Object.assign({disabled:A},(0,o.computeBoxProps)(E),{onMouseDown:$})))}return D}()})))}return C}()},24800:function(w,r,n){"use strict";r.__esModule=!0,r.Stack=void 0;var e=n(96524),a=n(28234),t=n(18963),o=["className","vertical","fill"],f=["className","innerRef"],V=["className","hidden"];/** + */function S(C,u){if(C==null)return{};var c={},m=Object.keys(C),d,l;for(l=0;l=0)&&(c[d]=C[d]);return c}var k=r.Slider=function(){function C(u){var c=u.animated,m=u.format,d=u.maxValue,l=u.minValue,s=u.onChange,i=u.onDrag,p=u.step,v=u.stepPixelSize,g=u.suppressFlicker,h=u.unit,N=u.value,b=u.className,B=u.fillValue,I=u.color,L=u.ranges,T=L===void 0?{}:L,x=u.children,A=u.disabled,E=S(u,y),M=x!==void 0;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,f.DraggableControl,Object.assign({dragMatrix:[1,0]},{animated:c,format:m,maxValue:d,minValue:l,onChange:s,onDrag:i,step:p,stepPixelSize:v,suppressFlicker:g,unit:h,value:N,disabled:A},{children:function(){function D(P){var R=P.dragging,j=P.editing,F=P.value,W=P.displayValue,_=P.displayElement,K=P.inputElement,H=P.handleDragStart,X=B!=null,Y=(0,a.scale)(F,l,d),J=(0,a.scale)(B!=null?B:W,l,d),le=(0,a.scale)(W,l,d),ce=I||(0,a.keyOfMatchingRange)(B!=null?B:F,T)||"default";return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,t.classes)(["Slider",A&&"Slider__disabled","ProgressBar",A?"ProgressBar--color--disabled":"ProgressBar--color--"+ce,b,(0,o.computeBoxClassName)(E)]),[(0,e.createVNode)(1,"div",(0,t.classes)(["ProgressBar__fill",X&&"ProgressBar__fill--animated"]),null,1,{style:{width:(0,a.clamp01)(J)*100+"%",opacity:.4}}),(0,e.createVNode)(1,"div","ProgressBar__fill",null,1,{style:{width:(0,a.clamp01)(Math.min(J,le))*100+"%"}}),(0,e.createVNode)(1,"div","Slider__cursorOffset",[(0,e.createVNode)(1,"div","Slider__cursor"),(0,e.createVNode)(1,"div","Slider__pointer"),R&&(0,e.createVNode)(1,"div","Slider__popupValue",_,0)],0,{style:{width:(0,a.clamp01)(le)*100+"%"}}),(0,e.createVNode)(1,"div","ProgressBar__content",M?x:_,0),K],0,Object.assign({disabled:A},(0,o.computeBoxProps)(E),{onMouseDown:H})))}return D}()})))}return C}()},24800:function(w,r,n){"use strict";r.__esModule=!0,r.Stack=void 0;var e=n(96524),a=n(28234),t=n(18963),o=["className","vertical","fill"],f=["className","innerRef"],V=["className","hidden"];/** * @file * @copyright 2021 Aleksej Komarov * @license MIT @@ -214,11 +214,11 @@ * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var n=r.selectDebug=function(){function e(a){return a.debug}return e}()},83987:function(w,r,n){"use strict";r.__esModule=!0,r.storeWindowGeometry=r.setupDrag=r.setWindowSize=r.setWindowPosition=r.setWindowKey=r.resizeStartHandler=r.recallWindowGeometry=r.getWindowSize=r.getWindowPosition=r.getScreenSize=r.getScreenPosition=r.dragStartHandler=void 0;var e=n(66450),a=n(73564),t=n(81856);function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return F};var j,F={},W=Object.prototype,_=W.hasOwnProperty,K=Object.defineProperty||function(be,ie,se){be[ie]=se.value},$=typeof Symbol=="function"?Symbol:{},G=$.iterator||"@@iterator",X=$.asyncIterator||"@@asyncIterator",J=$.toStringTag||"@@toStringTag";function ue(be,ie,se){return Object.defineProperty(be,ie,{value:se,enumerable:!0,configurable:!0,writable:!0}),be[ie]}try{ue({},"")}catch(be){ue=function(se,Ce,me){return se[Ce]=me}}function ce(be,ie,se,Ce){var me=ie&&ie.prototype instanceof ee?ie:ee,Ne=Object.create(me.prototype),Ae=new Oe(Ce||[]);return K(Ne,"_invoke",{value:ye(be,se,Ae)}),Ne}function fe(be,ie,se){try{return{type:"normal",arg:be.call(ie,se)}}catch(Ce){return{type:"throw",arg:Ce}}}F.wrap=ce;var pe="suspendedStart",he="suspendedYield",te="executing",Q="completed",ae={};function ee(){}function oe(){}function le(){}var re={};ue(re,G,function(){return this});var ge=Object.getPrototypeOf,Be=ge&&ge(ge(We([])));Be&&Be!==W&&_.call(Be,G)&&(re=Be);var ve=le.prototype=ee.prototype=Object.create(re);function Ve(be){["next","throw","return"].forEach(function(ie){ue(be,ie,function(se){return this._invoke(ie,se)})})}function ke(be,ie){function se(me,Ne,Ae,De){var je=fe(be[me],be,Ne);if(je.type!=="throw"){var _e=je.arg,Ue=_e.value;return Ue&&typeof Ue=="object"&&_.call(Ue,"__await")?ie.resolve(Ue.__await).then(function(ze){se("next",ze,Ae,De)},function(ze){se("throw",ze,Ae,De)}):ie.resolve(Ue).then(function(ze){_e.value=ze,Ae(_e)},function(ze){return se("throw",ze,Ae,De)})}De(je.arg)}var Ce;K(this,"_invoke",{value:function(){function me(Ne,Ae){function De(){return new ie(function(je,_e){se(Ne,Ae,je,_e)})}return Ce=Ce?Ce.then(De,De):De()}return me}()})}function ye(be,ie,se){var Ce=pe;return function(me,Ne){if(Ce===te)throw Error("Generator is already running");if(Ce===Q){if(me==="throw")throw Ne;return{value:j,done:!0}}for(se.method=me,se.arg=Ne;;){var Ae=se.delegate;if(Ae){var De=Ie(Ae,se);if(De){if(De===ae)continue;return De}}if(se.method==="next")se.sent=se._sent=se.arg;else if(se.method==="throw"){if(Ce===pe)throw Ce=Q,se.arg;se.dispatchException(se.arg)}else se.method==="return"&&se.abrupt("return",se.arg);Ce=te;var je=fe(be,ie,se);if(je.type==="normal"){if(Ce=se.done?Q:he,je.arg===ae)continue;return{value:je.arg,done:se.done}}je.type==="throw"&&(Ce=Q,se.method="throw",se.arg=je.arg)}}}function Ie(be,ie){var se=ie.method,Ce=be.iterator[se];if(Ce===j)return ie.delegate=null,se==="throw"&&be.iterator.return&&(ie.method="return",ie.arg=j,Ie(be,ie),ie.method==="throw")||se!=="return"&&(ie.method="throw",ie.arg=new TypeError("The iterator does not provide a '"+se+"' method")),ae;var me=fe(Ce,be.iterator,ie.arg);if(me.type==="throw")return ie.method="throw",ie.arg=me.arg,ie.delegate=null,ae;var Ne=me.arg;return Ne?Ne.done?(ie[be.resultName]=Ne.value,ie.next=be.nextLoc,ie.method!=="return"&&(ie.method="next",ie.arg=j),ie.delegate=null,ae):Ne:(ie.method="throw",ie.arg=new TypeError("iterator result is not an object"),ie.delegate=null,ae)}function we(be){var ie={tryLoc:be[0]};1 in be&&(ie.catchLoc=be[1]),2 in be&&(ie.finallyLoc=be[2],ie.afterLoc=be[3]),this.tryEntries.push(ie)}function xe(be){var ie=be.completion||{};ie.type="normal",delete ie.arg,be.completion=ie}function Oe(be){this.tryEntries=[{tryLoc:"root"}],be.forEach(we,this),this.reset(!0)}function We(be){if(be||be===""){var ie=be[G];if(ie)return ie.call(be);if(typeof be.next=="function")return be;if(!isNaN(be.length)){var se=-1,Ce=function(){function me(){for(;++se=0;--me){var Ne=this.tryEntries[me],Ae=Ne.completion;if(Ne.tryLoc==="root")return Ce("end");if(Ne.tryLoc<=this.prev){var De=_.call(Ne,"catchLoc"),je=_.call(Ne,"finallyLoc");if(De&&je){if(this.prev=0;--Ce){var me=this.tryEntries[Ce];if(me.tryLoc<=this.prev&&_.call(me,"finallyLoc")&&this.prev=0;--se){var Ce=this.tryEntries[se];if(Ce.finallyLoc===ie)return this.complete(Ce.completion,Ce.afterLoc),xe(Ce),ae}}return be}(),catch:function(){function be(ie){for(var se=this.tryEntries.length-1;se>=0;--se){var Ce=this.tryEntries[se];if(Ce.tryLoc===ie){var me=Ce.completion;if(me.type==="throw"){var Ne=me.arg;xe(Ce)}return Ne}}throw Error("illegal catch attempt")}return be}(),delegateYield:function(){function be(ie,se,Ce){return this.delegate={iterator:We(ie),resultName:se,nextLoc:Ce},this.method==="next"&&(this.arg=j),ae}return be}()},F}function f(j,F,W,_,K,$,G){try{var X=j[$](G),J=X.value}catch(ue){W(ue);return}X.done?F(J):Promise.resolve(J).then(_,K)}function V(j){return function(){var F=this,W=arguments;return new Promise(function(_,K){var $=j.apply(F,W);function G(J){f($,_,K,G,X,"next",J)}function X(J){f($,_,K,G,X,"throw",J)}G(void 0)})}}/** + */var n=r.selectDebug=function(){function e(a){return a.debug}return e}()},83987:function(w,r,n){"use strict";r.__esModule=!0,r.storeWindowGeometry=r.setupDrag=r.setWindowSize=r.setWindowPosition=r.setWindowKey=r.resizeStartHandler=r.recallWindowGeometry=r.getWindowSize=r.getWindowPosition=r.getScreenSize=r.getScreenPosition=r.dragStartHandler=void 0;var e=n(66450),a=n(73564),t=n(81856);function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return F};var j,F={},W=Object.prototype,_=W.hasOwnProperty,K=Object.defineProperty||function(be,ie,se){be[ie]=se.value},H=typeof Symbol=="function"?Symbol:{},X=H.iterator||"@@iterator",Y=H.asyncIterator||"@@asyncIterator",J=H.toStringTag||"@@toStringTag";function le(be,ie,se){return Object.defineProperty(be,ie,{value:se,enumerable:!0,configurable:!0,writable:!0}),be[ie]}try{le({},"")}catch(be){le=function(se,Ce,me){return se[Ce]=me}}function ce(be,ie,se,Ce){var me=ie&&ie.prototype instanceof ee?ie:ee,Ne=Object.create(me.prototype),Ae=new Oe(Ce||[]);return K(Ne,"_invoke",{value:ye(be,se,Ae)}),Ne}function fe(be,ie,se){try{return{type:"normal",arg:be.call(ie,se)}}catch(Ce){return{type:"throw",arg:Ce}}}F.wrap=ce;var pe="suspendedStart",he="suspendedYield",te="executing",Q="completed",ae={};function ee(){}function oe(){}function ue(){}var re={};le(re,X,function(){return this});var ge=Object.getPrototypeOf,Be=ge&&ge(ge(We([])));Be&&Be!==W&&_.call(Be,X)&&(re=Be);var ve=ue.prototype=ee.prototype=Object.create(re);function Ve(be){["next","throw","return"].forEach(function(ie){le(be,ie,function(se){return this._invoke(ie,se)})})}function ke(be,ie){function se(me,Ne,Ae,De){var je=fe(be[me],be,Ne);if(je.type!=="throw"){var _e=je.arg,Ue=_e.value;return Ue&&typeof Ue=="object"&&_.call(Ue,"__await")?ie.resolve(Ue.__await).then(function(ze){se("next",ze,Ae,De)},function(ze){se("throw",ze,Ae,De)}):ie.resolve(Ue).then(function(ze){_e.value=ze,Ae(_e)},function(ze){return se("throw",ze,Ae,De)})}De(je.arg)}var Ce;K(this,"_invoke",{value:function(){function me(Ne,Ae){function De(){return new ie(function(je,_e){se(Ne,Ae,je,_e)})}return Ce=Ce?Ce.then(De,De):De()}return me}()})}function ye(be,ie,se){var Ce=pe;return function(me,Ne){if(Ce===te)throw Error("Generator is already running");if(Ce===Q){if(me==="throw")throw Ne;return{value:j,done:!0}}for(se.method=me,se.arg=Ne;;){var Ae=se.delegate;if(Ae){var De=Ie(Ae,se);if(De){if(De===ae)continue;return De}}if(se.method==="next")se.sent=se._sent=se.arg;else if(se.method==="throw"){if(Ce===pe)throw Ce=Q,se.arg;se.dispatchException(se.arg)}else se.method==="return"&&se.abrupt("return",se.arg);Ce=te;var je=fe(be,ie,se);if(je.type==="normal"){if(Ce=se.done?Q:he,je.arg===ae)continue;return{value:je.arg,done:se.done}}je.type==="throw"&&(Ce=Q,se.method="throw",se.arg=je.arg)}}}function Ie(be,ie){var se=ie.method,Ce=be.iterator[se];if(Ce===j)return ie.delegate=null,se==="throw"&&be.iterator.return&&(ie.method="return",ie.arg=j,Ie(be,ie),ie.method==="throw")||se!=="return"&&(ie.method="throw",ie.arg=new TypeError("The iterator does not provide a '"+se+"' method")),ae;var me=fe(Ce,be.iterator,ie.arg);if(me.type==="throw")return ie.method="throw",ie.arg=me.arg,ie.delegate=null,ae;var Ne=me.arg;return Ne?Ne.done?(ie[be.resultName]=Ne.value,ie.next=be.nextLoc,ie.method!=="return"&&(ie.method="next",ie.arg=j),ie.delegate=null,ae):Ne:(ie.method="throw",ie.arg=new TypeError("iterator result is not an object"),ie.delegate=null,ae)}function we(be){var ie={tryLoc:be[0]};1 in be&&(ie.catchLoc=be[1]),2 in be&&(ie.finallyLoc=be[2],ie.afterLoc=be[3]),this.tryEntries.push(ie)}function xe(be){var ie=be.completion||{};ie.type="normal",delete ie.arg,be.completion=ie}function Oe(be){this.tryEntries=[{tryLoc:"root"}],be.forEach(we,this),this.reset(!0)}function We(be){if(be||be===""){var ie=be[X];if(ie)return ie.call(be);if(typeof be.next=="function")return be;if(!isNaN(be.length)){var se=-1,Ce=function(){function me(){for(;++se=0;--me){var Ne=this.tryEntries[me],Ae=Ne.completion;if(Ne.tryLoc==="root")return Ce("end");if(Ne.tryLoc<=this.prev){var De=_.call(Ne,"catchLoc"),je=_.call(Ne,"finallyLoc");if(De&&je){if(this.prev=0;--Ce){var me=this.tryEntries[Ce];if(me.tryLoc<=this.prev&&_.call(me,"finallyLoc")&&this.prev=0;--se){var Ce=this.tryEntries[se];if(Ce.finallyLoc===ie)return this.complete(Ce.completion,Ce.afterLoc),xe(Ce),ae}}return be}(),catch:function(){function be(ie){for(var se=this.tryEntries.length-1;se>=0;--se){var Ce=this.tryEntries[se];if(Ce.tryLoc===ie){var me=Ce.completion;if(me.type==="throw"){var Ne=me.arg;xe(Ce)}return Ne}}throw Error("illegal catch attempt")}return be}(),delegateYield:function(){function be(ie,se,Ce){return this.delegate={iterator:We(ie),resultName:se,nextLoc:Ce},this.method==="next"&&(this.arg=j),ae}return be}()},F}function f(j,F,W,_,K,H,X){try{var Y=j[H](X),J=Y.value}catch(le){W(le);return}Y.done?F(J):Promise.resolve(J).then(_,K)}function V(j){return function(){var F=this,W=arguments;return new Promise(function(_,K){var H=j.apply(F,W);function X(J){f(H,_,K,X,Y,"next",J)}function Y(J){f(H,_,K,X,Y,"throw",J)}X(void 0)})}}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var y=(0,t.createLogger)("drag"),S=Byond.windowId,k=!1,C=!1,u=[0,0],c,m,d,l,s,i=r.setWindowKey=function(){function j(F){S=F}return j}(),p=r.getWindowPosition=function(){function j(){return[window.screenLeft,window.screenTop]}return j}(),v=r.getWindowSize=function(){function j(){return[window.innerWidth,window.innerHeight]}return j}(),g=r.setWindowPosition=function(){function j(F){var W=(0,a.vecAdd)(F,u);return Byond.winset(Byond.windowId,{pos:W[0]+","+W[1]})}return j}(),h=r.setWindowSize=function(){function j(F){return Byond.winset(Byond.windowId,{size:F[0]+"x"+F[1]})}return j}(),N=r.getScreenPosition=function(){function j(){return[0-u[0],0-u[1]]}return j}(),b=r.getScreenSize=function(){function j(){return[window.screen.availWidth,window.screen.availHeight]}return j}(),B=function(F,W,_){_===void 0&&(_=50);for(var K=[W],$,G=0;Gue&&($[X]=ue-W[X],G=!0)}return[G,$]},A=r.dragStartHandler=function(){function j(F){y.log("drag start"),k=!0,m=[window.screenLeft-F.screenX,window.screenTop-F.screenY],document.addEventListener("mousemove",M),document.addEventListener("mouseup",E),M(F)}return j}(),E=function j(F){y.log("drag end"),M(F),document.removeEventListener("mousemove",M),document.removeEventListener("mouseup",j),k=!1,I()},M=function(F){k&&(F.preventDefault(),g((0,a.vecAdd)([F.screenX,F.screenY],m)))},D=r.resizeStartHandler=function(){function j(F,W){return function(_){d=[F,W],y.log("resize start",d),C=!0,m=[window.screenLeft-_.screenX,window.screenTop-_.screenY],l=[window.innerWidth,window.innerHeight],document.addEventListener("mousemove",R),document.addEventListener("mouseup",P),R(_)}}return j}(),P=function j(F){y.log("resize end",s),R(F),document.removeEventListener("mousemove",R),document.removeEventListener("mouseup",j),C=!1,I()},R=function(F){C&&(F.preventDefault(),s=(0,a.vecAdd)(l,(0,a.vecMultiply)(d,(0,a.vecAdd)([F.screenX,F.screenY],(0,a.vecInverse)([window.screenLeft,window.screenTop]),m,[1,1]))),s[0]=Math.max(s[0],150),s[1]=Math.max(s[1],50),h(s))}},92700:function(w,r,n){"use strict";r.__esModule=!0,r.setupGlobalEvents=r.removeScrollableNode=r.globalEvents=r.canStealFocus=r.addScrollableNode=r.KeyEvent=void 0;var e=n(22594),a=n(68100);/** +*/var y=(0,t.createLogger)("drag"),S=Byond.windowId,k=!1,C=!1,u=[0,0],c,m,d,l,s,i=r.setWindowKey=function(){function j(F){S=F}return j}(),p=r.getWindowPosition=function(){function j(){return[window.screenLeft,window.screenTop]}return j}(),v=r.getWindowSize=function(){function j(){return[window.innerWidth,window.innerHeight]}return j}(),g=r.setWindowPosition=function(){function j(F){var W=(0,a.vecAdd)(F,u);return Byond.winset(Byond.windowId,{pos:W[0]+","+W[1]})}return j}(),h=r.setWindowSize=function(){function j(F){return Byond.winset(Byond.windowId,{size:F[0]+"x"+F[1]})}return j}(),N=r.getScreenPosition=function(){function j(){return[0-u[0],0-u[1]]}return j}(),b=r.getScreenSize=function(){function j(){return[window.screen.availWidth,window.screen.availHeight]}return j}(),B=function(F,W,_){_===void 0&&(_=50);for(var K=[W],H,X=0;Xle&&(H[Y]=le-W[Y],X=!0)}return[X,H]},A=r.dragStartHandler=function(){function j(F){y.log("drag start"),k=!0,m=[window.screenLeft-F.screenX,window.screenTop-F.screenY],document.addEventListener("mousemove",M),document.addEventListener("mouseup",E),M(F)}return j}(),E=function j(F){y.log("drag end"),M(F),document.removeEventListener("mousemove",M),document.removeEventListener("mouseup",j),k=!1,I()},M=function(F){k&&(F.preventDefault(),g((0,a.vecAdd)([F.screenX,F.screenY],m)))},D=r.resizeStartHandler=function(){function j(F,W){return function(_){d=[F,W],y.log("resize start",d),C=!0,m=[window.screenLeft-_.screenX,window.screenTop-_.screenY],l=[window.innerWidth,window.innerHeight],document.addEventListener("mousemove",R),document.addEventListener("mouseup",P),R(_)}}return j}(),P=function j(F){y.log("resize end",s),R(F),document.removeEventListener("mousemove",R),document.removeEventListener("mouseup",j),C=!1,I()},R=function(F){C&&(F.preventDefault(),s=(0,a.vecAdd)(l,(0,a.vecMultiply)(d,(0,a.vecAdd)([F.screenX,F.screenY],(0,a.vecInverse)([window.screenLeft,window.screenTop]),m,[1,1]))),s[0]=Math.max(s[0],150),s[1]=Math.max(s[1],50),h(s))}},92700:function(w,r,n){"use strict";r.__esModule=!0,r.setupGlobalEvents=r.removeScrollableNode=r.globalEvents=r.canStealFocus=r.addScrollableNode=r.KeyEvent=void 0;var e=n(22594),a=n(68100);/** * Normalized browser focus events and BYOND-specific focus helpers. * * @file @@ -238,7 +238,7 @@ * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var V=(0,t.createLogger)("hotkeys"),y={},S=[e.KEY_ESCAPE,e.KEY_ENTER,e.KEY_SPACE,e.KEY_TAB,e.KEY_CTRL,e.KEY_SHIFT,e.KEY_UP,e.KEY_DOWN,e.KEY_LEFT,e.KEY_RIGHT],k={},C=function(i){if(i===16)return"Shift";if(i===17)return"Ctrl";if(i===18)return"Alt";if(i===33)return"Northeast";if(i===34)return"Southeast";if(i===35)return"Southwest";if(i===36)return"Northwest";if(i===37)return"West";if(i===38)return"North";if(i===39)return"East";if(i===40)return"South";if(i===45)return"Insert";if(i===46)return"Delete";if(i>=48&&i<=57||i>=65&&i<=90)return String.fromCharCode(i);if(i>=96&&i<=105)return"Numpad"+(i-96);if(i>=112&&i<=123)return"F"+(i-111);if(i===188)return",";if(i===189)return"-";if(i===190)return"."},u=function(i){var p=String(i);if(p==="Ctrl+F5"||p==="Ctrl+R"){location.reload();return}if(p!=="Ctrl+F"&&!(i.event.defaultPrevented||i.isModifierKey()||S.includes(i.code))){p==="F5"&&(i.event.preventDefault(),i.event.returnValue=!1);var v=C(i.code);if(v){var g=y[v];if(g)return V.debug("macro",g),Byond.command(g);if(i.isDown()&&!k[v]){k[v]=!0;var h='Key_Down "'+v+'"';return V.debug(h),Byond.command(h)}if(i.isUp()&&k[v]){k[v]=!1;var N='Key_Up "'+v+'"';return V.debug(N),Byond.command(N)}}}},c=r.acquireHotKey=function(){function s(i){S.push(i)}return s}(),m=r.releaseHotKey=function(){function s(i){var p=S.indexOf(i);p>=0&&S.splice(p,1)}return s}(),d=r.releaseHeldKeys=function(){function s(){for(var i=0,p=Object.keys(k);i=75?c="green":u.integrity>=25?c="yellow":c="red",(0,e.createComponentVNode)(2,o.Window,{width:600,height:420,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:u.name,children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:c,value:u.integrity/100})})}),(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h2",null,u.flushing===1?"Wipe of AI in progress...":"",0)})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Laws",children:!!u.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:u.laws.map(function(m,d){return(0,e.createComponentVNode)(2,t.Box,{children:m},d)})})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h3",null,"No laws detected.",16)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wireless Activity",children:(0,e.createComponentVNode)(2,t.Button,{width:10,icon:u.wireless?"check":"times",content:u.wireless?"Enabled":"Disabled",color:u.wireless?"green":"red",onClick:function(){function m(){return C("wireless")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subspace Transceiver",children:(0,e.createComponentVNode)(2,t.Button,{width:10,icon:u.radio?"check":"times",content:u.radio?"Enabled":"Disabled",color:u.radio?"green":"red",onClick:function(){function m(){return C("radio")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wipe",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{width:10,icon:"trash-alt",confirmIcon:"trash-alt",disabled:u.flushing||u.integrity===0,confirmColor:"red",content:"Wipe AI",onClick:function(){function m(){return C("wipe")}return m}()})})]})})})]})})})}return V}()},78468:function(w,r,n){"use strict";r.__esModule=!0,r.AIFixer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AIFixer=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data;if(u.occupant===null)return(0,e.createComponentVNode)(2,o.Window,{width:550,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Stored AI",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"robot",size:5,color:"silver"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"h3",null,"No Artificial Intelligence detected.",16)]})})})})});var c=!0;(u.stat===2||u.stat===null)&&(c=!1);var m=null;u.integrity>=75?m="green":u.integrity>=25?m="yellow":m="red";var d=!0;return u.integrity>=100&&u.stat!==2&&(d=!1),(0,e.createComponentVNode)(2,o.Window,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:u.occupant,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:m,value:u.integrity/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:c?"green":"red",children:c?"Functional":"Non-Functional"})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Laws",children:!!u.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:u.laws.map(function(l,s){return(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:l},s)})})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h3",null,"No laws detected.",16)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wireless Activity",children:(0,e.createComponentVNode)(2,t.Button,{icon:u.wireless?"times":"check",content:u.wireless?"Disabled":"Enabled",color:u.wireless?"red":"green",onClick:function(){function l(){return C("wireless")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subspace Transceiver",children:(0,e.createComponentVNode)(2,t.Button,{icon:u.radio?"times":"check",content:u.radio?"Disabled":"Enabled",color:u.radio?"red":"green",onClick:function(){function l(){return C("radio")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Start Repairs",children:(0,e.createComponentVNode)(2,t.Button,{icon:"wrench",disabled:!d||u.active,content:!d||u.active?"Already Repaired":"Repair",onClick:function(){function l(){return C("fix")}return l}()})})]}),(0,e.createComponentVNode)(2,t.Box,{color:"green",lineHeight:2,children:u.active?"Reconstruction in progress.":""})]})})]})})})}return V}()},73544:function(w,r,n){"use strict";r.__esModule=!0,r.APC=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(26893),V=r.APC=function(){function C(u,c){return(0,e.createComponentVNode)(2,o.Window,{width:510,height:435,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,k)})})}return C}(),y={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"}},S={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"}},k=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.locked&&!l.siliconUser,i=l.normallyLocked,p=y[l.externalPower]||y[0],v=y[l.chargingStatus]||y[0],g=l.powerChannels||[],h=S[l.malfStatus]||S[0],N=l.powerCellStatus/100;return(0,e.createFragment)([(0,e.createComponentVNode)(2,f.InterfaceLockNoticeBox),(0,e.createComponentVNode)(2,t.Section,{title:"Power Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Main Breaker",color:p.color,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:l.isOperating?"power-off":"times",content:l.isOperating?"On":"Off",selected:l.isOperating&&!s,color:l.isOperating?"":"bad",disabled:s,onClick:function(){function b(){return d("breaker")}return b}()}),children:["[ ",p.externalPowerText," ]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Cell",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:"good",value:N})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",color:v.color,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:l.chargeMode?"sync":"times",content:l.chargeMode?"Auto":"Off",selected:l.chargeMode,disabled:s,onClick:function(){function b(){return d("charge")}return b}()}),children:["[ ",v.chargingText," ]"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Channels",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[g.map(function(b){var B=b.topicParams;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:b.title,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,mx:2,color:b.status>=2?"good":"bad",children:b.status>=2?"On":"Off"}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:!s&&(b.status===1||b.status===3),disabled:s,onClick:function(){function I(){return d("channel",B.auto)}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:"On",selected:!s&&b.status===2,disabled:s,onClick:function(){function I(){return d("channel",B.on)}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:!s&&b.status===0,disabled:s,onClick:function(){function I(){return d("channel",B.off)}return I}()})],4),children:[b.powerLoad," W"]},b.title)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Load",children:(0,e.createVNode)(1,"b",null,[l.totalLoad,(0,e.createTextVNode)(" W")],0)})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Misc",buttons:!!l.siliconUser&&(0,e.createFragment)([!!l.malfStatus&&(0,e.createComponentVNode)(2,t.Button,{icon:h.icon,content:h.content,color:"bad",onClick:function(){function b(){return d(h.action)}return b}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:"Overload",onClick:function(){function b(){return d("overload")}return b}()})],0),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cover Lock",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.4,icon:l.coverLocked?"lock":"unlock",content:l.coverLocked?"Engaged":"Disengaged",disabled:s,onClick:function(){function b(){return d("cover")}return b}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Lighting",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:l.emergencyLights?"Enabled":"Disabled",disabled:s,onClick:function(){function b(){return d("emergency_lighting")}return b}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Night Shift Lighting",buttons:(0,e.createComponentVNode)(2,t.Button,{mt:.4,icon:"lightbulb-o",content:l.nightshiftLights?"Enabled":"Disabled",onClick:function(){function b(){return d("toggle_nightshift")}return b}()})})]})})],4)}},79098:function(w,r,n){"use strict";r.__esModule=!0,r.ATM=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ATM=function(){function m(d,l){var s=(0,a.useBackend)(l),i=s.act,p=s.data,v=p.view_screen,g=p.authenticated_account,h=p.ticks_left_locked_down,N=p.linked_db,b;if(h>0)b=(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle"}),"Maximum number of pin attempts exceeded! Access to this ATM has been temporarily disabled."]});else if(!N)b=(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle"}),"Unable to connect to accounts database, please retry and if the issue persists contact Nanotrasen IT support."]});else if(g)switch(v){case 1:b=(0,e.createComponentVNode)(2,y);break;case 2:b=(0,e.createComponentVNode)(2,S);break;case 3:b=(0,e.createComponentVNode)(2,u);break;default:b=(0,e.createComponentVNode)(2,k)}else b=(0,e.createComponentVNode)(2,C);return(0,e.createComponentVNode)(2,o.Window,{width:550,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,t.Section,{children:b})]})})}return m}(),V=function(d,l){var s=(0,a.useBackend)(l),i=s.act,p=s.data,v=p.machine_id,g=p.held_card_name;return(0,e.createComponentVNode)(2,t.Section,{title:"Nanotrasen Automatic Teller Machine",children:[(0,e.createComponentVNode)(2,t.Box,{children:"For all your monetary needs!"}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Card",children:(0,e.createComponentVNode)(2,t.Button,{content:g,icon:"eject",onClick:function(){function h(){return i("insert_card")}return h}()})})})]})},y=function(d,l){var s=(0,a.useBackend)(l),i=s.act,p=s.data,v=p.security_level;return(0,e.createComponentVNode)(2,t.Section,{title:"Select a new security level for this account",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Account Number",icon:"unlock",selected:v===0,onClick:function(){function g(){return i("change_security_level",{new_security_level:1})}return g}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:"Either the account number or card is required to access this account. EFTPOS transactions will require a card."}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Account Pin",icon:"unlock",selected:v===2,onClick:function(){function g(){return i("change_security_level",{new_security_level:2})}return g}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:"An account number and pin must be manually entered to access this account and process transactions."})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},S=function(d,l){var s=(0,a.useBackend)(l),i=s.act,p=s.data,v=(0,a.useLocalState)(l,"targetAccNumber",0),g=v[0],h=v[1],N=(0,a.useLocalState)(l,"fundsAmount",0),b=N[0],B=N[1],I=(0,a.useLocalState)(l,"purpose",0),L=I[0],T=I[1],x=p.money;return(0,e.createComponentVNode)(2,t.Section,{title:"Transfer Fund",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account Balance",children:["$",x]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Account Number",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"7 Digit Number",onInput:function(){function A(E,M){return h(M)}return A}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Funds to Transfer",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function A(E,M){return B(M)}return A}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transaction Purpose",children:(0,e.createComponentVNode)(2,t.Input,{fluid:!0,onInput:function(){function A(E,M){return T(M)}return A}()})})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Button,{content:"Transfer",icon:"sign-out-alt",onClick:function(){function A(){return i("transfer",{target_acc_number:g,funds_amount:b,purpose:L})}return A}()}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},k=function(d,l){var s=(0,a.useBackend)(l),i=s.act,p=s.data,v=(0,a.useLocalState)(l,"fundsAmount",0),g=v[0],h=v[1],N=p.owner_name,b=p.money;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Welcome, "+N,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Logout",icon:"sign-out-alt",onClick:function(){function B(){return i("logout")}return B}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account Balance",children:["$",b]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Withdrawal Amount",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function B(I,L){return h(L)}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Withdraw Funds",icon:"sign-out-alt",onClick:function(){function B(){return i("withdrawal",{funds_amount:g})}return B}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Menu",children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Change account security level",icon:"lock",onClick:function(){function B(){return i("view_screen",{view_screen:1})}return B}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Make transfer",icon:"exchange-alt",onClick:function(){function B(){return i("view_screen",{view_screen:2})}return B}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"View transaction log",icon:"list",onClick:function(){function B(){return i("view_screen",{view_screen:3})}return B}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Print balance statement",icon:"print",onClick:function(){function B(){return i("balance_statement")}return B}()})})]})],4)},C=function(d,l){var s=(0,a.useBackend)(l),i=s.act,p=s.data,v=(0,a.useLocalState)(l,"accountID",null),g=v[0],h=v[1],N=(0,a.useLocalState)(l,"accountPin",null),b=N[0],B=N[1],I=p.machine_id,L=p.held_card_name;return(0,e.createComponentVNode)(2,t.Section,{title:"Insert card or enter ID and pin to login",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account ID",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"6 Digit Number",onInput:function(){function T(x,A){return h(A)}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pin",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"6 Digit Number",onInput:function(){function T(x,A){return B(A)}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Login",icon:"sign-in-alt",onClick:function(){function T(){return i("attempt_auth",{account_num:g,account_pin:b})}return T}()})})]})})},u=function(d,l){var s=(0,a.useBackend)(l),i=s.act,p=s.data,v=p.transaction_log;return(0,e.createComponentVNode)(2,t.Section,{title:"Transactions",children:[(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Timestamp"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Reason"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Value"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Terminal"})]}),v.map(function(g){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:g.time}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g.purpose}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:g.is_deposit?"green":"red",children:["$",g.amount]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g.target_name})]},g)})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},c=function(d,l){var s=(0,a.useBackend)(l),i=s.act,p=s.data;return(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"sign-out-alt",onClick:function(){function v(){return i("view_screen",{view_screen:0})}return v}()})}},64613:function(w,r,n){"use strict";r.__esModule=!0,r.AccountsUplinkTerminal=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(5126),V=n(45493),y=n(68159),S=n(27527),k=r.AccountsUplinkTerminal=function(){function p(v,g){var h=(0,t.useBackend)(g),N=h.act,b=h.data,B=b.loginState,I=b.currentPage,L;if(B.logged_in)I===1?L=(0,e.createComponentVNode)(2,u):I===2?L=(0,e.createComponentVNode)(2,s):I===3&&(L=(0,e.createComponentVNode)(2,i));else return(0,e.createComponentVNode)(2,V.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,S.LoginScreen)})})});return(0,e.createComponentVNode)(2,V.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.LoginInfo),(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:L})]})})})}return p}(),C=function(v,g){var h=(0,t.useBackend)(g),N=h.data,b=(0,t.useLocalState)(g,"tabIndex",0),B=b[0],I=b[1],L=N.login_state;return(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,mb:1,children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:B===0,onClick:function(){function T(){return I(0)}return T}(),children:"User Accounts"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:B===1,onClick:function(){function T(){return I(1)}return T}(),children:"Department Accounts"})]})})})},u=function(v,g){var h=(0,t.useLocalState)(g,"tabIndex",0),N=h[0];switch(N){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,m);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},c=function(v,g){var h=(0,t.useBackend)(g),N=h.act,b=h.data,B=b.accounts,I=(0,t.useLocalState)(g,"searchText",""),L=I[0],T=I[1],x=(0,t.useLocalState)(g,"sortId","owner_name"),A=x[0],E=x[1],M=(0,t.useLocalState)(g,"sortOrder",!0),D=M[0],P=M[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"AccountsUplinkTerminal__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,d,{id:"owner_name",children:"Account Holder"}),(0,e.createComponentVNode)(2,d,{id:"account_number",children:"Account Number"}),(0,e.createComponentVNode)(2,d,{id:"suspended",children:"Account Status"}),(0,e.createComponentVNode)(2,d,{id:"money",children:"Account Balance"})]}),B.filter((0,a.createSearch)(L,function(R){return R.owner_name+"|"+R.account_number+"|"+R.suspended+"|"+R.money})).sort(function(R,j){var F=D?1:-1;return R[A].localeCompare(j[A])*F}).map(function(R){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"AccountsUplinkTerminal__listRow--"+R.suspended,onClick:function(){function j(){return N("view_account_detail",{account_num:R.account_number})}return j}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",R.owner_name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:["#",R.account_number]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:R.suspended}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:R.money})]},R.account_number)})]})})})]})},m=function(v,g){var h=(0,t.useBackend)(g),N=h.act,b=h.data,B=b.department_accounts;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Table,{className:"AccountsUplinkTerminal__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,f.TableCell,{children:"Department Name"}),(0,e.createComponentVNode)(2,f.TableCell,{children:"Account Number"}),(0,e.createComponentVNode)(2,f.TableCell,{children:"Account Status"}),(0,e.createComponentVNode)(2,f.TableCell,{children:"Account Balance"})]}),B.map(function(I){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"AccountsUplinkTerminal__listRow--"+I.suspended,onClick:function(){function L(){return N("view_account_detail",{account_num:I.account_number})}return L}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"wallet"})," ",I.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:["#",I.account_number]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:I.suspended}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:I.money})]},I.account_number)})]})})})})},d=function(v,g){var h=(0,t.useLocalState)(g,"sortId","name"),N=h[0],b=h[1],B=(0,t.useLocalState)(g,"sortOrder",!0),I=B[0],L=B[1],T=v.id,x=v.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:N!==T&&"transparent",width:"100%",onClick:function(){function A(){N===T?L(!I):(b(T),L(!0))}return A}(),children:[x,N===T&&(0,e.createComponentVNode)(2,o.Icon,{name:I?"sort-up":"sort-down",ml:"0.25rem;"})]})})},l=function(v,g){var h=(0,t.useBackend)(g),N=h.act,b=h.data,B=b.is_printing,I=(0,t.useLocalState)(g,"searchText",""),L=I[0],T=I[1];return(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"New Account",icon:"plus",onClick:function(){function x(){return N("create_new_account")}return x}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by account holder, number, status",width:"100%",onInput:function(){function x(A,E){return T(E)}return x}()})})]})},s=function(v,g){var h=(0,t.useBackend)(g),N=h.act,b=h.data,B=b.account_number,I=b.owner_name,L=b.money,T=b.suspended,x=b.transactions,A=b.account_pin,E=b.is_department_account;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"#"+B+" / "+I,buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-left",content:"Back",onClick:function(){function M(){return N("back")}return M}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Number",children:["#",B]}),!!E&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Pin",children:A}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Pin Actions",children:(0,e.createComponentVNode)(2,o.Button,{ml:1,icon:"user-cog",content:"Set New Pin",disabled:!!E,onClick:function(){function M(){return N("set_account_pin",{account_number:B})}return M}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Holder",children:I}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Balance",children:L}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Status",color:T?"red":"green",children:[T?"Suspended":"Active",(0,e.createComponentVNode)(2,o.Button,{ml:1,content:T?"Unsuspend":"Suspend",icon:T?"unlock":"lock",onClick:function(){function M(){return N("toggle_suspension")}return M}()})]})]})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Transactions",children:(0,e.createComponentVNode)(2,o.Table,{children:[(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Timestamp"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Reason"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Value"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Terminal"})]}),x.map(function(M){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:M.time}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:M.purpose}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:M.is_deposit?"green":"red",children:["$",M.amount]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:M.target_name})]},M)})]})})})]})},i=function(v,g){var h=(0,t.useBackend)(g),N=h.act,b=h.data,B=(0,t.useLocalState)(g,"accName",""),I=B[0],L=B[1],T=(0,t.useLocalState)(g,"accDeposit",""),x=T[0],A=T[1];return(0,e.createComponentVNode)(2,o.Section,{title:"Create Account",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-left",content:"Back",onClick:function(){function E(){return N("back")}return E}()}),children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Holder",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Name Here",onChange:function(){function E(M,D){return L(D)}return E}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Initial Deposit",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"0",onChange:function(){function E(M,D){return A(D)}return E}()})})]}),(0,e.createComponentVNode)(2,o.Button,{mt:1,fluid:!0,content:"Create Account",onClick:function(){function E(){return N("finalise_create_account",{holder_name:I,starting_funds:x})}return E}()})]})}},34257:function(w,r,n){"use strict";r.__esModule=!0,r.AgentCardInfo=r.AgentCardAppearances=r.AgentCard=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AgentCard=function(){function S(k,C){var u=(0,a.useLocalState)(C,"tabIndex",0),c=u[0],m=u[1],d=function(){function l(s){switch(s){case 0:return(0,e.createComponentVNode)(2,V);case 1:return(0,e.createComponentVNode)(2,y);default:return(0,e.createComponentVNode)(2,V)}}return l}();return(0,e.createComponentVNode)(2,o.Window,{width:425,height:500,theme:"syndicate",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:c===0,onClick:function(){function l(){return m(0)}return l}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"table"})," Card Info"]},"Card Info"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:c===1,onClick:function(){function l(){return m(1)}return l}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"id-card"})," Appearance"]},"Appearance")]})}),d(c)]})})})}return S}(),V=r.AgentCardInfo=function(){function S(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.registered_name,l=m.sex,s=m.age,i=m.assignment,p=m.associated_account_number,v=m.blood_type,g=m.dna_hash,h=m.fingerprint_hash,N=m.photo,b=m.ai_tracking;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Card Info",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,t.Button,{content:d||"[UNSET]",onClick:function(){function B(){return c("change_name")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sex",children:(0,e.createComponentVNode)(2,t.Button,{iconRight:!1,content:l||"[UNSET]",onClick:function(){function B(){return c("change_sex")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Age",children:(0,e.createComponentVNode)(2,t.Button,{content:s||"[UNSET]",onClick:function(){function B(){return c("change_age")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rank",children:(0,e.createComponentVNode)(2,t.Button,{content:i||"[UNSET]",onClick:function(){function B(){return c("change_occupation")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fingerprints",children:(0,e.createComponentVNode)(2,t.Button,{content:h||"[UNSET]",onClick:function(){function B(){return c("change_fingerprints")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood Type",children:(0,e.createComponentVNode)(2,t.Button,{content:v||"[UNSET]",onClick:function(){function B(){return c("change_blood_type")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"DNA Hash",children:(0,e.createComponentVNode)(2,t.Button,{content:g||"[UNSET]",onClick:function(){function B(){return c("change_dna_hash")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Money Account",children:(0,e.createComponentVNode)(2,t.Button,{content:p||"[UNSET]",onClick:function(){function B(){return c("change_money_account")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Photo",children:(0,e.createComponentVNode)(2,t.Button,{content:N?"Update":"[UNSET]",onClick:function(){function B(){return c("change_photo")}return B}()})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Card Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Card Info",children:(0,e.createComponentVNode)(2,t.Button,{content:"Delete Card Info",onClick:function(){function B(){return c("delete_info")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Access",children:(0,e.createComponentVNode)(2,t.Button,{content:"Reset Access",onClick:function(){function B(){return c("clear_access")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"AI Tracking",children:(0,e.createComponentVNode)(2,t.Button,{content:b?"Untrackable":"Trackable",onClick:function(){function B(){return c("change_ai_tracking")}return B}()})})]})})})],4)}return S}(),y=r.AgentCardAppearances=function(){function S(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=(0,a.useLocalState)(C,"selectedAppearance",null),l=d[0],s=d[1],i=m.appearances;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Card Appearance",children:i.map(function(p){return(0,e.createComponentVNode)(2,t.Button,{compact:!0,m:.5,color:"translucent",selected:p===l,content:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jped;base64,"+p.image,style:{width:"64px","vertical-align":"middle","-ms-interpolation-mode":"nearest-neighbor"},onClick:function(){function v(){s(p),c("change_appearance",{new_appearance:p.name})}return v}()})},p.name)})})})}return S}()},56839:function(w,r,n){"use strict";r.__esModule=!0,r.AiAirlock=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f={2:{color:"good",localStatusText:"Offline"},1:{color:"average",localStatusText:"Caution"},0:{color:"bad",localStatusText:"Optimal"}},V=r.AiAirlock=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=f[c.power.main]||f[0],d=f[c.power.backup]||f[0],l=f[c.shock]||f[0];return(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Power Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Main",color:m.color,buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:"lightbulb-o",disabled:!c.power.main,content:"Disrupt",onClick:function(){function s(){return u("disrupt-main")}return s}()}),children:[c.power.main?"Online":"Offline"," ",!c.wires.main_power&&"[Wires have been cut!]"||c.power.main_timeleft>0&&"["+c.power.main_timeleft+"s]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Backup",color:d.color,buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:"lightbulb-o",disabled:!c.power.backup,content:"Disrupt",onClick:function(){function s(){return u("disrupt-backup")}return s}()}),children:[c.power.backup?"Online":"Offline"," ",!c.wires.backup_power&&"[Wires have been cut!]"||c.power.backup_timeleft>0&&"["+c.power.backup_timeleft+"s]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Electrify",color:l.color,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{mr:.5,icon:"wrench",disabled:!(c.wires.shock&&c.shock!==2),content:"Restore",onClick:function(){function s(){return u("shock-restore")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{mr:.5,icon:"bolt",disabled:!c.wires.shock,content:"Temporary",onClick:function(){function s(){return u("shock-temp")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"bolt",disabled:!c.wires.shock||c.shock===0,content:"Permanent",onClick:function(){function s(){return u("shock-perm")}return s}()})],4),children:[c.shock===2?"Safe":"Electrified"," ",!c.wires.shock&&"[Wires have been cut!]"||c.shock_timeleft>0&&"["+c.shock_timeleft+"s]"||c.shock_timeleft===-1&&"[Permanent]"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Access and Door Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Scan",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{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(){function s(){return u("idscan-toggle")}return s}()}),children:!c.wires.id_scanner&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Access",buttons:(0,e.createComponentVNode)(2,t.Button,{width:6.5,icon:c.emergency?"power-off":"times",content:c.emergency?"Enabled":"Disabled",selected:c.emergency,onClick:function(){function s(){return u("emergency-toggle")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Bolts",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:c.locked?"lock":"unlock",content:c.locked?"Lowered":"Raised",selected:c.locked,disabled:!c.wires.bolts,onClick:function(){function s(){return u("bolt-toggle")}return s}()}),children:!c.wires.bolts&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Bolt Lights",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{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(){function s(){return u("light-toggle")}return s}()}),children:!c.wires.lights&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Force Sensors",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{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(){function s(){return u("safe-toggle")}return s}()}),children:!c.wires.safe&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Timing Safety",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{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(){function s(){return u("speed-toggle")}return s}()}),children:!c.wires.timing&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Control",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:c.opened?"sign-out-alt":"sign-in-alt",content:c.opened?"Open":"Closed",selected:c.opened,disabled:c.locked||c.welded,onClick:function(){function s(){return u("open-close")}return s}()}),children:!!(c.locked||c.welded)&&(0,e.createVNode)(1,"span",null,[(0,e.createTextVNode)("[Door is "),c.locked?"bolted":"",c.locked&&c.welded?" and ":"",c.welded?"welded":"",(0,e.createTextVNode)("!]")],0)})]})})]})})}return y}()},5565:function(w,r,n){"use strict";r.__esModule=!0,r.AirAlarm=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(26893),V=r.AirAlarm=function(){function l(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.locked;return(0,e.createComponentVNode)(2,o.Window,{width:570,height:h?310:755,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,f.InterfaceLockNoticeBox),(0,e.createComponentVNode)(2,S),!h&&(0,e.createFragment)([(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,C)],4)]})})}return l}(),y=function(s){return s===0?"green":s===1?"orange":"red"},S=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.air,N=g.mode,b=g.atmos_alarm,B=g.locked,I=g.alarmActivated,L=g.rcon,T=g.target_temp,x;return h.danger.overall===0?b===0?x="Optimal":x="Caution: Atmos alert in area":h.danger.overall===1?x="Caution":x="DANGER: Internals Required",(0,e.createComponentVNode)(2,t.Section,{title:"Air Status",children:h?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,t.Box,{color:y(h.danger.pressure),children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:h.pressure})," kPa",!B&&(0,e.createFragment)([(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,t.Button,{content:N===3?"Deactivate Panic Siphon":"Activate Panic Siphon",selected:N===3,icon:"exclamation-triangle",onClick:function(){function A(){return v("mode",{mode:N===3?1:3})}return A}()})],4)]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.oxygen/100,fractionDigits:"1",color:y(h.danger.oxygen)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrogen",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.nitrogen/100,fractionDigits:"1",color:y(h.danger.nitrogen)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Carbon Dioxide",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.co2/100,fractionDigits:"1",color:y(h.danger.co2)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxins",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.plasma/100,fractionDigits:"1",color:y(h.danger.plasma)})}),h.contents.n2o>.1&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrous Oxide",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.n2o/100,fractionDigits:"1",color:y(h.danger.n2o)})}),h.contents.other>.1&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.other/100,fractionDigits:"1",color:y(h.danger.other)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.Box,{color:y(h.danger.temperature),children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:h.temperature})," K /"," ",(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:h.temperature_c})," C\xA0",(0,e.createComponentVNode)(2,t.Button,{icon:"thermometer-full",content:T+" C",onClick:function(){function A(){return v("temperature")}return A}()}),(0,e.createComponentVNode)(2,t.Button,{content:h.thermostat_state?"On":"Off",selected:h.thermostat_state,icon:"power-off",onClick:function(){function A(){return v("thermostat_state")}return A}()})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Local Status",children:(0,e.createComponentVNode)(2,t.Box,{color:y(h.danger.overall),children:[x,!B&&(0,e.createFragment)([(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,t.Button,{content:I?"Reset Alarm":"Activate Alarm",selected:I,onClick:function(){function A(){return v(I?"atmos_reset":"atmos_alarm")}return A}()})],4)]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Remote Control Settings",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Off",selected:L===1,onClick:function(){function A(){return v("set_rcon",{rcon:1})}return A}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Auto",selected:L===2,onClick:function(){function A(){return v("set_rcon",{rcon:2})}return A}()}),(0,e.createComponentVNode)(2,t.Button,{content:"On",selected:L===3,onClick:function(){function A(){return v("set_rcon",{rcon:3})}return A}()})]})]}):(0,e.createComponentVNode)(2,t.Box,{children:"Unable to acquire air sample!"})})},k=function(s,i){var p=(0,a.useLocalState)(i,"tabIndex",0),v=p[0],g=p[1];return(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===0,onClick:function(){function h(){return g(0)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"sign-out-alt"})," Vent Control"]},"Vents"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===1,onClick:function(){function h(){return g(1)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"sign-in-alt"})," Scrubber Control"]},"Scrubbers"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===2,onClick:function(){function h(){return g(2)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cog"})," Mode"]},"Mode"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===3,onClick:function(){function h(){return g(3)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"tachometer-alt"})," Thresholds"]},"Thresholds")]})},C=function(s,i){var p=(0,a.useLocalState)(i,"tabIndex",0),v=p[0],g=p[1];switch(v){case 0:return(0,e.createComponentVNode)(2,u);case 1:return(0,e.createComponentVNode)(2,c);case 2:return(0,e.createComponentVNode)(2,m);case 3:return(0,e.createComponentVNode)(2,d);default:return"WE SHOULDN'T BE HERE!"}},u=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.vents;return h.map(function(N){return(0,e.createComponentVNode)(2,t.Section,{title:N.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{content:N.power?"On":"Off",selected:N.power,icon:"power-off",onClick:function(){function b(){return v("command",{cmd:"power",val:!N.power,id_tag:N.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:N.direction?"Blowing":"Siphoning",icon:N.direction?"sign-out-alt":"sign-in-alt",onClick:function(){function b(){return v("command",{cmd:"direction",val:!N.direction,id_tag:N.id_tag})}return b}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure Checks",children:[(0,e.createComponentVNode)(2,t.Button,{content:"External",selected:N.checks===1,onClick:function(){function b(){return v("command",{cmd:"checks",val:1,id_tag:N.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Internal",selected:N.checks===2,onClick:function(){function b(){return v("command",{cmd:"checks",val:2,id_tag:N.id_tag})}return b}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Pressure Target",children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:N.external})," kPa\xA0",(0,e.createComponentVNode)(2,t.Button,{content:"Set",icon:"cog",onClick:function(){function b(){return v("command",{cmd:"set_external_pressure",id_tag:N.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Reset",icon:"redo-alt",onClick:function(){function b(){return v("command",{cmd:"set_external_pressure",val:101.325,id_tag:N.id_tag})}return b}()})]})]})},N.name)})},c=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.scrubbers;return h.map(function(N){return(0,e.createComponentVNode)(2,t.Section,{title:N.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{content:N.power?"On":"Off",selected:N.power,icon:"power-off",onClick:function(){function b(){return v("command",{cmd:"power",val:!N.power,id_tag:N.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:N.scrubbing?"Scrubbing":"Siphoning",icon:N.scrubbing?"filter":"sign-in-alt",onClick:function(){function b(){return v("command",{cmd:"scrubbing",val:!N.scrubbing,id_tag:N.id_tag})}return b}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Range",children:(0,e.createComponentVNode)(2,t.Button,{content:N.widenet?"Extended":"Normal",selected:N.widenet,icon:"expand-arrows-alt",onClick:function(){function b(){return v("command",{cmd:"widenet",val:!N.widenet,id_tag:N.id_tag})}return b}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filtering",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Carbon Dioxide",selected:N.filter_co2,onClick:function(){function b(){return v("command",{cmd:"co2_scrub",val:!N.filter_co2,id_tag:N.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Plasma",selected:N.filter_toxins,onClick:function(){function b(){return v("command",{cmd:"tox_scrub",val:!N.filter_toxins,id_tag:N.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrous Oxide",selected:N.filter_n2o,onClick:function(){function b(){return v("command",{cmd:"n2o_scrub",val:!N.filter_n2o,id_tag:N.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Oxygen",selected:N.filter_o2,onClick:function(){function b(){return v("command",{cmd:"o2_scrub",val:!N.filter_o2,id_tag:N.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrogen",selected:N.filter_n2,onClick:function(){function b(){return v("command",{cmd:"n2_scrub",val:!N.filter_n2,id_tag:N.id_tag})}return b}()})]})]})},N.name)})},m=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.modes,N=g.presets,b=g.emagged,B=g.mode,I=g.preset;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"System Mode",children:(0,e.createComponentVNode)(2,t.Table,{children:h.map(function(L){return(!L.emagonly||L.emagonly&&!!b)&&(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",width:1,children:(0,e.createComponentVNode)(2,t.Button,{content:L.name,icon:"cog",selected:L.id===B,onClick:function(){function T(){return v("mode",{mode:L.id})}return T}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.desc})]},L.name)})})}),(0,e.createComponentVNode)(2,t.Section,{title:"System Presets",children:[(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"After making a selection, the system will automatically cycle in order to remove contaminants."}),(0,e.createComponentVNode)(2,t.Table,{mt:1,children:N.map(function(L){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",width:1,children:(0,e.createComponentVNode)(2,t.Button,{content:L.name,icon:"cog",selected:L.id===I,onClick:function(){function T(){return v("preset",{preset:L.id})}return T}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.desc})]},L.name)})})]})],4)},d=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.thresholds;return(0,e.createComponentVNode)(2,t.Section,{title:"Alarm Thresholds",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"20%",children:"Value"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"red",width:"20%",children:"Danger Min"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"orange",width:"20%",children:"Warning Min"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"orange",width:"20%",children:"Warning Max"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"red",width:"20%",children:"Danger Max"})]}),h.map(function(N){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:N.name}),N.settings.map(function(b){return(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:b.selected===-1?"Off":b.selected,onClick:function(){function B(){return v("command",{cmd:"set_threshold",env:b.env,var:b.val})}return B}()})},b.val)})]},N.name)})]})})}},82915:function(w,r,n){"use strict";r.__esModule=!0,r.AirlockAccessController=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AirlockAccessController=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.exterior_status,m=u.interior_status,d=u.processing,l,s;return c==="open"?l=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Lock Exterior Door",icon:"exclamation-triangle",disabled:d,onClick:function(){function i(){return C("force_ext")}return i}()}):l=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:d,onClick:function(){function i(){return C("cycle_ext_door")}return i}()}),m==="open"?s=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Lock Interior Door",icon:"exclamation-triangle",disabled:d,color:m==="open"?"red":d?"yellow":null,onClick:function(){function i(){return C("force_int")}return i}()}):s=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Cycle to Interior",icon:"arrow-circle-right",disabled:d,onClick:function(){function i(){return C("cycle_int_door")}return i}()}),(0,e.createComponentVNode)(2,o.Window,{width:330,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Door Status",children:c==="closed"?"Locked":"Open"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Door Status",children:m==="closed"?"Locked":"Open"})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:(0,e.createComponentVNode)(2,t.Box,{children:[l,s]})})]})})}return V}()},14962:function(w,r,n){"use strict";r.__esModule=!0,r.AirlockElectronics=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(57842),V=1,y=2,S=4,k=8,C=r.AirlockElectronics=function(){function m(d,l){return(0,e.createComponentVNode)(2,o.Window,{width:450,height:565,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,c)]})})})}return m}(),u=function(d,l){var s=(0,a.useBackend)(l),i=s.act,p=s.data,v=p.unrestricted_dir;return(0,e.createComponentVNode)(2,t.Section,{title:"Access Control",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,mb:1,children:"Unrestricted Access From:"}),(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-left",content:"East",selected:v&S?"selected":null,onClick:function(){function g(){return i("unrestricted_access",{unres_dir:S})}return g}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-up",content:"South",selected:v&y?"selected":null,onClick:function(){function g(){return i("unrestricted_access",{unres_dir:y})}return g}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-right",content:"West",selected:v&k?"selected":null,onClick:function(){function g(){return i("unrestricted_access",{unres_dir:k})}return g}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-down",content:"North",selected:v&V?"selected":null,onClick:function(){function g(){return i("unrestricted_access",{unres_dir:V})}return g}()})})]})]})})},c=function(d,l){var s=(0,a.useBackend)(l),i=s.act,p=s.data,v=p.selected_accesses,g=p.one_access,h=p.regions;return(0,e.createComponentVNode)(2,f.AccessList,{usedByRcd:1,rcdButtons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:g,content:"One",onClick:function(){function N(){return i("set_one_access",{access:"one"})}return N}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!g,content:"All",onClick:function(){function N(){return i("set_one_access",{access:"all"})}return N}()})],4),accesses:h,selectedList:v,accessMod:function(){function N(b){return i("set",{access:b})}return N}(),grantAll:function(){function N(){return i("grant_all")}return N}(),denyAll:function(){function N(){return i("clear_all")}return N}(),grantDep:function(){function N(b){return i("grant_region",{region:b})}return N}(),denyDep:function(){function N(b){return i("deny_region",{region:b})}return N}()})}},99327:function(w,r,n){"use strict";r.__esModule=!0,r.AlertModal=void 0;var e=n(96524),a=n(14299),t=n(17899),o=n(68100),f=n(24674),V=n(45493),y=-1,S=1,k=r.AlertModal=function(){function c(m,d){var l=(0,t.useBackend)(d),s=l.act,i=l.data,p=i.autofocus,v=i.buttons,g=v===void 0?[]:v,h=i.large_buttons,N=i.message,b=N===void 0?"":N,B=i.timeout,I=i.title,L=(0,t.useLocalState)(d,"selected",0),T=L[0],x=L[1],A=110+(b.length>30?Math.ceil(b.length/4):0)+(b.length&&h?5:0),E=325+(g.length>2?100:0),M=function(){function D(P){T===0&&P===y?x(g.length-1):T===g.length-1&&P===S?x(0):x(T+P)}return D}();return(0,e.createComponentVNode)(2,V.Window,{title:I,height:A,width:E,children:[!!B&&(0,e.createComponentVNode)(2,a.Loader,{value:B}),(0,e.createComponentVNode)(2,V.Window.Content,{onKeyDown:function(){function D(P){var R=window.event?P.which:P.keyCode;R===o.KEY_SPACE||R===o.KEY_ENTER?s("choose",{choice:g[T]}):R===o.KEY_ESCAPE?s("cancel"):R===o.KEY_LEFT?(P.preventDefault(),M(y)):(R===o.KEY_TAB||R===o.KEY_RIGHT)&&(P.preventDefault(),M(S))}return D}(),children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,m:1,children:(0,e.createComponentVNode)(2,f.Box,{color:"label",overflow:"hidden",children:b})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:[!!p&&(0,e.createComponentVNode)(2,f.Autofocus),(0,e.createComponentVNode)(2,C,{selected:T})]})]})})})]})}return c}(),C=function(m,d){var l=(0,t.useBackend)(d),s=l.data,i=s.buttons,p=i===void 0?[]:i,v=s.large_buttons,g=s.swapped_buttons,h=m.selected;return(0,e.createComponentVNode)(2,f.Flex,{fill:!0,align:"center",direction:g?"row":"row-reverse",justify:"space-around",wrap:!0,children:p==null?void 0:p.map(function(N,b){return v&&p.length<3?(0,e.createComponentVNode)(2,f.Flex.Item,{grow:!0,children:(0,e.createComponentVNode)(2,u,{button:N,id:b.toString(),selected:h===b})},b):(0,e.createComponentVNode)(2,f.Flex.Item,{grow:v?1:0,children:(0,e.createComponentVNode)(2,u,{button:N,id:b.toString(),selected:h===b})},b)})})},u=function(m,d){var l=(0,t.useBackend)(d),s=l.act,i=l.data,p=i.large_buttons,v=m.button,g=m.selected,h=v.length>7?"100%":7;return(0,e.createComponentVNode)(2,f.Button,{mx:p?1:0,pt:p?.33:0,content:v,fluid:!!p,onClick:function(){function N(){return s("choose",{choice:v})}return N}(),selected:g,textAlign:"center",height:!!p&&2,width:!p&&h})}},88642:function(w,r,n){"use strict";r.__esModule=!0,r.AppearanceChanger=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AppearanceChanger=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.change_race,d=c.species,l=c.specimen,s=c.change_gender,i=c.gender,p=c.change_eye_color,v=c.change_skin_tone,g=c.change_skin_color,h=c.change_head_accessory_color,N=c.change_hair_color,b=c.change_secondary_hair_color,B=c.change_facial_hair_color,I=c.change_secondary_facial_hair_color,L=c.change_head_marking_color,T=c.change_body_marking_color,x=c.change_tail_marking_color,A=c.change_head_accessory,E=c.head_accessory_styles,M=c.head_accessory_style,D=c.change_hair,P=c.hair_styles,R=c.hair_style,j=c.change_hair_gradient,F=c.change_facial_hair,W=c.facial_hair_styles,_=c.facial_hair_style,K=c.change_head_markings,$=c.head_marking_styles,G=c.head_marking_style,X=c.change_body_markings,J=c.body_marking_styles,ue=c.body_marking_style,ce=c.change_tail_markings,fe=c.tail_marking_styles,pe=c.tail_marking_style,he=c.change_body_accessory,te=c.body_accessory_styles,Q=c.body_accessory_style,ae=c.change_alt_head,ee=c.alt_head_styles,oe=c.alt_head_style,le=!1;return(p||v||g||h||N||b||B||I||L||T||x)&&(le=!0),(0,e.createComponentVNode)(2,o.Window,{width:800,height:450,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Species",children:d.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.specimen,selected:re.specimen===l,onClick:function(){function ge(){return u("race",{race:re.specimen})}return ge}()},re.specimen)})}),!!s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gender",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Male",selected:i==="male",onClick:function(){function re(){return u("gender",{gender:"male"})}return re}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Female",selected:i==="female",onClick:function(){function re(){return u("gender",{gender:"female"})}return re}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Genderless",selected:i==="plural",onClick:function(){function re(){return u("gender",{gender:"plural"})}return re}()})]}),!!le&&(0,e.createComponentVNode)(2,V),!!A&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head accessory",children:E.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.headaccessorystyle,selected:re.headaccessorystyle===M,onClick:function(){function ge(){return u("head_accessory",{head_accessory:re.headaccessorystyle})}return ge}()},re.headaccessorystyle)})}),!!D&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair",children:P.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.hairstyle,selected:re.hairstyle===R,onClick:function(){function ge(){return u("hair",{hair:re.hairstyle})}return ge}()},re.hairstyle)})}),!!j&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair Gradient",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Change Style",onClick:function(){function re(){return u("hair_gradient")}return re}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Offset",onClick:function(){function re(){return u("hair_gradient_offset")}return re}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Color",onClick:function(){function re(){return u("hair_gradient_colour")}return re}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Alpha",onClick:function(){function re(){return u("hair_gradient_alpha")}return re}()})]}),!!F&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Facial hair",children:W.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.facialhairstyle,selected:re.facialhairstyle===_,onClick:function(){function ge(){return u("facial_hair",{facial_hair:re.facialhairstyle})}return ge}()},re.facialhairstyle)})}),!!K&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head markings",children:$.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.headmarkingstyle,selected:re.headmarkingstyle===G,onClick:function(){function ge(){return u("head_marking",{head_marking:re.headmarkingstyle})}return ge}()},re.headmarkingstyle)})}),!!X&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body markings",children:J.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.bodymarkingstyle,selected:re.bodymarkingstyle===ue,onClick:function(){function ge(){return u("body_marking",{body_marking:re.bodymarkingstyle})}return ge}()},re.bodymarkingstyle)})}),!!ce&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tail markings",children:fe.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.tailmarkingstyle,selected:re.tailmarkingstyle===pe,onClick:function(){function ge(){return u("tail_marking",{tail_marking:re.tailmarkingstyle})}return ge}()},re.tailmarkingstyle)})}),!!he&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body accessory",children:te.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.bodyaccessorystyle,selected:re.bodyaccessorystyle===Q,onClick:function(){function ge(){return u("body_accessory",{body_accessory:re.bodyaccessorystyle})}return ge}()},re.bodyaccessorystyle)})}),!!ae&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alternate head",children:ee.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.altheadstyle,selected:re.altheadstyle===oe,onClick:function(){function ge(){return u("alt_head",{alt_head:re.altheadstyle})}return ge}()},re.altheadstyle)})})]})})})}return y}(),V=function(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=[{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_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"}];return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Colors",children:m.map(function(d){return!!c[d.key]&&(0,e.createComponentVNode)(2,t.Button,{content:d.text,onClick:function(){function l(){return u(d.action)}return l}()},d.key)})})}},51731:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosAlertConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AtmosAlertConsole=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.priority||[],m=u.minor||[];return(0,e.createComponentVNode)(2,o.Window,{width:350,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Alarms",children:(0,e.createVNode)(1,"ul",null,[c.length===0&&(0,e.createVNode)(1,"li","color-good","No Priority Alerts",16),c.map(function(d){return(0,e.createVNode)(1,"li","color-bad",d,0,null,d)}),m.length===0&&(0,e.createVNode)(1,"li","color-good","No Minor Alerts",16),m.map(function(d){return(0,e.createVNode)(1,"li","color-average",d,0,null,d)})],0)})})})}return V}()},57467:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosControl=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(5126),f=n(45493),V=function(c){if(c===0)return(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Good"});if(c===1)return(0,e.createComponentVNode)(2,t.Box,{color:"orange",bold:!0,children:"Warning"});if(c===2)return(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"DANGER"})},y=function(c){if(c===0)return"green";if(c===1)return"orange";if(c===2)return"red"},S=r.AtmosControl=function(){function u(c,m){var d=(0,a.useBackend)(m),l=d.act,s=d.data,i=(0,a.useLocalState)(m,"tabIndex",0),p=i[0],v=i[1],g=function(){function h(N){switch(N){case 0:return(0,e.createComponentVNode)(2,k);case 1:return(0,e.createComponentVNode)(2,C);default:return"WE SHOULDN'T BE HERE!"}}return h}();return(0,e.createComponentVNode)(2,f.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:p===0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:p===0,onClick:function(){function h(){return v(0)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"table"})," Data View"]},"DataView"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:p===1,onClick:function(){function h(){return v(1)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),g(p)]})})})}return u}(),k=function(c,m){var d=(0,a.useBackend)(m),l=d.act,s=d.data,i=s.alarms;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Access"})]}),i.map(function(p){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,o.TableCell,{children:p.name}),(0,e.createComponentVNode)(2,o.TableCell,{children:V(p.danger)}),(0,e.createComponentVNode)(2,o.TableCell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Access",onClick:function(){function v(){return l("open_alarm",{aref:p.ref})}return v}()})})]},p.name)})]})})},C=function(c,m){var d=(0,a.useBackend)(m),l=d.data,s=(0,a.useLocalState)(m,"zoom",1),i=s[0],p=s[1],v=l.alarms;return(0,e.createComponentVNode)(2,t.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,e.createComponentVNode)(2,t.NanoMap,{onZoom:function(){function g(h){return p(h)}return g}(),children:v.filter(function(g){return g.z===3}).map(function(g){return(0,e.createComponentVNode)(2,t.NanoMap.Marker,{x:g.x,y:g.y,zoom:i,icon:"circle",tooltip:g.name,color:y(g.danger)},g.ref)})})})}},41550:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosFilter=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AtmosFilter=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.on,m=u.pressure,d=u.max_pressure,l=u.filter_type,s=u.filter_type_list;return(0,e.createComponentVNode)(2,o.Window,{width:380,height:140,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:c?"On":"Off",color:c?null:"red",selected:c,onClick:function(){function i(){return C("power")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:m===0,width:2.2,onClick:function(){function i(){return C("min_pressure")}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:d,value:m,onDrag:function(){function i(p,v){return C("custom_pressure",{pressure:v})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:m===d,width:2.2,onClick:function(){function i(){return C("max_pressure")}return i}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filter",children:s.map(function(i){return(0,e.createComponentVNode)(2,t.Button,{selected:i.gas_type===l,content:i.label,onClick:function(){function p(){return C("set_filter",{filter:i.gas_type})}return p}()},i.label)})})]})})})})}return V}()},16688:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosGraphMonitor=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(36121),V=n(50640),y=n(28234),S=["data","rangeX","rangeY","fillColor","strokeColor","strokeWidth","horizontalLinesCount","verticalLinesCount","gridColor","gridWidth","pointTextColor","pointTextSize","labelViewBoxSize"];function k(i,p){if(i==null)return{};var v={},g=Object.keys(i),h,N;for(N=0;N=0)&&(v[h]=i[h]);return v}function C(i,p){i.prototype=Object.create(p.prototype),i.prototype.constructor=i,u(i,p)}function u(i,p){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function v(g,h){return g.__proto__=h,g}return v}(),u(i,p)}var c=r.AtmosGraphMonitor=function(){function i(p,v){var g=(0,a.useBackend)(v),h=g.data,N=(0,a.useLocalState)(v,"tabIndex",0),b=N[0],B=N[1],I=function(){function T(x){switch(x){case 0:return(0,e.createComponentVNode)(2,m,{data:h,info:"\u0418\u043D\u0442\u0435\u0440\u0432\u0430\u043B \u0437\u0430\u043F\u0438\u0441\u0438 T = 60 \u0441. | \u0418\u043D\u0442\u0435\u0440\u0432\u0430\u043B \u043C\u0435\u0436\u0434\u0443 \u0437\u0430\u043F\u0438\u0441\u044F\u043C\u0438 t = 3 \u0441.",pressureListName:"pressure_history",temperatureListName:"temperature_history"});case 1:return(0,e.createComponentVNode)(2,m,{data:h,info:"\u0418\u043D\u0442\u0435\u0440\u0432\u0430\u043B \u0437\u0430\u043F\u0438\u0441\u0438 T = 10 \u043C\u0438\u043D. | \u0418\u043D\u0442\u0435\u0440\u0432\u0430\u043B \u043C\u0435\u0436\u0434\u0443 \u0437\u0430\u043F\u0438\u0441\u044F\u043C\u0438 t = 30 \u0441.",pressureListName:"long_pressure_history",temperatureListName:"long_temperature_history"});default:return"WE SHOULDN'T BE HERE!"}}return T}(),L=function(){function T(x){switch(x){case 0:return 180;case 1:return 350;case 2:return 590;case 3:return 830;default:return 870}}return T}();return(0,e.createComponentVNode)(2,o.Window,{width:700,height:L(Object.keys(h.sensors).length),children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:b===0,onClick:function(){function T(){return B(0)}return T}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"area-chart"})," \u0422\u0435\u043A\u0443\u0449\u0438\u0435"]},"View"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:b===1,onClick:function(){function T(){return B(1)}return T}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"bar-chart"})," \u0418\u0441\u0442\u043E\u0440\u0438\u044F"]},"History")]}),I(b),Object.keys(h.sensors).length===0&&(0,e.createComponentVNode)(2,t.Box,{pt:2,textAlign:"center",textColor:"gray",bold:!0,fontSize:1.3,children:"\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u0435 gas sensor \u0438\u043B\u0438 meter \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E multitool"})]})})})}return i}(),m=function(p){var v=p.data,g=p.info,h=p.pressureListName,N=p.temperatureListName,b=v.sensors||{},B=function(A,E){return b[A][E].slice(-1)[0]},I=function(A,E){return Math.min.apply(Math,b[A][E])},L=function(A,E){return Math.max.apply(Math,b[A][E])},T=function(A,E){return b[A][E].map(function(M,D){return[D,M]})};return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{color:"gray",children:g}),Object.keys(b).map(function(x){return(0,e.createComponentVNode)(2,t.Section,{title:x,children:(0,e.createComponentVNode)(2,t.Section,{px:2,children:[N in b[x]&&(0,e.createComponentVNode)(2,t.Box,{mb:4,children:[(0,e.createComponentVNode)(2,t.Box,{children:"\u0422\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430: "+(0,f.toFixed)(B(x,N),0)+"\u041A (MIN: "+(0,f.toFixed)(I(x,N),0)+"\u041A; MAX: "+(0,f.toFixed)(L(x,N),0)+"\u041A)"}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,height:5,mt:1,children:(0,e.createComponentVNode)(2,s,{fillPositionedParent:!0,data:T(x,N),rangeX:[0,T(x,N).length-1],rangeY:[I(x,N)-10,L(x,N)+5],strokeColor:"rgba(219, 40, 40, 1)",fillColor:"rgba(219, 40, 40, 0.1)",horizontalLinesCount:2,verticalLinesCount:T(x,N).length-2,labelViewBoxSize:400})})]}),h in b[x]&&(0,e.createComponentVNode)(2,t.Box,{mb:-1,children:[(0,e.createComponentVNode)(2,t.Box,{children:"\u0414\u0430\u0432\u043B\u0435\u043D\u0438\u0435: "+(0,f.toFixed)(B(x,h),0)+"\u043A\u041F\u0430 (MIN: "+(0,f.toFixed)(I(x,h),0)+"\u043A\u041F\u0430; MAX: "+(0,f.toFixed)(L(x,h),0)+"\u043A\u041F\u0430)"}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,height:5,mt:1,children:(0,e.createComponentVNode)(2,s,{fillPositionedParent:!0,data:T(x,h),rangeX:[0,T(x,h).length-1],rangeY:[I(x,h)-10,L(x,h)+5],strokeColor:"rgba(40, 219, 40, 1)",fillColor:"rgba(40, 219, 40, 0.1)",horizontalLinesCount:2,verticalLinesCount:T(x,h).length-2,labelViewBoxSize:400})})]})]})},x)})]})},d=function(p,v,g,h){if(p.length===0)return[];var N=(0,V.zipWith)(Math.min).apply(void 0,p),b=(0,V.zipWith)(Math.max).apply(void 0,p);g!==void 0&&(N[0]=g[0],b[0]=g[1]),h!==void 0&&(N[1]=h[0],b[1]=h[1]);var B=function(x,A,E,M){return(x-A)/(E-A)*M},I=(0,V.zipWith)(B),L=(0,V.map)(function(T){return I(T,N,b,v)});return L(p)},l=function(p){for(var v="",g=0;g0){var Q=te[0],ae=te[te.length-1];te.push([he[0]+D,ae[1]]),te.push([he[0]+D,-D]),te.push([-D,-D]),te.push([-D,Q[1]])}var ee=l(te);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({position:"relative"},pe,{children:function(){function oe(le){return(0,e.normalizeProps)((0,e.createVNode)(1,"div",null,(0,e.createVNode)(32,"svg",null,[Array.from({length:R}).map(function(re,ge){return(0,e.createVNode)(32,"line",null,null,1,{x1:0,y1:(ge+1)*(he[1]/(R+1)),x2:he[0],y2:(ge+1)*(he[1]/(R+1)),stroke:_,"stroke-width":$},"horizontal-line-"+ge)}),Array.from({length:F}).map(function(re,ge){return(0,e.createVNode)(32,"line",null,null,1,{x1:(ge+1)*(he[0]/(F+1)),y1:0,x2:(ge+1)*(he[0]/(F+1)),y2:he[1],stroke:_,"stroke-width":$},"vertical-line-"+ge)}),(0,e.createVNode)(32,"polyline",null,null,1,{transform:"scale(1, -1) translate(0, -"+he[1]+")",fill:x,points:ee}),B.map(function(re,ge){return ge===0?null:(0,e.createVNode)(32,"line",null,null,1,{x1:te[ge-1][0],y1:he[1]-te[ge-1][1],x2:te[ge][0],y2:he[1]-te[ge][1],stroke:E,"stroke-width":D},"line-"+ge)}),B.map(function(re,ge){return(0,e.createVNode)(32,"circle",null,null,1,{cx:te[ge][0],cy:he[1]-te[ge][1],r:2,fill:"#ffffff",stroke:E,"stroke-width":1},"point-"+ge)}),B.map(function(re,ge){return he[0]>fe&&ge%2===1&&(0,e.createVNode)(32,"text",null,re[1]!==null?re[1].toFixed(0):"N/A",0,{x:te[ge][0],y:he[1]-te[ge][1],fill:X,"font-size":ue,dy:"1em",style:{"text-anchor":"end"}},"point-text-"+ge)})],0,{viewBox:"0 0 "+he[0]+" "+he[1]}),2,Object.assign({},le),null,h.ref))}return oe}()})))}return g}(),p}(e.Component);s.defaultHooks=void 0,s.defaultHooks=y.pureComponentHooks},70151:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosMixer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AtmosMixer=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.on,d=c.pressure,l=c.max_pressure,s=c.node1_concentration,i=c.node2_concentration;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:165,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:m?"On":"Off",color:m?null:"red",selected:m,onClick:function(){function p(){return u("power")}return p}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:d===0,width:2.2,onClick:function(){function p(){return u("min_pressure")}return p}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:l,value:d,onDrag:function(){function p(v,g){return u("custom_pressure",{pressure:g})}return p}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:d===l,width:2.2,onClick:function(){function p(){return u("max_pressure")}return p}()})]}),(0,e.createComponentVNode)(2,V,{node_name:"Node 1",node_ref:s}),(0,e.createComponentVNode)(2,V,{node_name:"Node 2",node_ref:i})]})})})})}return y}(),V=function(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=S.node_name,d=S.node_ref;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:m,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",width:2.2,disabled:d===0,onClick:function(){function l(){return u("set_node",{node_name:m,concentration:(d-10)/100})}return l}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"%",width:6.1,lineHeight:1.5,stepPixelSize:10,minValue:0,maxValue:100,value:d,onChange:function(){function l(s,i){return u("set_node",{node_name:m,concentration:i/100})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",width:2.2,disabled:d===100,onClick:function(){function l(){return u("set_node",{node_name:m,concentration:(d+10)/100})}return l}()})]})}},54090:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosPump=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AtmosPump=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.on,m=u.rate,d=u.max_rate,l=u.gas_unit,s=u.step;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:110,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:c?"On":"Off",color:c?null:"red",selected:c,onClick:function(){function i(){return C("power")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:m===0,width:2.2,onClick:function(){function i(){return C("min_rate")}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:l,width:6.1,lineHeight:1.5,step:s,minValue:0,maxValue:d,value:m,onDrag:function(){function i(p,v){return C("custom_rate",{rate:v})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:m===d,width:2.2,onClick:function(){function i(){return C("max_rate")}return i}()})]})]})})})})}return V}()},31335:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosTankControl=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(36121),f=n(38424),V=n(45493),y=r.AtmosTankControl=function(){function S(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.sensors||{};return(0,e.createComponentVNode)(2,V.Window,{width:400,height:400,children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:[Object.keys(d).map(function(l){return(0,e.createComponentVNode)(2,t.Section,{title:l,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[Object.keys(d[l]).indexOf("pressure")>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:[d[l].pressure," kpa"]}):"",Object.keys(d[l]).indexOf("temperature")>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:[d[l].temperature," K"]}):"",["o2","n2","plasma","co2","n2o"].map(function(s){return Object.keys(d[l]).indexOf(s)>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:(0,f.getGasLabel)(s),children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:(0,f.getGasColor)(s),value:d[l][s],minValue:0,maxValue:100,children:(0,o.toFixed)(d[l][s],2)+"%"})},(0,f.getGasLabel)(s)):""})]})},l)}),m.inlet&&Object.keys(m.inlet).length>0?(0,e.createComponentVNode)(2,t.Section,{title:"Inlet Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:(m.inlet.on,"power-off"),content:m.inlet.on?"On":"Off",color:m.inlet.on?null:"red",selected:m.inlet.on,onClick:function(){function l(){return c("toggle_active",{dev:"inlet"})}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"L/s",width:6.1,lineHeight:1.5,step:1,minValue:0,maxValue:50,value:m.inlet.rate,onDrag:function(){function l(s,i){return c("set_pressure",{dev:"inlet",val:i})}return l}()})})]})}):"",m.outlet&&Object.keys(m.outlet).length>0?(0,e.createComponentVNode)(2,t.Section,{title:"Outlet Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:(m.outlet.on,"power-off"),content:m.outlet.on?"On":"Off",color:m.outlet.on?null:"red",selected:m.outlet.on,onClick:function(){function l(){return c("toggle_active",{dev:"outlet"})}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:5066,value:m.outlet.rate,onDrag:function(){function l(s,i){return c("set_pressure",{dev:"outlet",val:i})}return l}()})})]})}):""]})})}return S}()},85909:function(w,r,n){"use strict";r.__esModule=!0,r.Autolathe=void 0;var e=n(96524),a=n(74041),t=n(50640),o=n(17899),f=n(24674),V=n(45493),y=n(78234),S=function(u,c,m,d){return u.requirements===null?!0:!(u.requirements.metal*d>c||u.requirements.glass*d>m)},k=r.Autolathe=function(){function C(u,c){var m=(0,o.useBackend)(c),d=m.act,l=m.data,s=l.total_amount,i=l.max_amount,p=l.metal_amount,v=l.glass_amount,g=l.busyname,h=l.busyamt,N=l.showhacked,b=l.buildQueue,B=l.buildQueueLen,I=l.recipes,L=l.categories,T=(0,o.useSharedState)(c,"category",0),x=T[0],A=T[1];x===0&&(x="Tools");var E=p.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),M=v.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),D=s.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),P=(0,o.useSharedState)(c,"search_text",""),R=P[0],j=P[1],F=(0,y.createSearch)(R,function($){return $.name}),W="";B>0&&(W=b.map(function($,G){return(0,e.createComponentVNode)(2,f.Box,{children:(0,e.createComponentVNode)(2,f.Button,{fluid:!0,icon:"times",color:"transparent",content:b[G][0],onClick:function(){function X(){return d("remove_from_queue",{remove_from_queue:b.indexOf($)+1})}return X}()},$)},G)}));var _=(0,a.flow)([(0,t.filter)(function($){return($.category.indexOf(x)>-1||R)&&(l.showhacked||!$.hacked)}),R&&(0,t.filter)(F),(0,t.sortBy)(function($){return $.name.toLowerCase()})])(I),K="Build";return R?K="Results for: '"+R+"':":x&&(K="Build ("+x+")"),(0,e.createComponentVNode)(2,V.Window,{width:750,height:525,children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,horizontal:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{width:"70%",children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,title:K,buttons:(0,e.createComponentVNode)(2,f.Dropdown,{width:"150px",options:L,selected:x,onSelected:function(){function $(G){return A(G)}return $}()}),children:[(0,e.createComponentVNode)(2,f.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function $(G,X){return j(X)}return $}(),mb:1}),_.map(function($){return(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+$.image,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}}),(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:l.busyname===$.name&&l.busyamt===1,disabled:!S($,l.metal_amount,l.glass_amount,1),onClick:function(){function G(){return d("make",{make:$.uid,multiplier:1})}return G}(),children:(0,y.toTitleCase)($.name)}),$.max_multiplier>=10&&(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:l.busyname===$.name&&l.busyamt===10,disabled:!S($,l.metal_amount,l.glass_amount,10),onClick:function(){function G(){return d("make",{make:$.uid,multiplier:10})}return G}(),children:"10x"}),$.max_multiplier>=25&&(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:l.busyname===$.name&&l.busyamt===25,disabled:!S($,l.metal_amount,l.glass_amount,25),onClick:function(){function G(){return d("make",{make:$.uid,multiplier:25})}return G}(),children:"25x"}),$.max_multiplier>25&&(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:l.busyname===$.name&&l.busyamt===$.max_multiplier,disabled:!S($,l.metal_amount,l.glass_amount,$.max_multiplier),onClick:function(){function G(){return d("make",{make:$.uid,multiplier:$.max_multiplier})}return G}(),children:[$.max_multiplier,"x"]}),$.requirements&&Object.keys($.requirements).map(function(G){return(0,y.toTitleCase)(G)+": "+$.requirements[G]}).join(", ")||(0,e.createComponentVNode)(2,f.Box,{children:"No resources required."})]},$.ref)})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{width:"30%",children:[(0,e.createComponentVNode)(2,f.Section,{title:"Materials",children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Metal",children:E}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Glass",children:M}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Total",children:D}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Storage",children:[l.fill_percent,"% Full"]})]})}),(0,e.createComponentVNode)(2,f.Section,{title:"Building",children:(0,e.createComponentVNode)(2,f.Box,{color:g?"green":"",children:g||"Nothing"})}),(0,e.createComponentVNode)(2,f.Section,{title:"Build Queue",height:23.7,children:[W,(0,e.createComponentVNode)(2,f.Button,{mt:.5,fluid:!0,icon:"times",content:"Clear All",color:"red",disabled:!l.buildQueueLen,onClick:function(){function $(){return d("clear_queue")}return $}()})]})]})]})})})}return C}()},81617:function(w,r,n){"use strict";r.__esModule=!0,r.BioChipPad=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.BioChipPad=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.implant,m=u.contains_case;return(0,e.createComponentVNode)(2,o.Window,{width:410,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Bio-chip Mini-Computer",children:[c&&m?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{bold:!0,mb:2,children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+c.image,ml:0,mr:2,style:{"vertical-align":"middle",width:"32px"}}),c.name]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Life",children:c.life}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Notes",children:c.notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Function",children:c.function})]})],4):m?(0,e.createComponentVNode)(2,t.Box,{children:"This bio-chip case has no implant!"}):(0,e.createComponentVNode)(2,t.Box,{children:"Please insert a bio-chip casing!"}),(0,e.createComponentVNode)(2,t.Button,{mt:2,content:"Eject Case",icon:"eject",disabled:!m,onClick:function(){function d(){return C("eject_case")}return d}()})]})})})}return V}()},26215:function(w,r,n){"use strict";r.__esModule=!0,r.Biogenerator=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(75201),V=r.Biogenerator=function(){function u(c,m){var d=(0,a.useBackend)(m),l=d.data,s=d.config,i=l.container,p=l.processing,v=s.title;return(0,e.createComponentVNode)(2,o.Window,{width:390,height:595,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Operating,{operating:p,name:v}),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,k),i?(0,e.createComponentVNode)(2,C):(0,e.createComponentVNode)(2,y)]})})})}return u}(),y=function(c,m){return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"silver",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"flask",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),"The biogenerator is missing a container."]})})})},S=function(c,m){var d=(0,a.useBackend)(m),l=d.act,s=d.data,i=s.biomass,p=s.container,v=s.container_curr_reagents,g=s.container_max_reagents;return(0,e.createComponentVNode)(2,t.Section,{title:"Storage",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"20px",color:"silver",children:"Biomass:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"5px",children:i}),(0,e.createComponentVNode)(2,t.Icon,{name:"leaf",size:1.2,color:"#3d8c40"})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"21px",mt:"8px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"10px",color:"silver",children:"Container:"}),p?(0,e.createComponentVNode)(2,t.ProgressBar,{value:v,maxValue:g,children:(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:v+" / "+g+" units"})}):(0,e.createComponentVNode)(2,t.Stack.Item,{children:"None"})]})]})},k=function(c,m){var d=(0,a.useBackend)(m),l=d.act,s=d.data,i=s.has_plants,p=s.container;return(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"power-off",disabled:!i,tooltip:i?"":"There are no plants in the biogenerator.",tooltipPosition:"top-start",content:"Activate",onClick:function(){function v(){return l("activate")}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"flask",disabled:!p,tooltip:p?"":"The biogenerator does not have a container.",tooltipPosition:"top",content:"Detach Container",onClick:function(){function v(){return l("detach_container")}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",disabled:!i,tooltip:i?"":"There are no stored plants to eject.",tooltipPosition:"top-end",content:"Eject Plants",onClick:function(){function v(){return l("eject_plants")}return v}()})})]})})},C=function(c,m){var d=(0,a.useBackend)(m),l=d.act,s=d.data,i=s.biomass,p=s.product_list,v=(0,a.useSharedState)(m,"vendAmount",1),g=v[0],h=v[1],N=Object.entries(p).map(function(b,B){var I=Object.entries(b[1]).map(function(L){return L[1]});return(0,e.createComponentVNode)(2,t.Collapsible,{title:b[0],open:!0,children:I.map(function(L){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",ml:"2px",children:L.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"right",width:"20%",children:[L.cost*g,(0,e.createComponentVNode)(2,t.Icon,{ml:"5px",name:"leaf",size:1.2,color:"#3d8c40"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"right",width:"40%",children:(0,e.createComponentVNode)(2,t.Button,{content:"Vend",disabled:il&&"bad"||"good";return(0,e.createComponentVNode)(2,o.Window,{width:650,height:450,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!h&&(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"Safety Protocols disabled"}),l>N&&(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"High Power, Instability likely"}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"Input Management",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input Level",children:l}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Desired Level",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:d===0,tooltip:"Set to 0",onClick:function(){function I(){return u("set",{set_level:0})}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"step-backward",tooltip:"Decrease to actual input level",disabled:d===0,onClick:function(){function I(){return u("set",{set_level:l})}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:d===0,tooltip:"Decrease one step",onClick:function(){function I(){return u("decrease")}return I}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,mx:1,children:(0,e.createComponentVNode)(2,t.Slider,{value:d,fillValue:l,minValue:0,color:B,maxValue:g,stepPixelSize:20,step:1,onChange:function(){function I(L,T){return u("set",{set_level:T})}return I}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:d===g,tooltip:"Increase one step",tooltipPosition:"left",onClick:function(){function I(){return u("increase")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:d===g,tooltip:"Set to max",tooltipPosition:"left",onClick:function(){function I(){return u("set",{set_level:g})}return I}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Power Use",children:(0,f.formatPower)(p)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power for next level",children:(0,f.formatPower)(b)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Surplus Power",children:(0,f.formatPower)(v)})]})})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Output",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Points",children:s}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Points",children:i})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{align:"end",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:m.map(function(I){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:I.name,children:(0,e.createComponentVNode)(2,t.Button,{disabled:I.price>=s,onClick:function(){function L(){return u("vend",{target:I.key})}return L}(),content:I.price})},I.key)})})})})]})})]})})})}return y}()},71736:function(w,r,n){"use strict";r.__esModule=!0,r.BodyScanner=void 0;var e=n(96524),a=n(36121),t=n(78234),o=n(17899),f=n(24674),V=n(45493),y=[["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."]],k=[["Respiratory","oxyLoss"],["Brain","brainLoss"],["Toxin","toxLoss"],["Radiation","radLoss"],["Brute","bruteLoss"],["Cellular","cloneLoss"],["Burn","fireLoss"],["Inebriation","drunkenness"]],C={average:[.25,.5],bad:[.5,1/0]},u=function(B,I){for(var L=[],T=0;T0?B.filter(function(I){return!!I}).reduce(function(I,L){return(0,e.createFragment)([I,(0,e.createComponentVNode)(2,f.Box,{children:L},L)],0)},null):null},m=function(B){if(B>100){if(B<300)return"mild infection";if(B<400)return"mild infection+";if(B<500)return"mild infection++";if(B<700)return"acute infection";if(B<800)return"acute infection+";if(B<900)return"acute infection++";if(B>=900)return"septic"}return""},d=r.BodyScanner=function(){function b(B,I){var L=(0,o.useBackend)(I),T=L.data,x=T.occupied,A=T.occupant,E=A===void 0?{}:A,M=x?(0,e.createComponentVNode)(2,l,{occupant:E}):(0,e.createComponentVNode)(2,N);return(0,e.createComponentVNode)(2,V.Window,{width:700,height:600,title:"Body Scanner",children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:M})})}return b}(),l=function(B){var I=B.occupant;return(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,s,{occupant:I}),(0,e.createComponentVNode)(2,i,{occupant:I}),(0,e.createComponentVNode)(2,p,{occupant:I}),(0,e.createComponentVNode)(2,g,{organs:I.extOrgan}),(0,e.createComponentVNode)(2,h,{organs:I.intOrgan})]})},s=function(B,I){var L=(0,o.useBackend)(I),T=L.act,x=L.data,A=x.occupant;return(0,e.createComponentVNode)(2,f.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Button,{icon:"print",onClick:function(){function E(){return T("print_p")}return E}(),children:"Print Report"}),(0,e.createComponentVNode)(2,f.Button,{icon:"user-slash",onClick:function(){function E(){return T("ejectify")}return E}(),children:"Eject"})],4),children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Name",children:A.name}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:A.maxHealth,value:A.health/A.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Status",color:y[A.stat][0],children:y[A.stat][1]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,f.AnimatedNumber,{value:(0,a.round)(A.bodyTempC)}),"\xB0C,\xA0",(0,e.createComponentVNode)(2,f.AnimatedNumber,{value:(0,a.round)(A.bodyTempF)}),"\xB0F"]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Implants",children:A.implant_len?(0,e.createComponentVNode)(2,f.Box,{children:A.implant.map(function(E){return E.name}).join(", ")}):(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"None"})})]})})},i=function(B){var I=B.occupant;return I.hasBorer||I.blind||I.colourblind||I.nearsighted||I.hasVirus?(0,e.createComponentVNode)(2,f.Section,{title:"Abnormalities",children:S.map(function(L,T){if(I[L[0]])return(0,e.createComponentVNode)(2,f.Box,{color:L[1],bold:L[1]==="bad",children:L[2]},L[2])})}):(0,e.createComponentVNode)(2,f.Section,{title:"Abnormalities",children:(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"No abnormalities found."})})},p=function(B){var I=B.occupant;return(0,e.createComponentVNode)(2,f.Section,{title:"Damage",children:(0,e.createComponentVNode)(2,f.Table,{children:u(k,function(L,T,x){return(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Table.Row,{color:"label",children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:[L[0],":"]}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:!!T&&T[0]+":"})]}),(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:(0,e.createComponentVNode)(2,v,{value:I[L[1]],marginBottom:x100)&&"average"||!!I.status.robotic&&"label",width:"33%",children:(0,t.capitalize)(I.name)}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,f.ProgressBar,{m:-.5,min:"0",max:I.maxHealth,mt:L>0&&"0.5rem",value:I.totalLoss/I.maxHealth,ranges:C,children:(0,e.createComponentVNode)(2,f.Stack,{children:[(0,e.createComponentVNode)(2,f.Tooltip,{content:"Total damage",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:[(0,e.createComponentVNode)(2,f.Icon,{name:"heartbeat",mr:.5}),(0,a.round)(I.totalLoss)]})}),!!I.bruteLoss&&(0,e.createComponentVNode)(2,f.Tooltip,{content:"Brute damage",children:(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:[(0,e.createComponentVNode)(2,f.Icon,{name:"bone",mr:.5}),(0,a.round)(I.bruteLoss)]})}),!!I.fireLoss&&(0,e.createComponentVNode)(2,f.Tooltip,{content:"Burn damage",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:[(0,e.createComponentVNode)(2,f.Icon,{name:"fire",mr:.5}),(0,a.round)(I.fireLoss)]})})]})})}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:L>0&&"calc(0.5rem + 2px)",children:[(0,e.createComponentVNode)(2,f.Box,{color:"average",inline:!0,children:c([!!I.internalBleeding&&"Internal bleeding",!!I.burnWound&&"Critical tissue burns",!!I.lungRuptured&&"Ruptured lung",!!I.status.broken&&I.status.broken,m(I.germ_level),!!I.open&&"Open incision"])}),(0,e.createComponentVNode)(2,f.Box,{inline:!0,children:[c([!!I.status.splinted&&(0,e.createComponentVNode)(2,f.Box,{color:"good",children:"Splinted"}),!!I.status.robotic&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"Robotic"}),!!I.status.dead&&(0,e.createComponentVNode)(2,f.Box,{color:"bad",bold:!0,children:"DEAD"})]),c(I.shrapnel.map(function(T){return T.known?T.name:"Unknown object"}))]})]})]},L)})]})})},h=function(B){return B.organs.length===0?(0,e.createComponentVNode)(2,f.Section,{title:"Internal Organs",children:(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"N/A"})}):(0,e.createComponentVNode)(2,f.Section,{title:"Internal Organs",children:(0,e.createComponentVNode)(2,f.Table,{children:[(0,e.createComponentVNode)(2,f.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"center",children:"Damage"}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",children:"Injuries"})]}),B.organs.map(function(I,L){return(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{color:!!I.dead&&"bad"||I.germ_level>100&&"average"||I.robotic>0&&"label",width:"33%",children:(0,t.capitalize)(I.name)}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:I.maxHealth,value:I.damage/I.maxHealth,mt:L>0&&"0.5rem",ranges:C,children:(0,a.round)(I.damage)})}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:L>0&&"calc(0.5rem + 2px)",children:[(0,e.createComponentVNode)(2,f.Box,{color:"average",inline:!0,children:c([m(I.germ_level)])}),(0,e.createComponentVNode)(2,f.Box,{inline:!0,children:c([I.robotic===1&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"Robotic"}),I.robotic===2&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"Assisted"}),!!I.dead&&(0,e.createComponentVNode)(2,f.Box,{color:"bad",bold:!0,children:"DEAD"})])})]})]},L)})]})})},N=function(){return(0,e.createComponentVNode)(2,f.Section,{fill:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,f.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}},99449:function(w,r,n){"use strict";r.__esModule=!0,r.BookBinder=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(99665),V=n(18963),y=r.BookBinder=function(){function S(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.selectedbook,l=m.book_categories,s=[];return l.map(function(i){return s[i.description]=i.category_id}),(0,e.createComponentVNode)(2,o.Window,{width:600,height:400,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Book Binder",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"print",width:"auto",content:"Print Book",onClick:function(){function i(){return c("print_book")}return i}()}),children:[(0,e.createComponentVNode)(2,t.Box,{ml:10,fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"search-plus",verticalAlign:"middle",size:3,mr:"1rem"}),"Book Binder"]}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:"auto",content:d.title,onClick:function(){function i(){return(0,f.modalOpen)(C,"edit_selected_title")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:"auto",content:d.author,onClick:function(){function i(){return(0,f.modalOpen)(C,"edit_selected_author")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Categories",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Dropdown,{width:"190px",options:l.map(function(i){return i.description}),onSelected:function(){function i(p){return c("toggle_binder_category",{category_id:s[p]})}return i}()})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Summary",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pen",width:"auto",content:"Edit Summary",onClick:function(){function i(){return(0,f.modalOpen)(C,"edit_selected_summary")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:d.summary})]}),(0,e.createVNode)(1,"br"),l.filter(function(i){return d.categories.includes(i.category_id)}).map(function(i){return(0,e.createComponentVNode)(2,t.Button,{content:i.description,selected:!0,icon:"unlink",onClick:function(){function p(){return c("toggle_binder_category",{category_id:i.category_id})}return p}()},i.category_id)})]})})]})})})]})}return S}()},85951:function(w,r,n){"use strict";r.__esModule=!0,r.BotCall=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(u){var c=[{modes:[0],label:"Idle",color:"green"},{modes:[1,2,3],label:"Arresting",color:"yellow"},{modes:[4,5],label:"Patrolling",color:"average"},{modes:[9],label:"Moving",color:"average"},{modes:[6,11],label:"Responding",color:"green"},{modes:[12],label:"Delivering Cargo",color:"blue"},{modes:[13],label:"Returning Home",color:"blue"},{modes:[7,8,10,14,15,16,17,18,19],label:"Working",color:"blue"}],m=c.find(function(d){return d.modes.includes(u)});return(0,e.createComponentVNode)(2,t.Box,{color:m.color,children:[" ",m.label," "]})},V=r.BotCall=function(){function C(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=(0,a.useLocalState)(c,"tabIndex",0),i=s[0],p=s[1],v={0:"Security",1:"Medibot",2:"Cleanbot",3:"Floorbot",4:"Mule",5:"Honkbot"},g=function(){function h(N){return v[N]?(0,e.createComponentVNode)(2,y,{model:v[N]}):"This should not happen. Report on Paradise Github"}return h}();return(0,e.createComponentVNode)(2,o.Window,{width:700,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:i===0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,textAlign:"center",children:Array.from({length:6}).map(function(h,N){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:i===N,onClick:function(){function b(){return p(N)}return b}(),children:v[N]},N)})})}),g(i)]})})})}return C}(),y=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.bots;return s[u.model]!==void 0?(0,e.createComponentVNode)(2,k,{model:[u.model]}):(0,e.createComponentVNode)(2,S,{model:[u.model]})},S=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data;return(0,e.createComponentVNode)(2,t.Stack,{justify:"center",align:"center",fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Box,{bold:1,color:"bad",children:["No ",[u.model]," detected"]})})},k=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.bots;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Model"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Location"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Interface"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Call"})]}),s[u.model].map(function(i){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.model}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.on?f(i.status):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Off"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.location}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Interface",onClick:function(){function p(){return d("interface",{botref:i.UID})}return p}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Call",onClick:function(){function p(){return d("call",{botref:i.UID})}return p}()})})]},i.UID)})]})})})}},43506:function(w,r,n){"use strict";r.__esModule=!0,r.BotClean=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(69521),V=r.BotClean=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.locked,d=c.noaccess,l=c.maintpanel,s=c.on,i=c.autopatrol,p=c.canhack,v=c.emagged,g=c.remote_disabled,h=c.painame,N=c.cleanblood,b=c.area;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,f.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Cleaning Settings",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:N,content:"Clean Blood",disabled:d,onClick:function(){function B(){return u("blood")}return B}()})}),(0,e.createComponentVNode)(2,t.Section,{title:"Misc Settings",children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:b?"Reset Area Selection":"Restrict to Current Area",onClick:function(){function B(){return u("area")}return B}()}),b!==null&&(0,e.createComponentVNode)(2,t.LabeledList,{mb:1,children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Locked Area",children:b})})]}),h&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:h,disabled:d,onClick:function(){function B(){return u("ejectpai")}return B}()})})]})})}return y}()},89593:function(w,r,n){"use strict";r.__esModule=!0,r.BotFloor=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(69521),V=r.BotFloor=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.noaccess,d=c.painame,l=c.hullplating,s=c.replace,i=c.eat,p=c.make,v=c.fixfloor,g=c.nag_empty,h=c.magnet,N=c.tiles_amount;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:510,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,f.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Floor Settings",children:[(0,e.createComponentVNode)(2,t.Box,{mb:"5px",children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tiles Left",children:N})}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:l,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:m,onClick:function(){function b(){return u("autotile")}return b}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:s,content:"Add floor tiles on exposed hull plating",tooltip:"Example: It will add tiles to maintenance",disabled:m,onClick:function(){function b(){return u("replacetiles")}return b}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:v,content:"Repair damaged tiles and platings",disabled:m,onClick:function(){function b(){return u("fixfloors")}return b}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Miscellaneous",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:i,content:"Finds tiles",disabled:m,onClick:function(){function b(){return u("eattiles")}return b}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:p,content:"Make pieces of metal into tiles when empty",disabled:m,onClick:function(){function b(){return u("maketiles")}return b}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:g,content:"Transmit notice when empty",disabled:m,onClick:function(){function b(){return u("nagonempty")}return b}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:h,content:"Traction Magnets",disabled:m,onClick:function(){function b(){return u("anchored")}return b}()})]}),d&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,icon:"eject",content:d,disabled:m,onClick:function(){function b(){return u("ejectpai")}return b}()})})]})})}return y}()},89513:function(w,r,n){"use strict";r.__esModule=!0,r.BotHonk=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(69521),V=r.BotHonk=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:220,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,f.BotStatus)})})}return y}()},19297:function(w,r,n){"use strict";r.__esModule=!0,r.BotMed=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(69521),V=r.BotMed=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.locked,d=c.noaccess,l=c.maintpanel,s=c.on,i=c.autopatrol,p=c.canhack,v=c.emagged,g=c.remote_disabled,h=c.painame,N=c.shut_up,b=c.declare_crit,B=c.stationary_mode,I=c.heal_threshold,L=c.injection_amount,T=c.use_beaker,x=c.treat_virus,A=c.reagent_glass;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Communication Settings",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Speaker",checked:!N,disabled:d,onClick:function(){function E(){return u("toggle_speaker")}return E}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Critical Patient Alerts",checked:b,disabled:d,onClick:function(){function E(){return u("toggle_critical_alerts")}return E}()})]}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Treatment Settings",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Healing Threshold",children:(0,e.createComponentVNode)(2,t.Slider,{value:I.value,minValue:I.min,maxValue:I.max,step:5,disabled:d,onChange:function(){function E(M,D){return u("set_heal_threshold",{target:D})}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Injection Level",children:(0,e.createComponentVNode)(2,t.Slider,{value:L.value,minValue:L.min,maxValue:L.max,step:5,format:function(){function E(M){return M+"u"}return E}(),disabled:d,onChange:function(){function E(M,D){return u("set_injection_amount",{target:D})}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reagent Source",children:(0,e.createComponentVNode)(2,t.Button,{content:T?"Beaker":"Internal Synthesizer",icon:T?"flask":"cogs",disabled:d,onClick:function(){function E(){return u("toggle_use_beaker")}return E}()})}),A&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:A.amount,minValue:0,maxValue:A.max_amount,children:[A.amount," / ",A.max_amount]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{ml:1,children:(0,e.createComponentVNode)(2,t.Button,{content:"Eject",disabled:d,onClick:function(){function E(){return u("eject_reagent_glass")}return E}()})})]})})]}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{mt:1,fluid:!0,content:"Treat Viral Infections",checked:x,disabled:d,onClick:function(){function E(){return u("toggle_treat_viral")}return E}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Stationary Mode",checked:B,disabled:d,onClick:function(){function E(){return u("toggle_stationary_mode")}return E}()})]}),h&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:h,disabled:d,onClick:function(){function E(){return u("ejectpai")}return E}()})})]})})})}return y}()},4249:function(w,r,n){"use strict";r.__esModule=!0,r.BotSecurity=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(69521),V=r.BotSecurity=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.noaccess,d=c.painame,l=c.check_id,s=c.check_weapons,i=c.check_warrant,p=c.arrest_mode,v=c.arrest_declare;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:445,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,f.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Who To Arrest",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:l,content:"Unidentifiable Persons",disabled:m,onClick:function(){function g(){return u("authid")}return g}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:s,content:"Unauthorized Weapons",disabled:m,onClick:function(){function g(){return u("authweapon")}return g}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:i,content:"Wanted Criminals",disabled:m,onClick:function(){function g(){return u("authwarrant")}return g}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Arrest Procedure",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:p,content:"Detain Targets Indefinitely",disabled:m,onClick:function(){function g(){return u("arrtype")}return g}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:v,content:"Announce Arrests On Radio",disabled:m,onClick:function(){function g(){return u("arrdeclare")}return g}()})]}),d&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:d,disabled:m,onClick:function(){function g(){return u("ejectpai")}return g}()})})]})})}return y}()},27267:function(w,r,n){"use strict";r.__esModule=!0,r.BrigCells=void 0;var e=n(96524),a=n(45493),t=n(24674),o=n(17899),f=function(k,C){var u=k.cell,c=(0,o.useBackend)(C),m=c.act,d=u.cell_id,l=u.occupant,s=u.crimes,i=u.brigged_by,p=u.time_left_seconds,v=u.time_set_seconds,g=u.ref,h="";p>0&&(h+=" BrigCells__listRow--active");var N=function(){m("release",{ref:g})};return(0,e.createComponentVNode)(2,t.Table.Row,{className:h,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:d}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.TimeDisplay,{totalSeconds:v})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.TimeDisplay,{totalSeconds:p})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{type:"button",onClick:N,children:"Release"})})]})},V=function(k){var C=k.cells;return(0,e.createComponentVNode)(2,t.Table,{className:"BrigCells__list",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Cell"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Occupant"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Crimes"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Brigged By"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Time Brigged For"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Time Left"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Release"})]}),C.map(function(u){return(0,e.createComponentVNode)(2,f,{cell:u},u.ref)})]})},y=r.BrigCells=function(){function S(k,C){var u=(0,o.useBackend)(C),c=u.act,m=u.data,d=m.cells;return(0,e.createComponentVNode)(2,a.Window,{theme:"security",width:800,height:400,children:(0,e.createComponentVNode)(2,a.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V,{cells:d})})})})})}return S}()},26623:function(w,r,n){"use strict";r.__esModule=!0,r.BrigTimer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.BrigTimer=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data;u.nameText=u.occupant,u.timing&&(u.prisoner_hasrec?u.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:u.occupant}):u.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:u.occupant}));var c="pencil-alt";u.prisoner_name&&(u.prisoner_hasrec||(c="exclamation-triangle"));var m=[],d=0;for(d=0;dm?this.substring(0,m)+"...":this};var k=function(d,l){var s,i;if(!l)return[];var p=d.findIndex(function(v){return v.name===l.name});return[(s=d[p-1])==null?void 0:s.name,(i=d[p+1])==null?void 0:i.name]},C=function(d,l){l===void 0&&(l="");var s=(0,f.createSearch)(l,function(i){return i.name});return(0,t.flow)([(0,a.filter)(function(i){return i==null?void 0:i.name}),l&&(0,a.filter)(s),(0,a.sortBy)(function(i){return i.name})])(d)},u=r.CameraConsole=function(){function m(d,l){var s=(0,V.useBackend)(l),i=s.act,p=s.data,v=s.config,g=p.mapRef,h=p.activeCamera,N=C(p.cameras),b=k(N,h),B=b[0],I=b[1];return(0,e.createComponentVNode)(2,S.Window,{width:870,height:708,children:[(0,e.createVNode)(1,"div","CameraConsole__left",(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,c)})}),2),(0,e.createVNode)(1,"div","CameraConsole__right",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"Camera: ",16),h&&h.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-left",disabled:!B,onClick:function(){function L(){return i("switch_camera",{name:B})}return L}()}),(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-right",disabled:!I,onClick:function(){function L(){return i("switch_camera",{name:I})}return L}()})],4),(0,e.createComponentVNode)(2,y.ByondUi,{className:"CameraConsole__map",params:{id:g,type:"map"}})],4)]})}return m}(),c=r.CameraConsoleContent=function(){function m(d,l){var s=(0,V.useBackend)(l),i=s.act,p=s.data,v=(0,V.useLocalState)(l,"searchText",""),g=v[0],h=v[1],N=p.activeCamera,b=C(p.cameras,g);return(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Input,{fluid:!0,placeholder:"Search for a camera",onInput:function(){function B(I,L){return h(L)}return B}()})}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,scrollable:!0,children:b.map(function(B){return(0,e.createVNode)(1,"div",(0,o.classes)(["Button","Button--fluid","Button--color--transparent",N&&B.name===N.name&&"Button--selected"]),B.name.trimLongStr(23),0,{title:B.name,onClick:function(){function I(){return i("switch_camera",{name:B.name})}return I}()},B.name)})})})]})}return m}()},9300:function(w,r,n){"use strict";r.__esModule=!0,r.CameraConsoleOldContent=r.CameraConsoleMapContent=r.CameraConsole220=void 0;var e=n(96524),a=n(50640),t=n(74041),o=n(28234),f=n(78234),V=n(17899),y=n(24674),S=n(45493),k=function(l,s){var i,p;if(!s)return[];var v=l.findIndex(function(g){return g.name===s.name});return[(i=l[v-1])==null?void 0:i.name,(p=l[v+1])==null?void 0:p.name]},C=function(l,s){s===void 0&&(s="");var i=(0,f.createSearch)(s,function(p){return p.name});return(0,t.flow)([(0,a.filter)(function(p){return p==null?void 0:p.name}),s&&(0,a.filter)(i),(0,a.sortBy)(function(p){return p.name})])(l)},u=r.CameraConsole220=function(){function d(l,s){var i=(0,V.useLocalState)(s,"tabIndex",0),p=i[0],v=i[1],g=function(){function h(N){switch(N){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,m);default:return"WE SHOULDN'T BE HERE!"}}return h}();return(0,e.createComponentVNode)(2,S.Window,{width:1170,height:755,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,y.Stack,{children:(0,e.createComponentVNode)(2,y.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{width:p===1?"222px":"475px",textAlign:"center",children:(0,e.createComponentVNode)(2,y.Tabs,{fluid:!0,ml:p===1?1:0,mt:p===1?1:0,children:[(0,e.createComponentVNode)(2,y.Tabs.Tab,{selected:p===0,onClick:function(){function h(){return v(0)}return h}(),children:[(0,e.createComponentVNode)(2,y.Icon,{name:"map-marked-alt"})," \u041A\u0430\u0440\u0442\u0430"]},"Map"),(0,e.createComponentVNode)(2,y.Tabs.Tab,{selected:p===1,onClick:function(){function h(){return v(1)}return h}(),children:[(0,e.createComponentVNode)(2,y.Icon,{name:"table"})," \u0421\u043F\u0438\u0441\u043E\u043A"]},"List")]})}),g(p)]})})})})}return d}(),c=r.CameraConsoleMapContent=function(){function d(l,s){var i=(0,V.useBackend)(s),p=i.act,v=i.data,g=C(v.cameras),h=(0,V.useLocalState)(s,"zoom",1),N=h[0],b=h[1],B=v.mapRef,I=v.activeCamera,L=v.stationLevel,T=k(g,I),x=T[0],A=T[1];return(0,e.createComponentVNode)(2,y.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{height:"100%",style:{flex:"0 0 474px"},children:(0,e.createComponentVNode)(2,y.NanoMap,{onZoom:function(){function E(M){return b(M)}return E}(),children:g.filter(function(E){return E.z===L}).map(function(E){return(0,e.createComponentVNode)(2,y.NanoMap.NanoButton,{activeCamera:I,x:E.x,y:E.y,context:s,zoom:N,icon:"circle",tooltip:E.name,name:E.name,color:"blue",status:E.status},E.ref)})})}),(0,e.createComponentVNode)(2,y.Stack.Item,{height:"100%",m:.1,className:"CameraConsole__right_map",children:[(0,e.createVNode)(1,"div","CameraConsole__header",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"\u041A\u0430\u043C\u0435\u0440\u0430: ",16),I&&I.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-left",disabled:!x,onClick:function(){function E(){return p("switch_camera",{name:x})}return E}()}),(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-right",disabled:!A,onClick:function(){function E(){return p("switch_camera",{name:A})}return E}()})],4)],4),(0,e.createComponentVNode)(2,y.ByondUi,{className:"CameraConsole__map",overflow:"hidden",params:{id:B,type:"map"}})]})]})}return d}(),m=r.CameraConsoleOldContent=function(){function d(l,s){var i=(0,V.useBackend)(s),p=i.act,v=i.data,g=i.config,h=v.mapRef,N=v.activeCamera,b=(0,V.useLocalState)(s,"searchText",""),B=b[0],I=b[1],L=C(v.cameras,B),T=k(L,N),x=T[0],A=T[1];return(0,e.createComponentVNode)(2,y.Stack.Item,{children:[(0,e.createVNode)(1,"div","CameraConsole__left",(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Input,{width:"215px",placeholder:"\u041D\u0430\u0439\u0442\u0438 \u043A\u0430\u043C\u0435\u0440\u0443",onInput:function(){function E(M,D){return I(D)}return E}()})}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,scrollable:!0,children:L.map(function(E){return(0,e.createVNode)(1,"div",(0,o.classes)(["Button","Button--fluid",E.status?"Button--color--transparent":"Button--color--danger","Button--ellipsis",N&&E.name===N.name&&"Button--selected"]),E.name,0,{title:E.name,onClick:function(){function M(){return p("switch_camera",{name:E.name})}return M}()},E.name)})})})]})}),2),(0,e.createVNode)(1,"div","CameraConsole__right",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"\u041A\u0430\u043C\u0435\u0440\u0430: ",16),N&&N.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-left",disabled:!x,onClick:function(){function E(){return p("switch_camera",{name:x})}return E}()}),(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-right",disabled:!A,onClick:function(){function E(){return p("switch_camera",{name:A})}return E}()})],4),(0,e.createComponentVNode)(2,y.ByondUi,{className:"CameraConsole__map",params:{id:h,type:"map"}})],4)]})}return d}()},95513:function(w,r,n){"use strict";r.__esModule=!0,r.Canister=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(92986),V=n(45493),y=r.Canister=function(){function S(k,C){var u=(0,t.useBackend)(C),c=u.act,m=u.data,d=m.portConnected,l=m.tankPressure,s=m.releasePressure,i=m.defaultReleasePressure,p=m.minReleasePressure,v=m.maxReleasePressure,g=m.valveOpen,h=m.name,N=m.canLabel,b=m.colorContainer,B=m.color_index,I=m.hasHoldingTank,L=m.holdingTank,T="";B.prim&&(T=b.prim.options[B.prim].name);var x="";B.sec&&(x=b.sec.options[B.sec].name);var A="";B.ter&&(A=b.ter.options[B.ter].name);var E="";B.quart&&(E=b.quart.options[B.quart].name);var M=[],D=[],P=[],R=[],j=0;for(j=0;jh.current_positions&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:h.total_positions-h.current_positions})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"0"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{content:"-",disabled:i.cooldown_time||!h.can_close,onClick:function(){function N(){return s("make_job_unavailable",{job:h.title})}return N}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{content:"+",disabled:i.cooldown_time||!h.can_open,onClick:function(){function N(){return s("make_job_available",{job:h.title})}return N}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:i.target_dept&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:i.priority_jobs.indexOf(h.title)>-1?"Yes":""})||(0,e.createComponentVNode)(2,t.Button,{content:h.is_priority?"Yes":"No",selected:h.is_priority,disabled:i.cooldown_time||!h.can_prioritize,onClick:function(){function N(){return s("prioritize_job",{job:h.title})}return N}()})})]},h.title)})]})})]}):g=(0,e.createComponentVNode)(2,S);break;case 2:!i.authenticated||!i.scan_name?g=(0,e.createComponentVNode)(2,S):i.modify_name?g=(0,e.createComponentVNode)(2,f.AccessList,{accesses:i.regions,selectedList:i.selectedAccess,accessMod:function(){function h(N){return s("set",{access:N})}return h}(),grantAll:function(){function h(){return s("grant_all")}return h}(),denyAll:function(){function h(){return s("clear_all")}return h}(),grantDep:function(){function h(N){return s("grant_region",{region:N})}return h}(),denyDep:function(){function h(N){return s("deny_region",{region:N})}return h}()}):g=(0,e.createComponentVNode)(2,k);break;case 3:i.authenticated?i.records.length?g=(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Records",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Delete All Records",disabled:!i.authenticated||i.records.length===0||i.target_dept,onClick:function(){function h(){return s("wipe_all_logs")}return h}()}),children:[(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Crewman"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Old Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"New Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Authorized By"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Time"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Reason"}),!!i.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Deleted By"})]}),i.records.map(function(h){return(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.transferee}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.oldvalue}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.newvalue}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.whodidit}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.timestamp}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.reason}),!!i.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.deletedby})]},h.timestamp)})]}),!!i.iscentcom&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Delete MY Records",color:"purple",disabled:!i.authenticated||i.records.length===0,onClick:function(){function h(){return s("wipe_my_logs")}return h}()})})]}):g=(0,e.createComponentVNode)(2,C):g=(0,e.createComponentVNode)(2,S);break;case 4:!i.authenticated||!i.scan_name?g=(0,e.createComponentVNode)(2,S):g=(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Your Team",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Sec Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Actions"})]}),i.people_dept.map(function(h){return(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.title}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.crimstat}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:h.buttontext,disabled:!h.demotable,onClick:function(){function N(){return s("remote_demote",{remote_demote:h.name})}return N}()})})]},h.title)})]})});break;default:g=(0,e.createComponentVNode)(2,t.Section,{title:"Warning",color:"red",children:"ERROR: Unknown Mode."})}return(0,e.createComponentVNode)(2,o.Window,{width:800,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:v}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:p}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:g})]})})})}return c}()},16377:function(w,r,n){"use strict";r.__esModule=!0,r.CargoConsole=void 0;var e=n(96524),a=n(74041),t=n(50640),o=n(17899),f=n(24674),V=n(45493),y=n(78234),S=r.CargoConsole=function(){function l(s,i){return(0,e.createComponentVNode)(2,V.Window,{width:900,height:800,children:(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,d)]})})})}return l}(),k=function(s,i){var p=(0,o.useLocalState)(i,"contentsModal",null),v=p[0],g=p[1],h=(0,o.useLocalState)(i,"contentsModalTitle",null),N=h[0],b=h[1];if(v!==null&&N!==null)return(0,e.createComponentVNode)(2,f.Modal,{maxWidth:"75%",width:window.innerWidth+"px",maxHeight:window.innerHeight*.75+"px",mx:"auto",children:[(0,e.createComponentVNode)(2,f.Box,{width:"100%",bold:!0,children:(0,e.createVNode)(1,"h1",null,[N,(0,e.createTextVNode)(" contents:")],0)}),(0,e.createComponentVNode)(2,f.Box,{children:v.map(function(B){return(0,e.createComponentVNode)(2,f.Box,{children:["- ",B]},B)})}),(0,e.createComponentVNode)(2,f.Box,{m:2,children:(0,e.createComponentVNode)(2,f.Button,{content:"Close",onClick:function(){function B(){g(null),b(null)}return B}()})})]})},C=function(s,i){var p=(0,o.useBackend)(i),v=p.act,g=p.data,h=g.is_public,N=g.timeleft,b=g.moving,B=g.at_station,I,L;return!b&&!B?(I="Docked off-station",L="Call Shuttle"):!b&&B?(I="Docked at the station",L="Return Shuttle"):b&&(L="In Transit...",N!==1?I="Shuttle is en route (ETA: "+N+" minutes)":I="Shuttle is en route (ETA: "+N+" minute)"),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:"Status",children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Shuttle Status",children:I}),h===0&&(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,f.Button,{content:L,disabled:b,onClick:function(){function T(){return v("moveShuttle")}return T}()}),(0,e.createComponentVNode)(2,f.Button,{content:"View Central Command Messages",onClick:function(){function T(){return v("showMessages")}return T}()})]})]})})})},u=function(s,i){var p,v=(0,o.useBackend)(i),g=v.act,h=v.data,N=h.accounts,b=(0,o.useLocalState)(i,"selectedAccount"),B=b[0],I=b[1],L=[];return N.map(function(T){return L[T.name]=T.account_UID}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:"Payment",children:[(0,e.createComponentVNode)(2,f.Dropdown,{width:"190px",options:N.map(function(T){return T.name}),selected:(p=N.filter(function(T){return T.account_UID===B})[0])==null?void 0:p.name,onSelected:function(){function T(x){return I(L[x])}return T}()}),N.filter(function(T){return T.account_UID===B}).map(function(T){return(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Account Name",children:(0,e.createComponentVNode)(2,f.Stack.Item,{mt:1,children:T.name})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Balance",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:T.balance})})]},T.account_UID)})]})})},c=function(s,i){var p=(0,o.useBackend)(i),v=p.act,g=p.data,h=g.requests,N=g.categories,b=g.supply_packs,B=(0,o.useSharedState)(i,"category","Emergency"),I=B[0],L=B[1],T=(0,o.useSharedState)(i,"search_text",""),x=T[0],A=T[1],E=(0,o.useLocalState)(i,"contentsModal",null),M=E[0],D=E[1],P=(0,o.useLocalState)(i,"contentsModalTitle",null),R=P[0],j=P[1],F=(0,y.createSearch)(x,function(X){return X.name}),W=(0,o.useLocalState)(i,"selectedAccount"),_=W[0],K=W[1],$=(0,a.flow)([(0,t.filter)(function(X){return X.cat===N.filter(function(J){return J.name===I})[0].category||x}),x&&(0,t.filter)(F),(0,t.sortBy)(function(X){return X.name.toLowerCase()})])(b),G="Crate Catalogue";return x?G="Results for '"+x+"':":I&&(G="Browsing "+I),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:G,buttons:(0,e.createComponentVNode)(2,f.Dropdown,{width:"190px",options:N.map(function(X){return X.name}),selected:I,onSelected:function(){function X(J){return L(J)}return X}()}),children:[(0,e.createComponentVNode)(2,f.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function X(J,ue){return A(ue)}return X}(),mb:1}),(0,e.createComponentVNode)(2,f.Box,{maxHeight:25,overflowY:"auto",overflowX:"hidden",children:(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:$.map(function(X){return(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{bold:!0,children:[X.name," (",X.cost," Credits)"]}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",pr:1,children:[(0,e.createComponentVNode)(2,f.Button,{content:"Order 1",icon:"shopping-cart",disabled:!_,onClick:function(){function J(){return v("order",{crate:X.ref,multiple:!1,account:_})}return J}()}),(0,e.createComponentVNode)(2,f.Button,{content:"Order Multiple",icon:"cart-plus",disabled:!_||X.singleton,onClick:function(){function J(){return v("order",{crate:X.ref,multiple:!0,account:_})}return J}()}),(0,e.createComponentVNode)(2,f.Button,{content:"View Contents",icon:"search",onClick:function(){function J(){D(X.contents),j(X.name)}return J}()})]})]},X.name)})})})]})})},m=function(s,i){var p=s.request,v,g;switch(p.department){case"Engineering":g="CE",v="orange";break;case"Medical":g="CMO",v="teal";break;case"Science":g="RD",v="purple";break;case"Supply":g="CT",v="brown";break;case"Service":g="HOP",v="olive";break;case"Security":g="HOS",v="red";break;case"Command":g="CAP",v="blue";break;case"Assistant":g="Any Head",v="grey";break}return(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{mt:.5,children:"Approval Required:"}),!!p.req_cargo_approval&&(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button,{color:"brown",content:"QM",icon:"user-tie",tooltip:"This Order requires approval from the QM still"})}),!!p.req_head_approval&&(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button,{color:v,content:g,disabled:p.req_cargo_approval,icon:"user-tie",tooltip:p.req_cargo_approval?"This Order first requires approval from the QM before the "+g+" can approve it":"This Order requires approval from the "+g+" still"})})]})},d=function(s,i){var p=(0,o.useBackend)(i),v=p.act,g=p.data,h=g.requests,N=g.orders,b=g.shipments;return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,title:"Orders",children:[(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Requests"}),(0,e.createComponentVNode)(2,f.Table,{children:h.map(function(B){return(0,e.createComponentVNode)(2,f.Table.Row,{className:"Cargo_RequestList",children:[(0,e.createComponentVNode)(2,f.Table.Cell,{mb:1,children:[(0,e.createComponentVNode)(2,f.Box,{children:["Order #",B.ordernum,": ",B.supply_type," (",B.cost," credits) for"," ",(0,e.createVNode)(1,"b",null,B.orderedby,0)," with"," ",B.department?"The "+B.department+" Department":"Their Personal"," ","Account"]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",B.comment]}),(0,e.createComponentVNode)(2,m,{request:B})]}),(0,e.createComponentVNode)(2,f.Stack.Item,{textAlign:"right",children:[(0,e.createComponentVNode)(2,f.Button,{content:"Approve",color:"green",disabled:!B.can_approve,onClick:function(){function I(){return v("approve",{ordernum:B.ordernum})}return I}()}),(0,e.createComponentVNode)(2,f.Button,{content:"Deny",color:"red",disabled:!B.can_deny,onClick:function(){function I(){return v("deny",{ordernum:B.ordernum})}return I}()})]})]},B.ordernum)})}),(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Orders Awaiting Delivery"}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:N.map(function(B){return(0,e.createComponentVNode)(2,f.Table.Row,{children:(0,e.createComponentVNode)(2,f.Table.Cell,{children:[(0,e.createComponentVNode)(2,f.Box,{children:["- #",B.ordernum,": ",B.supply_type," for ",(0,e.createVNode)(1,"b",null,B.orderedby,0)]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",B.comment]})]})},B.ordernum)})}),(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Order in Transit"}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:b.map(function(B){return(0,e.createComponentVNode)(2,f.Table.Row,{children:(0,e.createComponentVNode)(2,f.Table.Cell,{children:[(0,e.createComponentVNode)(2,f.Box,{children:["- #",B.ordernum,": ",B.supply_type," for ",(0,e.createVNode)(1,"b",null,B.orderedby,0)]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",B.comment]})]})},B.ordernum)})})]})}},89917:function(w,r,n){"use strict";r.__esModule=!0,r.ChangelogView=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ChangelogView=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=(0,a.useLocalState)(S,"onlyRecent",0),m=c[0],d=c[1],l=u.cl_data,s=u.last_cl,i={FIX:(0,e.createComponentVNode)(2,t.Icon,{name:"tools",title:"Fix"}),WIP:(0,e.createComponentVNode)(2,t.Icon,{name:"hard-hat",title:"WIP",color:"orange"}),TWEAK:(0,e.createComponentVNode)(2,t.Icon,{name:"sliders-h",title:"Tweak"}),SOUNDADD:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-up",title:"Sound Added",color:"green"}),SOUNDDEL:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-mute",title:"Sound Removed",color:"red"}),CODEADD:(0,e.createComponentVNode)(2,t.Icon,{name:"plus",title:"Code Addition",color:"green"}),CODEDEL:(0,e.createComponentVNode)(2,t.Icon,{name:"minus",title:"Code Removal",color:"red"}),IMAGEADD:(0,e.createComponentVNode)(2,t.Icon,{name:"folder-plus",title:"Sprite Addition",color:"green"}),IMAGEDEL:(0,e.createComponentVNode)(2,t.Icon,{name:"folder-minus",title:"Sprite Removal",color:"red"}),SPELLCHECK:(0,e.createComponentVNode)(2,t.Icon,{name:"font",title:"Spelling/Grammar Fix"}),EXPERIMENT:(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle",title:"Experimental",color:"orange"})},p=function(){function v(g){return g in i?i[g]:(0,e.createComponentVNode)(2,t.Icon,{name:"plus",color:"green"})}return v}();return(0,e.createComponentVNode)(2,o.Window,{width:750,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"ParadiseSS13 Changelog",mt:2,buttons:(0,e.createComponentVNode)(2,t.Button,{content:m?"Showing all changes":"Showing changes since last connection",onClick:function(){function v(){return d(!m)}return v}()}),children:l.map(function(v){return!m&&v.merge_ts<=s||(0,e.createComponentVNode)(2,t.Section,{mb:2,title:v.author+" - Merged on "+v.merge_date,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"#"+v.num,onClick:function(){function g(){return C("open_pr",{pr_number:v.num})}return g}()}),children:v.entries.map(function(g){return(0,e.createComponentVNode)(2,t.Box,{m:1,children:[p(g.etype)," ",g.etext]},g)})},v)})})})})}return V}()},71254:function(w,r,n){"use strict";r.__esModule=!0,r.ChemDispenser=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(1496),f=n(45493),V=[1,5,10,20,30,50],y=[1,5,10],S=r.ChemDispenser=function(){function c(m,d){var l=(0,a.useBackend)(d),s=l.act,i=l.data,p=i.chemicals;return(0,e.createComponentVNode)(2,f.Window,{width:400,height:400+p.length*8,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,u)]})})})}return c}(),k=function(m,d){var l=(0,a.useBackend)(d),s=l.act,i=l.data,p=i.amount,v=i.energy,g=i.maxEnergy;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:v,minValue:0,maxValue:g,ranges:{good:[g*.5,1/0],average:[g*.25,g*.5],bad:[-1/0,g*.25]},children:[v," / ",g," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dispense",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{children:V.map(function(h,N){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"15%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"cog",selected:p===h,content:h,onClick:function(){function b(){return s("amount",{amount:h})}return b}()})},N)})})})]})})})},C=function(m,d){for(var l=(0,a.useBackend)(d),s=l.act,i=l.data,p=i.chemicals,v=p===void 0?[]:p,g=[],h=0;h<(v.length+1)%3;h++)g.push(!0);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:i.glass?"Drink Dispenser":"Chemical Dispenser",children:[v.map(function(N,b){return(0,e.createComponentVNode)(2,t.Button,{m:.1,width:"32.5%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",content:N.title,style:{"margin-left":"2px"},onClick:function(){function B(){return s("dispense",{reagent:N.id})}return B}()},b)}),g.map(function(N,b){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%"},b)})]})})},u=function(m,d){var l=(0,a.useBackend)(d),s=l.act,i=l.data,p=i.isBeakerLoaded,v=i.beakerCurrentVolume,g=i.beakerMaxVolume,h=i.beakerContents,N=h===void 0?[]:h;return(0,e.createComponentVNode)(2,t.Stack.Item,{height:16,children:(0,e.createComponentVNode)(2,t.Section,{title:i.glass?"Glass":"Beaker",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,t.Box,{children:[!!p&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"label",mr:2,children:[v," / ",g," units"]}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject",disabled:!p,onClick:function(){function b(){return s("ejectBeaker")}return b}()})]}),children:(0,e.createComponentVNode)(2,o.BeakerContents,{beakerLoaded:p,beakerContents:N,buttons:function(){function b(B){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Isolate",icon:"compress-arrows-alt",onClick:function(){function I(){return s("remove",{reagent:B.id,amount:-1})}return I}()}),y.map(function(I,L){return(0,e.createComponentVNode)(2,t.Button,{content:I,onClick:function(){function T(){return s("remove",{reagent:B.id,amount:I})}return T}()},L)}),(0,e.createComponentVNode)(2,t.Button,{content:"ALL",onClick:function(){function I(){return s("remove",{reagent:B.id,amount:B.volume})}return I}()})],0)}return b}()})})})}},27004:function(w,r,n){"use strict";r.__esModule=!0,r.ChemHeater=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(1496),V=n(45493),y=r.ChemHeater=function(){function C(u,c){return(0,e.createComponentVNode)(2,V.Window,{width:350,height:275,children:(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,k)]})})})}return C}(),S=function(u,c){var m=(0,t.useBackend)(c),d=m.act,l=m.data,s=l.targetTemp,i=l.targetTempReached,p=l.autoEject,v=l.isActive,g=l.currentTemp,h=l.isBeakerLoaded;return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Settings",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Auto-eject",icon:p?"toggle-on":"toggle-off",selected:p,onClick:function(){function N(){return d("toggle_autoeject")}return N}()}),(0,e.createComponentVNode)(2,o.Button,{content:v?"On":"Off",icon:"power-off",selected:v,disabled:!h,onClick:function(){function N(){return d("toggle_on")}return N}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"65px",unit:"K",step:10,stepPixelSize:3,value:(0,a.round)(s,0),minValue:0,maxValue:1e3,onDrag:function(){function N(b,B){return d("adjust_temperature",{target:B})}return N}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Reading",color:i?"good":"average",children:h&&(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:g,format:function(){function N(b){return(0,a.toFixed)(b)+" K"}return N}()})||"\u2014"})]})})})},k=function(u,c){var m=(0,t.useBackend)(c),d=m.act,l=m.data,s=l.isBeakerLoaded,i=l.beakerCurrentVolume,p=l.beakerMaxVolume,v=l.beakerContents;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Beaker",fill:!0,scrollable:!0,buttons:!!s&&(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"label",mr:2,children:[i," / ",p," units"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject",onClick:function(){function g(){return d("eject_beaker")}return g}()})]}),children:(0,e.createComponentVNode)(2,f.BeakerContents,{beakerLoaded:s,beakerContents:v})})})}},41099:function(w,r,n){"use strict";r.__esModule=!0,r.ChemMaster=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(1496),V=n(99665),y=n(28234),S=["icon"];function k(I,L){if(I==null)return{};var T={},x=Object.keys(I),A,E;for(E=0;E=0)&&(T[A]=I[A]);return T}function C(I,L){I.prototype=Object.create(L.prototype),I.prototype.constructor=I,u(I,L)}function u(I,L){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function T(x,A){return x.__proto__=A,x}return T}(),u(I,L)}var c=[1,5,10],m=function(L,T){var x=(0,a.useBackend)(T),A=x.act,E=x.data,M=L.args.analysis;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:E.condi?"Condiment Analysis":"Reagent Analysis",children:(0,e.createComponentVNode)(2,t.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:M.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:(M.desc||"").length>0?M.desc:"N/A"}),M.blood_type&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood type",children:M.blood_type}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood DNA",className:"LabeledList__breakContents",children:M.blood_dna})],4),!E.condi&&(0,e.createComponentVNode)(2,t.Button,{icon:E.printing?"spinner":"print",disabled:E.printing,iconSpin:!!E.printing,ml:"0.5rem",content:"Print",onClick:function(){function D(){return A("print",{idx:M.idx,beaker:L.args.beaker})}return D}()})]})})})})},d=function(I){return I[I.ToDisposals=0]="ToDisposals",I[I.ToBeaker=1]="ToBeaker",I}(d||{}),l=r.ChemMaster=function(){function I(L,T){return(0,e.createComponentVNode)(2,o.Window,{width:575,height:650,children:[(0,e.createComponentVNode)(2,V.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,s),(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,B)]})})]})}return I}(),s=function(L,T){var x=(0,a.useBackend)(T),A=x.act,E=x.data,M=E.beaker,D=E.beaker_reagents,P=E.buffer_reagents,R=P.length>0;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Beaker",fill:!0,scrollable:!0,buttons:R?(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"eject",disabled:!M,content:"Eject and Clear Buffer",onClick:function(){function j(){return A("eject")}return j}()}):(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!M,content:"Eject and Clear Buffer",onClick:function(){function j(){return A("eject")}return j}()}),children:M?(0,e.createComponentVNode)(2,f.BeakerContents,{beakerLoaded:!0,beakerContents:D,buttons:function(){function j(F,W){return(0,e.createComponentVNode)(2,t.Box,{mb:W0?(0,e.createComponentVNode)(2,f.BeakerContents,{beakerLoaded:!0,beakerContents:D,buttons:function(){function P(R,j){return(0,e.createComponentVNode)(2,t.Box,{mb:j0&&(R=P.map(function(j){var F=j.id,W=j.sprite;return(0,e.createComponentVNode)(2,N,{icon:W,color:"translucent",onClick:function(){function _(){return A("set_sprite_style",{production_mode:M,style:F})}return _}(),selected:D===F},F)})),(0,e.createComponentVNode)(2,h,{productionData:L.productionData,children:R&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Style",children:R})})},B=function(L,T){var x=(0,a.useBackend)(T),A=x.act,E=x.data,M=E.loaded_pill_bottle_style,D=E.containerstyles,P=E.loaded_pill_bottle,R={width:"20px",height:"20px"},j=D.map(function(F){var W=F.color,_=F.name,K=M===W;return(0,e.createComponentVNode)(2,t.Button,{style:{position:"relative",width:R.width,height:R.height},onClick:function(){function $(){return A("set_container_style",{style:W})}return $}(),icon:K&&"check",iconStyle:{position:"relative","z-index":1},tooltip:_,tooltipPosition:"top",children:[!K&&(0,e.createVNode)(1,"div",null,null,1,{style:{display:"inline-block"}}),(0,e.createVNode)(1,"span","Button",null,1,{style:{display:"inline-block",position:"absolute",top:0,left:0,margin:0,padding:0,width:R.width,height:R.height,"background-color":W,opacity:.6,filter:"alpha(opacity=60)"}})]},W)});return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Container Customization",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!P,content:"Eject Container",onClick:function(){function F(){return A("ejectp")}return F}()}),children:P?(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Style",children:[(0,e.createComponentVNode)(2,t.Button,{style:{width:R.width,height:R.height},icon:"tint-slash",onClick:function(){function F(){return A("clear_container_style")}return F}(),selected:!M,tooltip:"Default",tooltipPosition:"top"}),j]})}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"No pill bottle or patch pack loaded."})})})};(0,V.modalRegisterBodyOverride)("analyze",m)},51327:function(w,r,n){"use strict";r.__esModule=!0,r.CloningConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(17442),V=1,y=32,S=128,k=r.CloningConsole=function(){function l(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.tab,N=g.has_scanner,b=g.pod_amount;return(0,e.createComponentVNode)(2,o.Window,{width:640,height:520,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Cloning Console",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Connected scanner",children:N?"Online":"Missing"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Connected pods",children:b})]})}),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:h===1,icon:"home",onClick:function(){function B(){return v("menu",{tab:1})}return B}(),children:"Main Menu"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:h===2,icon:"user",onClick:function(){function B(){return v("menu",{tab:2})}return B}(),children:"Damage Configuration"})]}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,C)})]})})}return l}(),C=function(s,i){var p=(0,a.useBackend)(i),v=p.data,g=v.tab,h;return g===1?h=(0,e.createComponentVNode)(2,u):g===2&&(h=(0,e.createComponentVNode)(2,c)),h},u=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.pods,N=g.pod_amount,b=g.selected_pod_UID;return(0,e.createComponentVNode)(2,t.Box,{children:[!N&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Notice: No pods connected."}),!!N&&h.map(function(B,I){return(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Pod "+(I+1),children:(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"96px",shrink:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:(0,f.resolveAsset)("pod_"+(B.cloning?"cloning":"idle")+".gif"),style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Button,{selected:b===B.uid,onClick:function(){function L(){return v("select_pod",{uid:B.uid})}return L}(),children:"Select"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Progress",children:[!B.cloning&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Pod is inactive."}),!!B.cloning&&(0,e.createComponentVNode)(2,t.ProgressBar,{value:B.clone_progress,maxValue:100,color:"good"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Biomass",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:B.biomass,ranges:{good:[2*B.biomass_storage_capacity/3,B.biomass_storage_capacity],average:[B.biomass_storage_capacity/3,2*B.biomass_storage_capacity/3],bad:[0,B.biomass_storage_capacity/3]},minValue:0,maxValue:B.biomass_storage_capacity,children:[B.biomass,"/",B.biomass_storage_capacity+" ("+100*B.biomass/B.biomass_storage_capacity+"%)"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sanguine Reagent",children:B.sanguine_reagent}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Osseous Reagent",children:B.osseous_reagent})]})})]})},B)})]})},c=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.selected_pod_data,N=g.has_scanned,b=g.scanner_has_patient,B=g.feedback,I=g.scan_successful,L=g.cloning_cost,T=g.has_scanner;return(0,e.createComponentVNode)(2,t.Box,{children:[!T&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Notice: No scanner connected."}),!!T&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Scanner Info",buttons:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hourglass-half",onClick:function(){function x(){return v("scan")}return x}(),children:"Scan"}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",onClick:function(){function x(){return v("eject")}return x}(),children:"Eject Patient"})]}),children:[!N&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:b?"No scan detected for current patient.":"No patient is in the scanner."}),!!N&&(0,e.createComponentVNode)(2,t.Box,{color:B.color,children:B.text})]}),(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Damages Breakdown",children:(0,e.createComponentVNode)(2,t.Box,{children:[(!I||!N)&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No valid scan detected."}),!!I&&!!N&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function x(){return v("fix_all")}return x}(),children:"Repair All Damages"}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function x(){return v("fix_none")}return x}(),children:"Repair No Damages"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function x(){return v("clone")}return x}(),children:"Clone"})})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"25px",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:L[0],maxValue:h.biomass_storage_capacity,ranges:{bad:[2*h.biomass_storage_capacity/3,h.biomass_storage_capacity],average:[h.biomass_storage_capacity/3,2*h.biomass_storage_capacity/3],good:[0,h.biomass_storage_capacity/3]},color:L[0]>h.biomass?"bad":null,children:["Biomass: ",L[0],"/",h.biomass,"/",h.biomass_storage_capacity]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:L[1],maxValue:h.max_reagent_capacity,ranges:{bad:[2*h.max_reagent_capacity/3,h.max_reagent_capacity],average:[h.max_reagent_capacity/3,2*h.max_reagent_capacity/3],good:[0,h.max_reagent_capacity/3]},color:L[1]>h.sanguine_reagent?"bad":"good",children:["Sanguine: ",L[1],"/",h.sanguine_reagent,"/",h.max_reagent_capacity]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:L[2],maxValue:h.max_reagent_capacity,ranges:{bad:[2*h.max_reagent_capacity/3,h.max_reagent_capacity],average:[h.max_reagent_capacity/3,2*h.max_reagent_capacity/3],good:[0,h.max_reagent_capacity/3]},color:L[2]>h.osseous_reagent?"bad":"good",children:["Osseous: ",L[2],"/",h.osseous_reagent,"/",h.max_reagent_capacity]})})]}),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,d)]})]})})]})]})},m=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.patient_limb_data,N=g.limb_list,b=g.desired_limb_data;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Limbs",children:N.map(function(B,I){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Stack,{align:"baseline",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"15%",height:"20px",children:[h[B][4],":"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),h[B][3]===0&&(0,e.createComponentVNode)(2,t.Stack.Item,{width:"60%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:b[B][0]+b[B][1],maxValue:h[B][5],ranges:{good:[0,h[B][5]/3],average:[h[B][5]/3,2*h[B][5]/3],bad:[2*h[B][5]/3,h[B][5]]},children:["Post-Cloning Damage: ",(0,e.createComponentVNode)(2,t.Icon,{name:"bone"})," "+b[B][0]+" / ",(0,e.createComponentVNode)(2,t.Icon,{name:"fire"})," "+b[B][1]]})}),h[B][3]!==0&&(0,e.createComponentVNode)(2,t.Stack.Item,{width:"60%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:"bad",value:0,children:["The patient's ",h[B][4]," is missing!"]})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[!!h[B][3]&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!b[B][3],onClick:function(){function L(){return v("toggle_limb_repair",{limb:B,type:"replace"})}return L}(),children:"Replace Limb"})}),!h[B][3]&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(h[B][0]||h[B][1]),checked:!(b[B][0]||b[B][1]),onClick:function(){function L(){return v("toggle_limb_repair",{limb:B,type:"damage"})}return L}(),children:"Repair Damages"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(h[B][2]&V),checked:!(b[B][2]&V),onClick:function(){function L(){return v("toggle_limb_repair",{limb:B,type:"bone"})}return L}(),children:"Mend Bone"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(h[B][2]&y),checked:!(b[B][2]&y),onClick:function(){function L(){return v("toggle_limb_repair",{limb:B,type:"ib"})}return L}(),children:"Mend IB"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(h[B][2]&S),checked:!(b[B][2]&S),onClick:function(){function L(){return v("toggle_limb_repair",{limb:B,type:"critburn"})}return L}(),children:"Mend Critical Burn"})]})]})]},B)})})},d=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.patient_organ_data,N=g.organ_list,b=g.desired_organ_data;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Organs",children:N.map(function(B,I){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Stack,{align:"baseline",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"20%",height:"20px",children:[h[B][3],":"," "]}),h[B][5]!=="heart"&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[!!h[B][2]&&(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!b[B][2]&&!b[B][1],onClick:function(){function L(){return v("toggle_organ_repair",{organ:B,type:"replace"})}return L}(),children:"Replace Organ"}),!h[B][2]&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!h[B][0],checked:!b[B][0],onClick:function(){function L(){return v("toggle_organ_repair",{organ:B,type:"damage"})}return L}(),children:"Repair Damages"})})]})}),h[B][5]==="heart"&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Heart replacement is required for cloning."}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"35%",children:[!!h[B][2]&&(0,e.createComponentVNode)(2,t.ProgressBar,{color:"bad",value:0,children:["The patient's ",h[B][3]," is missing!"]}),!h[B][2]&&(0,e.createComponentVNode)(2,t.ProgressBar,{value:b[B][0],maxValue:h[B][4],ranges:{good:[0,h[B][4]/3],average:[h[B][4]/3,2*h[B][4]/3],bad:[2*h[B][4]/3,h[B][4]]},children:"Post-Cloning Damage: "+b[B][0]})]})]})},B)})})}},66373:function(w,r,n){"use strict";r.__esModule=!0,r.CloningPod=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.CloningPod=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.biomass,m=u.biomass_storage_capacity,d=u.sanguine_reagent,l=u.osseous_reagent,s=u.organs,i=u.currently_cloning;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Liquid Storage",children:[(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Biomass:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:c,ranges:{good:[2*m/3,m],average:[m/3,2*m/3],bad:[0,m/3]},minValue:0,maxValue:m})})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Sanguine Reagent:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:d+" units"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:0,minValue:0,maxValue:d,step:1,unit:"units",onChange:function(){function p(v,g){return C("remove_reagent",{reagent:"sanguine_reagent",amount:g})}return p}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove All",onClick:function(){function p(){return C("purge_reagent",{reagent:"sanguine_reagent"})}return p}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Osseous Reagent:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:l+" units"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:0,minValue:0,maxValue:l,step:1,unit:"units",onChange:function(){function p(v,g){return C("remove_reagent",{reagent:"osseous_reagent",amount:g})}return p}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove All",onClick:function(){function p(){return C("purge_reagent",{reagent:"osseous_reagent"})}return p}()})})]})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Organ Storage",children:[!i&&(0,e.createComponentVNode)(2,t.Box,{children:[!s&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Notice: No organs loaded."}),!!s&&s.map(function(p){return(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:p.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Eject",onClick:function(){function v(){return C("eject_organ",{organ_ref:p.ref})}return v}()})})]},p)})]}),!!i&&(0,e.createComponentVNode)(2,t.Stack,{height:"100%",children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"lock",size:"5",mb:3}),(0,e.createVNode)(1,"br"),"Unable to access organ storage while cloning."]})})]})]})})}return V}()},38781:function(w,r,n){"use strict";r.__esModule=!0,r.CoinMint=void 0;var e=n(96524),a=n(28234),t=n(17899),o=n(24674),f=n(45493),V=r.CoinMint=function(){function y(S,k){var C=(0,t.useBackend)(k),u=C.act,c=C.data,m=c.materials,d=c.moneyBag,l=c.moneyBagContent,s=c.moneyBagMaxContent,i=(d?210:138)+Math.ceil(m.length/4)*64;return(0,e.createComponentVNode)(2,f.Window,{width:210,height:i,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.NoticeBox,{m:0,info:!0,children:["Total coins produced: ",c.totalCoins]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Coin Type",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"power-off",color:c.active&&"bad",tooltip:!d&&"Need a money bag",disabled:!d,onClick:function(){function p(){return u("activate")}return p}()}),children:(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.ProgressBar,{minValue:0,maxValue:c.maxMaterials,value:c.totalMaterials})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:"eject",tooltip:"Eject selected material",onClick:function(){function p(){return u("ejectMat")}return p}()})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:m.map(function(p){return(0,e.createComponentVNode)(2,o.Button,{bold:!0,inline:!0,m:.2,textAlign:"center",color:"translucent",selected:p.id===c.chosenMaterial,tooltip:p.name,content:(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{className:(0,a.classes)(["materials32x32",p.id])}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:p.amount})]}),onClick:function(){function v(){return u("selectMaterial",{material:p.id})}return v}()},p.id)})})]})})}),!!d&&(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Money Bag",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject",disabled:c.active,onClick:function(){function p(){return u("ejectBag")}return p}()}),children:(0,e.createComponentVNode)(2,o.ProgressBar,{width:"100%",minValue:0,maxValue:s,value:l,children:[l," / ",s]})})})]})})})}return y}()},11866:function(w,r,n){"use strict";r.__esModule=!0,r.ColourMatrixTester=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ColourMatrixTester=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.colour_data,m=[[{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}]];return(0,e.createComponentVNode)(2,o.Window,{width:360,height:190,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Modify Matrix",children:m.map(function(d){return(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",textColor:"label",children:d.map(function(l){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:1,children:[l.name,":\xA0",(0,e.createComponentVNode)(2,t.NumberInput,{width:4,value:c[l.idx],step:.05,minValue:-5,maxValue:5,stepPixelSize:5,onChange:function(){function s(i,p){return C("setvalue",{idx:l.idx+1,value:p})}return s}()})]},l.name)})},d)})})})})})}return V}()},22420:function(w,r,n){"use strict";r.__esModule=!0,r.CommunicationsComputer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(s){switch(s){case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,u);case 3:return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,c)})});case 4:return(0,e.createComponentVNode)(2,d);default:return"ERROR. Unknown menu_state. Please contact NT Technical Support."}},V=r.CommunicationsComputer=function(){function l(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.menu_state;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y),f(h)]})})})}return l}(),y=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.authenticated,N=g.noauthbutton,b=g.esc_section,B=g.esc_callable,I=g.esc_recallable,L=g.esc_status,T=g.authhead,x=g.is_ai,A=g.lastCallLoc,E=!1,M;return h?h===1?M="Command":h===2?M="Captain":h===3?M="CentComm Officer":h===4?(M="CentComm Secure Connection",E=!0):M="ERROR: Report This Bug!":M="Not Logged In",(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Authentication",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:E&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Access",children:M})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{icon:h?"sign-out-alt":"id-card",selected:h,disabled:N,content:h?"Log Out ("+M+")":"Log In",onClick:function(){function D(){return v("auth")}return D}()})})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:!!b&&(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Escape Shuttle",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!L&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:L}),!!B&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Options",children:(0,e.createComponentVNode)(2,t.Button,{icon:"rocket",content:"Call Shuttle",disabled:!T,onClick:function(){function D(){return v("callshuttle")}return D}()})}),!!I&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Options",children:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Recall Shuttle",disabled:!T||x,onClick:function(){function D(){return v("cancelshuttle")}return D}()})}),!!A&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Last Call/Recall From",children:A})]})})})],4)},S=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.is_admin;return h?(0,e.createComponentVNode)(2,k):(0,e.createComponentVNode)(2,C)},k=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.is_admin,N=g.gamma_armory_location,b=g.admin_levels,B=g.authenticated,I=g.ert_allowed;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"CentComm Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Change Alert",children:(0,e.createComponentVNode)(2,m,{levels:b,required_access:h,use_confirm:1})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Announcement",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"bullhorn",content:"Make Central Announcement",disabled:!h,onClick:function(){function L(){return v("send_to_cc_announcement_page")}return L}()}),B===4&&(0,e.createComponentVNode)(2,t.Button,{icon:"plus",content:"Make Other Announcement",disabled:!h,onClick:function(){function L(){return v("make_other_announcement")}return L}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Response Team",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"ambulance",content:"Dispatch ERT",disabled:!h,onClick:function(){function L(){return v("dispatch_ert")}return L}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:I,content:I?"ERT calling enabled":"ERT calling disabled",tooltip:I?"Command can request an ERT":"ERTs cannot be requested",disabled:!h,onClick:function(){function L(){return v("toggle_ert_allowed")}return L}(),selected:null})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nuclear Device",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:"Get Authentication Codes",disabled:!h,onClick:function(){function L(){return v("send_nuke_codes")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gamma Armory",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"biohazard",content:N?"Send Gamma Armory":"Recall Gamma Armory",disabled:!h,onClick:function(){function L(){return v("move_gamma_armory")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"coins",content:"View Economy",disabled:!h,onClick:function(){function L(){return v("view_econ")}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fax",content:"Fax Manager",disabled:!h,onClick:function(){function L(){return v("view_fax")}return L}()})]})]})}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"View Command accessible controls",children:(0,e.createComponentVNode)(2,C)})]})},C=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.msg_cooldown,N=g.emagged,b=g.cc_cooldown,B=g.security_level_color,I=g.str_security_level,L=g.levels,T=g.authcapt,x=g.authhead,A=g.messages,E="Make Priority Announcement";h>0&&(E+=" ("+h+"s)");var M=N?"Message [UNKNOWN]":"Message CentComm",D="Request Authentication Codes";return b>0&&(M+=" ("+b+"s)",D+=" ("+b+"s)"),(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Captain-Only Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Alert",color:B,children:I}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Change Alert",children:(0,e.createComponentVNode)(2,m,{levels:L,required_access:T})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Announcement",children:(0,e.createComponentVNode)(2,t.Button,{icon:"bullhorn",content:E,disabled:!T||h>0,onClick:function(){function P(){return v("announce")}return P}()})}),!!N&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transmit",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",color:"red",content:M,disabled:!T||b>0,onClick:function(){function P(){return v("MessageSyndicate")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",content:"Reset Relays",disabled:!T,onClick:function(){function P(){return v("RestoreBackup")}return P}()})]})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transmit",children:(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",content:M,disabled:!T||b>0,onClick:function(){function P(){return v("MessageCentcomm")}return P}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nuclear Device",children:(0,e.createComponentVNode)(2,t.Button,{icon:"bomb",content:D,disabled:!T||b>0,onClick:function(){function P(){return v("nukerequest")}return P}()})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Command Staff Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Displays",children:(0,e.createComponentVNode)(2,t.Button,{icon:"tv",content:"Change Status Displays",disabled:!x,onClick:function(){function P(){return v("status")}return P}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Incoming Messages",children:(0,e.createComponentVNode)(2,t.Button,{icon:"folder-open",content:"View ("+A.length+")",disabled:!x,onClick:function(){function P(){return v("messagelist")}return P}()})})]})})})],4)},u=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.stat_display,N=g.authhead,b=g.current_message_title,B=h.presets.map(function(L){return(0,e.createComponentVNode)(2,t.Button,{content:L.label,selected:L.name===h.type,disabled:!N,onClick:function(){function T(){return v("setstat",{statdisp:L.name})}return T}()},L.name)}),I=h.alerts.map(function(L){return(0,e.createComponentVNode)(2,t.Button,{content:L.label,selected:L.alert===h.icon,disabled:!N,onClick:function(){function T(){return v("setstat",{statdisp:3,alert:L.alert})}return T}()},L.alert)});return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Modify Status Screens",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function L(){return v("main")}return L}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Presets",children:B}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alerts",children:I}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message Line 1",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:h.line_1,disabled:!N,onClick:function(){function L(){return v("setmsg1")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message Line 2",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:h.line_2,disabled:!N,onClick:function(){function L(){return v("setmsg2")}return L}()})})]})})})},c=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.authhead,N=g.current_message_title,b=g.current_message,B=g.messages,I=g.security_level,L;if(N)L=(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:N,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Return To Message List",disabled:!h,onClick:function(){function x(){return v("messagelist")}return x}()}),children:(0,e.createComponentVNode)(2,t.Box,{children:b})})});else{var T=B.map(function(x){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:x.title,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"eye",content:"View",disabled:!h||N===x.title,onClick:function(){function A(){return v("messagelist",{msgid:x.id})}return A}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"times",content:"Delete",disabled:!h,onClick:function(){function A(){return v("delmessage",{msgid:x.id})}return A}()})]},x.id)});L=(0,e.createComponentVNode)(2,t.Section,{title:"Messages Received",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function x(){return v("main")}return x}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:T})})}return(0,e.createComponentVNode)(2,t.Box,{children:L})},m=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=s.levels,N=s.required_access,b=s.use_confirm,B=g.security_level;return b?h.map(function(I){return(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:I.icon,content:I.name,disabled:!N||I.id===B,tooltip:I.tooltip,onClick:function(){function L(){return v("newalertlevel",{level:I.id})}return L}()},I.name)}):h.map(function(I){return(0,e.createComponentVNode)(2,t.Button,{icon:I.icon,content:I.name,disabled:!N||I.id===B,tooltip:I.tooltip,onClick:function(){function L(){return v("newalertlevel",{level:I.id})}return L}()},I.name)})},d=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.is_admin,N=g.possible_cc_sounds;if(!h)return v("main");var b=(0,a.useLocalState)(i,"subtitle",""),B=b[0],I=b[1],L=(0,a.useLocalState)(i,"text",""),T=L[0],x=L[1],A=(0,a.useLocalState)(i,"classified",0),E=A[0],M=A[1],D=(0,a.useLocalState)(i,"beepsound","Beep"),P=D[0],R=D[1];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Central Command Report",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function j(){return v("main")}return j}()}),children:[(0,e.createComponentVNode)(2,t.Input,{placeholder:"Enter Subtitle here.",fluid:!0,value:B,onChange:function(){function j(F,W){return I(W)}return j}(),mb:"5px"}),(0,e.createComponentVNode)(2,t.Input,{placeholder:"Enter Announcement here,\nMultiline input is accepted.",rows:10,fluid:!0,multiline:1,value:T,onChange:function(){function j(F,W){return x(W)}return j}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Send Announcement",fluid:!0,icon:"paper-plane",center:!0,mt:"5px",textAlign:"center",onClick:function(){function j(){return v("make_cc_announcement",{subtitle:B,text:T,classified:E,beepsound:P})}return j}()}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Dropdown,{width:"260px",height:"20px",options:N,selected:P,onSelected:function(){function j(F){return R(F)}return j}(),disabled:E})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"volume-up",mx:"5px",disabled:E,tooltip:"Test sound",onClick:function(){function j(){return v("test_sound",{sound:P})}return j}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:E,content:"Classified",fluid:!0,tooltip:E?"Sent to station communications consoles":"Publically announced",onClick:function(){function j(){return M(!E)}return j}()})})]})]})})}},46868:function(w,r,n){"use strict";r.__esModule=!0,r.CompostBin=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.CompostBin=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.biomass,m=u.compost,d=u.biomass_capacity,l=u.compost_capacity,s=u.potassium,i=u.potassium_capacity,p=u.potash,v=u.potash_capacity,g=(0,a.useSharedState)(S,"vendAmount",1),h=g[0],N=g[1];return(0,e.createComponentVNode)(2,o.Window,{width:360,height:250,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{label:"Resources",children:(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Biomass",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:c,minValue:0,maxValue:d,ranges:{good:[d*.5,1/0],average:[d*.25,d*.5],bad:[-1/0,d*.25]},children:[c," / ",d," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Compost",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:m,minValue:0,maxValue:l,ranges:{good:[l*.5,1/0],average:[l*.25,l*.5],bad:[-1/0,l*.25]},children:[m," / ",l," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Potassium",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:s,minValue:0,maxValue:i,ranges:{good:[i*.5,1/0],average:[i*.25,i*.5],bad:[-1/0,i*.25]},children:[s," / ",i," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Potash",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:p,minValue:0,maxValue:v,ranges:{good:[v*.5,1/0],average:[v*.25,v*.5],bad:[-1/0,v*.25]},children:[p," / ",v," Units"]})})]})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Controls",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,mr:"5px",color:"silver",children:"Soil clumps to make:"}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:h,width:"32px",minValue:1,maxValue:10,stepPixelSize:7,onChange:function(){function b(B,I){return N(I)}return b}()})],4),children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,align:"center",content:"Make Soil",disabled:m<25*h,icon:"arrow-circle-down",onClick:function(){function b(){return C("create",{amount:h})}return b}()})})})]})})})}return V}()},64707:function(w,r,n){"use strict";r.__esModule=!0,r.Contractor=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(99509),V=n(45493);function y(v,g){v.prototype=Object.create(g.prototype),v.prototype.constructor=v,S(v,g)}function S(v,g){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function h(N,b){return N.__proto__=b,N}return h}(),S(v,g)}var k={1:["ACTIVE","good"],2:["COMPLETED","good"],3:["FAILED","bad"]},C=["Recording biometric data...","Analyzing embedded syndicate info...","STATUS CONFIRMED","Contacting Syndicate database...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Response received, ack 4851234...","CONFIRM ACC "+Math.round(Math.random()*2e4),"Setting up private accounts...","CONTRACTOR ACCOUNT CREATED","Searching for available contracts...","Searching for available contracts...","Searching for available contracts...","Searching for available contracts...","CONTRACTS FOUND","WELCOME, AGENT"],u=r.Contractor=function(){function v(g,h){var N=(0,t.useBackend)(h),b=N.act,B=N.data,I;B.unauthorized?I=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,i,{height:"100%",allMessages:["ERROR: UNAUTHORIZED USER"],finishedTimeout:100,onFinished:function(){function A(){}return A}()})}):B.load_animation_completed?I=(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",children:(0,e.createComponentVNode)(2,c)}),(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",mt:"0.5rem",children:(0,e.createComponentVNode)(2,m)}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",overflow:"hidden",children:B.page===1?(0,e.createComponentVNode)(2,d,{height:"100%"}):(0,e.createComponentVNode)(2,s,{height:"100%"})})],4):I=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,i,{height:"100%",allMessages:C,finishedTimeout:3e3,onFinished:function(){function A(){return b("complete_load_animation")}return A}()})});var L=(0,t.useLocalState)(h,"viewingPhoto",""),T=L[0],x=L[1];return(0,e.createComponentVNode)(2,V.Window,{theme:"syndicate",width:500,height:600,children:[T&&(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,V.Window.Content,{className:"Contractor",children:(0,e.createComponentVNode)(2,o.Flex,{direction:"column",height:"100%",children:I})})]})}return v}(),c=function(g,h){var N=(0,t.useBackend)(h),b=N.act,B=N.data,I=B.tc_available,L=B.tc_paid_out,T=B.completed_contracts,x=B.rep;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Summary",buttons:(0,e.createComponentVNode)(2,o.Box,{verticalAlign:"middle",mt:"0.25rem",children:[x," Rep"]})},g,{children:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Box,{flexBasis:"50%",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"TC Available",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,o.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",children:[I," TC"]}),(0,e.createComponentVNode)(2,o.Button,{disabled:I<=0,content:"Claim",mx:"0.75rem",mb:"0",flexBasis:"content",onClick:function(){function A(){return b("claim")}return A}()})]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"TC Earned",children:[L," TC"]})]})}),(0,e.createComponentVNode)(2,o.Box,{flexBasis:"50%",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Contracts Completed",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,o.Box,{height:"20px",lineHeight:"20px",inline:!0,children:T})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Contractor Status",verticalAlign:"middle",children:"ACTIVE"})]})})]})})))},m=function(g,h){var N=(0,t.useBackend)(h),b=N.act,B=N.data,I=B.page;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Tabs,Object.assign({},g,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===1,onClick:function(){function L(){return b("page",{page:1})}return L}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"suitcase"}),"Contracts"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===2,onClick:function(){function L(){return b("page",{page:2})}return L}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"shopping-cart"}),"Hub"]})]})))},d=function(g,h){var N=(0,t.useBackend)(h),b=N.act,B=N.data,I=B.contracts,L=B.contract_active,T=B.can_extract,x=!!L&&I.filter(function(P){return P.status===1})[0],A=x&&x.time_left>0,E=(0,t.useLocalState)(h,"viewingPhoto",""),M=E[0],D=E[1];return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Available Contracts",overflow:"auto",buttons:(0,e.createComponentVNode)(2,o.Button,{disabled:!T||A,icon:"parachute-box",content:["Call Extraction",A&&(0,e.createComponentVNode)(2,f.Countdown,{timeLeft:x.time_left,format:function(){function P(R,j){return" ("+j.substr(3)+")"}return P}()})],onClick:function(){function P(){return b("extract")}return P}()})},g,{children:I.slice().sort(function(P,R){return P.status===1?-1:R.status===1?1:P.status-R.status}).map(function(P){var R;return(0,e.createComponentVNode)(2,o.Section,{title:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",color:P.status===1&&"good",children:P.target_name}),(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",children:P.has_photo&&(0,e.createComponentVNode)(2,o.Button,{icon:"camera",mb:"-0.5rem",ml:"0.5rem",onClick:function(){function j(){return D("target_photo_"+P.uid+".png")}return j}()})})]}),className:"Contractor__Contract",buttons:(0,e.createComponentVNode)(2,o.Box,{width:"100%",children:[!!k[P.status]&&(0,e.createComponentVNode)(2,o.Box,{color:k[P.status][1],inline:!0,mt:P.status!==1&&"0.125rem",mr:"0.25rem",lineHeight:"20px",children:k[P.status][0]}),P.status===1&&(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"ban",color:"bad",content:"Abort",ml:"0.5rem",onClick:function(){function j(){return b("abort")}return j}()})]}),children:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"2",mr:"0.5rem",children:[P.fluff_message,!!P.completed_time&&(0,e.createComponentVNode)(2,o.Box,{color:"good",children:[(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Icon,{name:"check",mr:"0.5rem"}),"Contract completed at ",P.completed_time]}),!!P.dead_extraction&&(0,e.createComponentVNode)(2,o.Box,{color:"bad",mt:"0.5rem",bold:!0,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle",mr:"0.5rem"}),"Telecrystals reward reduced drastically as the target was dead during extraction."]}),!!P.fail_reason&&(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:[(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Icon,{name:"times",mr:"0.5rem"}),"Contract failed: ",P.fail_reason]})]}),(0,e.createComponentVNode)(2,o.Flex.Item,{flexBasis:"100%",children:[(0,e.createComponentVNode)(2,o.Flex,{mb:"0.5rem",color:"label",children:["Extraction Zone:\xA0",l(P)]}),(R=P.difficulties)==null?void 0:R.map(function(j,F){return(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!!L,content:j.name+" ("+j.reward+" TC)",onClick:function(){function W(){return b("activate",{uid:P.uid,difficulty:F+1})}return W}()},F)}),!!P.objective&&(0,e.createComponentVNode)(2,o.Box,{color:"white",bold:!0,children:[P.objective.extraction_name,(0,e.createVNode)(1,"br"),"(",(P.objective.rewards.tc||0)+" TC",",\xA0",(P.objective.rewards.credits||0)+" Credits",")"]})]})]})},P.uid)})})))},l=function(g){if(!(!g.objective||g.status>1)){var h=g.objective.locs.user_area_id,N=g.objective.locs.user_coords,b=g.objective.locs.target_area_id,B=g.objective.locs.target_coords,I=h===b;return(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,o.Icon,{name:I?"dot-circle-o":"arrow-alt-circle-right-o",color:I?"green":"yellow",rotation:I?null:-(0,a.rad2deg)(Math.atan2(B[1]-N[1],B[0]-N[0])),lineHeight:I?null:"0.85",size:"1.5"})})}},s=function(g,h){var N=(0,t.useBackend)(h),b=N.act,B=N.data,I=B.rep,L=B.buyables;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Available Purchases",overflow:"auto"},g,{children:L.map(function(T){return(0,e.createComponentVNode)(2,o.Section,{title:T.name,children:[T.description,(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:I-1&&(0,e.createComponentVNode)(2,o.Box,{as:"span",color:T.stock===0?"bad":"good",ml:"0.5rem",children:[T.stock," in stock"]})]},T.uid)})})))},i=function(v){function g(N){var b;return b=v.call(this,N)||this,b.timer=null,b.state={currentIndex:0,currentDisplay:[]},b}y(g,v);var h=g.prototype;return h.tick=function(){function N(){var b=this.props,B=this.state;if(B.currentIndex<=b.allMessages.length){this.setState(function(L){return{currentIndex:L.currentIndex+1}});var I=B.currentDisplay;I.push(b.allMessages[B.currentIndex])}else clearTimeout(this.timer),setTimeout(b.onFinished,b.finishedTimeout)}return N}(),h.componentDidMount=function(){function N(){var b=this,B=this.props.linesPerSecond,I=B===void 0?2.5:B;this.timer=setInterval(function(){return b.tick()},1e3/I)}return N}(),h.componentWillUnmount=function(){function N(){clearTimeout(this.timer)}return N}(),h.render=function(){function N(){return(0,e.createComponentVNode)(2,o.Box,{m:1,children:this.state.currentDisplay.map(function(b){return(0,e.createFragment)([b,(0,e.createVNode)(1,"br")],0,b)})})}return N}(),g}(e.Component),p=function(g,h){var N=(0,t.useLocalState)(h,"viewingPhoto",""),b=N[0],B=N[1];return(0,e.createComponentVNode)(2,o.Modal,{className:"Contractor__photoZoom",children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:b}),(0,e.createComponentVNode)(2,o.Button,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){function I(){return B("")}return I}()})]})}},52141:function(w,r,n){"use strict";r.__esModule=!0,r.ConveyorSwitch=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ConveyorSwitch=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.slowFactor,m=u.oneWay,d=u.position;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:135,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lever position",children:d>0?"forward":d<0?"reverse":"neutral"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Allow reverse",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!m,onClick:function(){function l(){return C("toggleOneWay")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Slowdown factor",children:(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",onClick:function(){function l(){return C("slowFactor",{value:c-5})}return l}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-left",onClick:function(){function l(){return C("slowFactor",{value:c-1})}return l}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Slider,{width:"100px",mx:"1px",value:c,fillValue:c,minValue:1,maxValue:50,step:1,format:function(){function l(s){return s+"x"}return l}(),onChange:function(){function l(s,i){return C("slowFactor",{value:i})}return l}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-right",onClick:function(){function l(){return C("slowFactor",{value:c+1})}return l}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",onClick:function(){function l(){return C("slowFactor",{value:c+5})}return l}()})," "]})]})})]})})})})}return V}()},94187:function(w,r,n){"use strict";r.__esModule=!0,r.CrewMonitor=void 0;var e=n(96524),a=n(50640),t=n(78234),o=n(17899),f=n(24674),V=n(5126),y=n(38424),S=n(45493),k=function(l,s){return l.dead?"Deceased":parseInt(l.health,10)<=s?"Critical":parseInt(l.stat,10)===1?"Unconscious":"Living"},C=function(l,s){return l.dead?"red":parseInt(l.health,10)<=s?"orange":parseInt(l.stat,10)===1?"blue":"green"},u=r.CrewMonitor=function(){function d(l,s){var i=(0,o.useBackend)(s),p=i.act,v=i.data,g=(0,o.useLocalState)(s,"tabIndex",0),h=g[0],N=g[1],b=function(){function B(I){switch(I){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,m);default:return"WE SHOULDN'T BE HERE!"}}return B}();return(0,e.createComponentVNode)(2,S.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Tabs,{children:[(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"table",selected:h===0,onClick:function(){function B(){return N(0)}return B}(),children:"Data View"},"DataView"),(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"map-marked-alt",selected:h===1,onClick:function(){function B(){return N(1)}return B}(),children:"Map View"},"MapView")]})}),b(h)]})})})}return d}(),c=function(l,s){var i=(0,o.useBackend)(s),p=i.act,v=i.data,g=(0,a.sortBy)(function(x){return x.name})(v.crewmembers||[]),h=v.possible_levels,N=v.viewing_current_z_level,b=v.is_advanced,B=(0,o.useLocalState)(s,"search",""),I=B[0],L=B[1],T=(0,t.createSearch)(I,function(x){return x.name+"|"+x.assignment+"|"+x.area});return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,backgroundColor:"transparent",children:[(0,e.createComponentVNode)(2,f.Stack,{children:[(0,e.createComponentVNode)(2,f.Stack.Item,{width:"100%",ml:"5px",children:(0,e.createComponentVNode)(2,f.Input,{placeholder:"Search by name, assignment or location..",width:"100%",onInput:function(){function x(A,E){return L(E)}return x}()})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:b?(0,e.createComponentVNode)(2,f.Dropdown,{mr:"5px",width:"50px",options:h,selected:N,onSelected:function(){function x(A){return p("switch_level",{new_level:A})}return x}()}):null})]}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,f.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Location"})]}),g.filter(T).map(function(x){return(0,e.createComponentVNode)(2,f.Table.Row,{bold:!!x.is_command,children:[(0,e.createComponentVNode)(2,V.TableCell,{children:[x.name," (",x.assignment,")"]}),(0,e.createComponentVNode)(2,V.TableCell,{children:[(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:C(x,v.critThreshold),children:k(x,v.critThreshold)}),x.sensor_type>=2||v.ignoreSensors?(0,e.createComponentVNode)(2,f.Box,{inline:!0,ml:1,children:["(",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:y.COLORS.damageType.oxy,children:x.oxy}),"|",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:y.COLORS.damageType.toxin,children:x.tox}),"|",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:y.COLORS.damageType.burn,children:x.fire}),"|",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:y.COLORS.damageType.brute,children:x.brute}),")"]}):null]}),(0,e.createComponentVNode)(2,V.TableCell,{children:x.sensor_type===3||v.ignoreSensors?v.isAI||v.isObserver?(0,e.createComponentVNode)(2,f.Button,{fluid:!0,icon:"location-arrow",content:x.area+" ("+x.x+", "+x.y+")",onClick:function(){function A(){return p("track",{track:x.ref})}return A}()}):x.area+" ("+x.x+", "+x.y+")":(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:"grey",children:"Not Available"})})]},x.name)})]})]})},m=function(l,s){var i=(0,o.useBackend)(s),p=i.act,v=i.data,g=(0,o.useLocalState)(s,"zoom",1),h=g[0],N=g[1];return(0,e.createComponentVNode)(2,f.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,e.createComponentVNode)(2,f.NanoMap,{onZoom:function(){function b(B){return N(B)}return b}(),children:v.crewmembers.filter(function(b){return b.sensor_type===3||v.ignoreSensors}).map(function(b){return(0,e.createComponentVNode)(2,f.NanoMap.Marker,{x:b.x,y:b.y,zoom:h,icon:"circle",tooltip:b.name+" ("+b.assignment+")",color:C(b,v.critThreshold),onClick:function(){function B(){return v.isObserver?p("track",{track:b.ref}):null}return B}()},b.ref)})})})}},60561:function(w,r,n){"use strict";r.__esModule=!0,r.Cryo=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=[{label:"Resp.",type:"oxyLoss"},{label:"Toxin",type:"toxLoss"},{label:"Brute",type:"bruteLoss"},{label:"Burn",type:"fireLoss"}],V=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],y=r.Cryo=function(){function C(u,c){return(0,e.createComponentVNode)(2,o.Window,{width:520,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,S)})})})}return C}(),S=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.isOperating,i=l.hasOccupant,p=l.occupant,v=p===void 0?[]:p,g=l.cellTemperature,h=l.cellTemperatureStatus,N=l.isBeakerLoaded,b=l.cooldownProgress,B=l.auto_eject_healthy,I=l.auto_eject_dead;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Occupant",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"user-slash",onClick:function(){function L(){return d("ejectOccupant")}return L}(),disabled:!i,children:"Eject"}),children:i?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Occupant",children:v.name||"Unknown"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:v.health,max:v.maxHealth,value:v.health/v.maxHealth,color:v.health>0?"good":"average",children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:Math.round(v.health)})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:V[v.stat][0],children:V[v.stat][1]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:Math.round(v.bodyTemperature)})," K"]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),f.map(function(L){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:L.label,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:v[L.type]/100,ranges:{bad:[.01,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:Math.round(v[L.type])})})},L.id)})]}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Cell",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",onClick:function(){function L(){return d("ejectBeaker")}return L}(),disabled:!N,children:"Eject Beaker"}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",onClick:function(){function L(){return d(s?"switchOff":"switchOn")}return L}(),selected:s,children:s?"On":"Off"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",color:h,children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:g})," K"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:(0,e.createComponentVNode)(2,k)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dosage interval",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{average:[-1/0,99],good:[99,1/0]},color:!N&&"average",value:b,minValue:0,maxValue:100})}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto-eject healthy occupants",children:(0,e.createComponentVNode)(2,t.Button,{icon:B?"toggle-on":"toggle-off",selected:B,onClick:function(){function L(){return d(B?"auto_eject_healthy_off":"auto_eject_healthy_on")}return L}(),children:B?"On":"Off"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto-eject dead occupants",children:(0,e.createComponentVNode)(2,t.Button,{icon:I?"toggle-on":"toggle-off",selected:I,onClick:function(){function L(){return d(I?"auto_eject_dead_off":"auto_eject_dead_on")}return L}(),children:I?"On":"Off"})})]})})})],4)},k=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.isBeakerLoaded,i=l.beakerLabel,p=l.beakerVolume;return s?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:!i&&"average",children:[i||"No label",":"]}),(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:!p&&"bad",ml:1,children:p?(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:p,format:function(){function v(g){return Math.round(g)+" units remaining"}return v}()}):"Beaker is empty"})],4):(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"bad",children:"No beaker loaded"})}},27889:function(w,r,n){"use strict";r.__esModule=!0,r.CryopodConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(78234),V=r.CryopodConsole=function(){function k(C,u){var c=(0,a.useBackend)(u),m=c.data,d=m.account_name,l=m.allow_items;return(0,e.createComponentVNode)(2,o.Window,{title:"Cryopod Console",width:400,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Hello, "+(d||"[REDACTED]")+"!",children:"This automated cryogenic freezing unit will safely store your corporeal form until your next assignment."}),(0,e.createComponentVNode)(2,y),!!l&&(0,e.createComponentVNode)(2,S)]})})}return k}(),y=function(C,u){var c=(0,a.useBackend)(u),m=c.data,d=m.frozen_crew;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Stored Crew",children:d.length?(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:d.map(function(l,s){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.name,children:l.rank},s)})})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No stored crew!"})})},S=function(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.frozen_items,s=function(p){var v=p.toString();return v.startsWith("the ")&&(v=v.slice(4,v.length)),(0,f.toTitleCase)(v)};return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Stored Items",children:l.length?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:l.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:s(i.name),buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Drop",mr:1,onClick:function(){function p(){return m("one_item",{item:i.uid})}return p}()})},i)})})}),(0,e.createComponentVNode)(2,t.Button,{content:"Drop All Items",color:"red",onClick:function(){function i(){return m("all_items")}return i}()})],4):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No stored items!"})})}},81434:function(w,r,n){"use strict";r.__esModule=!0,r.DNAModifier=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(99665),V=[["good","Alive"],["average","Critical"],["bad","DEAD"]],y=[["ui","Modify U.I.","dna"],["se","Modify S.E.","dna"],["buffer","Transfer Buffers","syringe"],["rejuvenators","Rejuvenators","flask"]],S=[5,10,20,30,50],k=r.DNAModifier=function(){function h(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=L.irradiating,x=L.dnaBlockSize,A=L.occupant;b.dnaBlockSize=x,b.isDNAInvalid=!A.isViableSubject||!A.uniqueIdentity||!A.structuralEnzymes;var E;return T&&(E=(0,e.createComponentVNode)(2,v,{duration:T})),(0,e.createComponentVNode)(2,o.Window,{width:660,height:775,children:[(0,e.createComponentVNode)(2,f.ComplexModal),E,(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,C)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,u)})]})})]})}return h}(),C=function(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=L.locked,x=L.hasOccupant,A=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{color:"label",inline:!0,mr:"0.5rem",children:"Door Lock:"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!x,selected:T,icon:T?"toggle-on":"toggle-off",content:T?"Engaged":"Disengaged",onClick:function(){function E(){return I("toggleLock")}return E}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!x||T,icon:"user-slash",content:"Eject",onClick:function(){function E(){return I("ejectOccupant")}return E}()})],4),children:x?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:A.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:A.minHealth,max:A.maxHealth,value:A.health/A.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:V[A.stat][0],children:V[A.stat][1]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider)]})}),b.isDNAInvalid?(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-circle"}),"\xA0 The occupant's DNA structure is ruined beyond recognition, please insert a subject with an intact DNA structure."]}):(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Radiation",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:"0",max:"100",value:A.radiationLevel/100,color:"average"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unique Enzymes",children:L.occupant.uniqueEnzymes?L.occupant.uniqueEnzymes:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-circle"}),"\xA0 Unknown"]})})]})],0):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"Cell unoccupied."})})},u=function(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=L.selectedMenuKey,x=L.hasOccupant,A=L.occupant;if(x){if(b.isDNAInvalid)return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No operation possible on this subject."]})})})}else return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant in DNA modifier."]})})});var E;return T==="ui"?E=(0,e.createFragment)([(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,d)],4):T==="se"?E=(0,e.createFragment)([(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,d)],4):T==="buffer"?E=(0,e.createComponentVNode)(2,l):T==="rejuvenators"&&(E=(0,e.createComponentVNode)(2,p)),(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:y.map(function(M,D){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:M[2],selected:T===M[0],onClick:function(){function P(){return I("selectMenuKey",{key:M[0]})}return P}(),children:M[1]},D)})}),E]})},c=function(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=L.selectedUIBlock,x=L.selectedUISubBlock,A=L.selectedUITarget,E=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Modify Unique Identifier",children:[(0,e.createComponentVNode)(2,g,{dnaString:E.uniqueIdentity,selectedBlock:T,selectedSubblock:x,blockSize:b.dnaBlockSize,action:"selectUIBlock"}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:15,stepPixelSize:"20",value:A,format:function(){function M(D){return D.toString(16).toUpperCase()}return M}(),ml:"0",onChange:function(){function M(D,P){return I("changeUITarget",{value:P})}return M}()})})}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Irradiate Block",mt:"0.5rem",onClick:function(){function M(){return I("pulseUIRadiation")}return M}()})]})},m=function(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=L.selectedSEBlock,x=L.selectedSESubBlock,A=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Modify Structural Enzymes",children:[(0,e.createComponentVNode)(2,g,{dnaString:A.structuralEnzymes,selectedBlock:T,selectedSubblock:x,blockSize:b.dnaBlockSize,action:"selectSEBlock"}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Irradiate Block",onClick:function(){function E(){return I("pulseSERadiation")}return E}()})]})},d=function(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=L.radiationIntensity,x=L.radiationDuration;return(0,e.createComponentVNode)(2,t.Section,{title:"Radiation Emitter",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Intensity",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:10,stepPixelSize:20,value:T,popUpPosition:"right",ml:"0",onChange:function(){function A(E,M){return I("radiationIntensity",{value:M})}return A}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Duration",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:20,stepPixelSize:10,unit:"s",value:x,popUpPosition:"right",ml:"0",onChange:function(){function A(E,M){return I("radiationDuration",{value:M})}return A}()})})]}),(0,e.createComponentVNode)(2,t.Button,{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(){function A(){return I("pulseRadiation")}return A}()})]})},l=function(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=L.buffers,x=T.map(function(A,E){return(0,e.createComponentVNode)(2,s,{id:E+1,name:"Buffer "+(E+1),buffer:A},E)});return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{height:"75%",mt:1,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Buffers",children:x})}),(0,e.createComponentVNode)(2,t.Stack.Item,{height:"25%",children:(0,e.createComponentVNode)(2,i)})]})},s=function(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=N.id,x=N.name,A=N.buffer,E=L.isInjectorReady,M=x+(A.data?" - "+A.label:"");return(0,e.createComponentVNode)(2,t.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,e.createComponentVNode)(2,t.Section,{title:M,mx:"0",lineHeight:"18px",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Confirm,{disabled:!A.data,icon:"trash",content:"Clear",onClick:function(){function D(){return I("bufferOption",{option:"clear",id:T})}return D}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!A.data,icon:"pen",content:"Rename",onClick:function(){function D(){return I("bufferOption",{option:"changeLabel",id:T})}return D}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!A.data||!L.hasDisk,icon:"save",content:"Export",tooltip:"Exports this buffer to the currently loaded data disk.",tooltipPosition:"bottom-start",onClick:function(){function D(){return I("bufferOption",{option:"saveDisk",id:T})}return D}()})],4),children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Write",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject U.I",mb:"0",onClick:function(){function D(){return I("bufferOption",{option:"saveUI",id:T})}return D}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject U.I and U.E.",mb:"0",onClick:function(){function D(){return I("bufferOption",{option:"saveUIAndUE",id:T})}return D}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject S.E.",mb:"0",onClick:function(){function D(){return I("bufferOption",{option:"saveSE",id:T})}return D}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!L.hasDisk||!L.disk.data,icon:"arrow-circle-down",content:"From Disk",mb:"0",onClick:function(){function D(){return I("bufferOption",{option:"loadDisk",id:T})}return D}()})]}),!!A.data&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subject",children:A.owner||(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Unknown"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Type",children:[A.type==="ui"?"Unique Identifiers":"Structural Enzymes",!!A.ue&&" and Unique Enzymes"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transfer to",children:[(0,e.createComponentVNode)(2,t.Button,{disabled:!E,icon:E?"syringe":"spinner",iconSpin:!E,content:"Injector",mb:"0",onClick:function(){function D(){return I("bufferOption",{option:"createInjector",id:T})}return D}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!E,icon:E?"syringe":"spinner",iconSpin:!E,content:"Block Injector",mb:"0",onClick:function(){function D(){return I("bufferOption",{option:"createInjector",id:T,block:1})}return D}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"user",content:"Subject",mb:"0",onClick:function(){function D(){return I("bufferOption",{option:"transfer",id:T})}return D}()})]})],4)]}),!A.data&&(0,e.createComponentVNode)(2,t.Box,{color:"label",mt:"0.5rem",children:"This buffer is empty."})]})})},i=function(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=L.hasDisk,x=L.disk;return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Confirm,{disabled:!T||!x.data,icon:"trash",content:"Wipe",onClick:function(){function A(){return I("wipeDisk")}return A}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!T,icon:"eject",content:"Eject",onClick:function(){function A(){return I("ejectDisk")}return A}()})],4),children:T?x.data?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Label",children:x.label?x.label:"No label"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subject",children:x.owner?x.owner:(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Unknown"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Type",children:[x.type==="ui"?"Unique Identifiers":"Structural Enzymes",!!x.ue&&" and Unique Enzymes"]})]}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"Disk is blank."}):(0,e.createComponentVNode)(2,t.Box,{color:"label",textAlign:"center",my:"1rem",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"save-o",size:"4"}),(0,e.createVNode)(1,"br"),"No disk inserted."]})})},p=function(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=L.isBeakerLoaded,x=L.beakerVolume,A=L.beakerLabel;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Rejuvenators and Beaker",buttons:(0,e.createComponentVNode)(2,t.Button,{disabled:!T,icon:"eject",content:"Eject",onClick:function(){function E(){return I("ejectBeaker")}return E}()}),children:T?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Inject",children:[S.map(function(E,M){return(0,e.createComponentVNode)(2,t.Button,{disabled:E>x,icon:"syringe",content:E,onClick:function(){function D(){return I("injectRejuvenators",{amount:E})}return D}()},M)}),(0,e.createComponentVNode)(2,t.Button,{disabled:x<=0,icon:"syringe",content:"All",onClick:function(){function E(){return I("injectRejuvenators",{amount:x})}return E}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:[(0,e.createComponentVNode)(2,t.Box,{mb:"0.5rem",children:A||"No label"}),x?(0,e.createComponentVNode)(2,t.Box,{color:"good",children:[x," unit",x===1?"":"s"," remaining"]}):(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Empty"})]})]}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"flask",size:5,color:"silver"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"h3",null,"No beaker loaded.",16)]})})})},v=function(N,b){return(0,e.createComponentVNode)(2,t.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"spinner",size:"5",spin:!0}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{color:"average",children:(0,e.createVNode)(1,"h1",null,[(0,e.createComponentVNode)(2,t.Icon,{name:"radiation"}),(0,e.createTextVNode)("\xA0Irradiating occupant\xA0"),(0,e.createComponentVNode)(2,t.Icon,{name:"radiation"})],4)}),(0,e.createComponentVNode)(2,t.Box,{color:"label",children:(0,e.createVNode)(1,"h3",null,[(0,e.createTextVNode)("For "),N.duration,(0,e.createTextVNode)(" second"),N.duration===1?"":"s"],0)})]})},g=function(N,b){for(var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=N.dnaString,x=N.selectedBlock,A=N.selectedSubblock,E=N.blockSize,M=N.action,D=T.split(""),P=0,R=[],j=function(){for(var _=F/E+1,K=[],$=function(){var J=G+1;K.push((0,e.createComponentVNode)(2,t.Button,{selected:x===_&&A===J,content:D[F+G],mb:"0",onClick:function(){function ue(){return I(M,{block:_,subblock:J})}return ue}()}))},G=0;Gi.spawnpoints?"red":"green",children:[i.total," total, versus ",i.spawnpoints," spawnpoints"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dispatch",children:(0,e.createComponentVNode)(2,t.Button,{width:10.5,textAlign:"center",icon:"ambulance",content:"Send ERT",onClick:function(){function N(){return s("dispatch_ert",{silent:g})}return N}()})})]})})})},C=function(m,d){var l=(0,a.useBackend)(d),s=l.act,i=l.data,p=i.ert_request_messages;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:p&&p.length?p.map(function(v){return(0,e.createComponentVNode)(2,t.Section,{title:v.time,buttons:(0,e.createComponentVNode)(2,t.Button,{content:v.sender_real_name,onClick:function(){function g(){return s("view_player_panel",{uid:v.sender_uid})}return g}(),tooltip:"View player panel"}),children:v.message},(0,f.decodeHtmlEntities)(v.time))}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"broadcast-tower",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No ERT requests."]})})})})},u=function(m,d){var l=(0,a.useBackend)(d),s=l.act,i=l.data,p=(0,a.useLocalState)(d,"text",""),v=p[0],g=p[1];return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Input,{placeholder:"Enter ERT denial reason here,\nMultiline input is accepted.",rows:19,fluid:!0,multiline:1,value:v,onChange:function(){function h(N,b){return g(b)}return h}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Deny ERT",fluid:!0,icon:"times",center:!0,mt:2,textAlign:"center",onClick:function(){function h(){return s("deny_ert",{reason:v})}return h}()})]})})}},24503:function(w,r,n){"use strict";r.__esModule=!0,r.EconomyManager=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(99665),V=r.EconomyManager=function(){function S(k,C){return(0,e.createComponentVNode)(2,o.Window,{width:600,height:325,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,y)})]})}return S}(),y=function(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.next_payroll_time;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.4rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"coins",verticalAlign:"middle",size:3,mr:"1rem"}),"Economy Manager"]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.LabeledList,{label:"Pay Bonuses and Deductions",children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Global",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Global Payroll Modification",onClick:function(){function l(){return c("payroll_modification",{mod_type:"global"})}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Department Accounts",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Department Account Payroll Modification",onClick:function(){function l(){return c("payroll_modification",{mod_type:"department"})}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Department Members",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Department Members Payroll Modification",onClick:function(){function l(){return c("payroll_modification",{mod_type:"department_members"})}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Single Accounts",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Crew Member Payroll Modification",onClick:function(){function l(){return c("payroll_modification",{mod_type:"crew_member"})}return l}()})})]}),(0,e.createVNode)(1,"hr"),(0,e.createComponentVNode)(2,t.Box,{mb:.5,children:["Next Payroll in: ",d," Minutes"]}),(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",width:"auto",color:"bad",content:"Delay Payroll",onClick:function(){function l(){return c("delay_payroll")}return l}()}),(0,e.createComponentVNode)(2,t.Button,{width:"auto",content:"Set Payroll Time",onClick:function(){function l(){return c("set_payroll")}return l}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",width:"auto",color:"good",content:"Accelerate Payroll",onClick:function(){function l(){return c("accelerate_payroll")}return l}()})]}),(0,e.createComponentVNode)(2,t.NoticeBox,{children:[(0,e.createVNode)(1,"b",null,"WARNING:",16)," You take full responsibility for unbalancing the economy with these buttons!"]})],4)}},15543:function(w,r,n){"use strict";r.__esModule=!0,r.Electropack=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=r.Electropack=function(){function y(S,k){var C=(0,t.useBackend)(k),u=C.act,c=C.data,m=c.power,d=c.code,l=c.frequency,s=c.minFrequency,i=c.maxFrequency;return(0,e.createComponentVNode)(2,f.Window,{width:360,height:135,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,o.Button,{icon:m?"power-off":"times",content:m?"On":"Off",selected:m,onClick:function(){function p(){return u("power")}return p}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Reset",onClick:function(){function p(){return u("reset",{reset:"freq"})}return p}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:6,minValue:s/10,maxValue:i/10,value:l/10,format:function(){function p(v){return(0,a.toFixed)(v,1)}return p}(),width:"80px",onChange:function(){function p(v,g){return u("freq",{freq:g})}return p}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Reset",onClick:function(){function p(){return u("reset",{reset:"code"})}return p}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:d,width:"80px",onChange:function(){function p(v,g){return u("code",{code:g})}return p}()})})]})})})})}return y}()},57013:function(w,r,n){"use strict";r.__esModule=!0,r.Emojipedia=void 0;var e=n(96524),a=n(28234),t=n(17899),o=n(24674),f=n(45493),V=r.Emojipedia=function(){function S(k,C){var u=(0,t.useBackend)(C),c=u.data,m=c.emoji_list,d=(0,t.useLocalState)(C,"searchText",""),l=d[0],s=d[1],i=m.filter(function(p){return p.name.toLowerCase().includes(l.toLowerCase())});return(0,e.createComponentVNode)(2,f.Window,{width:325,height:400,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Emojipedia v1.0.1",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by name",value:l,onInput:function(){function p(v,g){return s(g)}return p}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"Click on an emoji to copy its tag!",tooltipPosition:"bottom",icon:"circle-question"})],4),children:i.map(function(p){return(0,e.createComponentVNode)(2,o.Button,{m:1,color:"transparent",className:(0,a.classes)(["emoji16x16","emoji-"+p.name]),style:{transform:"scale(1.5)"},tooltip:p.name,onClick:function(){function v(){y(p.name)}return v}()},p.name)})})})})}return S}(),y=function(k){var C=document.createElement("input"),u=":"+k+":";C.value=u,document.body.appendChild(C),C.select(),document.execCommand("copy"),document.body.removeChild(C)}},75450:function(w,r,n){"use strict";r.__esModule=!0,r.EmotePanelContent=r.EmotePanel=void 0;var e=n(96524),a=n(17899),t=n(45493),o=n(24674),f=n(78234),V=r.EmotePanel=function(){function S(k,C){return(0,e.createComponentVNode)(2,t.Window,{width:500,height:550,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,y)})})})}return S}(),y=r.EmotePanelContent=function(){function S(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.emotes,l=(0,a.useLocalState)(C,"searchText",""),s=l[0],i=l[1],p=(0,a.useLocalState)(C,"filterVisible",""),v=p[0],g=p[1],h=(0,a.useLocalState)(C,"filterAudible",""),N=h[0],b=h[1],B=(0,a.useLocalState)(C,"filterSound",""),I=B[0],L=B[1],T=(0,a.useLocalState)(C,"filterHands",""),x=T[0],A=T[1],E=(0,a.useLocalState)(C,"filterTargettable",""),M=E[0],D=E[1],P=(0,a.useLocalState)(C,"useTarget",""),R=P[0],j=P[1],F=(0,e.createComponentVNode)(2,o.Input,{placeholder:"\u0418\u0441\u043A\u0430\u0442\u044C \u044D\u043C\u043E\u0446\u0438\u044E...",fluid:!0,onInput:function(){function W(_,K){return i(K)}return W}()});return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"\u0424\u0438\u043B\u044C\u0442\u0440\u044B",buttons:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Button,{icon:"eye",align:"center",tooltip:"\u0412\u0438\u0434\u0438\u043C\u044B\u0439",selected:v,onClick:function(){function W(){return g(!v)}return W}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",align:"center",tooltip:"\u0421\u043B\u044B\u0448\u0438\u043C\u044B\u0439",selected:N,onClick:function(){function W(){return b(!N)}return W}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"volume-up",align:"center",tooltip:"\u0417\u0432\u0443\u043A",selected:I,onClick:function(){function W(){return L(!I)}return W}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"hand-paper",align:"center",tooltip:"\u0420\u0443\u043A\u0438",selected:x,onClick:function(){function W(){return A(!x)}return W}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"crosshairs",height:"100%",align:"center",tooltip:"\u0426\u0435\u043B\u044C",selected:M,onClick:function(){function W(){return D(!M)}return W}()})]}),children:F})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:s.length>0?'\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043F\u043E\u0438\u0441\u043A\u0430 "'+s+'"':"\u0412\u0441\u0435 \u044D\u043C\u043E\u0446\u0438\u0438",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"crosshairs",selected:R,onClick:function(){function W(){return j(!R)}return W}(),children:"\u0412\u044B\u0431\u0438\u0440\u0430\u0442\u044C \u0446\u0435\u043B\u044C"}),children:(0,e.createComponentVNode)(2,o.Stack,{children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:d.filter(function(W){return W.key&&(s.length>0?W.key.toLowerCase().includes(s.toLowerCase())||W.name.toLowerCase().includes(s.toLowerCase()):!0)&&(v?W.visible:!0)&&(N?W.audible:!0)&&(I?W.sound:!0)&&(x?W.hands:!0)&&(M?W.targettable:!0)}).map(function(W){return(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function _(){return c("play_emote",{emote_key:W.key,useTarget:R})}return _}(),children:[W.visible?(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}):"",W.audible?(0,e.createComponentVNode)(2,o.Icon,{name:"comment"}):"",W.sound?(0,e.createComponentVNode)(2,o.Icon,{name:"volume-up"}):"",W.hands?(0,e.createComponentVNode)(2,o.Icon,{name:"hand-paper"}):"",W.targettable?(0,e.createComponentVNode)(2,o.Icon,{name:"crosshairs"}):"",W.name]},W.name)})})})})})],4)}return S}()},99012:function(w,r,n){"use strict";r.__esModule=!0,r.EvolutionMenu=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(45493),V=n(74041),y=n(50640),S=r.EvolutionMenu=function(){function u(c,m){return(0,e.createComponentVNode)(2,f.Window,{width:480,height:580,theme:"changeling",children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,C)]})})})}return u}(),k=function(c,m){var d=(0,t.useBackend)(m),l=d.act,s=d.data,i=s.evo_points,p=s.can_respec;return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Evolution Points",height:5.5,children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,color:"label",children:"Points remaining:"}),(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,ml:2,bold:!0,color:"#1b945c",children:i}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,o.Button,{ml:2.5,disabled:!p,content:"Readapt",icon:"sync",onClick:function(){function v(){return l("readapt")}return v}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"By transforming a humanoid into a husk, we gain the ability to readapt our chosen evolutions.",tooltipPosition:"bottom",icon:"question-circle"})]})]})})})},C=function(c,m){var d=(0,t.useBackend)(m),l=d.act,s=d.data,i=s.evo_points,p=s.ability_tabs,v=s.purchased_abilities,g=s.view_mode,h=(0,t.useLocalState)(m,"selectedTab",p[0]),N=h[0],b=h[1],B=(0,t.useLocalState)(m,"searchText",""),I=B[0],L=B[1],T=(0,t.useLocalState)(m,"ability_tabs",p[0].abilities),x=T[0],A=T[1],E=function(R,j){if(j===void 0&&(j=""),!R||R.length===0)return[];var F=(0,a.createSearch)(j,function(W){return W.name+"|"+W.description});return(0,V.flow)([(0,y.filter)(function(W){return W==null?void 0:W.name}),(0,y.filter)(F),(0,y.sortBy)(function(W){return W==null?void 0:W.name})])(R)},M=function(R){if(L(R),R==="")return A(N.abilities);A(E(p.map(function(j){return j.abilities}).flat(),R))},D=function(R){b(R),A(R.abilities),L("")};return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Abilities",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Input,{width:"200px",placeholder:"Search Abilities",onInput:function(){function P(R,j){M(j)}return P}(),value:I}),(0,e.createComponentVNode)(2,o.Button,{icon:g?"square-o":"check-square-o",selected:!g,content:"Compact",onClick:function(){function P(){return l("set_view_mode",{mode:0})}return P}()}),(0,e.createComponentVNode)(2,o.Button,{icon:g?"check-square-o":"square-o",selected:g,content:"Expanded",onClick:function(){function P(){return l("set_view_mode",{mode:1})}return P}()})],4),children:[(0,e.createComponentVNode)(2,o.Tabs,{children:p.map(function(P){return(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===""&&N===P,onClick:function(){function R(){D(P)}return R}(),children:P.category},P)})}),x.map(function(P,R){return(0,e.createComponentVNode)(2,o.Box,{p:.5,mx:-1,className:"candystripe",children:[(0,e.createComponentVNode)(2,o.Stack,{align:"center",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{ml:.5,color:"#dedede",children:P.name}),v.includes(P.power_path)&&(0,e.createComponentVNode)(2,o.Stack.Item,{ml:2,bold:!0,color:"#1b945c",children:"(Purchased)"}),(0,e.createComponentVNode)(2,o.Stack.Item,{mr:3,textAlign:"right",grow:1,children:[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:["Cost:"," "]}),(0,e.createComponentVNode)(2,o.Box,{as:"span",bold:!0,color:"#1b945c",children:P.cost})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{textAlign:"right",children:(0,e.createComponentVNode)(2,o.Button,{mr:.5,disabled:P.cost>i||v.includes(P.power_path),content:"Evolve",onClick:function(){function j(){return l("purchase",{power_path:P.power_path})}return j}()})})]}),!!g&&(0,e.createComponentVNode)(2,o.Stack,{color:"#8a8a8a",my:1,ml:1.5,width:"95%",children:P.description+" "+P.helptext})]},R)})]})})}},37504:function(w,r,n){"use strict";r.__esModule=!0,r.ExosuitFabricator=void 0;var e=n(96524),a=n(28234),t=n(78234),o=n(17899),f=n(24674),V=n(99509),y=n(45493),S=["id","amount","lineDisplay","onClick"];function k(v,g){if(v==null)return{};var h={},N=Object.keys(v),b,B;for(B=0;B=0)&&(h[b]=v[b]);return h}var C=2e3,u={bananium:"clown",tranquillite:"mime"},c=r.ExosuitFabricator=function(){function v(g,h){var N=(0,o.useBackend)(h),b=N.act,B=N.data,I=B.building;return(0,e.createComponentVNode)(2,y.Window,{width:950,height:625,children:(0,e.createComponentVNode)(2,y.Window.Content,{className:"Exofab",children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,d)}),I&&(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,l)})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m)}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,s)})]})})]})})})}return v}(),m=function(g,h){var N=(0,o.useBackend)(h),b=N.act,B=N.data,I=B.materials,L=B.capacity,T=Object.values(I).reduce(function(x,A){return x+A},0);return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,title:"Materials",className:"Exofab__materials",buttons:(0,e.createComponentVNode)(2,f.Box,{color:"label",mt:"0.25rem",children:[(T/L*100).toPrecision(3),"% full"]}),children:["metal","glass","silver","gold","uranium","titanium","plasma","diamond","bluespace","bananium","tranquillite","plastic"].map(function(x){return(0,e.createComponentVNode)(2,i,{mt:-2,id:x,bold:x==="metal"||x==="glass",onClick:function(){function A(){return b("withdraw",{id:x})}return A}()},x)})})},d=function(g,h){var N=(0,o.useBackend)(h),b=N.act,B=N.data,I=B.curCategory,L=B.categories,T=B.designs,x=B.syncing,A=(0,o.useLocalState)(h,"searchText",""),E=A[0],M=A[1],D=(0,t.createSearch)(E,function(R){return R.name}),P=T.filter(D);return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,className:"Exofab__designs",title:(0,e.createComponentVNode)(2,f.Dropdown,{className:"Exofab__dropdown",selected:I,options:L,onSelected:function(){function R(j){return b("category",{cat:j})}return R}()}),buttons:(0,e.createComponentVNode)(2,f.Box,{mt:"2px",children:[(0,e.createComponentVNode)(2,f.Button,{icon:"plus",content:"Queue all",onClick:function(){function R(){return b("queueall")}return R}()}),(0,e.createComponentVNode)(2,f.Button,{disabled:x,iconSpin:x,icon:"sync-alt",content:x?"Synchronizing...":"Synchronize with R&D servers",onClick:function(){function R(){return b("sync")}return R}()})]}),children:[(0,e.createComponentVNode)(2,f.Input,{placeholder:"Search by name...",mb:"0.5rem",width:"100%",onInput:function(){function R(j,F){return M(F)}return R}()}),P.map(function(R){return(0,e.createComponentVNode)(2,p,{design:R},R.id)}),P.length===0&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"No designs found."})]})},l=function(g,h){var N=(0,o.useBackend)(h),b=N.act,B=N.data,I=B.building,L=B.buildStart,T=B.buildEnd,x=B.worldTime;return(0,e.createComponentVNode)(2,f.Section,{className:"Exofab__building",stretchContents:!0,children:(0,e.createComponentVNode)(2,f.ProgressBar.Countdown,{start:L,current:x,end:T,children:(0,e.createComponentVNode)(2,f.Stack,{children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Icon,{name:"cog",spin:!0})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:["Building ",I,"\xA0(",(0,e.createComponentVNode)(2,V.Countdown,{current:x,timeLeft:T-x,format:function(){function A(E,M){return M.substr(3)}return A}()}),")"]})]})})})},s=function(g,h){var N=(0,o.useBackend)(h),b=N.act,B=N.data,I=B.queue,L=B.processingQueue,T=Object.entries(B.queueDeficit).filter(function(A){return A[1]<0}),x=I.reduce(function(A,E){return A+E.time},0);return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,className:"Exofab__queue",title:"Queue",buttons:(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,f.Button,{selected:L,icon:L?"toggle-on":"toggle-off",content:"Process",onClick:function(){function A(){return b("process")}return A}()}),(0,e.createComponentVNode)(2,f.Button,{disabled:I.length===0,icon:"eraser",content:"Clear",onClick:function(){function A(){return b("unqueueall")}return A}()})]}),children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:I.length===0?(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"The queue is empty."}):(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__queue--queue",grow:!0,overflow:"auto",children:I.map(function(A,E){return(0,e.createComponentVNode)(2,f.Box,{color:A.notEnough&&"bad",children:[E+1,". ",A.name,E>0&&(0,e.createComponentVNode)(2,f.Button,{icon:"arrow-up",onClick:function(){function M(){return b("queueswap",{from:E+1,to:E})}return M}()}),E0&&(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__queue--time",children:[(0,e.createComponentVNode)(2,f.Divider),"Processing time:",(0,e.createComponentVNode)(2,f.Icon,{name:"clock",mx:"0.5rem"}),(0,e.createComponentVNode)(2,f.Box,{inline:!0,bold:!0,children:new Date(x/10*1e3).toISOString().substr(14,5)})]}),Object.keys(T).length>0&&(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__queue--deficit",shrink:"0",children:[(0,e.createComponentVNode)(2,f.Divider),"Lacking materials to complete:",T.map(function(A){return(0,e.createComponentVNode)(2,f.Box,{children:(0,e.createComponentVNode)(2,i,{id:A[0],amount:-A[1],lineDisplay:!0})},A[0])})]})],0)})})},i=function(g,h){var N=(0,o.useBackend)(h),b=N.act,B=N.data,I=g.id,L=g.amount,T=g.lineDisplay,x=g.onClick,A=k(g,S),E=B.materials[I]||0,M=L||E;if(!(M<=0&&!(I==="metal"||I==="glass"))){var D=L&&L>E;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,f.Stack,Object.assign({align:"center",className:(0,a.classes)(["Exofab__material",T&&"Exofab__material--line"])},A,{children:T?(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Stack.Item,{className:(0,a.classes)(["materials32x32",I])}),(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__material--amount",color:D&&"bad",ml:0,mr:1,children:M.toLocaleString("en-US")})],4):(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Stack.Item,{basis:"content",children:(0,e.createComponentVNode)(2,f.Button,{width:"85%",color:"transparent",onClick:x,children:(0,e.createComponentVNode)(2,f.Box,{mt:1,className:(0,a.classes)(["materials32x32",I])})})}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:"1",children:[(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__material--name",children:I}),(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__material--amount",children:[M.toLocaleString("en-US")," cm\xB3 (",Math.round(M/C*10)/10," ","sheets)"]})]})],4)})))}},p=function(g,h){var N=(0,o.useBackend)(h),b=N.act,B=N.data,I=g.design;return(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__design",children:[(0,e.createComponentVNode)(2,f.Button,{disabled:I.notEnough||B.building,icon:"cog",content:I.name,onClick:function(){function L(){return b("build",{id:I.id})}return L}()}),(0,e.createComponentVNode)(2,f.Button,{icon:"plus-circle",onClick:function(){function L(){return b("queue",{id:I.id})}return L}()}),(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__design--cost",children:Object.entries(I.cost).map(function(L){return(0,e.createComponentVNode)(2,f.Box,{children:(0,e.createComponentVNode)(2,i,{id:L[0],amount:L[1],lineDisplay:!0})},L[0])})}),(0,e.createComponentVNode)(2,f.Stack,{className:"Exofab__design--time",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:[(0,e.createComponentVNode)(2,f.Icon,{name:"clock"}),I.time>0?(0,e.createFragment)([I.time/10,(0,e.createTextVNode)(" seconds")],0):"Instant"]})})]})}},9466:function(w,r,n){"use strict";r.__esModule=!0,r.ExperimentConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=new Map([[0,{text:"Conscious",color:"good"}],[1,{text:"Unconscious",color:"average"}],[2,{text:"Deceased",color:"bad"}]]),V=new Map([[0,{label:"Probe",icon:"thermometer"}],[1,{label:"Dissect",icon:"brain"}],[2,{label:"Analyze",icon:"search"}]]),y=r.ExperimentConsole=function(){function S(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.open,l=m.feedback,s=m.occupant,i=m.occupant_name,p=m.occupant_status,v=function(){function h(){if(!s)return(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No specimen detected."});var N=function(){function B(){return f.get(p)}return B}(),b=N();return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:b.color,children:b.text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Experiments",children:[0,1,2].map(function(B){return(0,e.createComponentVNode)(2,t.Button,{icon:V.get(B).icon,content:V.get(B).label,onClick:function(){function I(){return c("experiment",{experiment_type:B})}return I}()},B)})})]})}return h}(),g=v();return(0,e.createComponentVNode)(2,o.Window,{theme:"abductor",width:350,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:l})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Scanner",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject",disabled:!d,onClick:function(){function h(){return c("door")}return h}()}),children:g})]})})}return S}()},77284:function(w,r,n){"use strict";r.__esModule=!0,r.ExternalAirlockController=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=0,V=1013,y=function(C){var u="good",c=80,m=95,d=110,l=120;return Cd?u="average":C>l&&(u="bad"),u},S=r.ExternalAirlockController=function(){function k(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.chamber_pressure,s=d.exterior_status,i=d.interior_status,p=d.processing;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:205,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Chamber Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:y(l),value:l,minValue:f,maxValue:V,children:[l," kPa"]})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Actions",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Abort",icon:"ban",color:"red",disabled:!p,onClick:function(){function v(){return m("abort")}return v}()}),children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:p,onClick:function(){function v(){return m("cycle_ext")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Cycle to Interior",icon:"arrow-circle-right",disabled:p,onClick:function(){function v(){return m("cycle_int")}return v}()})]}),(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Force Exterior Door",icon:"exclamation-triangle",color:i==="open"?"red":p?"yellow":null,onClick:function(){function v(){return m("force_ext")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Force Interior Door",icon:"exclamation-triangle",color:i==="open"?"red":p?"yellow":null,onClick:function(){function v(){return m("force_int")}return v}()})]})]})]})})}return k}()},52516:function(w,r,n){"use strict";r.__esModule=!0,r.FaxMachine=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.FaxMachine=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data;return(0,e.createComponentVNode)(2,o.Window,{width:540,height:295,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Card",children:(0,e.createComponentVNode)(2,t.Button,{icon:u.scan_name?"eject":"id-card",selected:u.scan_name,content:u.scan_name?u.scan_name:"-----",tooltip:u.scan_name?"Eject ID":"Insert ID",onClick:function(){function c(){return C("scan")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Authorize",children:(0,e.createComponentVNode)(2,t.Button,{icon:u.authenticated?"sign-out-alt":"id-card",selected:u.authenticated,disabled:u.nologin,content:u.realauth?"Log Out":"Log In",onClick:function(){function c(){return C("auth")}return c}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Fax Menu",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network",children:u.network}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Document",children:[(0,e.createComponentVNode)(2,t.Button,{icon:u.paper?"eject":"paperclip",disabled:!u.authenticated&&!u.paper,content:u.paper?u.paper:"-----",onClick:function(){function c(){return C("paper")}return c}()}),!!u.paper&&(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Rename",onClick:function(){function c(){return C("rename")}return c}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sending To",children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:u.destination?u.destination:"-----",disabled:!u.authenticated,onClick:function(){function c(){return C("dept")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Action",children:(0,e.createComponentVNode)(2,t.Button,{icon:"envelope",content:u.sendError?u.sendError:"Send",disabled:!u.paper||!u.destination||!u.authenticated||u.sendError,onClick:function(){function c(){return C("send")}return c}()})})]})})]})})}return V}()},24777:function(w,r,n){"use strict";r.__esModule=!0,r.FilingCabinet=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.FilingCabinet=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=k.config,m=u.contents,d=c.title;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Contents",children:[!m&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"folder-open",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"The ",d," is empty."]})}),!!m&&m.slice().map(function(l){return(0,e.createComponentVNode)(2,t.Stack,{mt:.5,className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"80%",children:l.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Retrieve",onClick:function(){function s(){return C("retrieve",{index:l.index})}return s}()})})]},l)})]})})})})}return V}()},88361:function(w,r,n){"use strict";r.__esModule=!0,r.FloorPainter=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=S.image,d=S.isSelected,l=S.onSelect;return(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+m,style:{"border-style":d&&"solid"||"none","border-width":"2px","border-color":"orange",padding:d&&"2px"||"4px"},onClick:l})},V=r.FloorPainter=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.availableStyles,d=c.selectedStyle,l=c.selectedDir,s=c.directionsPreview,i=c.allStylesPreview;return(0,e.createComponentVNode)(2,o.Window,{width:405,height:475,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Decal setup",children:[(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-left",onClick:function(){function p(){return u("cycle_style",{offset:-1})}return p}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Dropdown,{options:m,selected:d,width:"150px",height:"20px",ml:"2px",mr:"2px",nochevron:!0,onSelected:function(){function p(v){return u("select_style",{style:v})}return p}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",onClick:function(){function p(){return u("cycle_style",{offset:1})}return p}()})})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"5px",mb:"5px",children:(0,e.createComponentVNode)(2,t.Flex,{overflowY:"auto",maxHeight:"220px",wrap:"wrap",children:m.map(function(p){return(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,f,{image:i[p],isSelected:d===p,onSelect:function(){function v(){return u("select_style",{style:p})}return v}()})},"{style}")})})}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Direction",children:(0,e.createComponentVNode)(2,t.Table,{style:{display:"inline"},children:["north","","south"].map(function(p){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[p+"west",p,p+"east"].map(function(v){return(0,e.createComponentVNode)(2,t.Table.Cell,{style:{"vertical-align":"middle","text-align":"center"},children:v===""?(0,e.createComponentVNode)(2,t.Icon,{name:"arrows-alt",size:3}):(0,e.createComponentVNode)(2,f,{image:s[v],isSelected:v===l,onSelect:function(){function g(){return u("select_direction",{direction:v})}return g}()})},v)})},p)})})})})]})})})}return y}()},70078:function(w,r,n){"use strict";r.__esModule=!0,r.GPS=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=function(d){return d?"("+d.join(", ")+")":"ERROR"},y=function(d,l){if(!(!d||!l)){if(d[2]!==l[2])return null;var s=Math.atan2(l[1]-d[1],l[0]-d[0]),i=Math.sqrt(Math.pow(l[1]-d[1],2)+Math.pow(l[0]-d[0],2));return{angle:(0,a.rad2deg)(s),distance:i}}},S=r.GPS=function(){function m(d,l){var s=(0,t.useBackend)(l),i=s.data,p=i.emped,v=i.active,g=i.area,h=i.position,N=i.saved;return(0,e.createComponentVNode)(2,f.Window,{width:400,height:600,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:p?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,k,{emp:!0})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,C)}),v?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,u,{area:g,position:h})}),N&&(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,u,{title:"Saved Position",position:N})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,c,{height:"100%"})})],0):(0,e.createComponentVNode)(2,k)],0)})})})}return m}(),k=function(d,l){var s=d.emp;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:(0,e.createComponentVNode)(2,o.Box,{width:"100%",height:"100%",color:"label",textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:s?"ban":"power-off",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),s?"ERROR: Device temporarily lost signal.":"Device is disabled."]})})})})},C=function(d,l){var s=(0,t.useBackend)(l),i=s.act,p=s.data,v=p.active,g=p.tag,h=p.same_z,N=(0,t.useLocalState)(l,"newTag",g),b=N[0],B=N[1];return(0,e.createComponentVNode)(2,o.Section,{title:"Settings",buttons:(0,e.createComponentVNode)(2,o.Button,{selected:v,icon:v?"toggle-on":"toggle-off",content:v?"On":"Off",onClick:function(){function I(){return i("toggle")}return I}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Tag",children:[(0,e.createComponentVNode)(2,o.Input,{width:"5rem",value:g,onEnter:function(){function I(){return i("tag",{newtag:b})}return I}(),onInput:function(){function I(L,T){return B(T)}return I}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:g===b,width:"20px",mb:"0",ml:"0.25rem",onClick:function(){function I(){return i("tag",{newtag:b})}return I}(),children:(0,e.createComponentVNode)(2,o.Icon,{name:"pen"})})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Range",children:(0,e.createComponentVNode)(2,o.Button,{selected:!h,icon:h?"compress":"expand",content:h?"Local Sector":"Global",onClick:function(){function I(){return i("same_z")}return I}()})})]})})},u=function(d,l){var s=d.title,i=d.area,p=d.position;return(0,e.createComponentVNode)(2,o.Section,{title:s||"Position",children:(0,e.createComponentVNode)(2,o.Box,{fontSize:"1.5rem",children:[i&&(0,e.createFragment)([i,(0,e.createVNode)(1,"br")],0),V(p)]})})},c=function(d,l){var s=(0,t.useBackend)(l),i=s.data,p=i.position,v=i.signals;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,title:"Signals"},d,{children:(0,e.createComponentVNode)(2,o.Table,{children:v.map(function(g){return Object.assign({},g,y(p,g.position))}).map(function(g,h){return(0,e.createComponentVNode)(2,o.Table.Row,{backgroundColor:h%2===0&&"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,o.Table.Cell,{width:"30%",verticalAlign:"middle",color:"label",p:"0.25rem",bold:!0,children:g.tag}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",color:"grey",children:g.area}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",collapsing:!0,children:g.distance!==void 0&&(0,e.createComponentVNode)(2,o.Box,{opacity:Math.max(1-Math.min(g.distance,100)/100,.5),children:[(0,e.createComponentVNode)(2,o.Icon,{name:g.distance>0?"arrow-right":"circle",rotation:-g.angle}),"\xA0",Math.floor(g.distance)+"m"]})}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",pr:"0.25rem",collapsing:!0,children:V(g.position)})]},h)})})})))}},92246:function(w,r,n){"use strict";r.__esModule=!0,r.GeneModder=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(99665),f=n(45493),V=r.GeneModder=function(){function d(l,s){var i=(0,a.useBackend)(s),p=i.data,v=p.has_seed;return(0,e.createComponentVNode)(2,f.Window,{width:500,height:650,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,o.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),v===0?(0,e.createComponentVNode)(2,S):(0,e.createComponentVNode)(2,y)]})})})}return d}(),y=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.disk;return(0,e.createComponentVNode)(2,t.Section,{title:"Genes",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Insert Gene from Disk",disabled:!g||!g.can_insert||g.is_core,icon:"arrow-circle-down",onClick:function(){function h(){return p("insert")}return h}()}),children:[(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,c)]})},S=function(l,s){return(0,e.createComponentVNode)(2,t.Section,{fill:!0,height:"85%",children:(0,e.createComponentVNode)(2,t.Stack,{height:"100%",children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"green",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"leaf",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),"The plant DNA manipulator is missing a seed."]})})})},k=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.has_seed,h=v.seed,N=v.has_disk,b=v.disk,B,I;return g?B=(0,e.createComponentVNode)(2,t.Stack.Item,{mb:"-6px",mt:"-4px",children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+h.image,style:{"vertical-align":"middle",width:"32px",margin:"-1px","margin-left":"-11px"}}),(0,e.createComponentVNode)(2,t.Button,{content:h.name,onClick:function(){function L(){return p("eject_seed")}return L}()}),(0,e.createComponentVNode)(2,t.Button,{ml:"3px",icon:"pen",tooltip:"Name Variant",onClick:function(){function L(){return p("variant_name")}return L}()})]}):B=(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{ml:3.3,content:"None",onClick:function(){function L(){return p("eject_seed")}return L}()})}),N?I=b.name:I="None",(0,e.createComponentVNode)(2,t.Section,{title:"Storage",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Plant Sample",children:B}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Disk",children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{ml:3.3,content:I,onClick:function(){function L(){return p("eject_disk")}return L}()})})})]})})},C=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.disk,h=v.core_genes;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Core Genes",open:!0,children:[h.map(function(N){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",ml:"2px",children:N.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Extract",disabled:!(g!=null&&g.can_extract),icon:"save",onClick:function(){function b(){return p("extract",{id:N.id})}return b}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Replace",disabled:!N.is_type||!g.can_insert,icon:"arrow-circle-down",onClick:function(){function b(){return p("replace",{id:N.id})}return b}()})})]},N)})," ",(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Extract All",disabled:!(g!=null&&g.can_extract),icon:"save",onClick:function(){function N(){return p("bulk_extract_core")}return N}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Replace All",disabled:!(g!=null&&g.is_bulk_core),icon:"arrow-circle-down",onClick:function(){function N(){return p("bulk_replace_core")}return N}()})})]})]},"Core Genes")},u=function(l,s){var i=(0,a.useBackend)(s),p=i.data,v=p.reagent_genes,g=p.has_reagent;return(0,e.createComponentVNode)(2,m,{title:"Reagent Genes",gene_set:v,do_we_show:g})},c=function(l,s){var i=(0,a.useBackend)(s),p=i.data,v=p.trait_genes,g=p.has_trait;return(0,e.createComponentVNode)(2,m,{title:"Trait Genes",gene_set:v,do_we_show:g})},m=function(l,s){var i=l.title,p=l.gene_set,v=l.do_we_show,g=(0,a.useBackend)(s),h=g.act,N=g.data,b=N.disk;return(0,e.createComponentVNode)(2,t.Collapsible,{title:i,open:!0,children:v?p.map(function(B){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",ml:"2px",children:B.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Extract",disabled:!(b!=null&&b.can_extract),icon:"save",onClick:function(){function I(){return h("extract",{id:B.id})}return I}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"times",onClick:function(){function I(){return h("remove",{id:B.id})}return I}()})})]},B)}):(0,e.createComponentVNode)(2,t.Stack.Item,{children:"No Genes Detected"})},i)}},27163:function(w,r,n){"use strict";r.__esModule=!0,r.GenericCrewManifest=void 0;var e=n(96524),a=n(24674),t=n(45493),o=n(98444),f=r.GenericCrewManifest=function(){function V(y,S){return(0,e.createComponentVNode)(2,t.Window,{theme:"nologo",width:588,height:510,children:(0,e.createComponentVNode)(2,t.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,a.Section,{noTopPadding:!0,children:(0,e.createComponentVNode)(2,o.CrewManifest)})})})}return V}()},53808:function(w,r,n){"use strict";r.__esModule=!0,r.GhostHudPanel=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.GhostHudPanel=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.data,c=u.security,m=u.medical,d=u.diagnostic,l=u.radioactivity,s=u.ahud;return(0,e.createComponentVNode)(2,o.Window,{width:250,height:207,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,V,{label:"Medical",type:"medical",is_active:m}),(0,e.createComponentVNode)(2,V,{label:"Security",type:"security",is_active:c}),(0,e.createComponentVNode)(2,V,{label:"Diagnostic",type:"diagnostic",is_active:d}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,V,{label:"Radioactivity",type:"radioactivity",is_active:l,act_on:"rads_on",act_off:"rads_off"}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,V,{label:"Antag HUD",is_active:s,act_on:"ahud_on",act_off:"ahud_off"})]})})})}return y}(),V=function(S,k){var C=(0,a.useBackend)(k),u=C.act,c=S.label,m=S.type,d=m===void 0?null:m,l=S.is_active,s=S.act_on,i=s===void 0?"hud_on":s,p=S.act_off,v=p===void 0?"hud_off":p;return(0,e.createComponentVNode)(2,t.Flex,{pt:.3,color:"label",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{pl:.5,align:"center",width:"80%",children:c}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{mr:.6,content:l?"On":"Off",icon:l?"toggle-on":"toggle-off",selected:l,onClick:function(){function g(){return u(l?v:i,{hud_type:d})}return g}()})})]})}},32035:function(w,r,n){"use strict";r.__esModule=!0,r.GlandDispenser=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.GlandDispenser=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.glands,m=c===void 0?[]:c;return(0,e.createComponentVNode)(2,o.Window,{width:300,height:338,theme:"abductor",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:m.map(function(d){return(0,e.createComponentVNode)(2,t.Button,{width:"60px",height:"60px",m:.75,textAlign:"center",fontSize:"17px",lineHeight:"55px",icon:"eject",backgroundColor:d.color,content:d.amount||"0",disabled:!d.amount,onClick:function(){function l(){return C("dispense",{gland_id:d.id})}return l}()},d.id)})})})})}return V}()},33004:function(w,r,n){"use strict";r.__esModule=!0,r.GravityGen=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.GravityGen=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.charging_state,m=u.charge_count,d=u.breaker,l=u.ext_power,s=function(){function p(v){return v>0?(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"average",children:["[ ",v===1?"Charging":"Discharging"," ]"]}):(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:l?"good":"bad",children:["[ ",l?"Powered":"Unpowered"," ]"]})}return p}(),i=function(){function p(v){if(v>0)return(0,e.createComponentVNode)(2,t.NoticeBox,{danger:!0,p:1.5,children:[(0,e.createVNode)(1,"b",null,"WARNING:",16)," Radiation Detected!"]})}return p}();return(0,e.createComponentVNode)(2,o.Window,{width:350,height:170,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[i(c),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Generator Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:d?"power-off":"times",content:d?"Online":"Offline",color:d?"green":"red",px:1.5,onClick:function(){function p(){return C("breaker")}return p}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Status",color:l?"good":"bad",children:s(c)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gravity Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:m/100,ranges:{good:[.9,1/0],average:[.5,.9],bad:[-1/0,.5]}})})]})})]})})})}return V}()},39775:function(w,r,n){"use strict";r.__esModule=!0,r.GuestPass=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(57842),V=r.GuestPass=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:690,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"id-card",selected:!c.showlogs,onClick:function(){function m(){return u("mode",{mode:0})}return m}(),children:"Issue Pass"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"scroll",selected:c.showlogs,onClick:function(){function m(){return u("mode",{mode:1})}return m}(),children:["Records (",c.issue_log.length,")"]})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Card",children:(0,e.createComponentVNode)(2,t.Button,{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(){function m(){return u("scan")}return m}()})})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:!c.showlogs&&(0,e.createComponentVNode)(2,t.Section,{title:"Issue Guest Pass",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Issue To",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.giv_name?c.giv_name:"-----",disabled:!c.scan_name,onClick:function(){function m(){return u("giv_name")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reason",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.reason?c.reason:"-----",disabled:!c.scan_name,onClick:function(){function m(){return u("reason")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Duration",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.duration?c.duration:"-----",disabled:!c.scan_name,onClick:function(){function m(){return u("duration")}return m}()})})]})})}),!c.showlogs&&(c.scan_name?(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.AccessList,{sectionButtons:(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:c.printmsg,disabled:!c.canprint,onClick:function(){function m(){return u("issue")}return m}()}),grantableList:c.grantableList,accesses:c.regions,selectedList:c.selectedAccess,accessMod:function(){function m(d){return u("access",{access:d})}return m}(),grantAll:function(){function m(){return u("grant_all")}return m}(),denyAll:function(){function m(){return u("clear_all")}return m}(),grantDep:function(){function m(d){return u("grant_region",{region:d})}return m}(),denyDep:function(){function m(d){return u("deny_region",{region:d})}return m}()})}):(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,fontSize:1.5,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"id-card",size:5,color:"gray",mb:5}),(0,e.createVNode)(1,"br"),"Please, insert ID Card"]})})})})),!!c.showlogs&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Issuance Log",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print",disabled:!c.scan_name,onClick:function(){function m(){return u("print")}return m}()}),children:!!c.issue_log.length&&(0,e.createComponentVNode)(2,t.LabeledList,{children:c.issue_log.map(function(m,d){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:m},d)})})||(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,fontSize:1.5,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No logs"]})})})})]})})})}return y}()},22480:function(w,r,n){"use strict";r.__esModule=!0,r.HandheldChemDispenser=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=[1,5,10,20,30,50],V=null,y=r.HandheldChemDispenser=function(){function C(u,c){return(0,e.createComponentVNode)(2,o.Window,{width:390,height:430,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,k)]})})})}return C}(),S=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.amount,i=l.energy,p=l.maxEnergy,v=l.mode;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:i,minValue:0,maxValue:p,ranges:{good:[p*.5,1/0],average:[p*.25,p*.5],bad:[-1/0,p*.25]},children:[i," / ",p," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Amount",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{children:f.map(function(g,h){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"15%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"cog",selected:s===g,content:g,onClick:function(){function N(){return d("amount",{amount:g})}return N}()})},h)})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mode",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{justify:"space-between",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:v==="dispense",content:"Dispense",m:"0",width:"32%",onClick:function(){function g(){return d("mode",{mode:"dispense"})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:v==="remove",content:"Remove",m:"0",width:"32%",onClick:function(){function g(){return d("mode",{mode:"remove"})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:v==="isolate",content:"Isolate",m:"0",width:"32%",onClick:function(){function g(){return d("mode",{mode:"isolate"})}return g}()})]})})]})})})},k=function(u,c){for(var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.chemicals,i=s===void 0?[]:s,p=l.current_reagent,v=[],g=0;g<(i.length+1)%3;g++)v.push(!0);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,height:"18%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:l.glass?"Drink Selector":"Chemical Selector",children:[i.map(function(h,N){return(0,e.createComponentVNode)(2,t.Button,{width:"32%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",selected:p===h.id,content:h.title,style:{"margin-left":"2px"},onClick:function(){function b(){return d("dispense",{reagent:h.id})}return b}()},N)}),v.map(function(h,N){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:"1",basis:"25%"},N)})]})})}},22616:function(w,r,n){"use strict";r.__esModule=!0,r.HealthSensor=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=r.HealthSensor=function(){function S(k,C){var u=(0,t.useBackend)(C),c=u.act,m=u.data,d=m.on,l=m.user_health,s=m.minHealth,i=m.maxHealth,p=m.alarm_health;return(0,e.createComponentVNode)(2,f.Window,{width:300,height:125,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Scanning",children:(0,e.createComponentVNode)(2,o.Button,{icon:"power-off",content:d?"On":"Off",color:d?null:"red",selected:d,onClick:function(){function v(){return c("scan_toggle")}return v}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health activation",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:2,stepPixelSize:6,minValue:s,maxValue:i,value:p,format:function(){function v(g){return(0,a.toFixed)(g,1)}return v}(),width:"80px",onDrag:function(){function v(g,h){return c("alarm_health",{alarm_health:h})}return v}()})}),l!==null&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"User health",children:(0,e.createComponentVNode)(2,o.Box,{color:y(l),bold:l>=100,children:(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:l})})})]})})})})}return S}(),y=function(k){return k>50?"green":k>0?"orange":"red"}},76861:function(w,r,n){"use strict";r.__esModule=!0,r.Holodeck=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Holodeck=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=(0,a.useLocalState)(k,"currentDeck",""),d=m[0],l=m[1],s=(0,a.useLocalState)(k,"showReload",!1),i=s[0],p=s[1],v=c.decks,g=c.ai_override,h=c.emagged,N=function(){function b(B){u("select_deck",{deck:B}),l(B),p(!0),setTimeout(function(){p(!1)},3e3)}return b}();return(0,e.createComponentVNode)(2,o.Window,{width:400,height:320,children:[i&&(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Holodeck Control System",children:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createVNode)(1,"b",null,"Currently Loaded Program:",16)," ",d]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Available Programs",children:[v.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{width:15.5,color:"transparent",content:b,selected:b===d,onClick:function(){function B(){return N(b)}return B}()},b)}),(0,e.createVNode)(1,"hr",null,null,1,{color:"gray"}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!g&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Override Protocols",children:(0,e.createComponentVNode)(2,t.Button,{content:h?"Turn On":"Turn Off",color:h?"good":"bad",onClick:function(){function b(){return u("ai_override")}return b}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety Protocols",children:(0,e.createComponentVNode)(2,t.Box,{color:h?"bad":"good",children:[h?"Off":"On",!!h&&(0,e.createComponentVNode)(2,t.Button,{ml:9.5,width:15.5,color:"red",content:"Wildlife Simulation",onClick:function(){function b(){return u("wildlifecarp")}return b}()})]})})]})]})})]})})]})}return y}(),V=function(S,k){return(0,e.createComponentVNode)(2,t.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"spinner",size:"5",spin:!0}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{color:"white",children:(0,e.createVNode)(1,"h1",null,"\xA0Recalibrating projection apparatus.\xA0",16)}),(0,e.createComponentVNode)(2,t.Box,{color:"label",children:(0,e.createVNode)(1,"h3",null,"Please, wait for 3 seconds.",16)})]})}},96729:function(w,r,n){"use strict";r.__esModule=!0,r.Instrument=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=r.Instrument=function(){function u(c,m){var d=(0,t.useBackend)(m),l=d.act,s=d.data;return(0,e.createComponentVNode)(2,f.Window,{width:600,height:505,children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,C)]})})]})}return u}(),y=function(c,m){var d=(0,t.useBackend)(m),l=d.act,s=d.data,i=s.help;if(i)return(0,e.createComponentVNode)(2,o.Modal,{maxWidth:"75%",height:window.innerHeight*.75+"px",mx:"auto",py:"0",px:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{height:"100%",title:"Help",level:"2",overflow:"auto",children:(0,e.createComponentVNode)(2,o.Box,{px:"0.5rem",mt:"-0.5rem",children:[(0,e.createVNode)(1,"h1",null,"Making a Song",16),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Lines are a series of chords, separated by commas\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(,)"}),(0,e.createTextVNode)(", each with notes separated by hyphens\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(-)"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Every note in a chord will play together, with the chord timed by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("as defined above.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Notes are played by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"names of the note"}),(0,e.createTextVNode)(", and optionally, the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(", and/or the"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave number"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("By default, every note is\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"natural"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("and in\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave 3"}),(0,e.createTextVNode)(". Defining a different state for either is remembered for each"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"note"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Example:"}),(0,e.createTextVNode)("\xA0"),(0,e.createVNode)(1,"i",null,"C,D,E,F,G,A,B",16),(0,e.createTextVNode)(" will play a\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"C"}),(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"major"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("scale.")],0),(0,e.createVNode)(1,"li",null,[(0,e.createTextVNode)("After a note has an\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("or\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("placed, it will be remembered:\xA0"),(0,e.createVNode)(1,"i",null,"C,C4,C#,C3",16),(0,e.createTextVNode)(" is "),(0,e.createVNode)(1,"i",null,"C3,C4,C4#,C3#",16)],0)],4)],0),(0,e.createVNode)(1,"p",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Chords"}),(0,e.createTextVNode)("\xA0can be played simply by seperating each note with a hyphen:"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"A-C#,Cn-E,E-G#,Gn-B",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("A"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"pause"}),(0,e.createTextVNode)("\xA0may be denoted by an empty chord: "),(0,e.createVNode)(1,"i",null,"C,E,,C,G",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("To make a chord be a different time, end it with /x, where the chord length will be length defined by\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo / x"}),(0,e.createTextVNode)(",\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"eg:"}),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"C,G/2,E/4",16),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Combined, an example line is: "),(0,e.createVNode)(1,"i",null,"E-E4/4,F#/2,G#/8,B/8,E3-E4/4",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,"Lines may be up to 300 characters.",16),(0,e.createVNode)(1,"li",null,"A song may only contain up to 1,000 lines.",16)],4)],4),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Lines are a series of chords, separated by commas\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(,)"}),(0,e.createTextVNode)(", each with notes separated by hyphens\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(-)"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Every note in a chord will play together, with the chord timed by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("as defined above.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Notes are played by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"names of the note"}),(0,e.createTextVNode)(", and optionally, the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(", and/or the"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave number"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("By default, every note is\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"natural"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("and in\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave 3"}),(0,e.createTextVNode)(". Defining a different state for either is remembered for each"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"note"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Example:"}),(0,e.createTextVNode)("\xA0"),(0,e.createVNode)(1,"i",null,"C,D,E,F,G,A,B",16),(0,e.createTextVNode)(" will play a\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"C"}),(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"major"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("scale.")],0),(0,e.createVNode)(1,"li",null,[(0,e.createTextVNode)("After a note has an\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("or\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("placed, it will be remembered:\xA0"),(0,e.createVNode)(1,"i",null,"C,C4,C#,C3",16),(0,e.createTextVNode)(" is "),(0,e.createVNode)(1,"i",null,"C3,C4,C4#,C3#",16)],0)],4)],0),(0,e.createVNode)(1,"p",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Chords"}),(0,e.createTextVNode)("\xA0can be played simply by seperating each note with a hyphen:"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"A-C#,Cn-E,E-G#,Gn-B",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("A"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"pause"}),(0,e.createTextVNode)("\xA0may be denoted by an empty chord: "),(0,e.createVNode)(1,"i",null,"C,E,,C,G",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("To make a chord be a different time, end it with /x, where the chord length will be length defined by\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo / x"}),(0,e.createTextVNode)(",\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"eg:"}),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"C,G/2,E/4",16),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Combined, an example line is: "),(0,e.createVNode)(1,"i",null,"E-E4/4,F#/2,G#/8,B/8,E3-E4/4",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,"Lines may be up to 300 characters.",16),(0,e.createVNode)(1,"li",null,"A song may only contain up to 1,000 lines.",16)],4)],4),(0,e.createVNode)(1,"h1",null,"Instrument Advanced Settings",16),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Type:"}),(0,e.createTextVNode)("\xA0Whether the instrument is legacy or synthesized."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Legacy instruments have a collection of sounds that are selectively used depending on the note to play."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Synthesized instruments use a base sound and change its pitch to match the note to play.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Current:"}),(0,e.createTextVNode)("\xA0Which instrument sample to play. Some instruments can be tuned to play different samples. Experiment!")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Note Shift/Note Transpose:"}),(0,e.createTextVNode)("\xA0The pitch to apply to all notes of the song.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Sustain Mode:"}),(0,e.createTextVNode)("\xA0How a played note fades out."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Linear sustain means a note will fade out at a constant rate."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Exponential sustain means a note will fade out at an exponential rate, sounding smoother.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Volume Dropoff Threshold:"}),(0,e.createTextVNode)("\xA0The volume threshold at which a note is fully stopped.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Sustain indefinitely last held note:"}),(0,e.createTextVNode)("\xA0Whether the last note should be sustained indefinitely.")],4)],4),(0,e.createComponentVNode)(2,o.Button,{color:"grey",content:"Close",onClick:function(){function p(){return l("help")}return p}()})]})})})},S=function(c,m){var d=(0,t.useBackend)(m),l=d.act,s=d.data,i=s.lines,p=s.playing,v=s.repeat,g=s.maxRepeats,h=s.tempo,N=s.minTempo,b=s.maxTempo,B=s.tickLag,I=s.volume,L=s.minVolume,T=s.maxVolume,x=s.ready;return(0,e.createComponentVNode)(2,o.Section,{title:"Instrument",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"info",content:"Help",onClick:function(){function A(){return l("help")}return A}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"file",content:"New",onClick:function(){function A(){return l("newsong")}return A}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"upload",content:"Import",onClick:function(){function A(){return l("import")}return A}()})],4),children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Playback",children:[(0,e.createComponentVNode)(2,o.Button,{selected:p,disabled:i.length===0||v<0,icon:"play",content:"Play",onClick:function(){function A(){return l("play")}return A}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!p,icon:"stop",content:"Stop",onClick:function(){function A(){return l("stop")}return A}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Repeat",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:0,maxValue:g,value:v,stepPixelSize:59,onChange:function(){function A(E,M){return l("repeat",{new:M})}return A}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Tempo",children:(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Button,{disabled:h>=b,content:"-",as:"span",mr:"0.5rem",onClick:function(){function A(){return l("tempo",{new:h+B})}return A}()}),(0,a.round)(600/h)," BPM",(0,e.createComponentVNode)(2,o.Button,{disabled:h<=N,content:"+",as:"span",ml:"0.5rem",onClick:function(){function A(){return l("tempo",{new:h-B})}return A}()})]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Volume",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:L,maxValue:T,value:I,stepPixelSize:6,onDrag:function(){function A(E,M){return l("setvolume",{new:M})}return A}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",children:x?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:"Ready"}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Instrument Definition Error!"})})]}),(0,e.createComponentVNode)(2,k)]})},k=function(c,m){var d=(0,t.useBackend)(m),l=d.act,s=d.data,i=s.allowedInstrumentNames,p=s.instrumentLoaded,v=s.instrument,g=s.canNoteShift,h=s.noteShift,N=s.noteShiftMin,b=s.noteShiftMax,B=s.sustainMode,I=s.sustainLinearDuration,L=s.sustainExponentialDropoff,T=s.legacy,x=s.sustainDropoffVolume,A=s.sustainHeldNote,E,M;return B===1?(E="Linear",M=(0,e.createComponentVNode)(2,o.Slider,{minValue:.1,maxValue:5,value:I,step:.5,stepPixelSize:85,format:function(){function D(P){return(0,a.round)(P*100)/100+" seconds"}return D}(),onChange:function(){function D(P,R){return l("setlinearfalloff",{new:R/10})}return D}()})):B===2&&(E="Exponential",M=(0,e.createComponentVNode)(2,o.Slider,{minValue:1.025,maxValue:10,value:L,step:.01,format:function(){function D(P){return(0,a.round)(P*1e3)/1e3+"% per decisecond"}return D}(),onChange:function(){function D(P,R){return l("setexpfalloff",{new:R})}return D}()})),i.sort(),(0,e.createComponentVNode)(2,o.Box,{my:-1,children:(0,e.createComponentVNode)(2,o.Collapsible,{mt:"1rem",mb:"0",title:"Advanced",children:(0,e.createComponentVNode)(2,o.Section,{mt:-1,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Type",children:T?"Legacy":"Synthesized"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Current",children:p?(0,e.createComponentVNode)(2,o.Dropdown,{options:i,selected:v,width:"50%",onSelected:function(){function D(P){return l("switchinstrument",{name:P})}return D}()}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"None!"})}),!!(!T&&g)&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Note Shift/Note Transpose",children:(0,e.createComponentVNode)(2,o.Slider,{minValue:N,maxValue:b,value:h,stepPixelSize:2,format:function(){function D(P){return P+" keys / "+(0,a.round)(P/12*100)/100+" octaves"}return D}(),onChange:function(){function D(P,R){return l("setnoteshift",{new:R})}return D}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Sustain Mode",children:[(0,e.createComponentVNode)(2,o.Dropdown,{options:["Linear","Exponential"],selected:E,onSelected:function(){function D(P){return l("setsustainmode",{new:P})}return D}()}),M]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Volume Dropoff Threshold",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:.01,maxValue:100,value:x,stepPixelSize:6,onChange:function(){function D(P,R){return l("setdropoffvolume",{new:R})}return D}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Sustain indefinitely last held note",children:(0,e.createComponentVNode)(2,o.Button,{selected:A,icon:A?"toggle-on":"toggle-off",content:A?"Yes":"No",onClick:function(){function D(){return l("togglesustainhold")}return D}()})})],4)]}),(0,e.createComponentVNode)(2,o.Button,{icon:"redo",content:"Reset to Default",mt:"0.5rem",onClick:function(){function D(){return l("reset")}return D}()})]})})})},C=function(c,m){var d=(0,t.useBackend)(m),l=d.act,s=d.data,i=s.playing,p=s.lines,v=s.editing;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Editor",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!v||i,icon:"plus",content:"Add Line",onClick:function(){function g(){return l("newline",{line:p.length+1})}return g}()}),(0,e.createComponentVNode)(2,o.Button,{selected:!v,icon:v?"chevron-up":"chevron-down",onClick:function(){function g(){return l("edit")}return g}()})],4),children:!!v&&(p.length>0?(0,e.createComponentVNode)(2,o.LabeledList,{children:p.map(function(g,h){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:h+1,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:i,icon:"pen",onClick:function(){function N(){return l("modifyline",{line:h+1})}return N}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:i,icon:"trash",onClick:function(){function N(){return l("deleteline",{line:h+1})}return N}()})],4),children:g},h)})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"Song is empty."}))})}},99366:function(w,r,n){"use strict";r.__esModule=!0,r.Jukebox=void 0;var e=n(96524),a=n(50640),t=n(74041),o=n(17899),f=n(24674),V=n(45493),y=r.Jukebox=function(){function C(u,c){var m=(0,o.useBackend)(c),d=m.act,l=m.data,s=l.active,i=l.looping,p=l.track_selected,v=l.volume,g=l.max_volume,h=l.songs,N=l.startTime,b=l.endTime,B=l.worldTime,I=l.need_coin,L=l.payment,T=l.advanced_admin,x=35,A=!L&&I&&!T,E=(0,t.flow)([(0,a.sortBy)(function(F){return F.name})])(h),M=h.find(function(F){return F.name===p}),D=E.length,P=M?E.findIndex(function(F){return F.name===M.name})+1:0,R=function(){function F(W){var _=Math.floor(W/60),K=W%60,$=String(_).padStart(2,"0")+":"+String(K).padStart(2,"0");return $}return F}(),j=(0,e.createComponentVNode)(2,f.Box,{textAlign:"center",children:[s?i?"\u221E":R(Math.round((B-N)/10)):i?"\u221E":R(M.length)," ","/ ",i?"\u221E":R(M.length)]});return(0,e.createComponentVNode)(2,V.Window,{width:350,height:435,title:"\u041C\u0443\u0437\u044B\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u0430\u0432\u0442\u043E\u043C\u0430\u0442",children:[A?(0,e.createComponentVNode)(2,k):null,(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack,{children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,title:"\u041F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044C",children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{bold:!0,maxWidth:"240px",children:M.name.length>x?(0,e.createVNode)(1,"marquee",null,M.name,0):M.name}),(0,e.createComponentVNode)(2,f.Stack,{fill:!0,mt:1.5,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,f.Button,{fluid:!0,icon:s?"pause":"play",color:"transparent",content:s?"\u0421\u0442\u043E\u043F":"\u0421\u0442\u0430\u0440\u0442",selected:s,onClick:function(){function F(){return d("toggle")}return F}()})}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,f.Button.Checkbox,{fluid:!0,icon:"undo",content:"\u041F\u043E\u0432\u0442\u043E\u0440",disabled:s||I&&!T,tooltip:I&&!T?"\u0412\u044B \u043D\u0435 \u043C\u043E\u0436\u0435\u0442\u0435 \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u0432\u0442\u043E\u0440 \u0437\u0430 \u043C\u043E\u043D\u0435\u0442\u043A\u0443":null,checked:i,onClick:function(){function F(){return d("loop",{looping:!i})}return F}()})})]}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.ProgressBar.Countdown,{start:N,current:i?b:B,end:b,children:j})})]})})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{children:[s?(0,e.createComponentVNode)(2,S):null,(0,e.createComponentVNode)(2,f.Stack,{fill:!0,mb:1.5,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,f.Button,{color:"transparent",icon:"fast-backward",onClick:function(){function F(){return d("set_volume",{volume:"min"})}return F}()})}),(0,e.createComponentVNode)(2,f.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,f.Button,{color:"transparent",icon:"undo",onClick:function(){function F(){return d("set_volume",{volume:"reset"})}return F}()})}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,m:0,textAlign:"right",children:(0,e.createComponentVNode)(2,f.Button,{color:"transparent",icon:"fast-forward",onClick:function(){function F(){return d("set_volume",{volume:"max"})}return F}()})})]}),(0,e.createComponentVNode)(2,f.Stack.Item,{textAlign:"center",textColor:"label",children:[(0,e.createComponentVNode)(2,f.Knob,{size:2,color:v<=25?"green":v<=50?"":v<=75?"orange":"red",value:v,unit:"%",minValue:0,maxValue:g,step:1,stepPixelSize:5,onDrag:function(){function F(W,_){return d("set_volume",{volume:_})}return F}()}),"Volume"]})]})})]}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,title:"\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0442\u0440\u0435\u043A\u0438",buttons:(0,e.createComponentVNode)(2,f.Button,{bold:!0,icon:"random",color:"transparent",content:P+"/"+D,tooltip:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u044B\u0439 \u0442\u0440\u0435\u043A",tooltipPosition:"top-end",onClick:function(){function F(){var W=Math.floor(Math.random()*D),_=E[W];d("select_track",{track:_.name})}return F}()}),children:E.map(function(F){return(0,e.createComponentVNode)(2,f.Stack.Item,{mb:.5,textAlign:"left",children:(0,e.createComponentVNode)(2,f.Button,{fluid:!0,selected:M.name===F.name,color:"translucent",content:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:F.name}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:R(F.length)})]}),onClick:function(){function W(){d("select_track",{track:F.name})}return W}()})},F.name)})})})]})})]})}return C}(),S=function(){return(0,e.createComponentVNode)(2,f.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,f.Icon,{name:"music",size:"3",color:"gray",mb:1}),(0,e.createComponentVNode)(2,f.Box,{color:"label",bold:!0,children:"\u0418\u0433\u0440\u0430\u0435\u0442 \u043C\u0443\u0437\u044B\u043A\u0430"})]})},k=function(){return(0,e.createComponentVNode)(2,f.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,f.Icon,{name:"coins",size:"6",color:"gold",mr:1}),(0,e.createComponentVNode)(2,f.Box,{color:"label",bold:!0,mt:5,fontSize:2,children:"\u0412\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043C\u043E\u043D\u0435\u0442\u043A\u0443"})]})}},53385:function(w,r,n){"use strict";r.__esModule=!0,r.KeycardAuth=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.KeycardAuth=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=(0,e.createComponentVNode)(2,t.Section,{title:"Keycard Authentication Device",children:(0,e.createComponentVNode)(2,t.Box,{children:"This device is used to trigger certain high security events. It requires the simultaneous swipe of two high-level ID cards."})});if(!u.swiping&&!u.busy)return(0,e.createComponentVNode)(2,o.Window,{width:540,height:280,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[c,(0,e.createComponentVNode)(2,t.Section,{title:"Choose Action",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Red Alert",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-triangle",disabled:!u.redAvailable,onClick:function(){function d(){return C("triggerevent",{triggerevent:"Red Alert"})}return d}(),content:"Red Alert"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ERT",children:(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",onClick:function(){function d(){return C("triggerevent",{triggerevent:"Emergency Response Team"})}return d}(),content:"Call ERT"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Maint Access",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"door-open",onClick:function(){function d(){return C("triggerevent",{triggerevent:"Grant Emergency Maintenance Access"})}return d}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function d(){return C("triggerevent",{triggerevent:"Revoke Emergency Maintenance Access"})}return d}(),content:"Revoke"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Station-Wide Access",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"door-open",onClick:function(){function d(){return C("triggerevent",{triggerevent:"Activate Station-Wide Emergency Access"})}return d}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function d(){return C("triggerevent",{triggerevent:"Deactivate Station-Wide Emergency Access"})}return d}(),content:"Revoke"})]})]})})]})});var m=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Waiting for YOU to swipe your ID..."});return!u.hasSwiped&&!u.ertreason&&u.event==="Emergency Response Team"?m=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Fill out the reason for your ERT request."}):u.hasConfirm?m=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Request Confirmed!"}):u.isRemote?m=(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Swipe your card to CONFIRM the remote request."}):u.hasSwiped&&(m=(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Waiting for second person to confirm..."})),(0,e.createComponentVNode)(2,o.Window,{width:540,height:265,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[c,u.event==="Emergency Response Team"&&(0,e.createComponentVNode)(2,t.Section,{title:"Reason for ERT Call",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{color:u.ertreason?"":"red",icon:u.ertreason?"check":"pencil-alt",content:u.ertreason?u.ertreason:"-----",disabled:u.busy,onClick:function(){function d(){return C("ert")}return d}()})})}),(0,e.createComponentVNode)(2,t.Section,{title:u.event,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back",disabled:u.busy||u.hasConfirm,onClick:function(){function d(){return C("reset")}return d}()}),children:m})]})})}return V}()},58553:function(w,r,n){"use strict";r.__esModule=!0,r.KitchenMachine=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(75201),V=r.KitchenMachine=function(){function S(k,C){var u=(0,a.useBackend)(C),c=u.data,m=u.config,d=c.ingredients,l=c.operating,s=m.title;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:320,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Operating,{operating:l,name:s}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,y)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Ingredients",children:(0,e.createComponentVNode)(2,t.Table,{className:"Ingredient__Table",children:d.map(function(i){return(0,e.createComponentVNode)(2,t.Table.Row,{tr:5,children:[(0,e.createVNode)(1,"td",null,(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:i.name}),2),(0,e.createVNode)(1,"td",null,(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:[i.amount," ",i.units]}),2)]},i.name)})})})})]})})})}return S}(),y=function(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.inactive,l=m.tooltip;return(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"power-off",disabled:d,tooltip:d?l:"",tooltipPosition:"bottom",content:"Activate",onClick:function(){function s(){return c("cook")}return s}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",disabled:d,tooltip:d?l:"",tooltipPosition:"bottom",content:"Eject Contents",onClick:function(){function s(){return c("eject")}return s}()})})]})})}},14047:function(w,r,n){"use strict";r.__esModule=!0,r.LawManager=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.LawManager=function(){function k(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.isAdmin,s=d.isSlaved,i=d.isMalf,p=d.isAIMalf,v=d.view;return(0,e.createComponentVNode)(2,o.Window,{width:800,height:i?620:365,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!(l&&s)&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:["This unit is slaved to ",s,"."]}),!!(i||p)&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Law Management",selected:v===0,onClick:function(){function g(){return m("set_view",{set_view:0})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Lawsets",selected:v===1,onClick:function(){function g(){return m("set_view",{set_view:1})}return g}()})]}),v===0&&(0,e.createComponentVNode)(2,V),v===1&&(0,e.createComponentVNode)(2,y)]})})}return k}(),V=function(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.has_zeroth_laws,s=d.zeroth_laws,i=d.has_ion_laws,p=d.ion_laws,v=d.ion_law_nr,g=d.has_inherent_laws,h=d.inherent_laws,N=d.has_supplied_laws,b=d.supplied_laws,B=d.channels,I=d.channel,L=d.isMalf,T=d.isAdmin,x=d.zeroth_law,A=d.ion_law,E=d.inherent_law,M=d.supplied_law,D=d.supplied_law_position;return(0,e.createFragment)([!!l&&(0,e.createComponentVNode)(2,S,{title:"ERR_NULL_VALUE",laws:s,ctx:u}),!!i&&(0,e.createComponentVNode)(2,S,{title:v,laws:p,ctx:u}),!!g&&(0,e.createComponentVNode)(2,S,{title:"Inherent",laws:h,ctx:u}),!!N&&(0,e.createComponentVNode)(2,S,{title:"Supplied",laws:b,ctx:u}),(0,e.createComponentVNode)(2,t.Section,{title:"Statement Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Statement Channel",children:B.map(function(P){return(0,e.createComponentVNode)(2,t.Button,{content:P.channel,selected:P.channel===I,onClick:function(){function R(){return m("law_channel",{law_channel:P.channel})}return R}()},P.channel)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"State Laws",children:(0,e.createComponentVNode)(2,t.Button,{content:"State Laws",onClick:function(){function P(){return m("state_laws")}return P}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Law Notification",children:(0,e.createComponentVNode)(2,t.Button,{content:"Notify",onClick:function(){function P(){return m("notify_laws")}return P}()})})]})}),!!L&&(0,e.createComponentVNode)(2,t.Section,{title:"Add Laws",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Type"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"60%",children:"Law"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Index"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"20%",children:"Actions"})]}),!!(T&&!l)&&(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Zero"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:x}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return m("change_zeroth_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return m("add_zeroth_law")}return P}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Ion"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:A}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return m("change_ion_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return m("add_ion_law")}return P}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Inherent"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:E}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return m("change_inherent_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return m("add_inherent_law")}return P}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Supplied"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:M}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:D,onClick:function(){function P(){return m("change_supplied_law_position")}return P}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return m("change_supplied_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return m("add_supplied_law")}return P}()})]})]})]})})],0)},y=function(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.law_sets;return(0,e.createComponentVNode)(2,t.Box,{children:l.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name+" - "+s.header,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Load Laws",icon:"download",onClick:function(){function i(){return m("transfer_laws",{transfer_laws:s.ref})}return i}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[s.laws.has_ion_laws>0&&s.laws.ion_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)}),s.laws.has_zeroth_laws>0&&s.laws.zeroth_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)}),s.laws.has_inherent_laws>0&&s.laws.inherent_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)}),s.laws.has_supplied_laws>0&&s.laws.inherent_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)})]})},s.name)})})},S=function(C,u){var c=(0,a.useBackend)(C.ctx),m=c.act,d=c.data,l=d.isMalf;return(0,e.createComponentVNode)(2,t.Section,{title:C.title+" Laws",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Index"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"69%",children:"Law"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"21%",children:"State?"})]}),C.laws.map(function(s){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.index}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.law}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:s.state?"Yes":"No",selected:s.state,onClick:function(){function i(){return m("state_law",{ref:s.ref,state_law:s.state?0:1})}return i}()}),!!l&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function i(){return m("edit_law",{edit_law:s.ref})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Delete",icon:"trash",color:"red",onClick:function(){function i(){return m("delete_law",{delete_law:s.ref})}return i}()})],4)]})]},s.law)})]})})}},5872:function(w,r,n){"use strict";r.__esModule=!0,r.LibraryComputer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(99665),V=r.LibraryComputer=function(){function v(g,h){return(0,e.createComponentVNode)(2,o.Window,{width:1050,height:600,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,c)]})})]})}return v}(),y=function(g,h){var N=(0,a.useBackend)(h),b=N.act,B=N.data,I=g.args,L=B.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:I.author}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Summary",children:I.summary}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rating",children:[I.rating,(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",verticalAlign:"top"})]}),!I.isProgrammatic&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Categories",children:I.categories.join(", ")})]}),(0,e.createVNode)(1,"br"),L===I.ckey&&(0,e.createComponentVNode)(2,t.Button,{content:"Delete Book",icon:"trash",color:"red",disabled:I.isProgrammatic,onClick:function(){function T(){return b("delete_book",{bookid:I.id,user_ckey:L})}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Report Book",icon:"flag",color:"red",disabled:I.isProgrammatic,onClick:function(){function T(){return(0,f.modalOpen)(h,"report_book",{bookid:I.id})}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Rate Book",icon:"star",color:"caution",disabled:I.isProgrammatic,onClick:function(){function T(){return(0,f.modalOpen)(h,"rate_info",{bookid:I.id})}return T}()})]})},S=function(g,h){var N=(0,a.useBackend)(h),b=N.act,B=N.data,I=g.args,L=B.selected_report,T=B.report_categories,x=B.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{level:2,m:"-1rem",pb:"1.5rem",title:"Report this book for Rule Violations",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reasons",children:(0,e.createComponentVNode)(2,t.Box,{children:T.map(function(A,E){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:A.description,selected:A.category_id===L,onClick:function(){function M(){return b("set_report",{report_type:A.category_id})}return M}()}),(0,e.createVNode)(1,"br")],4,E)})})})]}),(0,e.createComponentVNode)(2,t.Button.Confirm,{bold:!0,icon:"paper-plane",content:"Submit Report",onClick:function(){function A(){return b("submit_report",{bookid:I.id,user_ckey:x})}return A}()})]})},k=function(g,h){var N=(0,a.useBackend)(h),b=N.act,B=N.data,I=B.selected_rating,L=Array(10).fill().map(function(T,x){return 1+x});return(0,e.createComponentVNode)(2,t.Stack,{children:[L.map(function(T,x){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{bold:!0,icon:"star",color:I>=T?"caution":"default",onClick:function(){function A(){return b("set_rating",{rating_value:T})}return A}()})},x)}),(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,ml:2,fontSize:"150%",children:[I+"/10",(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",ml:.5,verticalAlign:"top"})]})]})},C=function(g,h){var N=(0,a.useBackend)(h),b=N.act,B=N.data,I=g.args,L=B.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{level:2,m:"-1rem",pb:"1.5rem",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:I.author}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rating",children:[I.current_rating?I.current_rating:0,(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",ml:.5,verticalAlign:"middle"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Ratings",children:I.total_ratings?I.total_ratings:0})]}),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,t.Button.Confirm,{mt:2,content:"Submit",icon:"paper-plane",onClick:function(){function T(){return b("rate_book",{bookid:I.id,user_ckey:L})}return T}()})]})},u=function(g,h){var N=(0,a.useBackend)(h),b=N.data,B=(0,a.useLocalState)(h,"tabIndex",0),I=B[0],L=B[1],T=b.login_state;return(0,e.createComponentVNode)(2,t.Stack.Item,{mb:1,children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===0,onClick:function(){function x(){return L(0)}return x}(),children:"Book Archives"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===1,onClick:function(){function x(){return L(1)}return x}(),children:"Corporate Literature"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===2,onClick:function(){function x(){return L(2)}return x}(),children:"Upload Book"}),T===1&&(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===3,onClick:function(){function x(){return L(3)}return x}(),children:"Patron Manager"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===4,onClick:function(){function x(){return L(4)}return x}(),children:"Inventory"})]})})},c=function(g,h){var N=(0,a.useLocalState)(h,"tabIndex",0),b=N[0];switch(b){case 0:return(0,e.createComponentVNode)(2,d);case 1:return(0,e.createComponentVNode)(2,l);case 2:return(0,e.createComponentVNode)(2,s);case 3:return(0,e.createComponentVNode)(2,i);case 4:return(0,e.createComponentVNode)(2,p);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},m=function(g,h){var N=(0,a.useBackend)(h),b=N.act,B=N.data,I=B.searchcontent,L=B.book_categories,T=B.user_ckey,x=[];return L.map(function(A){return x[A.description]=A.category_id}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"35%",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"edit",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Search Inputs"]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:20,content:I.title||"Input Title",onClick:function(){function A(){return(0,f.modalOpen)(h,"edit_search_title")}return A}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:20,content:I.author||"Input Author",onClick:function(){function A(){return(0,f.modalOpen)(h,"edit_search_author")}return A}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Ratings",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{mr:1,width:"min-content",content:I.ratingmin,onClick:function(){function A(){return(0,f.modalOpen)(h,"edit_search_ratingmin")}return A}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:"To"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{ml:1,width:"min-content",content:I.ratingmax,onClick:function(){function A(){return(0,f.modalOpen)(h,"edit_search_ratingmax")}return A}()})})]})})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"clipboard-list",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Book Categories"]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Categories",children:(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Dropdown,{mt:.6,width:"190px",options:L.map(function(A){return A.description}),onSelected:function(){function A(E){return b("toggle_search_category",{category_id:x[E]})}return A}()})})})}),(0,e.createVNode)(1,"br"),L.filter(function(A){return I.categories.includes(A.category_id)}).map(function(A){return(0,e.createComponentVNode)(2,t.Button,{content:A.description,selected:!0,icon:"unlink",onClick:function(){function E(){return b("toggle_search_category",{category_id:A.category_id})}return E}()},A.category_id)})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"search-plus",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Search Actions"]}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Search",icon:"eraser",onClick:function(){function A(){return b("clear_search")}return A}()}),I.ckey?(0,e.createComponentVNode)(2,t.Button,{mb:.5,content:"Stop Showing My Books",color:"bad",icon:"search",onClick:function(){function A(){return b("clear_ckey_search")}return A}()}):(0,e.createComponentVNode)(2,t.Button,{content:"Find My Books",icon:"search",onClick:function(){function A(){return b("find_users_books",{user_ckey:T})}return A}()})]})]})},d=function(g,h){var N=(0,a.useBackend)(h),b=N.act,B=N.data,I=B.external_booklist,L=B.archive_pagenumber,T=B.num_pages,x=B.login_state;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Book System Access",buttons:(0,e.createVNode)(1,"div",null,[(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",disabled:L===1,onClick:function(){function A(){return b("deincrementpagemax")}return A}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-left",disabled:L===1,onClick:function(){function A(){return b("deincrementpage")}return A}()}),(0,e.createComponentVNode)(2,t.Button,{bold:!0,content:L,onClick:function(){function A(){return(0,f.modalOpen)(h,"setpagenumber")}return A}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",disabled:L===T,onClick:function(){function A(){return b("incrementpage")}return A}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",disabled:L===T,onClick:function(){function A(){return b("incrementpagemax")}return A}()})],4),children:[(0,e.createComponentVNode)(2,m),(0,e.createVNode)(1,"hr"),(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Ratings"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Category"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Actions"})]}),I.map(function(A){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:A.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book",mr:.5}),A.title.length>45?A.title.substr(0,45)+"...":A.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:A.author.length>30?A.author.substr(0,30)+"...":A.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[A.rating,(0,e.createComponentVNode)(2,t.Icon,{name:"star",ml:.5,color:"yellow",verticalAlign:"middle"})]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:A.categories.join(", ").substr(0,45)}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",children:[x===1&&(0,e.createComponentVNode)(2,t.Button,{content:"Order",icon:"print",onClick:function(){function E(){return b("order_external_book",{bookid:A.id})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{content:"More...",onClick:function(){function E(){return(0,f.modalOpen)(h,"expand_info",{bookid:A.id})}return E}()})]})]},A.id)})]})]})},l=function(g,h){var N=(0,a.useBackend)(h),b=N.act,B=N.data,I=B.programmatic_booklist,L=B.login_state;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Corporate Book Catalog",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Actions"})]}),I.map(function(T,x){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:T.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book",mr:2}),T.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:T.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",children:[L===1&&(0,e.createComponentVNode)(2,t.Button,{content:"Order",icon:"print",onClick:function(){function A(){return b("order_programmatic_book",{bookid:T.id})}return A}()}),(0,e.createComponentVNode)(2,t.Button,{content:"More...",onClick:function(){function A(){return(0,f.modalOpen)(h,"expand_info",{bookid:T.id})}return A}()})]})]},x)})]})})},s=function(g,h){var N=(0,a.useBackend)(h),b=N.act,B=N.data,I=B.selectedbook,L=B.book_categories,T=B.user_ckey,x=[];return L.map(function(A){return x[A.description]=A.category_id}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Book System Upload",buttons:(0,e.createComponentVNode)(2,t.Button.Confirm,{bold:!0,width:9.5,icon:"upload",disabled:I.copyright,content:"Upload Book",onClick:function(){function A(){return b("uploadbook",{user_ckey:T})}return A}()}),children:[I.copyright?(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"WARNING: You cannot upload or modify the attributes of a copyrighted book"}):(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{ml:15,mb:3,fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"search-plus",verticalAlign:"middle",size:3,mr:2}),"Book Uploader"]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Button,{width:20,textAlign:"left",icon:"pen",disabled:I.copyright,content:I.title,onClick:function(){function A(){return(0,f.modalOpen)(h,"edit_selected_title")}return A}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,t.Button,{width:20,textAlign:"left",icon:"pen",disabled:I.copyright,content:I.author,onClick:function(){function A(){return(0,f.modalOpen)(h,"edit_selected_author")}return A}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Categories",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Dropdown,{width:"240px",options:L.map(function(A){return A.description}),onSelected:function(){function A(E){return b("toggle_upload_category",{category_id:x[E]})}return A}()})})})]}),(0,e.createVNode)(1,"br"),L.filter(function(A){return I.categories.includes(A.category_id)}).map(function(A){return(0,e.createComponentVNode)(2,t.Button,{content:A.description,disabled:I.copyright,selected:!0,icon:"unlink",onClick:function(){function E(){return b("toggle_upload_category",{category_id:A.category_id})}return E}()},A.category_id)})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{mr:75,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Summary",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pen",width:"auto",disabled:I.copyright,content:"Edit Summary",onClick:function(){function A(){return(0,f.modalOpen)(h,"edit_selected_summary")}return A}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:I.summary})]})})]})]})},i=function(g,h){var N=(0,a.useBackend)(h),b=N.act,B=N.data,I=B.checkout_data;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Checked Out Books",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Patron"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Time Left"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actions"})]}),I.map(function(L,T){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-tag"}),L.patron_name]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:L.title}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.timeleft>=0?L.timeleft:"LATE"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:(0,e.createComponentVNode)(2,t.Button,{content:"Mark Lost",icon:"flag",color:"bad",disabled:L.timeleft>=0,onClick:function(){function x(){return b("reportlost",{libraryid:L.libraryid})}return x}()})})]},T)})]})})},p=function(g,h){var N=(0,a.useBackend)(h),b=N.act,B=N.data,I=B.inventory_list;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Library Inventory",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"LIB ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"})]}),I.map(function(L,T){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.libraryid}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book"})," ",L.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:L.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:L.checked_out?"Checked Out":"Available"})]},T)})]})})};(0,f.modalRegisterBodyOverride)("expand_info",y),(0,f.modalRegisterBodyOverride)("report_book",S),(0,f.modalRegisterBodyOverride)("rate_info",C)},37782:function(w,r,n){"use strict";r.__esModule=!0,r.LibraryManager=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(99665),V=r.LibraryManager=function(){function u(c,m){return(0,e.createComponentVNode)(2,o.Window,{width:600,height:600,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,y)})]})}return u}(),y=function(c,m){var d=(0,a.useBackend)(m),l=d.act,s=d.data,i=s.pagestate;switch(i){case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,C);case 3:return(0,e.createComponentVNode)(2,k);default:return"WE SHOULDN'T BE HERE!"}},S=function(c,m){var d=(0,a.useBackend)(m),l=d.act,s=d.data;return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.4rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-shield",verticalAlign:"middle",size:3,mr:"1rem"}),"Library Manager"]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{icon:"trash",width:"auto",color:"danger",content:"Delete Book by SSID",onClick:function(){function i(){return(0,f.modalOpen)(m,"specify_ssid_delete")}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"user-slash",width:"auto",color:"danger",content:"Delete All Books By CKEY",onClick:function(){function i(){return(0,f.modalOpen)(m,"specify_ckey_delete")}return i}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{icon:"search",width:"auto",content:"View All Books By CKEY",onClick:function(){function i(){return(0,f.modalOpen)(m,"specify_ckey_search")}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"search",width:"auto",content:"View All Reported Books",onClick:function(){function i(){return l("view_reported_books")}return i}()})]})},k=function(c,m){var d=(0,a.useBackend)(m),l=d.act,s=d.data,i=s.reports;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-secret",verticalAlign:"middle",size:2,mr:"1rem"}),(0,e.createVNode)(1,"br"),"All Reported Books",(0,e.createVNode)(1,"br")]}),(0,e.createComponentVNode)(2,t.Button,{content:"Return to Main",icon:"arrow-alt-circle-left",onClick:function(){function p(){return l("return")}return p}()}),(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Uploader CKEY"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Report Type"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Reporter Ckey"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Administrative Actions"})]}),i.map(function(p){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:p.uploader_ckey}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book"}),p.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:p.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:p.report_description}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:p.reporter_ckey}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Delete",icon:"trash",onClick:function(){function v(){return l("delete_book",{bookid:p.id})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Unflag",icon:"flag",color:"caution",onClick:function(){function v(){return l("unflag_book",{bookid:p.id})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"View",onClick:function(){function v(){return l("view_book",{bookid:p.id})}return v}()})]})]},p.id)})]})})},C=function(c,m){var d=(0,a.useBackend)(m),l=d.act,s=d.data,i=s.ckey,p=s.booklist;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user",verticalAlign:"middle",size:2,mr:"1rem"}),(0,e.createVNode)(1,"br"),"Books uploaded by ",i,(0,e.createVNode)(1,"br")]}),(0,e.createComponentVNode)(2,t.Button,{mt:1,content:"Return to Main",icon:"arrow-alt-circle-left",onClick:function(){function v(){return l("return")}return v}()}),(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Administrative Actions"})]}),p.map(function(v){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book"}),v.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:v.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",children:[(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Delete",icon:"trash",color:"bad",onClick:function(){function g(){return l("delete_book",{bookid:v.id})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"View",onClick:function(){function g(){return l("view_book",{bookid:v.id})}return g}()})]})]},v.id)})]})})}},26133:function(w,r,n){"use strict";r.__esModule=!0,r.ListInputModal=void 0;var e=n(96524),a=n(14299),t=n(15113),o=n(24674),f=n(17899),V=n(68100),y=n(45493),S=r.ListInputModal=function(){function u(c,m){var d=(0,f.useBackend)(m),l=d.act,s=d.data,i=s.items,p=i===void 0?[]:i,v=s.message,g=v===void 0?"":v,h=s.init_value,N=s.timeout,b=s.title,B=(0,f.useLocalState)(m,"selected",p.indexOf(h)),I=B[0],L=B[1],T=(0,f.useLocalState)(m,"searchBarVisible",p.length>10),x=T[0],A=T[1],E=(0,f.useLocalState)(m,"searchQuery",""),M=E[0],D=E[1],P=function(){function G(X){var J=K.length-1;if(X===V.KEY_DOWN)if(I===null||I===J){var ue;L(0),(ue=document.getElementById("0"))==null||ue.scrollIntoView()}else{var ce;L(I+1),(ce=document.getElementById((I+1).toString()))==null||ce.scrollIntoView()}else if(X===V.KEY_UP)if(I===null||I===0){var fe;L(J),(fe=document.getElementById(J.toString()))==null||fe.scrollIntoView()}else{var pe;L(I-1),(pe=document.getElementById((I-1).toString()))==null||pe.scrollIntoView()}}return G}(),R=function(){function G(X){X!==I&&L(X)}return G}(),j=function(){function G(){A(!1),A(!0)}return G}(),F=function(){function G(X){var J=String.fromCharCode(X),ue=p.find(function(pe){return pe==null?void 0:pe.toLowerCase().startsWith(J==null?void 0:J.toLowerCase())});if(ue){var ce,fe=p.indexOf(ue);L(fe),(ce=document.getElementById(fe.toString()))==null||ce.scrollIntoView()}}return G}(),W=function(){function G(X){var J;X!==M&&(D(X),L(0),(J=document.getElementById("0"))==null||J.scrollIntoView())}return G}(),_=function(){function G(){A(!x),D("")}return G}(),K=p.filter(function(G){return G==null?void 0:G.toLowerCase().includes(M.toLowerCase())}),$=330+Math.ceil(g.length/3);return x||setTimeout(function(){var G;return(G=document.getElementById(I.toString()))==null?void 0:G.focus()},1),(0,e.createComponentVNode)(2,y.Window,{title:b,width:325,height:$,children:[N&&(0,e.createComponentVNode)(2,a.Loader,{value:N}),(0,e.createComponentVNode)(2,y.Window.Content,{onKeyDown:function(){function G(X){var J=window.event?X.which:X.keyCode;(J===V.KEY_DOWN||J===V.KEY_UP)&&(X.preventDefault(),P(J)),J===V.KEY_ENTER&&(X.preventDefault(),l("submit",{entry:K[I]})),!x&&J>=V.KEY_A&&J<=V.KEY_Z&&(X.preventDefault(),F(J)),J===V.KEY_ESCAPE&&(X.preventDefault(),l("cancel"))}return G}(),children:(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{compact:!0,icon:x?"search":"font",selected:!0,tooltip:x?"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(){function G(){return _()}return G}()}),className:"ListInput__Section",fill:!0,title:g,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,k,{filteredItems:K,onClick:R,onFocusSearch:j,searchBarVisible:x,selected:I})}),(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:x&&(0,e.createComponentVNode)(2,C,{filteredItems:K,onSearch:W,searchQuery:M,selected:I})}),(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,children:(0,e.createComponentVNode)(2,t.InputButtons,{input:K[I]})})]})})})]})}return u}(),k=function(c,m){var d=(0,f.useBackend)(m),l=d.act,s=c.filteredItems,i=c.onClick,p=c.onFocusSearch,v=c.searchBarVisible,g=c.selected;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,tabIndex:0,children:s.map(function(h,N){return(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:"transparent",id:N,onClick:function(){function b(){return i(N)}return b}(),onDblClick:function(){function b(B){B.preventDefault(),l("submit",{entry:s[g]})}return b}(),onKeyDown:function(){function b(B){var I=window.event?B.which:B.keyCode;v&&I>=V.KEY_A&&I<=V.KEY_Z&&(B.preventDefault(),p())}return b}(),selected:N===g,style:{animation:"none",transition:"none"},children:h.replace(/^\w/,function(b){return b.toUpperCase()})},N)})})},C=function(c,m){var d=(0,f.useBackend)(m),l=d.act,s=c.filteredItems,i=c.onSearch,p=c.searchQuery,v=c.selected;return(0,e.createComponentVNode)(2,o.Input,{width:"100%",autoFocus:!0,autoSelect:!0,onEnter:function(){function g(h){h.preventDefault(),l("submit",{entry:s[v]})}return g}(),onInput:function(){function g(h,N){return i(N)}return g}(),placeholder:"Search...",value:p})}},71963:function(w,r,n){"use strict";r.__esModule=!0,r.MODsuitContent=r.MODsuit=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(I,L){var T=I.name,x=I.value,A=I.module_ref,E=(0,a.useBackend)(L),M=E.act;return(0,e.createComponentVNode)(2,t.NumberInput,{value:x,minValue:-50,maxValue:50,stepPixelSize:5,width:"39px",onChange:function(){function D(P,R){return M("configure",{key:T,value:R,ref:A})}return D}()})},V=function(I,L){var T=I.name,x=I.value,A=I.module_ref,E=(0,a.useBackend)(L),M=E.act;return(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:x,onClick:function(){function D(){return M("configure",{key:T,value:!x,ref:A})}return D}()})},y=function(I,L){var T=I.name,x=I.value,A=I.module_ref,E=(0,a.useBackend)(L),M=E.act;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"paint-brush",onClick:function(){function D(){return M("configure",{key:T,ref:A})}return D}()}),(0,e.createComponentVNode)(2,t.ColorBox,{color:x,mr:.5})],4)},S=function(I,L){var T=I.name,x=I.value,A=I.values,E=I.module_ref,M=(0,a.useBackend)(L),D=M.act;return(0,e.createComponentVNode)(2,t.Dropdown,{displayText:x,options:A,onSelected:function(){function P(R){return D("configure",{key:T,value:R,ref:E})}return P}()})},k=function(I,L){var T=I.name,x=I.display_name,A=I.type,E=I.value,M=I.values,D=I.module_ref,P={number:(0,e.normalizeProps)((0,e.createComponentVNode)(2,f,Object.assign({},I))),bool:(0,e.normalizeProps)((0,e.createComponentVNode)(2,V,Object.assign({},I))),color:(0,e.normalizeProps)((0,e.createComponentVNode)(2,y,Object.assign({},I))),list:(0,e.normalizeProps)((0,e.createComponentVNode)(2,S,Object.assign({},I)))};return(0,e.createComponentVNode)(2,t.Box,{children:[x,": ",P[A]]})},C=function(I,L){var T=I.active,x=I.userradiated,A=I.usertoxins,E=I.usermaxtoxins,M=I.threatlevel;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Radiation Level",color:T&&x?"bad":"good",children:T&&x?"IRRADIATED!":"RADIATION-FREE"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Toxins Level",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?A/E:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:A})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Hazard Level",color:T&&M?"bad":"good",bold:!0,children:T&&M?M:0})})]})},u=function(I,L){var T=I.active,x=I.userhealth,A=I.usermaxhealth,E=I.userbrute,M=I.userburn,D=I.usertoxin,P=I.useroxy;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?x/A:0,ranges:{good:[.5,1/0],average:[.2,.5],bad:[-1/0,.2]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?x:0})})}),(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Brute",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?E/A:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?E:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Burn",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?M/A:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?M:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Toxin",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?D/A:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?D:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Suffocation",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?P/A:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?P:0})})})})]})],4)},c=function(I,L){var T=I.active,x=I.statustime,A=I.statusid,E=I.statushealth,M=I.statusmaxhealth,D=I.statusbrute,P=I.statusburn,R=I.statustoxin,j=I.statusoxy,F=I.statustemp,W=I.statusnutrition,_=I.statusfingerprints,K=I.statusdna,$=I.statusviruses;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Operation Time",children:T?x:"00:00:00"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Operation Number",children:T?A||"0":"???"})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?E/M:0,ranges:{good:[.5,1/0],average:[.2,.5],bad:[-1/0,.2]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?E:0})})}),(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Brute",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?D/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?D:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Burn",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?P/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?P:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Toxin",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?R/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:R})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Suffocation",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?j/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:j})})})})]}),(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Body Temperature",children:T?F:0})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Nutrition Status",children:T?W:0})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"DNA",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fingerprints",children:T?_:"???"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unique Enzymes",children:T?K:"???"})]})}),!!T&&!!$&&(0,e.createComponentVNode)(2,t.Section,{title:"Diseases",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"signature",tooltip:"Name",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"wind",tooltip:"Type",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"bolt",tooltip:"Stage",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"flask",tooltip:"Cure",tooltipPosition:"top"})})]}),$.map(function(G){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:G.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:G.type}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[G.stage,"/",G.maxstage]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:G.cure})]},G.name)})]})})],0)},m={rad_counter:C,health_analyzer:u,status_readout:c},d=function(){return(0,e.createComponentVNode)(2,t.Section,{align:"center",fill:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{color:"red",name:"exclamation-triangle",size:15}),(0,e.createComponentVNode)(2,t.Box,{fontSize:"30px",color:"red",children:"ERROR: INTERFACE UNRESPONSIVE"})]})},l=function(I,L){var T=(0,a.useBackend)(L),x=T.act,A=T.data;return(0,e.createComponentVNode)(2,t.Dimmer,{children:(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{fontSize:"16px",color:"blue",children:"SUIT UNPOWERED"})})})},s=function(I,L){var T=I.configuration_data,x=I.module_ref,A=Object.keys(T);return(0,e.createComponentVNode)(2,t.Dimmer,{backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:[A.map(function(E){var M=T[E];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,k,{name:E,display_name:M.display_name,type:M.type,value:M.value,values:M.values,module_ref:x})},M.key)}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:I.onExit,icon:"times",textAlign:"center",children:"Exit"})})})]})})},i=function(I){switch(I){case 1:return"Use";case 2:return"Toggle";case 3:return"Select"}},p=function(I,L){var T=(0,a.useBackend)(L),x=T.act,A=T.data,E=A.active,M=A.malfunctioning,D=A.locked,P=A.open,R=A.selected_module,j=A.complexity,F=A.complexity_max,W=A.wearer_name,_=A.wearer_job,K=M?"Malfunctioning":E?"Active":"Inactive";return(0,e.createComponentVNode)(2,t.Section,{title:"Parameters",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:E?"Deactivate":"Activate",onClick:function(){function $(){return x("activate")}return $}()}),children:K}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Lock",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:D?"lock-open":"lock",content:D?"Unlock":"Lock",onClick:function(){function $(){return x("lock")}return $}()}),children:D?"Locked":"Unlocked"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cover",children:P?"Open":"Closed"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Selected Module",children:R||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Complexity",children:[j," (",F,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Occupant",children:[W,", ",_]})]})})},v=function(I,L){var T=(0,a.useBackend)(L),x=T.act,A=T.data,E=A.active,M=A.control,D=A.helmet,P=A.chestplate,R=A.gauntlets,j=A.boots,F=A.core,W=A.charge;return(0,e.createComponentVNode)(2,t.Section,{title:"Hardware",children:[(0,e.createComponentVNode)(2,t.Collapsible,{title:"Parts",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Control Unit",children:M}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Helmet",children:D||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Chestplate",children:P||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gauntlets",children:R||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Boots",children:j||"None"})]})}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"Core",children:F&&(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Core Type",children:F}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Core Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:W/100,content:W+"%",ranges:{good:[.6,1/0],average:[.3,.6],bad:[-1/0,.3]}})})]})||(0,e.createComponentVNode)(2,t.Box,{color:"bad",textAlign:"center",children:"No Core Detected"})})]})},g=function(I,L){var T=(0,a.useBackend)(L),x=T.act,A=T.data,E=A.active,M=A.modules,D=M.filter(function(P){return!!P.id});return(0,e.createComponentVNode)(2,t.Section,{title:"Info",children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:D.length!==0&&D.map(function(P){var R=m[P.id];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[!E&&(0,e.createComponentVNode)(2,l),(0,e.normalizeProps)((0,e.createComponentVNode)(2,R,Object.assign({},P,{active:E})))]},P.ref)})||(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:"No Info Modules Detected"})})})},h=function(I,L){var T=(0,a.useBackend)(L),x=T.act,A=T.data,E=A.complexity_max,M=A.modules,D=(0,a.useLocalState)(L,"module_configuration",null),P=D[0],R=D[1];return(0,e.createComponentVNode)(2,t.Section,{title:"Modules",fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:M.length!==0&&M.map(function(j){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Collapsible,{title:j.module_name,children:(0,e.createComponentVNode)(2,t.Section,{children:[P===j.ref&&(0,e.createComponentVNode)(2,s,{configuration_data:j.configuration_data,module_ref:j.ref,onExit:function(){function F(){return R(null)}return F}()}),(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"save",tooltip:"Complexity",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"plug",tooltip:"Idle Power Cost",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"lightbulb",tooltip:"Active Power Cost",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"bolt",tooltip:"Use Power Cost",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"hourglass-half",tooltip:"Cooldown",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"tasks",tooltip:"Actions",tooltipPosition:"top"})})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[j.module_complexity,"/",E]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:j.idle_power}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:j.active_power}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:j.use_power}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[j.cooldown>0&&j.cooldown/10||"0","/",j.cooldown_time/10,"s"]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function F(){return x("select",{ref:j.ref})}return F}(),icon:"bullseye",selected:j.module_active,tooltip:i(j.module_type),tooltipPosition:"left",disabled:!j.module_type}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function F(){return R(j.ref)}return F}(),icon:"cog",selected:P===j.ref,tooltip:"Configure",tooltipPosition:"left",disabled:j.configuration_data.length===0}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function F(){return x("pin",{ref:j.ref})}return F}(),icon:"thumbtack",selected:j.pinned,tooltip:"Pin",tooltipPosition:"left",disabled:!j.module_type})]})]})]}),(0,e.createComponentVNode)(2,t.Box,{children:j.description})]})})},j.ref)})||(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:"No Modules Detected"})})})})},N=r.MODsuitContent=function(){function B(I,L){var T=(0,a.useBackend)(L),x=T.act,A=T.data,E=A.ui_theme,M=A.interface_break;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!M,children:!!M&&(0,e.createComponentVNode)(2,d)||(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,p)}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,v)}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,g)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,h)})]})})}return B}(),b=r.MODsuit=function(){function B(I,L){var T=(0,a.useBackend)(L),x=T.act,A=T.data,E=A.ui_theme,M=A.interface_break;return(0,e.createComponentVNode)(2,o.Window,{theme:E,width:400,height:620,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,N)})})})}return B}()},84274:function(w,r,n){"use strict";r.__esModule=!0,r.MagnetController=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=n(99665),y=new Map([["n",{icon:"arrow-up",tooltip:"Move North"}],["e",{icon:"arrow-right",tooltip:"Move East"}],["s",{icon:"arrow-down",tooltip:"Move South"}],["w",{icon:"arrow-left",tooltip:"Move West"}],["c",{icon:"crosshairs",tooltip:"Move to Magnet"}],["r",{icon:"dice",tooltip:"Move Randomly"}]]),S=r.MagnetController=function(){function k(C,u){var c=(0,t.useBackend)(u),m=c.act,d=c.data,l=d.autolink,s=d.code,i=d.frequency,p=d.linkedMagnets,v=d.magnetConfiguration,g=d.path,h=d.pathPosition,N=d.probing,b=d.powerState,B=d.speed;return(0,e.createComponentVNode)(2,f.Window,{width:400,height:600,children:[(0,e.createComponentVNode)(2,V.ComplexModal),(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:[!l&&(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{content:"Probe",icon:N?"spinner":"sync",iconSpin:!!N,disabled:N,onClick:function(){function I(){return m("probe_magnets")}return I}()}),title:"Magnet Linking",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:(0,a.toFixed)(i/10,1)}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",children:s})]})}),(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{icon:b?"power-off":"times",content:b?"On":"Off",selected:b,onClick:function(){function I(){return m("toggle_power")}return I}()}),title:"Controller Configuration",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Speed",children:(0,e.createComponentVNode)(2,o.Slider,{value:B.value,minValue:B.min,maxValue:B.max,onChange:function(){function I(L,T){return m("set_speed",{speed:T})}return I}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Path",children:[Array.from(y.entries()).map(function(I){var L=I[0],T=I[1],x=T.icon,A=T.tooltip;return(0,e.createComponentVNode)(2,o.Button,{icon:x,tooltip:A,onClick:function(){function E(){return m("path_add",{code:L})}return E}()},L)}),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",confirmIcon:"trash",confirmContent:"",float:"right",tooltip:"Reset Path",tooltipPosition:"left",onClick:function(){function I(){return m("path_clear")}return I}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"file-import",float:"right",tooltip:"Manually input path",tooltipPosition:"left",onClick:function(){function I(){return(0,V.modalOpen)(u,"path_custom_input")}return I}()}),(0,e.createComponentVNode)(2,o.BlockQuote,{children:g.map(function(I,L){var T=y.get(I)||{icon:"question"},x=T.icon,A=T.tooltip;return(0,e.createComponentVNode)(2,o.Button.Confirm,{selected:L+2===h,icon:x,confirmIcon:x,confirmContent:"",tooltip:A,onClick:function(){function E(){return m("path_remove",{index:L+1,code:I})}return E}()},L)})})]})]})}),p.map(function(I,L){var T=I.uid,x=I.powerState,A=I.electricityLevel,E=I.magneticField;return(0,e.createComponentVNode)(2,o.Section,{title:"Magnet #"+(L+1)+" Configuration",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:x?"power-off":"times",content:x?"On":"Off",selected:x,onClick:function(){function M(){return m("toggle_magnet_power",{id:T})}return M}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Move Speed",children:(0,e.createComponentVNode)(2,o.Slider,{value:A,minValue:v.electricityLevel.min,maxValue:v.electricityLevel.max,onChange:function(){function M(D,P){return m("set_electricity_level",{id:T,electricityLevel:P})}return M}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Field Size",children:(0,e.createComponentVNode)(2,o.Slider,{value:E,minValue:v.magneticField.min,maxValue:v.magneticField.max,onChange:function(){function M(D,P){return m("set_magnetic_field",{id:T,magneticField:P})}return M}()})})]})},T)})]})]})}return k}()},95752:function(w,r,n){"use strict";r.__esModule=!0,r.MechBayConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.MechBayConsole=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.recharge_port,m=c&&c.mech,d=m&&m.cell,l=m&&m.name;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:155,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:l?"Mech status: "+l:"Mech status",textAlign:"center",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Sync",onClick:function(){function s(){return C("reconnect")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No power port detected. Please re-sync."})||!m&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No mech detected."})||(0,e.createComponentVNode)(2,t.ProgressBar,{value:m.health/m.maxhealth,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No power port detected. Please re-sync."})||!m&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No mech detected."})||!d&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cell is installed."})||(0,e.createComponentVNode)(2,t.ProgressBar,{value:d.charge/d.maxcharge,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]},children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:d.charge})," / "+d.maxcharge]})})]})})})})}return V}()},53668:function(w,r,n){"use strict";r.__esModule=!0,r.MechaControlConsole=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=n(78234),y=r.MechaControlConsole=function(){function S(k,C){var u=(0,t.useBackend)(C),c=u.act,m=u.data,d=m.beacons,l=m.stored_data;return l.length?(0,e.createComponentVNode)(2,f.Window,{width:420,height:500,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"window-close",onClick:function(){function s(){return c("clear_log")}return s}()}),children:l.map(function(s){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",children:["(",s.time,")"]}),(0,e.createComponentVNode)(2,o.Box,{children:(0,V.decodeHtmlEntities)(s.message)})]},s.time)})})})}):(0,e.createComponentVNode)(2,f.Window,{width:420,height:500,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:d.length&&d.map(function(s){return(0,e.createComponentVNode)(2,o.Section,{title:s.name,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function i(){return c("send_message",{mt:s.uid})}return i}(),children:"Message"}),(0,e.createComponentVNode)(2,o.Button,{icon:"eye",onClick:function(){function i(){return c("get_log",{mt:s.uid})}return i}(),children:"View Log"}),(0,e.createComponentVNode)(2,o.Button.Confirm,{color:"red",content:"Sabotage",icon:"bomb",onClick:function(){function i(){return c("shock",{mt:s.uid})}return i}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[s.maxHealth*.75,1/0],average:[s.maxHealth*.5,s.maxHealth*.75],bad:[-1/0,s.maxHealth*.5]},value:s.health,maxValue:s.maxHealth})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cell Charge",children:s.cell&&(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[s.cellMaxCharge*.75,1/0],average:[s.cellMaxCharge*.5,s.cellMaxCharge*.75],bad:[-1/0,s.cellMaxCharge*.5]},value:s.cellCharge,maxValue:s.cellMaxCharge})||(0,e.createComponentVNode)(2,o.NoticeBox,{children:"No Cell Installed"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Air Tank",children:[s.airtank,"kPa"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pilot",children:s.pilot||"Unoccupied"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:(0,V.toTitleCase)(s.location)||"Unknown"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Active Equipment",children:s.active||"None"}),s.cargoMax&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cargo Space",children:(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{bad:[s.cargoMax*.75,1/0],average:[s.cargoMax*.5,s.cargoMax*.75],good:[-1/0,s.cargoMax*.5]},value:s.cargoUsed,maxValue:s.cargoMax})})||null]})},s.name)})||(0,e.createComponentVNode)(2,o.NoticeBox,{children:"No mecha beacons found."})})})}return S}()},96467:function(w,r,n){"use strict";r.__esModule=!0,r.MedicalRecords=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(99665),V=n(45493),y=n(68159),S=n(27527),k=n(84537),C={Minor:"lightgray",Medium:"good",Harmful:"average","Dangerous!":"bad","BIOHAZARD THREAT!":"darkred"},u={"*Deceased*":"deceased","*SSD*":"ssd","Physically Unfit":"physically_unfit",Disabled:"disabled"},c=function(x,A){(0,f.modalOpen)(x,"edit",{field:A.edit,value:A.value})},m=function(x,A){var E=x.args;return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:E.name||"Virus",children:(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Number of stages",children:E.max_stages}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Spread",children:[E.spread_text," Transmission"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Possible cure",children:E.cure}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Notes",children:E.desc}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Severity",color:C[E.severity],children:E.severity})]})})})},d=r.MedicalRecords=function(){function T(x,A){var E=(0,t.useBackend)(A),M=E.data,D=M.loginState,P=M.screen;if(!D.logged_in)return(0,e.createComponentVNode)(2,V.Window,{width:800,height:900,children:(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,S.LoginScreen)})});var R;return P===2?R=(0,e.createComponentVNode)(2,l):P===3?R=(0,e.createComponentVNode)(2,s):P===4?R=(0,e.createComponentVNode)(2,i):P===5?R=(0,e.createComponentVNode)(2,h):P===6?R=(0,e.createComponentVNode)(2,N):P===7&&(R=(0,e.createComponentVNode)(2,b)),(0,e.createComponentVNode)(2,V.Window,{width:800,height:900,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.LoginInfo),(0,e.createComponentVNode)(2,k.TemporaryNotice),(0,e.createComponentVNode)(2,L),R]})})]})}return T}(),l=function(x,A){var E=(0,t.useBackend)(A),M=E.act,D=E.data,P=D.records,R=(0,t.useLocalState)(A,"searchText",""),j=R[0],F=R[1],W=(0,t.useLocalState)(A,"sortId","name"),_=W[0],K=W[1],$=(0,t.useLocalState)(A,"sortOrder",!0),G=$[0],X=$[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Manage Records",icon:"wrench",ml:"0.25rem",onClick:function(){function J(){return M("screen",{screen:3})}return J}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{fluid:!0,placeholder:"Search by Name, ID, Physical Status, or Mental Status",onInput:function(){function J(ue,ce){return F(ce)}return J}()})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,B,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,B,{id:"id",children:"ID"}),(0,e.createComponentVNode)(2,B,{id:"rank",children:"Assignment"}),(0,e.createComponentVNode)(2,B,{id:"p_stat",children:"Patient Status"}),(0,e.createComponentVNode)(2,B,{id:"m_stat",children:"Mental Status"})]}),P.filter((0,a.createSearch)(j,function(J){return J.name+"|"+J.id+"|"+J.rank+"|"+J.p_stat+"|"+J.m_stat})).sort(function(J,ue){var ce=G?1:-1;return J[_].localeCompare(ue[_])*ce}).map(function(J){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listRow--"+u[J.p_stat],onClick:function(){function ue(){return M("view_record",{view_record:J.ref})}return ue}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",J.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.p_stat}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.m_stat})]},J.id)})]})})})],4)},s=function(x,A){var E=(0,t.useBackend)(A),M=E.act;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,lineHeight:3,color:"translucent",icon:"download",content:"Backup to Disk",disabled:!0})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,lineHeight:3,color:"translucent",icon:"upload",content:"Upload from Disk",my:"0.5rem",disabled:!0})," "]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button.Confirm,{fluid:!0,lineHeight:3,icon:"trash",color:"translucent",content:"Delete All Medical Records",onClick:function(){function D(){return M("del_all_med_records")}return D}()})})]})})},i=function(x,A){var E=(0,t.useBackend)(A),M=E.act,D=E.data,P=D.medical,R=D.printing;return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{height:"235px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"General Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:R?"spinner":"print",disabled:R,iconSpin:!!R,content:"Print Record",ml:"0.5rem",onClick:function(){function j(){return M("print_record")}return j}()}),children:(0,e.createComponentVNode)(2,p)})}),!P||!P.fields?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Medical Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"pen",content:"Create New Record",onClick:function(){function j(){return M("new_med_record")}return j}()}),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"Medical records lost!"]})})})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Medical Data",buttons:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",disabled:!!P.empty,content:"Delete Medical Record",onClick:function(){function j(){return M("del_med_record")}return j}()}),children:(0,e.createComponentVNode)(2,v)})}),(0,e.createComponentVNode)(2,g)],4)],0)},p=function(x,A){var E=(0,t.useBackend)(A),M=E.data,D=M.general;return!D||!D.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"General records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:D.fields.map(function(P,R){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:P.field,children:[(0,e.createComponentVNode)(2,o.Box,{height:"20px",inline:!0,children:P.value}),!!P.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",onClick:function(){function j(){return c(A,P)}return j}()})]},R)})})}),!!D.has_photos&&D.photos.map(function(P,R){return(0,e.createComponentVNode)(2,o.Stack.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:P,style:{width:"96px","margin-top":"2.5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Photo #",R+1]},R)})]})},v=function(x,A){var E=(0,t.useBackend)(A),M=E.act,D=E.data,P=D.medical;return!P||!P.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"Medical records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:P.fields.map(function(R,j){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:R.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(R.value),!!R.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:R.line_break?"1rem":"initial",onClick:function(){function F(){return c(A,R)}return F}()})]},j)})})})})},g=function(x,A){var E=(0,t.useBackend)(A),M=E.act,D=E.data,P=D.medical;return(0,e.createComponentVNode)(2,o.Stack.Item,{height:"150px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Comments/Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"comment",content:"Add Entry",onClick:function(){function R(){return(0,f.modalOpen)(A,"add_comment")}return R}()}),children:P.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):P.comments.map(function(R,j){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:R.header}),(0,e.createVNode)(1,"br"),R.text,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function F(){return M("del_comment",{del_comment:j+1})}return F}()})]},j)})})})},h=function(x,A){var E=(0,t.useBackend)(A),M=E.act,D=E.data,P=D.virus,R=(0,t.useLocalState)(A,"searchText",""),j=R[0],F=R[1],W=(0,t.useLocalState)(A,"sortId2","name"),_=W[0],K=W[1],$=(0,t.useLocalState)(A,"sortOrder2",!0),G=$[0],X=$[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{ml:"0.25rem",fluid:!0,placeholder:"Search by Name, Max Stages, or Severity",onInput:function(){function J(ue,ce){return F(ce)}return J}()})}),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,I,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,I,{id:"max_stages",children:"Max Stages"}),(0,e.createComponentVNode)(2,I,{id:"severity",children:"Severity"})]}),P.filter((0,a.createSearch)(j,function(J){return J.name+"|"+J.max_stages+"|"+J.severity})).sort(function(J,ue){var ce=G?1:-1;return J[_].localeCompare(ue[_])*ce}).map(function(J){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listVirus--"+J.severity,onClick:function(){function ue(){return M("vir",{vir:J.D})}return ue}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"virus"})," ",J.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.max_stages}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:C[J.severity],children:J.severity})]},J.id)})]})})})})],4)},N=function(x,A){var E=(0,t.useBackend)(A),M=E.act,D=E.data,P=D.goals;return(0,e.createComponentVNode)(2,o.Section,{title:"Virology Goals",fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:P.length!==0&&P.map(function(R){return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:R.name,children:[(0,e.createComponentVNode)(2,o.Table,{children:(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:(0,e.createComponentVNode)(2,o.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,o.ProgressBar,{value:R.delivered,minValue:0,maxValue:R.deliverygoal,ranges:{good:[R.deliverygoal*.5,1/0],average:[R.deliverygoal*.25,R.deliverygoal*.5],bad:[-1/0,R.deliverygoal*.25]},children:[R.delivered," / ",R.deliverygoal," Units"]})})})}),(0,e.createComponentVNode)(2,o.Box,{children:R.report})]})},R.id)})||(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Box,{textAlign:"center",children:"No Goals Detected"})})})})},b=function(x,A){var E=(0,t.useBackend)(A),M=E.act,D=E.data,P=D.medbots;return P.length===0?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"robot",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"There are no Medibots."]})})})}):(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Area"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Chemicals"})]}),P.map(function(R){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listMedbot--"+R.on,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"medical"})," ",R.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:[R.area||"Unknown"," (",R.x,", ",R.y,")"]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:R.on?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:"Online"}):(0,e.createComponentVNode)(2,o.Box,{color:"average",children:"Offline"})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:R.use_beaker?"Reservoir: "+R.total_volume+"/"+R.maximum_volume:"Using internal synthesizer"})]},R.id)})]})})})},B=function(x,A){var E=(0,t.useLocalState)(A,"sortId","name"),M=E[0],D=E[1],P=(0,t.useLocalState)(A,"sortOrder",!0),R=P[0],j=P[1],F=x.id,W=x.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:M!==F&&"transparent",onClick:function(){function _(){M===F?j(!R):(D(F),j(!0))}return _}(),children:[W,M===F&&(0,e.createComponentVNode)(2,o.Icon,{name:R?"sort-up":"sort-down",ml:"0.25rem;"})]})})},I=function(x,A){var E=(0,t.useLocalState)(A,"sortId2","name"),M=E[0],D=E[1],P=(0,t.useLocalState)(A,"sortOrder2",!0),R=P[0],j=P[1],F=x.id,W=x.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:M!==F&&"transparent",onClick:function(){function _(){M===F?j(!R):(D(F),j(!0))}return _}(),children:[W,M===F&&(0,e.createComponentVNode)(2,o.Icon,{name:R?"sort-up":"sort-down",ml:"0.25rem;"})]})})},L=function(x,A){var E=(0,t.useBackend)(A),M=E.act,D=E.data,P=D.screen,R=D.general;return(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:P===2,onClick:function(){function j(){M("screen",{screen:2})}return j}(),children:"List Records"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"database",selected:P===5,onClick:function(){function j(){M("screen",{screen:5})}return j}(),children:"Virus Database"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"vial",selected:P===6,onClick:function(){function j(){M("screen",{screen:6})}return j}(),children:"Virology Goals"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"plus-square",selected:P===7,onClick:function(){function j(){return M("screen",{screen:7})}return j}(),children:"Medibot Tracking"}),P===3&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"wrench",selected:P===3,children:"Record Maintenance"}),P===4&&R&&!R.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"file",selected:P===4,children:["Record: ",R.fields[0].value]})]})})};(0,f.modalRegisterBodyOverride)("virus",m)},68211:function(w,r,n){"use strict";r.__esModule=!0,r.MerchVendor=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=C.product,s=C.productImage,i=C.productCategory,p=d.user_money;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+s,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:l.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{disabled:l.price>p,icon:"shopping-cart",content:l.price,textAlign:"left",onClick:function(){function v(){return m("purchase",{name:l.name,category:i})}return v}()})})]})},V=function(C,u){var c=(0,a.useBackend)(u),m=c.data,d=(0,a.useLocalState)(u,"tabIndex",1),l=d[0],s=m.products,i=m.imagelist,p=["apparel","toy","decoration"];return(0,e.createComponentVNode)(2,t.Table,{children:s[p[l]].map(function(v){return(0,e.createComponentVNode)(2,f,{product:v,productImage:i[v.path],productCategory:p[l]},v.name)})})},y=r.MerchVendor=function(){function k(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.user_cash,s=d.inserted_cash;return(0,e.createComponentVNode)(2,o.Window,{title:"Merch Computer",width:450,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"User",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{color:"light-grey",inline:!0,mr:"0.5rem",children:["There is ",(0,e.createVNode)(1,"b",null,s,0)," credits inserted."]}),(0,e.createComponentVNode)(2,t.Button,{disabled:!s,icon:"money-bill-wave-alt",content:"Dispense Change",textAlign:"left",onClick:function(){function i(){return m("change")}return i}()})],4),children:(0,e.createComponentVNode)(2,t.Stack.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.",l!==null&&(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:["Your balance is ",(0,e.createVNode)(1,"b",null,[l||0,(0,e.createTextVNode)(" credits")],0),"."]})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Products",children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,V)]})})]})})})}return k}(),S=function(C,u){var c=(0,a.useBackend)(u),m=c.data,d=(0,a.useLocalState)(u,"tabIndex",1),l=d[0],s=d[1],i=m.login_state;return(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"dice",selected:l===1,onClick:function(){function p(){return s(1)}return p}(),children:"Toys"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"flag",selected:l===2,onClick:function(){function p(){return s(2)}return p}(),children:"Decorations"})]})}},14162:function(w,r,n){"use strict";r.__esModule=!0,r.MiningVendor=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(45493),V=["title","items"];function y(d,l){if(d==null)return{};var s={},i=Object.keys(d),p,v;for(v=0;v=0)&&(s[p]=d[p]);return s}var S={Alphabetical:function(){function d(l,s){return l-s}return d}(),Availability:function(){function d(l,s){return-(l.affordable-s.affordable)}return d}(),Price:function(){function d(l,s){return l.price-s.price}return d}()},k=r.MiningVendor=function(){function d(l,s){return(0,e.createComponentVNode)(2,f.Window,{width:400,height:455,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,u)]})})})}return d}(),C=function(l,s){var i=(0,t.useBackend)(s),p=i.act,v=i.data,g=v.has_id,h=v.id;return(0,e.createComponentVNode)(2,o.NoticeBox,{success:g,children:g?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{inline:!0,verticalAlign:"middle",style:{float:"left"},children:["Logged in as ",h.name,".",(0,e.createVNode)(1,"br"),"You have ",h.points.toLocaleString("en-US")," points."]}),(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject ID",style:{float:"right"},onClick:function(){function N(){return p("logoff")}return N}()}),(0,e.createComponentVNode)(2,o.Box,{style:{clear:"both"}})],4):"Please insert an ID in order to make purchases."})},u=function(l,s){var i=(0,t.useBackend)(s),p=i.act,v=i.data,g=v.has_id,h=v.id,N=v.items,b=(0,t.useLocalState)(s,"search",""),B=b[0],I=b[1],L=(0,t.useLocalState)(s,"sort","Alphabetical"),T=L[0],x=L[1],A=(0,t.useLocalState)(s,"descending",!1),E=A[0],M=A[1],D=(0,a.createSearch)(B,function(j){return j[0]}),P=!1,R=Object.entries(N).map(function(j,F){var W=Object.entries(j[1]).filter(D).map(function(_){return _[1].affordable=g&&h.points>=_[1].price,_[1]}).sort(S[T]);if(W.length!==0)return E&&(W=W.reverse()),P=!0,(0,e.createComponentVNode)(2,m,{title:j[0],items:W},j[0])});return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:P?R:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No items matching your criteria was found!"})})})},c=function(l,s){var i=(0,t.useLocalState)(s,"search",""),p=i[0],v=i[1],g=(0,t.useLocalState)(s,"sort",""),h=g[0],N=g[1],b=(0,t.useLocalState)(s,"descending",!1),B=b[0],I=b[1];return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{mt:.2,placeholder:"Search by item name..",width:"100%",onInput:function(){function L(T,x){return v(x)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"30%",children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:"Alphabetical",options:Object.keys(S),width:"100%",onSelected:function(){function L(T){return N(T)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:B?"arrow-down":"arrow-up",height:"21px",tooltip:B?"Descending order":"Ascending order",tooltipPosition:"bottom-start",onClick:function(){function L(){return I(!B)}return L}()})})]})})},m=function(l,s){var i=(0,t.useBackend)(s),p=i.act,v=i.data,g=l.title,h=l.items,N=y(l,V);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Collapsible,Object.assign({open:!0,title:g},N,{children:h.map(function(b){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{inline:!0,verticalAlign:"middle",lineHeight:"20px",style:{float:"left"},children:b.name}),(0,e.createComponentVNode)(2,o.Button,{disabled:!v.has_id||v.id.points0?'\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043F\u043E\u0438\u0441\u043A\u0430 "'+l+'"':"\u0412\u0441\u0435 \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u0438 - "+m.length,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:m.filter(function(p){return p.name&&(l.length>0?p.name.toLowerCase().includes(l.toLowerCase())||p.desc.toLowerCase().includes(l.toLowerCase())||p.author.toLowerCase().includes(l.toLowerCase()):!0)}).map(function(p){return(0,e.createComponentVNode)(2,o.Collapsible,{title:p.name,children:[(0,e.createComponentVNode)(2,o.Section,{title:"\u0410\u0432\u0442\u043E\u0440\u044B",children:p.author}),(0,e.createComponentVNode)(2,o.Section,{title:"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435",children:p.desc})]},p.name)})})})})})],4)}return y}()},68977:function(w,r,n){"use strict";r.__esModule=!0,r.NTRecruiter=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.NTRecruiter=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.gamestatus,m=u.cand_name,d=u.cand_birth,l=u.cand_age,s=u.cand_species,i=u.cand_planet,p=u.cand_job,v=u.cand_records,g=u.cand_curriculum,h=u.total_curriculums,N=u.reason;if(c===0)return(0,e.createComponentVNode)(2,o.Window,{width:400,height:550,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{pt:"45%",fontSize:"31px",color:"white",textAlign:"center",bold:!0,children:"Nanotrasen Recruiter Simulator"}),(0,e.createComponentVNode)(2,t.Stack.Item,{pt:"1%",fontSize:"16px",textAlign:"center",color:"label",children:"Work as the Nanotrasen recruiter and avoid hiring incompetent employees!"})]})}),(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",lineHeight:2,fluid:!0,icon:"play",color:"green",content:"Begin Shift",onClick:function(){function b(){return C("start_game")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",lineHeight:2,fluid:!0,icon:"info",color:"blue",content:"Guide",onClick:function(){function b(){return C("instructions")}return b}()})]})]})})});if(c===1)return(0,e.createComponentVNode)(2,o.Window,{width:400,height:550,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,color:"grey",title:"Guide",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-left",content:"Main Menu",onClick:function(){function b(){return C("back_to_menu")}return b}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"1#",color:"silver",children:["To win this game you must hire/dismiss"," ",(0,e.createVNode)(1,"b",null,h,0)," candidates, one wrongly made choice leads to a game over."]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"2#",color:"silver",children:"Make the right choice by truly putting yourself into the skin of a recruiter working for Nanotrasen!"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"3#",color:"silver",children:[(0,e.createVNode)(1,"b",null,"Unique",16)," characters may appear, pay attention to them!"]}),(0,e.createComponentVNode)(2,t.LabeledList.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,e.createComponentVNode)(2,t.LabeledList.Item,{label:"5#",color:"silver",children:["Not every employment record is good, remember to make your choice based on the ",(0,e.createVNode)(1,"b",null,"company morals",16),"!"]}),(0,e.createComponentVNode)(2,t.LabeledList.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,e.createComponentVNode)(2,t.LabeledList.Item,{label:"7#",color:"silver",children:["Pay attention to ",(0,e.createVNode)(1,"b",null,"typos",16)," and ",(0,e.createVNode)(1,"b",null,"missing words",16),", these do make for bad applications!"]}),(0,e.createComponentVNode)(2,t.LabeledList.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,e.createVNode)(1,"b",null,"jobs",16)," that they"," ",(0,e.createVNode)(1,"b",null,"don't offer",16),"!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"9#",color:"silver",children:["Keep your eyes open for incompatible ",(0,e.createVNode)(1,"b",null,"naming schemes",16),", no company wants a Vox named Joe!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"10#",color:"silver",children:["For some unknown reason ",(0,e.createVNode)(1,"b",null,"clowns",16)," are never denied by the company, no matter what."]})]})})})})});if(c===2)return(0,e.createComponentVNode)(2,o.Window,{width:400,height:550,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,color:"label",fontSize:"14px",title:"Employment Applications",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"24px",textAlign:"center",color:"silver",bold:!0,children:["Candidate Number #",g]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",color:"silver",children:(0,e.createVNode)(1,"b",null,m,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Species",color:"silver",children:(0,e.createVNode)(1,"b",null,s,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Age",color:"silver",children:(0,e.createVNode)(1,"b",null,l,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Date of Birth",color:"silver",children:(0,e.createVNode)(1,"b",null,d,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Planet of Origin",color:"silver",children:(0,e.createVNode)(1,"b",null,i,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requested Job",color:"silver",children:(0,e.createVNode)(1,"b",null,p,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Employment Records",color:"silver",children:(0,e.createVNode)(1,"b",null,v,0)})]})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Stamp the application!",color:"grey",textAlign:"center",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"red",content:"Dismiss",fontSize:"150%",icon:"ban",lineHeight:4.5,onClick:function(){function b(){return C("dismiss")}return b}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"green",content:"Hire",fontSize:"150%",icon:"arrow-circle-up",lineHeight:4.5,onClick:function(){function b(){return C("hire")}return b}()})})]})})})]})})});if(c===3)return(0,e.createComponentVNode)(2,o.Window,{width:400,height:550,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{pt:"40%",fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,color:"red",fontSize:"50px",textAlign:"center",children:"Game Over"}),(0,e.createComponentVNode)(2,t.Stack.Item,{fontSize:"15px",color:"label",textAlign:"center",children:N}),(0,e.createComponentVNode)(2,t.Stack.Item,{color:"blue",fontSize:"20px",textAlign:"center",pt:"10px",children:["FINAL SCORE: ",g-1,"/",h]})]})}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Button,{lineHeight:4,fluid:!0,icon:"arrow-left",content:"Main Menu",onClick:function(){function b(){return C("back_to_menu")}return b}()})})]})})})}return V}()},17067:function(w,r,n){"use strict";r.__esModule=!0,r.Newscaster=void 0;var e=n(96524),a=n(28234),t=n(17899),o=n(24674),f=n(38424),V=n(45493),y=n(99665),S=n(84537),k=["icon","iconSpin","selected","security","onClick","title","children"],C=["name"];function u(I,L){if(I==null)return{};var T={},x=Object.keys(I),A,E;for(E=0;E=0)&&(T[A]=I[A]);return T}var c=128,m=["security","engineering","medical","science","service","supply"],d={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"}},l=r.Newscaster=function(){function I(L,T){var x=(0,t.useBackend)(T),A=x.act,E=x.data,M=E.is_security,D=E.is_admin,P=E.is_silent,R=E.is_printing,j=E.screen,F=E.channels,W=E.channel_idx,_=W===void 0?-1:W,K=(0,t.useLocalState)(T,"menuOpen",!1),$=K[0],G=K[1],X=(0,t.useLocalState)(T,"viewingPhoto",""),J=X[0],ue=X[1],ce=(0,t.useLocalState)(T,"censorMode",!1),fe=ce[0],pe=ce[1],he;j===0||j===2?he=(0,e.createComponentVNode)(2,i):j===1&&(he=(0,e.createComponentVNode)(2,p));var te=F.reduce(function(Q,ae){return Q+ae.unread},0);return(0,e.createComponentVNode)(2,V.Window,{theme:M&&"security",width:800,height:600,children:[J?(0,e.createComponentVNode)(2,h):(0,e.createComponentVNode)(2,y.ComplexModal,{maxWidth:window.innerWidth/1.5+"px",maxHeight:window.innerHeight/1.5+"px"}),(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Section,{fill:!0,className:(0,a.classes)(["Newscaster__menu",$&&"Newscaster__menu--open"]),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,s,{icon:"bars",title:"Toggle Menu",onClick:function(){function Q(){return G(!$)}return Q}()}),(0,e.createComponentVNode)(2,s,{icon:"newspaper",title:"Headlines",selected:j===0,onClick:function(){function Q(){return A("headlines")}return Q}(),children:te>0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:te>=10?"9+":te})}),(0,e.createComponentVNode)(2,s,{icon:"briefcase",title:"Job Openings",selected:j===1,onClick:function(){function Q(){return A("jobs")}return Q}()}),(0,e.createComponentVNode)(2,o.Divider)]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:F.map(function(Q){return(0,e.createComponentVNode)(2,s,{icon:Q.icon,title:Q.name,selected:j===2&&F[_-1]===Q,onClick:function(){function ae(){return A("channel",{uid:Q.uid})}return ae}(),children:Q.unread>0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:Q.unread>=10?"9+":Q.unread})},Q)})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,o.Divider),(!!M||!!D)&&(0,e.createFragment)([(0,e.createComponentVNode)(2,s,{security:!0,icon:"exclamation-circle",title:"Edit Wanted Notice",mb:"0.5rem",onClick:function(){function Q(){return(0,y.modalOpen)(T,"wanted_notice")}return Q}()}),(0,e.createComponentVNode)(2,s,{security:!0,icon:fe?"minus-square":"minus-square-o",title:"Censor Mode: "+(fe?"On":"Off"),mb:"0.5rem",onClick:function(){function Q(){return pe(!fe)}return Q}()}),(0,e.createComponentVNode)(2,o.Divider)],4),(0,e.createComponentVNode)(2,s,{icon:"pen-alt",title:"New Story",mb:"0.5rem",onClick:function(){function Q(){return(0,y.modalOpen)(T,"create_story")}return Q}()}),(0,e.createComponentVNode)(2,s,{icon:"plus-circle",title:"New Channel",onClick:function(){function Q(){return(0,y.modalOpen)(T,"create_channel")}return Q}()}),(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,s,{icon:R?"spinner":"print",iconSpin:R,title:R?"Printing...":"Print Newspaper",onClick:function(){function Q(){return A("print_newspaper")}return Q}()}),(0,e.createComponentVNode)(2,s,{icon:P?"volume-mute":"volume-up",title:"Mute: "+(P?"On":"Off"),onClick:function(){function Q(){return A("toggle_mute")}return Q}()})]})]})}),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,width:"100%",children:[(0,e.createComponentVNode)(2,S.TemporaryNotice),he]})]})})]})}return I}(),s=function(L,T){var x=(0,t.useBackend)(T),A=x.act,E=L.icon,M=E===void 0?"":E,D=L.iconSpin,P=L.selected,R=P===void 0?!1:P,j=L.security,F=j===void 0?!1:j,W=L.onClick,_=L.title,K=L.children,$=u(L,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({className:(0,a.classes)(["Newscaster__menuButton",R&&"Newscaster__menuButton--selected",F&&"Newscaster__menuButton--security"]),onClick:W},$,{children:[R&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--selectedBar"}),(0,e.createComponentVNode)(2,o.Icon,{name:M,spin:D,size:"2"}),(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--title",children:_}),K]})))},i=function(L,T){var x=(0,t.useBackend)(T),A=x.act,E=x.data,M=E.screen,D=E.is_admin,P=E.channel_idx,R=E.channel_can_manage,j=E.channels,F=E.stories,W=E.wanted,_=(0,t.useLocalState)(T,"fullStories",[]),K=_[0],$=_[1],G=(0,t.useLocalState)(T,"censorMode",!1),X=G[0],J=G[1],ue=M===2&&P>-1?j[P-1]:null;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[!!W&&(0,e.createComponentVNode)(2,v,{story:W,wanted:!0}),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:ue?ue.icon:"newspaper",mr:"0.5rem"}),ue?ue.name:"Headlines"],0),children:F.length>0?F.slice().reverse().map(function(ce){return!K.includes(ce.uid)&&ce.body.length+3>c?Object.assign({},ce,{body_short:ce.body.substr(0,c-4)+"..."}):ce}).map(function(ce,fe){return(0,e.createComponentVNode)(2,v,{story:ce},fe)}):(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__emptyNotice",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"times",size:"3"}),(0,e.createVNode)(1,"br"),"There are no stories at this time."]})}),!!ue&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,height:"40%",title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"info-circle",mr:"0.5rem"}),(0,e.createTextVNode)("About")],4),buttons:(0,e.createFragment)([X&&(0,e.createComponentVNode)(2,o.Button,{disabled:!!ue.admin&&!D,selected:ue.censored,icon:ue.censored?"comment-slash":"comment",content:ue.censored?"Uncensor Channel":"Censor Channel",mr:"0.5rem",onClick:function(){function ce(){return A("censor_channel",{uid:ue.uid})}return ce}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!R,icon:"cog",content:"Manage",onClick:function(){function ce(){return(0,y.modalOpen)(T,"manage_channel",{uid:ue.uid})}return ce}()})],0),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",children:ue.description||"N/A"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",children:ue.author||"N/A"}),!!D&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Ckey",children:ue.author_ckey}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Public",children:ue.public?"Yes":"No"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Total Views",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"eye",mr:"0.5rem"}),F.reduce(function(ce,fe){return ce+fe.view_count},0).toLocaleString()]})]})})]})},p=function(L,T){var x=(0,t.useBackend)(T),A=x.act,E=x.data,M=E.jobs,D=E.wanted,P=Object.entries(M).reduce(function(R,j){var F=j[0],W=j[1];return R+W.length},0);return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[!!D&&(0,e.createComponentVNode)(2,v,{story:D,wanted:!0}),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"briefcase",mr:"0.5rem"}),(0,e.createTextVNode)("Job Openings")],4),buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",color:"label",children:"Work for a better future at Nanotrasen"}),children:P>0?m.map(function(R){return Object.assign({},d[R],{id:R,jobs:M[R]})}).filter(function(R){return!!R&&R.jobs.length>0}).map(function(R){return(0,e.createComponentVNode)(2,o.Section,{className:(0,a.classes)(["Newscaster__jobCategory","Newscaster__jobCategory--"+R.id]),title:R.title,buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",color:"label",children:R.fluff_text}),children:R.jobs.map(function(j){return(0,e.createComponentVNode)(2,o.Box,{class:(0,a.classes)(["Newscaster__jobOpening",!!j.is_command&&"Newscaster__jobOpening--command"]),children:["\u2022 ",j.title]},j.title)})},R.id)}):(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__emptyNotice",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"times",size:"3"}),(0,e.createVNode)(1,"br"),"There are no openings at this time."]})}),(0,e.createComponentVNode)(2,o.Section,{height:"17%",children:["Interested in serving Nanotrasen?",(0,e.createVNode)(1,"br"),"Sign up for any of the above position now at the"," ",(0,e.createVNode)(1,"b",null,"Head of Personnel's Office!",16),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Box,{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."})]})]})},v=function(L,T){var x=(0,t.useBackend)(T),A=x.act,E=x.data,M=L.story,D=L.wanted,P=D===void 0?!1:D,R=E.is_admin,j=(0,t.useLocalState)(T,"fullStories",[]),F=j[0],W=j[1],_=(0,t.useLocalState)(T,"censorMode",!1),K=_[0],$=_[1];return(0,e.createComponentVNode)(2,o.Section,{className:(0,a.classes)(["Newscaster__story",P&&"Newscaster__story--wanted"]),title:(0,e.createFragment)([P&&(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-circle",mr:"0.5rem"}),M.censor_flags&2&&"[REDACTED]"||M.title||"News from "+M.author],0),buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",children:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:[!P&&K&&(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:(0,e.createComponentVNode)(2,o.Button,{enabled:M.censor_flags&2,icon:M.censor_flags&2?"comment-slash":"comment",content:M.censor_flags&2?"Uncensor":"Censor",mr:"0.5rem",mt:"-0.25rem",onClick:function(){function G(){return A("censor_story",{uid:M.uid})}return G}()})}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",M.author," |\xA0",!!R&&(0,e.createFragment)([(0,e.createTextVNode)("ckey: "),M.author_ckey,(0,e.createTextVNode)(" |\xA0")],0),!P&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}),(0,e.createTextVNode)(" "),M.view_count.toLocaleString(),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("|\xA0")],0),(0,e.createComponentVNode)(2,o.Icon,{name:"clock"})," ",(0,f.timeAgo)(M.publish_time,E.world_time)]})]})}),children:(0,e.createComponentVNode)(2,o.Box,{children:M.censor_flags&2?"[REDACTED]":(0,e.createFragment)([!!M.has_photo&&(0,e.createComponentVNode)(2,g,{name:"story_photo_"+M.uid+".png",float:"right",ml:"0.5rem"}),(M.body_short||M.body).split("\n").map(function(G,X){return(0,e.createComponentVNode)(2,o.Box,{children:G||(0,e.createVNode)(1,"br")},X)}),M.body_short&&(0,e.createComponentVNode)(2,o.Button,{content:"Read more..",mt:"0.5rem",onClick:function(){function G(){return W([].concat(F,[M.uid]))}return G}()}),(0,e.createComponentVNode)(2,o.Box,{clear:"right"})],0)})})},g=function(L,T){var x=L.name,A=u(L,C),E=(0,t.useLocalState)(T,"viewingPhoto",""),M=E[0],D=E[1];return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({as:"img",className:"Newscaster__photo",src:x,onClick:function(){function P(){return D(x)}return P}()},A)))},h=function(L,T){var x=(0,t.useLocalState)(T,"viewingPhoto",""),A=x[0],E=x[1];return(0,e.createComponentVNode)(2,o.Modal,{className:"Newscaster__photoZoom",children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:A}),(0,e.createComponentVNode)(2,o.Button,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){function M(){return E("")}return M}()})]})},N=function(L,T){var x=(0,t.useBackend)(T),A=x.act,E=x.data,M=!!L.args.uid&&E.channels.filter(function(oe){return oe.uid===L.args.uid}).pop();if(L.id==="manage_channel"&&!M){(0,y.modalClose)(T);return}var D=L.id==="manage_channel",P=!!L.args.is_admin,R=L.args.scanned_user,j=(0,t.useLocalState)(T,"author",(M==null?void 0:M.author)||R||"Unknown"),F=j[0],W=j[1],_=(0,t.useLocalState)(T,"name",(M==null?void 0:M.name)||""),K=_[0],$=_[1],G=(0,t.useLocalState)(T,"description",(M==null?void 0:M.description)||""),X=G[0],J=G[1],ue=(0,t.useLocalState)(T,"icon",(M==null?void 0:M.icon)||"newspaper"),ce=ue[0],fe=ue[1],pe=(0,t.useLocalState)(T,"isPublic",D?!!(M!=null&&M.public):!1),he=pe[0],te=pe[1],Q=(0,t.useLocalState)(T,"adminLocked",(M==null?void 0:M.admin)===1||!1),ae=Q[0],ee=Q[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:D?"Manage "+M.name:"Create New Channel",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!P,width:"100%",value:F,onInput:function(){function oe(le,re){return W(re)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",placeholder:"50 characters max.",maxLength:"50",value:K,onInput:function(){function oe(le,re){return $(re)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description (optional)",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{multiline:!0,width:"100%",placeholder:"128 characters max.",maxLength:"128",value:X,onInput:function(){function oe(le,re){return J(re)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Icon",children:[(0,e.createComponentVNode)(2,o.Input,{disabled:!P,value:ce,width:"35%",mr:"0.5rem",onInput:function(){function oe(le,re){return fe(re)}return oe}()}),(0,e.createComponentVNode)(2,o.Icon,{name:ce,size:"2",verticalAlign:"middle",mr:"0.5rem"})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Accept Public Stories?",children:(0,e.createComponentVNode)(2,o.Button,{selected:he,icon:he?"toggle-on":"toggle-off",content:he?"Yes":"No",onClick:function(){function oe(){return te(!he)}return oe}()})}),P&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:ae,icon:ae?"lock":"lock-open",content:ae?"On":"Off",tooltip:"Locking this channel will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function oe(){return ee(!ae)}return oe}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:F.trim().length===0||K.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function oe(){(0,y.modalAnswer)(T,L.id,"",{author:F,name:K.substr(0,49),description:X.substr(0,128),icon:ce,public:he?1:0,admin_locked:ae?1:0})}return oe}()})]})},b=function(L,T){var x=(0,t.useBackend)(T),A=x.act,E=x.data,M=E.photo,D=E.channels,P=E.channel_idx,R=P===void 0?-1:P,j=!!L.args.is_admin,F=L.args.scanned_user,W=D.slice().sort(function(oe,le){if(R<0)return 0;var re=D[R-1];if(re.uid===oe.uid)return-1;if(re.uid===le.uid)return 1}).filter(function(oe){return j||!oe.frozen&&(oe.author===F||!!oe.public)}),_=(0,t.useLocalState)(T,"author",F||"Unknown"),K=_[0],$=_[1],G=(0,t.useLocalState)(T,"channel",W.length>0?W[0].name:""),X=G[0],J=G[1],ue=(0,t.useLocalState)(T,"title",""),ce=ue[0],fe=ue[1],pe=(0,t.useLocalState)(T,"body",""),he=pe[0],te=pe[1],Q=(0,t.useLocalState)(T,"adminLocked",!1),ae=Q[0],ee=Q[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:"Create New Story",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!j,width:"100%",value:K,onInput:function(){function oe(le,re){return $(re)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Channel",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:X,options:W.map(function(oe){return oe.name}),mb:"0",width:"100%",onSelected:function(){function oe(le){return J(le)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Divider),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",placeholder:"128 characters max.",maxLength:"128",value:ce,onInput:function(){function oe(le,re){return fe(re)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Story Text",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{fluid:!0,multiline:!0,placeholder:"1024 characters max.",maxLength:"1024",rows:"8",width:"100%",value:he,onInput:function(){function oe(le,re){return te(re)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Photo (optional)",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{icon:"image",selected:M,content:M?"Eject: "+M.name:"Insert Photo",tooltip:!M&&"Attach a photo to this story by holding the photograph in your hand.",onClick:function(){function oe(){return A(M?"eject_photo":"attach_photo")}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Preview",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Section,{noTopPadding:!0,title:ce,maxHeight:"13.5rem",overflow:"auto",children:(0,e.createComponentVNode)(2,o.Box,{mt:"0.5rem",children:[!!M&&(0,e.createComponentVNode)(2,g,{name:"inserted_photo_"+M.uid+".png",float:"right"}),he.split("\n").map(function(oe,le){return(0,e.createComponentVNode)(2,o.Box,{children:oe||(0,e.createVNode)(1,"br")},le)}),(0,e.createComponentVNode)(2,o.Box,{clear:"right"})]})})}),j&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:ae,icon:ae?"lock":"lock-open",content:ae?"On":"Off",tooltip:"Locking this story will make it censorable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function oe(){return ee(!ae)}return oe}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:K.trim().length===0||X.trim().length===0||ce.trim().length===0||he.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function oe(){(0,y.modalAnswer)(T,"create_story","",{author:K,channel:X,title:ce.substr(0,127),body:he.substr(0,1023),admin_locked:ae?1:0})}return oe}()})]})},B=function(L,T){var x=(0,t.useBackend)(T),A=x.act,E=x.data,M=E.photo,D=E.wanted,P=!!L.args.is_admin,R=L.args.scanned_user,j=(0,t.useLocalState)(T,"author",(D==null?void 0:D.author)||R||"Unknown"),F=j[0],W=j[1],_=(0,t.useLocalState)(T,"name",(D==null?void 0:D.title.substr(8))||""),K=_[0],$=_[1],G=(0,t.useLocalState)(T,"description",(D==null?void 0:D.body)||""),X=G[0],J=G[1],ue=(0,t.useLocalState)(T,"adminLocked",(D==null?void 0:D.admin_locked)===1||!1),ce=ue[0],fe=ue[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:"Manage Wanted Notice",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Authority",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!P,width:"100%",value:F,onInput:function(){function pe(he,te){return W(te)}return pe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",value:K,maxLength:"128",onInput:function(){function pe(he,te){return $(te)}return pe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{multiline:!0,width:"100%",value:X,maxLength:"512",rows:"4",onInput:function(){function pe(he,te){return J(te)}return pe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Photo (optional)",verticalAlign:"top",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"image",selected:M,content:M?"Eject: "+M.name:"Insert Photo",tooltip:!M&&"Attach a photo to this wanted notice by holding the photograph in your hand.",tooltipPosition:"top",onClick:function(){function pe(){return A(M?"eject_photo":"attach_photo")}return pe}()}),!!M&&(0,e.createComponentVNode)(2,g,{name:"inserted_photo_"+M.uid+".png",float:"right"})]}),P&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:ce,icon:ce?"lock":"lock-open",content:ce?"On":"Off",tooltip:"Locking this wanted notice will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function pe(){return fe(!ce)}return pe}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!D,icon:"eraser",color:"danger",content:"Clear",position:"absolute",right:"7.25rem",bottom:"-0.75rem",onClick:function(){function pe(){A("clear_wanted_notice"),(0,y.modalClose)(T)}return pe}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:F.trim().length===0||K.trim().length===0||X.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function pe(){(0,y.modalAnswer)(T,L.id,"",{author:F,name:K.substr(0,127),description:X.substr(0,511),admin_locked:ce?1:0})}return pe}()})]})};(0,y.modalRegisterBodyOverride)("create_channel",N),(0,y.modalRegisterBodyOverride)("manage_channel",N),(0,y.modalRegisterBodyOverride)("create_story",b),(0,y.modalRegisterBodyOverride)("wanted_notice",B)},26148:function(w,r,n){"use strict";r.__esModule=!0,r.Noticeboard=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(45493),V=r.Noticeboard=function(){function y(S,k){var C=(0,t.useBackend)(k),u=C.act,c=C.data,m=c.papers;return(0,e.createComponentVNode)(2,f.Window,{width:600,height:300,theme:"noticeboard",children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:m.map(function(d){return(0,e.createComponentVNode)(2,o.Stack.Item,{align:"center",width:"22.45%",height:"85%",onClick:function(){function l(){return u("interact",{paper:d.ref})}return l}(),onContextMenu:function(){function l(s){s.preventDefault(),u("showFull",{paper:d.ref})}return l}(),children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,fontSize:.75,title:d.name,children:(0,a.decodeHtmlEntities)(d.contents)})},d.ref)})})})})}return y}()},46940:function(w,r,n){"use strict";r.__esModule=!0,r.NuclearBomb=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.NuclearBomb=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data;return u.extended?(0,e.createComponentVNode)(2,o.Window,{width:350,height:290,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auth Disk",children:(0,e.createComponentVNode)(2,t.Button,{icon:u.authdisk?"eject":"id-card",selected:u.authdisk,content:u.diskname?u.diskname:"-----",tooltip:u.authdisk?"Eject Disk":"Insert Disk",onClick:function(){function c(){return C("auth")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auth Code",children:(0,e.createComponentVNode)(2,t.Button,{icon:"key",disabled:!u.authdisk,selected:u.authcode,content:u.codemsg,onClick:function(){function c(){return C("code")}return c}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Arming & Disarming",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Bolted to floor",children:(0,e.createComponentVNode)(2,t.Button,{icon:u.anchored?"check":"times",selected:u.anchored,disabled:!u.authdisk,content:u.anchored?"YES":"NO",onClick:function(){function c(){return C("toggle_anchor")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Time Left",children:(0,e.createComponentVNode)(2,t.Button,{icon:"stopwatch",content:u.time,disabled:!u.authfull,tooltip:"Set Timer",onClick:function(){function c(){return C("set_time")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety",children:(0,e.createComponentVNode)(2,t.Button,{icon:u.safety?"check":"times",selected:u.safety,disabled:!u.authfull,content:u.safety?"ON":"OFF",tooltip:u.safety?"Disable Safety":"Enable Safety",onClick:function(){function c(){return C("toggle_safety")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Arm/Disarm",children:(0,e.createComponentVNode)(2,t.Button,{icon:(u.timer,"bomb"),disabled:u.safety||!u.authfull,color:"red",content:u.timer?"DISARM THE NUKE":"ARM THE NUKE",onClick:function(){function c(){return C("toggle_armed")}return c}()})})]})})]})}):(0,e.createComponentVNode)(2,o.Window,{width:350,height:115,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Deployment",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"exclamation-triangle",content:"Deploy Nuclear Device (will bolt device to floor)",onClick:function(){function c(){return C("deploy")}return c}()})})})})}return V}()},35478:function(w,r,n){"use strict";r.__esModule=!0,r.NumberInputModal=void 0;var e=n(96524),a=n(14299),t=n(15113),o=n(68100),f=n(17899),V=n(24674),y=n(45493),S=r.NumberInputModal=function(){function C(u,c){var m=(0,f.useBackend)(c),d=m.act,l=m.data,s=l.init_value,i=l.large_buttons,p=l.message,v=p===void 0?"":p,g=l.timeout,h=l.title,N=(0,f.useLocalState)(c,"input",s),b=N[0],B=N[1],I=function(){function x(A){A!==b&&B(A)}return x}(),L=function(){function x(A){A!==b&&B(A)}return x}(),T=140+Math.max(Math.ceil(v.length/3),v.length>0&&i?5:0);return(0,e.createComponentVNode)(2,y.Window,{title:h,width:270,height:T,children:[g&&(0,e.createComponentVNode)(2,a.Loader,{value:g}),(0,e.createComponentVNode)(2,y.Window.Content,{onKeyDown:function(){function x(A){var E=window.event?A.which:A.keyCode;E===o.KEY_ENTER&&d("submit",{entry:b}),E===o.KEY_ESCAPE&&d("cancel")}return x}(),children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Box,{color:"label",children:v})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,k,{input:b,onClick:L,onChange:I})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:b})})]})})})]})}return C}(),k=function(u,c){var m=(0,f.useBackend)(c),d=m.act,l=m.data,s=l.min_value,i=l.max_value,p=l.init_value,v=l.round_value,g=u.input,h=u.onClick,N=u.onChange,b=Math.round(g!==s?Math.max(g/2,s):i/2),B=g===s&&s>0||g===1;return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Button,{disabled:g===s,icon:"angle-double-left",onClick:function(){function I(){return h(s)}return I}(),tooltip:g===s?"Min":"Min ("+s+")"})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.RestrictedInput,{autoFocus:!0,autoSelect:!0,fluid:!0,allowFloats:!v,minValue:s,maxValue:i,onChange:function(){function I(L,T){return N(T)}return I}(),onEnter:function(){function I(L,T){return d("submit",{entry:T})}return I}(),value:g})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Button,{disabled:g===i,icon:"angle-double-right",onClick:function(){function I(){return h(i)}return I}(),tooltip:g===i?"Max":"Max ("+i+")"})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Button,{disabled:B,icon:"divide",onClick:function(){function I(){return h(b)}return I}(),tooltip:B?"Split":"Split ("+b+")"})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Button,{disabled:g===p,icon:"redo",onClick:function(){function I(){return h(p)}return I}(),tooltip:p?"Reset ("+p+")":"Reset"})})]})}},98476:function(w,r,n){"use strict";r.__esModule=!0,r.OperatingComputer=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(45493),f=n(24674),V=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],y=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],S={average:[.25,.5],bad:[.5,1/0]},k=["bad","average","average","good","average","average","bad"],C=r.OperatingComputer=function(){function d(l,s){var i=(0,t.useBackend)(s),p=i.act,v=i.data,g=v.hasOccupant,h=v.choice,N;return h?N=(0,e.createComponentVNode)(2,m):N=g?(0,e.createComponentVNode)(2,u):(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,o.Window,{width:650,height:455,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Tabs,{children:[(0,e.createComponentVNode)(2,f.Tabs.Tab,{selected:!h,icon:"user",onClick:function(){function b(){return p("choiceOff")}return b}(),children:"Patient"}),(0,e.createComponentVNode)(2,f.Tabs.Tab,{selected:!!h,icon:"cog",onClick:function(){function b(){return p("choiceOn")}return b}(),children:"Options"})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,children:N})})]})})})}return d}(),u=function(l,s){var i=(0,t.useBackend)(s),p=i.data,v=p.occupant;return(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,title:"Patient",children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Name",children:v.name}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Status",color:V[v.stat][0],children:V[v.stat][1]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:v.maxHealth,value:v.health/v.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),y.map(function(g,h){return(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:g[0]+" Damage",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:"100",value:v[g[1]]/100,ranges:S,children:(0,a.round)(v[g[1]])},h)},h)}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:v.maxTemp,value:v.bodyTemperature/v.maxTemp,color:k[v.temperatureSuitability+3],children:[(0,a.round)(v.btCelsius),"\xB0C, ",(0,a.round)(v.btFaren),"\xB0F"]})}),!!v.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Blood Level",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:v.bloodMax,value:v.bloodLevel/v.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[v.bloodPercent,"%, ",v.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Pulse",children:[v.pulse," BPM"]})],4)]})})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:"Current Procedure",level:"2",children:v.inSurgery?(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Procedure",children:v.surgeryName}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Next Step",children:v.stepName})]}):(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"No procedure ongoing."})})})]})},c=function(){return(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,f.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No patient detected."]})})},m=function(l,s){var i=(0,t.useBackend)(s),p=i.act,v=i.data,g=v.verbose,h=v.health,N=v.healthAlarm,b=v.oxy,B=v.oxyAlarm,I=v.crit;return(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Loudspeaker",children:(0,e.createComponentVNode)(2,f.Button,{selected:g,icon:g?"toggle-on":"toggle-off",content:g?"On":"Off",onClick:function(){function L(){return p(g?"verboseOff":"verboseOn")}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health Announcer",children:(0,e.createComponentVNode)(2,f.Button,{selected:h,icon:h?"toggle-on":"toggle-off",content:h?"On":"Off",onClick:function(){function L(){return p(h?"healthOff":"healthOn")}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health Announcer Threshold",children:(0,e.createComponentVNode)(2,f.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:N,stepPixelSize:5,ml:"0",onChange:function(){function L(T,x){return p("health_adj",{new:x})}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Oxygen Alarm",children:(0,e.createComponentVNode)(2,f.Button,{selected:b,icon:b?"toggle-on":"toggle-off",content:b?"On":"Off",onClick:function(){function L(){return p(b?"oxyOff":"oxyOn")}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Oxygen Alarm Threshold",children:(0,e.createComponentVNode)(2,f.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:B,stepPixelSize:5,ml:"0",onChange:function(){function L(T,x){return p("oxy_adj",{new:x})}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Critical Alert",children:(0,e.createComponentVNode)(2,f.Button,{selected:I,icon:I?"toggle-on":"toggle-off",content:I?"On":"Off",onClick:function(){function L(){return p(I?"critOff":"critOn")}return L}()})})]})}},98702:function(w,r,n){"use strict";r.__esModule=!0,r.Orbit=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(45493),V=n(28234);function y(i,p){var v=typeof Symbol!="undefined"&&i[Symbol.iterator]||i["@@iterator"];if(v)return(v=v.call(i)).next.bind(v);if(Array.isArray(i)||(v=S(i))||p&&i&&typeof i.length=="number"){v&&(i=v);var g=0;return function(){return g>=i.length?{done:!0}:{done:!1,value:i[g++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function S(i,p){if(i){if(typeof i=="string")return k(i,p);var v=Object.prototype.toString.call(i).slice(8,-1);if(v==="Object"&&i.constructor&&(v=i.constructor.name),v==="Map"||v==="Set")return Array.from(i);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return k(i,p)}}function k(i,p){(p==null||p>i.length)&&(p=i.length);for(var v=0,g=new Array(p);vv},m=function(p,v){var g=p.name,h=v.name;if(!g||!h)return 0;var N=g.match(C),b=h.match(C);if(N&&b&&g.replace(C,"")===h.replace(C,"")){var B=parseInt(N[1],10),I=parseInt(b[1],10);return B-I}return c(g,h)},d=function(p,v){var g=p.searchText,h=p.source,N=p.title,b=p.color,B=p.sorted,I=h.filter(u(g));return B&&I.sort(m),h.length>0&&(0,e.createComponentVNode)(2,o.Section,{title:N+" - ("+h.length+")",children:I.map(function(L){return(0,e.createComponentVNode)(2,l,{thing:L,color:b},L.name)})})},l=function(p,v){var g=(0,t.useBackend)(v),h=g.act,N=p.color,b=p.thing;return(0,e.createComponentVNode)(2,o.Button,{color:N,tooltip:b.assigned_role?(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",mr:"0.5em",className:(0,V.classes)(["orbit_job16x16",b.assigned_role_sprite])})," ",b.assigned_role]}):"",tooltipPosition:"bottom",onClick:function(){function B(){return h("orbit",{ref:b.ref})}return B}(),children:[b.name,b.orbiters&&(0,e.createComponentVNode)(2,o.Box,{inline:!0,ml:1,children:["(",b.orbiters," ",(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}),")"]})]})},s=r.Orbit=function(){function i(p,v){for(var g=(0,t.useBackend)(v),h=g.act,N=g.data,b=N.alive,B=N.antagonists,I=N.highlights,L=N.response_teams,T=N.auto_observe,x=N.dead,A=N.ghosts,E=N.misc,M=N.npcs,D=(0,t.useLocalState)(v,"searchText",""),P=D[0],R=D[1],j={},F=y(B),W;!(W=F()).done;){var _=W.value;j[_.antag]===void 0&&(j[_.antag]=[]),j[_.antag].push(_)}var K=Object.entries(j);K.sort(function(G,X){return c(G[0],X[0])});var $=function(){function G(X){for(var J=0,ue=[K.map(function(pe){var he=pe[0],te=pe[1];return te}),I,b,A,x,M,E];J0&&(0,e.createComponentVNode)(2,o.Section,{title:"Antagonists",children:K.map(function(G){var X=G[0],J=G[1];return(0,e.createComponentVNode)(2,o.Section,{title:X+" - ("+J.length+")",level:2,children:J.filter(u(P)).sort(m).map(function(ue){return(0,e.createComponentVNode)(2,l,{color:"bad",thing:ue},ue.name)})},X)})}),I.length>0&&(0,e.createComponentVNode)(2,d,{title:"Highlights",source:I,searchText:P,color:"teal"}),(0,e.createComponentVNode)(2,d,{title:"Response Teams",source:L,searchText:P,color:"purple"}),(0,e.createComponentVNode)(2,d,{title:"Alive",source:b,searchText:P,color:"good"}),(0,e.createComponentVNode)(2,d,{title:"Ghosts",source:A,searchText:P,color:"grey"}),(0,e.createComponentVNode)(2,d,{title:"Dead",source:x,searchText:P,sorted:!1}),(0,e.createComponentVNode)(2,d,{title:"NPCs",source:M,searchText:P,sorted:!1}),(0,e.createComponentVNode)(2,d,{title:"Misc",source:E,searchText:P,sorted:!1})]})})}return i}()},74015:function(w,r,n){"use strict";r.__esModule=!0,r.OreRedemption=void 0;var e=n(96524),a=n(28234),t=n(17899),o=n(24674),f=n(45493),V=n(81856);function y(i){if(i==null)throw new TypeError("Cannot destructure "+i)}var S=(0,V.createLogger)("OreRedemption"),k=function(p){return p.toLocaleString("en-US")+" pts"},C=r.OreRedemption=function(){function i(p,v){return(0,e.createComponentVNode)(2,f.Window,{width:490,height:750,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,u,{height:"100%"})}),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,m)]})})})}return i}(),u=function(p,v){var g=(0,t.useBackend)(v),h=g.act,N=g.data,b=N.id,B=N.points,I=N.disk,L=Object.assign({},(y(p),p));return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({},L,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"average",textAlign:"center",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle",mr:"0.5rem"}),"This machine only accepts ore. Gibtonite is not accepted."]}),(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Unclaimed Points",color:B>0?"good":"grey",bold:B>0&&"good",children:k(B)})}),(0,e.createComponentVNode)(2,o.Divider),I?(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Design disk",children:[(0,e.createComponentVNode)(2,o.Button,{selected:!0,bold:!0,icon:"eject",content:I.name,tooltip:"Ejects the design disk.",onClick:function(){function T(){return h("eject_disk")}return T}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!I.design||!I.compatible,icon:"upload",content:"Download",tooltip:"Downloads the design on the disk into the machine.",onClick:function(){function T(){return h("download")}return T}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Stored design",children:(0,e.createComponentVNode)(2,o.Box,{color:I.design&&(I.compatible?"good":"bad"),children:I.design||"N/A"})})]}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No design disk inserted."})]})))},c=function(p,v){var g=(0,t.useBackend)(v),h=g.act,N=g.data,b=N.sheets,B=Object.assign({},(y(p),p));return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,height:"20%",children:(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},B,{children:[(0,e.createComponentVNode)(2,d,{title:"Sheets",columns:[["Available","25%"],["Ore Value","15%"],["Smelt","20%"]]}),b.map(function(I){return(0,e.createComponentVNode)(2,l,{ore:I},I.id)})]})))})},m=function(p,v){var g=(0,t.useBackend)(v),h=g.act,N=g.data,b=N.alloys,B=Object.assign({},(y(p),p));return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},B,{children:[(0,e.createComponentVNode)(2,d,{title:"Alloys",columns:[["Recipe","50%"],["Available","11%"],["Smelt","20%"]]}),b.map(function(I){return(0,e.createComponentVNode)(2,s,{ore:I},I.id)})]})))})},d=function(p,v){var g;return(0,e.createComponentVNode)(2,o.Box,{className:"OreHeader",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:p.title}),(g=p.columns)==null?void 0:g.map(function(h){return(0,e.createComponentVNode)(2,o.Stack.Item,{basis:h[1],textAlign:"center",color:"label",bold:!0,children:h[0]},h)})]})})},l=function(p,v){var g=(0,t.useBackend)(v),h=g.act,N=p.ore;if(!(N.value&&N.amount<=0&&!(["metal","glass"].indexOf(N.id)>-1)))return(0,e.createComponentVNode)(2,o.Box,{className:"SheetLine",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"45%",align:"middle",children:(0,e.createComponentVNode)(2,o.Stack,{align:"center",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{className:(0,a.classes)(["materials32x32",N.id])}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:N.name})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",color:N.amount>=1?"good":"gray",bold:N.amount>=1,align:"center",children:N.amount.toLocaleString("en-US")}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",children:N.value}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"40%",value:0,minValue:0,maxValue:Math.min(N.amount,50),stepPixelSize:6,onChange:function(){function b(B,I){return h(N.value?"sheet":"alloy",{id:N.id,amount:I})}return b}()})})]})})},s=function(p,v){var g=(0,t.useBackend)(v),h=g.act,N=p.ore;return(0,e.createComponentVNode)(2,o.Box,{className:"SheetLine",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"7%",align:"middle",children:(0,e.createComponentVNode)(2,o.Box,{className:(0,a.classes)(["alloys32x32",N.id])})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"30%",textAlign:"middle",align:"center",children:N.name}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"35%",textAlign:"middle",color:N.amount>=1?"good":"gray",align:"center",children:N.description}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"10%",textAlign:"center",color:N.amount>=1?"good":"gray",bold:N.amount>=1,align:"center",children:N.amount.toLocaleString("en-US")}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"40%",value:0,minValue:0,maxValue:Math.min(N.amount,50),stepPixelSize:6,onChange:function(){function b(B,I){return h(N.value?"sheet":"alloy",{id:N.id,amount:I})}return b}()})})]})})}},48824:function(w,r,n){"use strict";r.__esModule=!0,r.PAI=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(91807),V=n(70752),y=function(C){var u;try{u=V("./"+C+".js")}catch(m){if(m.code==="MODULE_NOT_FOUND")return(0,f.routingError)("notFound",C);throw m}var c=u[C];return c||(0,f.routingError)("missingExport",C)},S=r.PAI=function(){function k(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.app_template,s=d.app_icon,i=d.app_title,p=y(l);return(0,e.createComponentVNode)(2,o.Window,{width:600,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{p:1,fill:!0,scrollable:!0,title:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:s,mr:1}),i,l!=="pai_main_menu"&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{ml:2,mb:0,content:"Back",icon:"arrow-left",onClick:function(){function v(){return m("Back")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Home",icon:"arrow-up",onClick:function(){function v(){return m("MASTER_back")}return v}()})],4)]}),children:(0,e.createComponentVNode)(2,p)})})})})})}return k}()},41565:function(w,r,n){"use strict";r.__esModule=!0,r.PDA=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(91807),V=n(59395),y=function(c){var m;try{m=V("./"+c+".js")}catch(l){if(l.code==="MODULE_NOT_FOUND")return(0,f.routingError)("notFound",c);throw l}var d=m[c];return d||(0,f.routingError)("missingExport",c)},S=r.PDA=function(){function u(c,m){var d=(0,a.useBackend)(m),l=d.act,s=d.data,i=s.app,p=s.owner;if(!p)return(0,e.createComponentVNode)(2,o.Window,{width:350,height:105,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:"No user data found. Please swipe an ID card."})})});var v=y(i.template);return(0,e.createComponentVNode)(2,o.Window,{width:600,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,k)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,p:1,pb:0,title:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:i.icon,mr:1}),i.name]}),children:(0,e.createComponentVNode)(2,v)})}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:7.5,children:(0,e.createComponentVNode)(2,C)})]})})})}return u}(),k=function(c,m){var d=(0,a.useBackend)(m),l=d.act,s=d.data,i=s.idInserted,p=s.idLink,v=s.stationTime,g=s.cartridge_name;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{ml:.5,children:(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",color:"transparent",onClick:function(){function h(){return l("Authenticate")}return h}(),content:i?p:"No ID Inserted"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"sd-card",color:"transparent",onClick:function(){function h(){return l("Eject")}return h}(),content:g?["Eject "+g]:"No Cartridge Inserted"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"right",bold:!0,mr:1,mt:.5,children:v})]})},C=function(c,m){var d=(0,a.useBackend)(m),l=d.act,s=d.data,i=s.app;return(0,e.createComponentVNode)(2,t.Box,{height:"45px",className:"PDA__footer",backgroundColor:"#1b1b1b",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[!!i.has_back&&(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"33%",mr:-.5,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:i.has_back?"white":"disabled",icon:"arrow-alt-circle-left-o",onClick:function(){function p(){return l("Back")}return p}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:i.has_back?"33%":"100%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:i.is_home?"disabled":"white",icon:"home",onClick:function(){function p(){l("Home")}return p}()})})]})})}},78704:function(w,r,n){"use strict";r.__esModule=!0,r.Pacman=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(92986),V=r.Pacman=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.active,d=c.anchored,l=c.broken,s=c.emagged,i=c.fuel_type,p=c.fuel_usage,v=c.fuel_stored,g=c.fuel_cap,h=c.is_ai,N=c.tmp_current,b=c.tmp_max,B=c.tmp_overheat,I=c.output_max,L=c.power_gen,T=c.output_set,x=c.has_fuel,A=v/g,E=N/b,M=T*L,D=Math.round(v/p),P=Math.round(D/60),R=D>120?P+" minutes":D+" seconds";return(0,e.createComponentVNode)(2,o.Window,{width:500,height:225,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(l||!d)&&(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:[!!l&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator is malfunctioning!"}),!l&&!d&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator needs to be anchored to the floor with a wrench."})]}),!l&&!!d&&(0,e.createVNode)(1,"div",null,[(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:m?"power-off":"times",content:m?"On":"Off",tooltip:"Toggles the generator on/off. Requires fuel.",tooltipPosition:"left",disabled:!x,selected:m,onClick:function(){function j(){return u("toggle_power")}return j}()}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",className:"ml-1",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power setting",children:[(0,e.createComponentVNode)(2,t.NumberInput,{value:T,minValue:1,maxValue:I*(s?2.5:1),step:1,className:"mt-1",onDrag:function(){function j(F,W){return u("change_power",{change_power:W})}return j}()}),"(",(0,f.formatPower)(M),")"]})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:E,ranges:{green:[-1/0,.33],orange:[.33,.66],red:[.66,1/0]},children:[N," \u2103"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[B>50&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"CRITICAL OVERHEAT!"}),B>20&&B<=50&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"WARNING: Overheating!"}),B>1&&B<=20&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Temperature High"}),B===0&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Optimal"})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Fuel",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject Fuel",tooltip:"Ejects fuel. Generator needs to be offline.",tooltipPosition:"left",disabled:m||h||!x,onClick:function(){function j(){return u("eject_fuel")}return j}()}),children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Type",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel level",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:A,ranges:{red:[-1/0,.33],orange:[.33,.66],green:[.66,1/0]},children:[Math.round(v/1e3)," dm\xB3"]})})]})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel usage",children:[p/1e3," dm\xB3/s"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel depletion",children:[!!x&&(p?R:"N/A"),!x&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Out of fuel"})]})]})})]})})],4)]})})}return y}()},6887:function(w,r,n){"use strict";r.__esModule=!0,r.PanDEMIC=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.PanDEMIC=function(){function d(l,s){var i=(0,a.useBackend)(s),p=i.data,v=p.beakerLoaded,g=p.beakerContainsBlood,h=p.beakerContainsVirus,N=p.resistances,b=N===void 0?[]:N,B;return v?g?g&&!h&&(B=(0,e.createFragment)([(0,e.createTextVNode)("No disease detected in provided blood sample.")],4)):B=(0,e.createFragment)([(0,e.createTextVNode)("No blood sample found in the loaded container.")],4):B=(0,e.createFragment)([(0,e.createTextVNode)("No container loaded.")],4),(0,e.createComponentVNode)(2,o.Window,{width:575,height:510,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[B&&(0,e.createComponentVNode)(2,t.Section,{title:"Container Information",buttons:(0,e.createComponentVNode)(2,V),children:[(0,e.createComponentVNode)(2,t.NoticeBox,{children:B}),(b==null?void 0:b.length)>0&&(0,e.createComponentVNode)(2,m)]}),!!h&&(0,e.createComponentVNode)(2,k)]})})})}return d}(),V=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.beakerLoaded;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject",disabled:!g,onClick:function(){function h(){return p("eject_beaker")}return h}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash-alt",confirmIcon:"eraser",content:"Destroy",confirmContent:"Destroy",disabled:!g,onClick:function(){function h(){return p("destroy_eject_beaker")}return h}()})],4)},y=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.beakerContainsVirus,h=l.strain,N=h.commonName,b=h.description,B=h.diseaseAgent,I=h.bloodDNA,L=h.bloodType,T=h.possibleTreatments,x=h.transmissionRoute,A=h.isAdvanced,E=(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood DNA",children:I?(0,e.createVNode)(1,"span",null,I,0,{style:{"font-family":"'Courier New', monospace"}}):"Undetectable"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood Type",children:(0,e.createVNode)(1,"div",null,null,1,{dangerouslySetInnerHTML:{__html:L!=null?L:"Undetectable"}})})],4);if(!g)return(0,e.createComponentVNode)(2,t.LabeledList,{children:E});var M;return A&&(N!=null&&N!=="Unknown"?M=(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print Release Forms",onClick:function(){function D(){return p("print_release_forms",{strain_index:l.strainIndex})}return D}(),style:{"margin-left":"auto"}}):M=(0,e.createComponentVNode)(2,t.Button,{icon:"pen",content:"Name Disease",onClick:function(){function D(){return p("name_strain",{strain_index:l.strainIndex})}return D}(),style:{"margin-left":"auto"}})),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Common Name",className:"common-name-label",children:(0,e.createComponentVNode)(2,t.Stack,{horizontal:!0,align:"center",children:[N!=null?N:"Unknown",M]})}),b&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:b}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Disease Agent",children:B}),E,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Spread Vector",children:x!=null?x:"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Possible Cures",children:T!=null?T:"None"})]})},S=function(l,s){var i,p=(0,a.useBackend)(s),v=p.act,g=p.data,h=!!g.synthesisCooldown,N=(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:h?"spinner":"clone",iconSpin:h,content:"Clone",disabled:h,onClick:function(){function b(){return v("clone_strain",{strain_index:l.strainIndex})}return b}()}),l.sectionButtons],0);return(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:(i=l.sectionTitle)!=null?i:"Strain Information",buttons:N,children:(0,e.createComponentVNode)(2,y,{strain:l.strain,strainIndex:l.strainIndex})})})},k=function(l,s){var i,p=(0,a.useBackend)(s),v=p.act,g=p.data,h=g.selectedStrainIndex,N=g.strains,b=N[h-1];if(N.length===0)return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Container Information",buttons:(0,e.createComponentVNode)(2,V),children:(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No disease detected in provided blood sample."})})});if(N.length===1){var B;return(0,e.createFragment)([(0,e.createComponentVNode)(2,S,{strain:N[0],strainIndex:1,sectionButtons:(0,e.createComponentVNode)(2,V)}),((B=N[0].symptoms)==null?void 0:B.length)>0&&(0,e.createComponentVNode)(2,u,{strain:N[0]})],0)}var I=(0,e.createComponentVNode)(2,V);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Culture Information",fill:!0,buttons:I,children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",style:{height:"100%"},children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{children:N.map(function(L,T){var x;return(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"virus",selected:h-1===T,onClick:function(){function A(){return v("switch_strain",{strain_index:T+1})}return A}(),children:(x=L.commonName)!=null?x:"Unknown"},T)})})}),(0,e.createComponentVNode)(2,S,{strain:b,strainIndex:h}),((i=b.symptoms)==null?void 0:i.length)>0&&(0,e.createComponentVNode)(2,u,{className:"remove-section-bottom-padding",strain:b})]})})})},C=function(l){return l.reduce(function(s,i){return s+i},0)},u=function(l){var s=l.strain.symptoms;return(0,e.createComponentVNode)(2,t.Flex.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Infection Symptoms",fill:!0,className:l.className,children:(0,e.createComponentVNode)(2,t.Table,{className:"symptoms-table",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Stealth"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Resistance"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Stage Speed"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Transmissibility"})]}),s.map(function(i,p){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.stealth}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.resistance}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.stageSpeed}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.transmissibility})]},p)}),(0,e.createComponentVNode)(2,t.Table.Row,{className:"table-spacer"}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{style:{"font-weight":"bold"},children:"Total"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C(s.map(function(i){return i.stealth}))}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C(s.map(function(i){return i.resistance}))}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C(s.map(function(i){return i.stageSpeed}))}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C(s.map(function(i){return i.transmissibility}))})]})]})})})},c=["flask","vial","eye-dropper"],m=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.synthesisCooldown,h=v.beakerContainsVirus,N=v.resistances;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Antibodies",fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{horizontal:!0,wrap:!0,children:N.map(function(b,B){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:c[B%c.length],disabled:!!g,onClick:function(){function I(){return p("clone_vaccine",{resistance_index:B+1})}return I}(),mr:"0.5em"}),b]},B)})})})})}},78643:function(w,r,n){"use strict";r.__esModule=!0,r.ParticleAccelerator=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ParticleAccelerator=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.assembled,m=u.power,d=u.strength,l=u.max_strength;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:160,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Control Panel",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Connect",onClick:function(){function s(){return C("scan")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",mb:"5px",children:(0,e.createComponentVNode)(2,t.Box,{color:c?"good":"bad",children:c?"Operational":"Error: Verify Configuration"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:m?"power-off":"times",content:m?"On":"Off",selected:m,disabled:!c,onClick:function(){function s(){return C("power")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Strength",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:!c||d===0,onClick:function(){function s(){return C("remove_strength")}return s}(),mr:"4px"}),d,(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:!c||d===l,onClick:function(){function s(){return C("add_strength")}return s}(),ml:"4px"})]})]})})})})}return V}()},34026:function(w,r,n){"use strict";r.__esModule=!0,r.PdaPainter=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.PdaPainter=function(){function k(C,u){var c=(0,a.useBackend)(u),m=c.data,d=m.has_pda;return(0,e.createComponentVNode)(2,o.Window,{width:510,height:505,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:d?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,V)})})}return k}(),V=function(C,u){var c=(0,a.useBackend)(u),m=c.act;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"silver",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"download",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{width:"160px",textAlign:"center",content:"Insert PDA",onClick:function(){function d(){return m("insert_pda")}return d}()})]})})})},y=function(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.pda_colors;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,horizontal:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,S)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Table,{className:"PdaPainter__list",children:Object.keys(l).map(function(s){return(0,e.createComponentVNode)(2,t.Table.Row,{onClick:function(){function i(){return m("choose_pda",{selectedPda:s})}return i}(),children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/png;base64,"+l[s][0],style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s})]},s)})})})})]})},S=function(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.current_appearance,s=d.preview_appearance;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Current PDA",children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+l,style:{"vertical-align":"middle",width:"160px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",content:"Eject",color:"green",onClick:function(){function i(){return m("eject_pda")}return i}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"paint-roller",content:"Paint PDA",onClick:function(){function i(){return m("paint_pda")}return i}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Preview",children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+s,style:{"vertical-align":"middle",width:"160px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})})]})}},81378:function(w,r,n){"use strict";r.__esModule=!0,r.PersonalCrafting=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.PersonalCrafting=function(){function S(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.busy,l=m.category,s=m.display_craftable_only,i=m.display_compact,p=m.prev_cat,v=m.next_cat,g=m.subcategory,h=m.prev_subcat,N=m.next_subcat;return(0,e.createComponentVNode)(2,o.Window,{width:700,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!d&&(0,e.createComponentVNode)(2,t.Dimmer,{fontSize:"32px",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cog",spin:1})," Crafting..."]}),(0,e.createComponentVNode)(2,t.Section,{title:l,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Show Craftable Only",icon:s?"check-square-o":"square-o",selected:s,onClick:function(){function b(){return c("toggle_recipes")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Compact Mode",icon:i?"check-square-o":"square-o",selected:i,onClick:function(){function b(){return c("toggle_compact")}return b}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:p,icon:"arrow-left",onClick:function(){function b(){return c("backwardCat")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:v,icon:"arrow-right",onClick:function(){function b(){return c("forwardCat")}return b}()})]}),g&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:h,icon:"arrow-left",onClick:function(){function b(){return c("backwardSubCat")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:N,icon:"arrow-right",onClick:function(){function b(){return c("forwardSubCat")}return b}()})]}),i?(0,e.createComponentVNode)(2,V):(0,e.createComponentVNode)(2,y)]})]})})}return S}(),V=function(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.display_craftable_only,l=m.can_craft,s=m.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[l.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function p(){return c("make",{make:i.ref})}return p}()}),i.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:i.req_text,content:"Requirements",color:"transparent"}),i.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.tool_text,content:"Tools",color:"transparent"})]},i.name)}),!d&&s.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),i.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:i.req_text,content:"Requirements",color:"transparent"}),i.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.tool_text,content:"Tools",color:"transparent"})]},i.name)})]})})},y=function(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.display_craftable_only,l=m.can_craft,s=m.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:[l.map(function(i){return(0,e.createComponentVNode)(2,t.Section,{title:i.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function p(){return c("make",{make:i.ref})}return p}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[i.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:i.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:i.req_text}),i.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:i.tool_text})]})},i.name)}),!d&&s.map(function(i){return(0,e.createComponentVNode)(2,t.Section,{title:i.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[i.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:i.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:i.req_text}),i.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:i.tool_text})]})},i.name)})]})}},58792:function(w,r,n){"use strict";r.__esModule=!0,r.Photocopier=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Photocopier=function(){function S(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:440,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Photocopier",color:"silver",children:[(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Copies:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"2em",bold:!0,children:m.copynumber}),(0,e.createComponentVNode)(2,t.Stack.Item,{float:"right",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"minus",textAlign:"center",content:"",onClick:function(){function d(){return c("minus")}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"plus",textAlign:"center",content:"",onClick:function(){function d(){return c("add")}return d}()})]})]}),(0,e.createComponentVNode)(2,t.Stack,{mb:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Toner:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,children:m.toner})]}),(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Inserted Document:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!m.copyitem&&!m.mob,content:m.copyitem?m.copyitem:m.mob?m.mob+"'s ass!":"document",onClick:function(){function d(){return c("removedocument")}return d}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Inserted Folder:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!m.folder,content:m.folder?m.folder:"folder",onClick:function(){function d(){return c("removefolder")}return d}()})})]})]}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,V)}),(0,e.createComponentVNode)(2,y)]})})})}return S}(),V=function(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.issilicon;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"copy",float:"center",textAlign:"center",content:"Copy",onClick:function(){function l(){return c("copy")}return l}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"file-import",float:"center",textAlign:"center",content:"Scan",onClick:function(){function l(){return c("scandocument")}return l}()}),!!d&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"file",color:"green",float:"center",textAlign:"center",content:"Print Text",onClick:function(){function l(){return c("ai_text")}return l}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"image",color:"green",float:"center",textAlign:"center",content:"Print Image",onClick:function(){function l(){return c("ai_pic")}return l}()})],4)],0)},y=function(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Scanned Files",children:m.files.map(function(d){return(0,e.createComponentVNode)(2,t.Section,{title:d.name,buttons:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print",disabled:m.toner<=0,onClick:function(){function l(){return c("filecopy",{uid:d.uid})}return l}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash-alt",content:"Delete",color:"bad",onClick:function(){function l(){return c("deletefile",{uid:d.uid})}return l}()})]})},d.name)})})}},45642:function(w,r,n){"use strict";r.__esModule=!0,r.Photocopier220=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(50640),V=n(74041),y=n(78234);function S(m,d){var l=typeof Symbol!="undefined"&&m[Symbol.iterator]||m["@@iterator"];if(l)return(l=l.call(m)).next.bind(l);if(Array.isArray(m)||(l=k(m))||d&&m&&typeof m.length=="number"){l&&(m=l);var s=0;return function(){return s>=m.length?{done:!0}:{done:!1,value:m[s++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function k(m,d){if(m){if(typeof m=="string")return C(m,d);var l=Object.prototype.toString.call(m).slice(8,-1);if(l==="Object"&&m.constructor&&(l=m.constructor.name),l==="Map"||l==="Set")return Array.from(m);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return C(m,d)}}function C(m,d){(d==null||d>m.length)&&(d=m.length);for(var l=0,s=new Array(d);lm?this.substring(0,m)+"...":this};var u=function(d,l){l===void 0&&(l="");var s=(0,y.createSearch)(l,function(i){return i.altername});return(0,V.flow)([(0,f.filter)(function(i){return i==null?void 0:i.altername}),l&&(0,f.filter)(s),(0,f.sortBy)(function(i){return i.id})])(d)},c=r.Photocopier220=function(){function m(d,l){for(var s=(0,a.useBackend)(l),i=s.act,p=s.data,v=p.copies,g=p.maxcopies,h=(0,a.useLocalState)(l,"searchText",""),N=h[0],b=h[1],B=u((0,f.sortBy)(function(P){return P.category})(p.forms||[]),N),I=[],L=S(B),T;!(T=L()).done;){var x=T.value;I.includes(x.category)||I.push(x.category)}var A=(0,a.useLocalState)(l,"number",0),E=A[0],M=A[1],D;return p.category===""?D=B:D=B.filter(function(P){return P.category===p.category}),(0,e.createComponentVNode)(2,o.Window,{width:550,height:575,theme:p.ui_theme,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"40%",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u0442\u0430\u0442\u0443\u0441",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",mt:.3,color:"grey",children:"\u0417\u0430\u0440\u044F\u0434 \u0442\u043E\u043D\u0435\u0440\u0430:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{minValue:0,maxValue:30,value:p.toner})})]}),(0,e.createComponentVNode)(2,t.Stack,{mt:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",mb:.3,color:"grey",children:"\u0424\u043E\u0440\u043C\u0430:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",textAlign:"center",bold:!0,children:p.form_id===""?"\u041D\u0435 \u0432\u044B\u0431\u0440\u0430\u043D\u0430":p.form_id})]}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",mt:1,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!p.copyitem&&!p.mob,icon:p.copyitem||p.mob?"eject":"times",content:p.copyitem?p.copyitem:p.mob?"\u0416\u043E\u043F\u0430 "+p.mob+"!":"\u0421\u043B\u043E\u0442 \u0434\u043B\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430",onClick:function(){function P(){return i("removedocument")}return P}()})})}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!p.folder,icon:p.folder?"eject":"times",content:p.folder?p.folder:"\u0421\u043B\u043E\u0442 \u0434\u043B\u044F \u043F\u0430\u043F\u043A\u0438",onClick:function(){function P(){return i("removefolder")}return P}()})})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"print",disabled:p.toner===0||p.form===null,content:"\u041F\u0435\u0447\u0430\u0442\u044C",onClick:function(){function P(){return i("print_form")}return P}()})}),!!p.isAI&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",ml:"5px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"image",disabled:p.toner<5,content:"\u0424\u043E\u0442\u043E",tooltip:"\u0420\u0430\u0441\u043F\u0435\u0447\u0430\u0442\u0430\u0442\u044C \u0444\u043E\u0442\u043E \u0441 \u0411\u0430\u0437\u044B \u0414\u0430\u043D\u043D\u044B\u0445",onClick:function(){function P(){return i("ai_pic")}return P}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"copy",content:"\u041A\u043E\u043F\u0438\u044F",disabled:p.toner===0||!p.copyitem&&!p.mob,onClick:function(){function P(){return i("copy")}return P}()})}),!!p.isAI&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",ml:"5px",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"i-cursor",content:"\u0422\u0435\u043A\u0441\u0442",tooltip:"\u0420\u0430\u0441\u043F\u0435\u0447\u0430\u0442\u0430\u0442\u044C \u0441\u0432\u043E\u0439 \u0442\u0435\u043A\u0441\u0442",disabled:p.toner===0,onClick:function(){function P(){return i("ai_text")}return P}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:1.5,mt:1.2,width:"50%",color:"grey",children:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E:"}),(0,e.createComponentVNode)(2,t.Slider,{mt:.75,width:"50%",animated:!0,minValue:1,maxValue:g,value:v,stepPixelSize:10,onChange:function(){function P(R,j){return i("copies",{new:j})}return P}()})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u0411\u044E\u0440\u043E\u043A\u0440\u0430\u0442\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mb:-.5,icon:"chevron-right",color:"transparent",content:"\u0412\u0441\u0435 \u0444\u043E\u0440\u043C\u044B",selected:!p.category,onClick:function(){function P(){return i("choose_category",{category:""})}return P}()})}),I.map(function(P){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"chevron-right",mb:-.5,color:"transparent",content:P,selected:p.category===P,onClick:function(){function R(){return i("choose_category",{category:P})}return R}()},P)},P)})]})})})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"60%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:p.category||"\u0412\u0441\u0435 \u0444\u043E\u0440\u043C\u044B",buttons:(0,e.createComponentVNode)(2,t.Input,{mr:18.5,width:"100%",placeholder:"\u041F\u043E\u0438\u0441\u043A \u0444\u043E\u0440\u043C\u044B",onInput:function(){function P(R,j){return b(j)}return P}()}),children:D.map(function(P){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mb:.5,color:"transparent",content:P.altername.trimLongStr(37),tooltip:P.altername,selected:p.form_id===P.id,onClick:function(){function R(){return i("choose_form",{path:P.path,id:P.id})}return R}()})},P.path)})})})]})})})}return m}()},27902:function(w,r,n){"use strict";r.__esModule=!0,r.PoolController=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=["tempKey"];function V(C,u){if(C==null)return{};var c={},m=Object.keys(C),d,l;for(l=0;l=0)&&(c[d]=C[d]);return c}var y={scalding:{label:"Scalding",color:"#FF0000",icon:"fa fa-arrow-circle-up",requireEmag:!0},warm:{label:"Warm",color:"#990000",icon:"fa fa-arrow-circle-up"},normal:{label:"Normal",color:null,icon:"fa fa-arrow-circle-right"},cool:{label:"Cool",color:"#009999",icon:"fa fa-arrow-circle-down"},frigid:{label:"Frigid",color:"#00CCCC",icon:"fa fa-arrow-circle-down",requireEmag:!0}},S=function(u,c){var m=u.tempKey,d=V(u,f),l=y[m];if(!l)return null;var s=(0,a.useBackend)(c),i=s.data,p=s.act,v=i.currentTemp,g=l.label,h=l.icon,N=m===v,b=function(){p("setTemp",{temp:m})};return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Button,Object.assign({color:"transparent",selected:N,onClick:b},d,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:h}),g]})))},k=r.PoolController=function(){function C(u,c){for(var m=(0,a.useBackend)(c),d=m.data,l=d.emagged,s=d.currentTemp,i=y[s]||y.normal,p=i.label,v=i.color,g=[],h=0,N=Object.entries(y);h50?"battery-half":"battery-quarter")||v==="C"&&"bolt"||v==="F"&&"battery-full"||v==="M"&&"slash",color:v==="N"&&(g>50?"yellow":"red")||v==="C"&&"yellow"||v==="F"&&"green"||v==="M"&&"orange"}),(0,e.createComponentVNode)(2,S.Box,{inline:!0,width:"36px",textAlign:"right",children:(0,o.toFixed)(g)+"%"})],4)};l.defaultHooks=f.pureComponentHooks;var s=function(p){var v,g,h=p.status;switch(h){case"AOn":v=!0,g=!0;break;case"AOff":v=!0,g=!1;break;case"On":v=!1,g=!0;break;case"Off":v=!1,g=!1;break}var N=(g?"On":"Off")+(" ["+(v?"auto":"manual")+"]");return(0,e.createComponentVNode)(2,S.ColorBox,{color:g?"good":"bad",content:v?void 0:"M",title:N})};s.defaultHooks=f.pureComponentHooks},27262:function(w,r,n){"use strict";r.__esModule=!0,r.PrisonerImplantManager=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(91097),f=n(99665),V=n(68159),y=n(27527),S=n(45493),k=r.PrisonerImplantManager=function(){function C(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.loginState,i=l.prisonerInfo,p=l.chemicalInfo,v=l.trackingInfo,g;if(!s.logged_in)return(0,e.createComponentVNode)(2,S.Window,{theme:"security",width:500,height:850,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,y.LoginScreen)})});var h=[1,5,10];return(0,e.createComponentVNode)(2,S.Window,{theme:"security",width:500,height:850,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.LoginInfo),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Prisoner Points Manager System",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Prisoner",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.name?"eject":"id-card",selected:i.name,content:i.name?i.name:"-----",tooltip:i.name?"Eject ID":"Insert ID",onClick:function(){function N(){return d("id_card")}return N}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Points",children:[i.points!==null?i.points:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"minus-square",disabled:i.points===null,content:"Reset",onClick:function(){function N(){return d("reset_points")}return N}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Point Goal",children:[i.goal!==null?i.goal:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"pen",disabled:i.goal===null,content:"Edit",onClick:function(){function N(){return(0,f.modalOpen)(c,"set_points")}return N}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{children:(0,e.createVNode)(1,"box",null,[(0,e.createTextVNode)("1 minute of prison time should roughly equate to 150 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Sentences should not exceed 5000 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Permanent prisoners should not be given a point goal."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Prisoners who meet their point goal will be able to automatically access their locker and return to the station using the shuttle.")],4,{hidden:i.goal===null})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Tracking Implants",children:v.map(function(N){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:["Subject: ",N.subject]}),(0,e.createComponentVNode)(2,t.Box,{children:[" ",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:N.location}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:N.health}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Prisoner",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-triangle",content:"Warn",tooltip:"Broadcast a message to this poor sod",onClick:function(){function b(){return(0,f.modalOpen)(c,"warn",{uid:N.uid})}return b}()})})]})]},N.subject)]}),(0,e.createVNode)(1,"br")],4)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Chemical Implants",children:p.map(function(N){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:["Subject: ",N.name]}),(0,e.createComponentVNode)(2,t.Box,{children:[" ",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining Reagents",children:N.volume})}),h.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{mt:2,disabled:N.volumec;return(0,e.createComponentVNode)(2,t.ImageButton,{asset:!0,imageAsset:"prize_counter64x64",image:v.imageID,title:v.name,content:v.desc,children:(0,e.createComponentVNode)(2,t.ImageButton.Item,{bold:!0,width:"64px",fontSize:1.5,textColor:g&&"gray",content:v.cost,icon:"ticket",iconSize:1.6,iconColor:g?"bad":"good",tooltip:g&&"Not enough tickets",disabled:g,onClick:function(){function h(){return C("purchase",{purchase:v.itemID})}return h}()})},v.name)})})})})})})}return V}()},87963:function(w,r,n){"use strict";r.__esModule=!0,r.RCD=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(99665),V=n(57842),y=r.RCD=function(){function d(l,s){return(0,e.createComponentVNode)(2,o.Window,{width:480,height:670,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,c)]})})]})}return d}(),S=function(l,s){var i=(0,a.useBackend)(s),p=i.data,v=p.matter,g=p.max_matter,h=g*.7,N=g*.25;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Matter Storage",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[h,1/0],average:[N,h],bad:[-1/0,N]},value:v,maxValue:g,children:(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:v+" / "+g+" units"})})})})},k=function(){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Construction Type",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,C,{mode_type:"Floors and Walls"}),(0,e.createComponentVNode)(2,C,{mode_type:"Airlocks"}),(0,e.createComponentVNode)(2,C,{mode_type:"Windows"}),(0,e.createComponentVNode)(2,C,{mode_type:"Deconstruction"})]})})})},C=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=l.mode_type,h=v.mode;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"transparent",content:g,selected:h===g?1:0,onClick:function(){function N(){return p("mode",{mode:g})}return N}()})})},u=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.door_name,h=v.electrochromic,N=v.airlock_glass;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Airlock Settings",children:(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"transparent",icon:"pen-alt",content:(0,e.createFragment)([(0,e.createTextVNode)("Rename: "),(0,e.createVNode)(1,"b",null,g,0)],0),onClick:function(){function b(){return(0,f.modalOpen)(s,"renameAirlock")}return b}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:N===1&&(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:h?"toggle-on":"toggle-off",content:"Electrochromic",selected:h,onClick:function(){function b(){return p("electrochromic")}return b}()})})]})})})},c=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.tab,h=v.locked,N=v.one_access,b=v.selected_accesses,B=v.regions;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"cog",selected:g===1,onClick:function(){function I(){return p("set_tab",{tab:1})}return I}(),children:"Airlock Types"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:g===2,icon:"list",onClick:function(){function I(){return p("set_tab",{tab:2})}return I}(),children:"Airlock Access"})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:g===1?(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Types",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m,{check_number:0})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m,{check_number:1})})]})}):g===2&&h?(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Access",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"lock-open",content:"Unlock",onClick:function(){function I(){return p("set_lock",{new_lock:"unlock"})}return I}()}),children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"lock",size:"5",mb:3}),(0,e.createVNode)(1,"br"),"Airlock access selection is currently locked."]})})}):(0,e.createComponentVNode)(2,V.AccessList,{sectionButtons:(0,e.createComponentVNode)(2,t.Button,{icon:"lock",content:"Lock",onClick:function(){function I(){return p("set_lock",{new_lock:"lock"})}return I}()}),usedByRcd:1,rcdButtons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:N,content:"One",onClick:function(){function I(){return p("set_one_access",{access:"one"})}return I}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!N,width:4,content:"All",onClick:function(){function I(){return p("set_one_access",{access:"all"})}return I}()})],4),accesses:B,selectedList:b,accessMod:function(){function I(L){return p("set",{access:L})}return I}(),grantAll:function(){function I(){return p("grant_all")}return I}(),denyAll:function(){function I(){return p("clear_all")}return I}(),grantDep:function(){function I(L){return p("grant_region",{region:L})}return I}(),denyDep:function(){function I(L){return p("deny_region",{region:L})}return I}()})})],4)},m=function(l,s){for(var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.door_types_ui_list,h=v.door_type,N=l.check_number,b=[],B=0;B0?"envelope-open-text":"envelope",onClick:function(){function B(){return p("setScreen",{setScreen:6})}return B}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Request Assistance",icon:"hand-paper",onClick:function(){function B(){return p("setScreen",{setScreen:1})}return B}()}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Request Supplies",icon:"box",onClick:function(){function B(){return p("setScreen",{setScreen:2})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Request Secondary Goal",icon:"clipboard-list",onClick:function(){function B(){return p("setScreen",{setScreen:11})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Relay Anonymous Information",icon:"comment",onClick:function(){function B(){return p("setScreen",{setScreen:3})}return B}()})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Print Shipping Label",icon:"tag",onClick:function(){function B(){return p("setScreen",{setScreen:9})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"View Shipping Logs",icon:"clipboard-list",onClick:function(){function B(){return p("setScreen",{setScreen:10})}return B}()})]})}),!!h&&(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Send Station-Wide Announcement",icon:"bullhorn",onClick:function(){function B(){return p("setScreen",{setScreen:8})}return B}()})})]})})},y=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.department,h=[],N;switch(l.purpose){case"ASSISTANCE":h=v.assist_dept,N="Request assistance from another department";break;case"SUPPLIES":h=v.supply_dept,N="Request supplies from another department";break;case"INFO":h=v.info_dept,N="Relay information to another department";break}return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:N,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function b(){return p("setScreen",{setScreen:0})}return b}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:h.filter(function(b){return b!==g}).map(function(b){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:b,textAlign:"right",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Message",icon:"envelope",onClick:function(){function B(){return p("writeInput",{write:b,priority:"1"})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"High Priority",icon:"exclamation-circle",onClick:function(){function B(){return p("writeInput",{write:b,priority:"2"})}return B}()})]},b)})})})})},S=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g;switch(l.type){case"SUCCESS":g="Message sent successfully";break;case"FAIL":g="Unable to contact messaging server";break}return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:g,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function h(){return p("setScreen",{setScreen:0})}return h}()})})},k=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g,h;switch(l.type){case"MESSAGES":g=v.message_log,h="Message Log";break;case"SHIPPING":g=v.shipping_log,h="Shipping label print log";break}return g.reverse(),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:h,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function N(){return p("setScreen",{setScreen:0})}return N}()}),children:g.map(function(N){return(0,e.createComponentVNode)(2,t.Box,{textAlign:"left",children:[N.map(function(b,B){return(0,e.createVNode)(1,"div",null,b,0,null,B)}),(0,e.createVNode)(1,"hr")]},N)})})})},C=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.recipient,h=v.message,N=v.msgVerified,b=v.msgStamped;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Message Authentication",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function B(){return p("setScreen",{setScreen:0})}return B}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Recipient",children:g}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message",children:h}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Validated by",color:"green",children:N}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stamped by",color:"blue",children:b})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",content:"Send Message",icon:"envelope",onClick:function(){function B(){return p("department",{department:g})}return B}()})})})],4)},u=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.message,h=v.announceAuth;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Station-Wide Announcement",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function N(){return p("setScreen",{setScreen:0})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Edit Message",icon:"edit",onClick:function(){function N(){return p("writeAnnouncement")}return N}()})],4),children:g})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:[h?(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"green",children:"ID verified. Authentication accepted."}):(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"label",children:"Swipe your ID card to authenticate yourself"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:2,textAlign:"center",content:"Send Announcement",icon:"bullhorn",disabled:!(h&&g),onClick:function(){function N(){return p("sendAnnouncement")}return N}()})]})})],4)},c=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.shipDest,h=v.msgVerified,N=v.ship_dept;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{title:"Print Shipping Label",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function b(){return p("setScreen",{setScreen:0})}return b}()}),children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",children:g}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Validated by",children:h})]}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:1,textAlign:"center",content:"Print Label",icon:"print",disabled:!(g&&h),onClick:function(){function b(){return p("printLabel")}return b}()})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Destinations",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:N.map(function(b){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:b,textAlign:"right",className:"candystripe",children:(0,e.createComponentVNode)(2,t.Button,{content:g===b?"Selected":"Select",selected:g===b,onClick:function(){function B(){return p("shipSelect",{shipSelect:b})}return B}()})},b)})})})})],4)},m=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.secondaryGoalAuth,h=v.secondaryGoalEnabled;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Request Secondary Goal",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function N(){return p("setScreen",{setScreen:0})}return N}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:[h?g?(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"green",children:"ID verified. Authentication accepted."}):(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"label",children:"Swipe your ID card to authenticate yourself"}):(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"label",children:"Complete your current goal first!"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:2,textAlign:"center",content:"Request Secondary Goal",icon:"clipboard-list",disabled:!(g&&h),onClick:function(){function N(){return p("requestSecondaryGoal")}return N}()})]})})],4)}},89641:function(w,r,n){"use strict";r.__esModule=!0,r.SUBMENU=r.RndConsole=r.MENU=void 0;var e=n(96524),a=n(17899),t=n(45493),o=n(24674),f=n(3422),V=r.MENU={MAIN:0,LEVELS:1,DISK:2,DESTROY:3,LATHE:4,IMPRINTER:5,SETTINGS:6},y=r.SUBMENU={MAIN:0,DISK_COPY:1,LATHE_CATEGORY:1,LATHE_MAT_STORAGE:2,LATHE_CHEM_STORAGE:3,SETTINGS_DEVICES:1},S=r.RndConsole=function(){function k(C,u){var c=(0,a.useBackend)(u),m=c.data,d=m.wait_message;return(0,e.createComponentVNode)(2,t.Window,{width:800,height:550,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole",children:[(0,e.createComponentVNode)(2,f.RndNavbar),(0,e.createComponentVNode)(2,f.RndRoute,{menu:V.MAIN,render:function(){function l(){return(0,e.createComponentVNode)(2,f.MainMenu)}return l}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:V.LEVELS,render:function(){function l(){return(0,e.createComponentVNode)(2,f.CurrentLevels)}return l}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:V.DISK,render:function(){function l(){return(0,e.createComponentVNode)(2,f.DataDiskMenu)}return l}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:V.DESTROY,render:function(){function l(){return(0,e.createComponentVNode)(2,f.DeconstructionMenu)}return l}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:function(){function l(s){return s===V.LATHE||s===V.IMPRINTER}return l}(),render:function(){function l(){return(0,e.createComponentVNode)(2,f.LatheMenu)}return l}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:V.SETTINGS,render:function(){function l(){return(0,e.createComponentVNode)(2,f.SettingsMenu)}return l}()}),d?(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay",children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay__Wrapper",children:(0,e.createComponentVNode)(2,o.NoticeBox,{color:"black",children:d})})}):null]})})})}return k}()},19348:function(w,r,n){"use strict";r.__esModule=!0,r.CurrentLevels=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.CurrentLevels=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.data,C=k.tech_levels;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createVNode)(1,"h3",null,"Current Research Levels:",16),C.map(function(u,c){var m=u.name,d=u.level,l=u.desc;return(0,e.createComponentVNode)(2,t.Box,{children:[c>0?(0,e.createComponentVNode)(2,t.Divider):null,(0,e.createComponentVNode)(2,t.Box,{children:m}),(0,e.createComponentVNode)(2,t.Box,{children:["* Level: ",d]}),(0,e.createComponentVNode)(2,t.Box,{children:["* Summary: ",l]})]},m)})]})}return f}()},338:function(w,r,n){"use strict";r.__esModule=!0,r.DataDiskMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(3422),f=n(89641),V="design",y="tech",S=function(s,i){var p=(0,a.useBackend)(i),v=p.data,g=p.act,h=v.disk_data;return h?(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:h.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:h.level}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:h.desc})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function N(){return g("updt_tech")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function N(){return g("clear_tech")}return N}()}),(0,e.createComponentVNode)(2,u)]})]}):null},k=function(s,i){var p=(0,a.useBackend)(i),v=p.data,g=p.act,h=v.disk_data;if(!h)return null;var N=h.name,b=h.lathe_types,B=h.materials,I=b.join(", ");return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:N}),I?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lathe Types",children:I}):null,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Required Materials"})]}),B.map(function(L){return(0,e.createComponentVNode)(2,t.Box,{children:["- ",(0,e.createVNode)(1,"span",null,L.name,0,{style:{"text-transform":"capitalize"}})," x ",L.amount]},L.name)}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function L(){return g("updt_design")}return L}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function L(){return g("clear_design")}return L}()}),(0,e.createComponentVNode)(2,u)]})]})},C=function(s,i){var p=(0,a.useBackend)(i),v=p.data,g=v.disk_type;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"This disk is empty."}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,o.RndNavButton,{submenu:f.SUBMENU.DISK_COPY,icon:"arrow-down",content:g===y?"Load Tech to Disk":"Load Design to Disk"}),(0,e.createComponentVNode)(2,u)]})]})},u=function(s,i){var p=(0,a.useBackend)(i),v=p.data,g=p.act,h=v.disk_type;return h?(0,e.createComponentVNode)(2,t.Button,{content:"Eject Disk",icon:"eject",onClick:function(){function N(){var b=h===y?"eject_tech":"eject_design";g(b)}return N}()}):null},c=function(s,i){var p=(0,a.useBackend)(i),v=p.data,g=v.disk_data,h=v.disk_type,N=function(){if(!g)return(0,e.createComponentVNode)(2,C);switch(h){case V:return(0,e.createComponentVNode)(2,k);case y:return(0,e.createComponentVNode)(2,S);default:return null}};return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk Contents",children:N()})},m=function(s,i){var p=(0,a.useBackend)(i),v=p.data,g=p.act,h=v.disk_type,N=v.to_copy;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Box,{overflowY:"auto",overflowX:"hidden",maxHeight:"450px",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:N.sort(function(b,B){return b.name.localeCompare(B.name)}).map(function(b){var B=b.name,I=b.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:B,children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Copy to Disk",onClick:function(){function L(){h===y?g("copy_tech",{id:I}):g("copy_design",{id:I})}return L}()})},I)})})})})},d=r.DataDiskMenu=function(){function l(s,i){var p=(0,a.useBackend)(i),v=p.data,g=v.disk_type;return g?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.RndRoute,{submenu:f.SUBMENU.MAIN,render:function(){function h(){return(0,e.createComponentVNode)(2,c)}return h}()}),(0,e.createComponentVNode)(2,o.RndRoute,{submenu:f.SUBMENU.DISK_COPY,render:function(){function h(){return(0,e.createComponentVNode)(2,m)}return h}()})],4):null}return l}()},90785:function(w,r,n){"use strict";r.__esModule=!0,r.DeconstructionMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.DeconstructionMenu=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.data,C=S.act,u=k.loaded_item,c=k.linked_destroy;return c?u?(0,e.createComponentVNode)(2,t.Section,{noTopPadding:!0,title:"Deconstruction Menu",children:[(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:["Name: ",u.name]}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createVNode)(1,"h3",null,"Origin Tech:",16)}),(0,e.createComponentVNode)(2,t.LabeledList,{children:u.origin_tech.map(function(m){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+m.name,children:[m.object_level," ",m.current_level?(0,e.createFragment)([(0,e.createTextVNode)("(Current: "),m.current_level,(0,e.createTextVNode)(")")],0):null]},m.name)})}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createVNode)(1,"h3",null,"Options:",16)}),(0,e.createComponentVNode)(2,t.Button,{content:"Deconstruct Item",icon:"unlink",onClick:function(){function m(){C("deconstruct")}return m}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject Item",icon:"eject",onClick:function(){function m(){C("eject_item")}return m}()})]}):(0,e.createComponentVNode)(2,t.Section,{title:"Deconstruction Menu",children:"No item loaded. Standing by..."}):(0,e.createComponentVNode)(2,t.Box,{children:"NO DESTRUCTIVE ANALYZER LINKED TO CONSOLE"})}return f}()},34492:function(w,r,n){"use strict";r.__esModule=!0,r.LatheCategory=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(3422),f=r.LatheCategory=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.data,u=k.act,c=C.category,m=C.matching_designs,d=C.menu,l=d===4,s=l?"build":"imprint";return(0,e.createComponentVNode)(2,t.Section,{title:c,children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,t.Table,{className:"RndConsole__LatheCategory__MatchingDesigns",children:m.map(function(i){var p=i.id,v=i.name,g=i.can_build,h=i.materials;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:v,disabled:g<1,onClick:function(){function N(){return u(s,{id:p,amount:1})}return N}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g>=5?(0,e.createComponentVNode)(2,t.Button,{content:"x5",onClick:function(){function N(){return u(s,{id:p,amount:5})}return N}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g>=10?(0,e.createComponentVNode)(2,t.Button,{content:"x10",onClick:function(){function N(){return u(s,{id:p,amount:10})}return N}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.map(function(N){return(0,e.createFragment)([" | ",(0,e.createVNode)(1,"span",N.is_red?"color-red":null,[N.amount,(0,e.createTextVNode)(" "),N.name],0)],0)})})]},p)})})]})}return V}()},84275:function(w,r,n){"use strict";r.__esModule=!0,r.LatheChemicalStorage=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LatheChemicalStorage=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.data,C=S.act,u=k.loaded_chemicals,c=k.menu===4;return(0,e.createComponentVNode)(2,t.Section,{title:"Chemical Storage",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Purge All",icon:"trash",onClick:function(){function m(){var d=c?"disposeallP":"disposeallI";C(d)}return m}()}),(0,e.createComponentVNode)(2,t.LabeledList,{children:u.map(function(m){var d=m.volume,l=m.name,s=m.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+d+" of "+l,children:(0,e.createComponentVNode)(2,t.Button,{content:"Purge",icon:"trash",onClick:function(){function i(){var p=c?"disposeP":"disposeI";C(p,{id:s})}return i}()})},s)})})]})}return f}()},12638:function(w,r,n){"use strict";r.__esModule=!0,r.LatheMainMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(3422),f=r.LatheMainMenu=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.data,u=k.act,c=C.menu,m=C.categories,d=c===4?"Protolathe":"Circuit Imprinter";return(0,e.createComponentVNode)(2,t.Section,{title:d+" Menu",children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,o.LatheSearch),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Flex,{wrap:"wrap",children:m.map(function(l){return(0,e.createComponentVNode)(2,t.Flex,{style:{"flex-basis":"50%","margin-bottom":"6px"},children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-right",content:l,onClick:function(){function s(){u("setCategory",{category:l})}return s}()})},l)})})]})}return V}()},89004:function(w,r,n){"use strict";r.__esModule=!0,r.LatheMaterialStorage=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LatheMaterialStorage=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.data,C=S.act,u=k.loaded_materials;return(0,e.createComponentVNode)(2,t.Section,{className:"RndConsole__LatheMaterialStorage",title:"Material Storage",children:(0,e.createComponentVNode)(2,t.Table,{children:u.map(function(c){var m=c.id,d=c.amount,l=c.name,s=function(){function g(h){var N=k.menu===4?"lathe_ejectsheet":"imprinter_ejectsheet";C(N,{id:m,amount:h})}return g}(),i=Math.floor(d/2e3),p=d<1,v=i===1?"":"s";return(0,e.createComponentVNode)(2,t.Table.Row,{className:p?"color-grey":"color-yellow",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"210px",children:["* ",d," of ",l]}),(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"110px",children:["(",i," sheet",v,")"]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d>=2e3?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"1x",icon:"eject",onClick:function(){function g(){return s(1)}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"C",icon:"eject",onClick:function(){function g(){return s("custom")}return g}()}),d>=2e3*5?(0,e.createComponentVNode)(2,t.Button,{content:"5x",icon:"eject",onClick:function(){function g(){return s(5)}return g}()}):null,(0,e.createComponentVNode)(2,t.Button,{content:"All",icon:"eject",onClick:function(){function g(){return s(50)}return g}()})],0):null})]},m)})})})}return f}()},73856:function(w,r,n){"use strict";r.__esModule=!0,r.LatheMaterials=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LatheMaterials=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.data,C=k.total_materials,u=k.max_materials,c=k.max_chemicals,m=k.total_chemicals;return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__LatheMaterials",mb:"10px",children:(0,e.createComponentVNode)(2,t.Table,{width:"auto",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Material Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C}),u?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+u}):null]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Chemical Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:m}),c?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+c}):null]})]})})}return f}()},75955:function(w,r,n){"use strict";r.__esModule=!0,r.LatheMenu=void 0;var e=n(96524),a=n(17899),t=n(78345),o=n(3422),f=n(24674),V=n(89641),y=r.LatheMenu=function(){function S(k,C){var u=(0,a.useBackend)(C),c=u.data,m=c.menu,d=c.linked_lathe,l=c.linked_imprinter;return m===4&&!d?(0,e.createComponentVNode)(2,f.Box,{children:"NO PROTOLATHE LINKED TO CONSOLE"}):m===5&&!l?(0,e.createComponentVNode)(2,f.Box,{children:"NO CIRCUIT IMPRITER LINKED TO CONSOLE"}):(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,t.RndRoute,{submenu:V.SUBMENU.MAIN,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheMainMenu)}return s}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:V.SUBMENU.LATHE_CATEGORY,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheCategory)}return s}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:V.SUBMENU.LATHE_MAT_STORAGE,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheMaterialStorage)}return s}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:V.SUBMENU.LATHE_CHEM_STORAGE,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheChemicalStorage)}return s}()})]})}return S}()},72880:function(w,r,n){"use strict";r.__esModule=!0,r.LatheSearch=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LatheSearch=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"Search...",onEnter:function(){function C(u,c){return k("search",{to_search:c})}return C}()})})}return f}()},62306:function(w,r,n){"use strict";r.__esModule=!0,r.MainMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(3422),f=n(89641),V=r.MainMenu=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.data,c=u.disk_type,m=u.linked_destroy,d=u.linked_lathe,l=u.linked_imprinter,s=u.tech_levels;return(0,e.createComponentVNode)(2,t.Section,{title:"Main Menu",children:[(0,e.createComponentVNode)(2,t.Flex,{className:"RndConsole__MainMenu__Buttons",direction:"column",align:"flex-start",children:[(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!c,menu:f.MENU.DISK,submenu:f.SUBMENU.MAIN,icon:"save",content:"Disk Operations"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!m,menu:f.MENU.DESTROY,submenu:f.SUBMENU.MAIN,icon:"unlink",content:"Destructive Analyzer Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!d,menu:f.MENU.LATHE,submenu:f.SUBMENU.MAIN,icon:"print",content:"Protolathe Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!l,menu:f.MENU.IMPRINTER,submenu:f.SUBMENU.MAIN,icon:"print",content:"Circuit Imprinter Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{menu:f.MENU.SETTINGS,submenu:f.SUBMENU.MAIN,icon:"cog",content:"Settings"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"12px"}),(0,e.createVNode)(1,"h3",null,"Current Research Levels:",16),(0,e.createComponentVNode)(2,t.LabeledList,{children:s.map(function(i){var p=i.name,v=i.level;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:p,children:v},p)})})]})}return y}()},99941:function(w,r,n){"use strict";r.__esModule=!0,r.RndNavButton=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.RndNavButton=function(){function f(V,y){var S=V.icon,k=V.children,C=V.disabled,u=V.content,c=(0,a.useBackend)(y),m=c.data,d=c.act,l=m.menu,s=m.submenu,i=l,p=s;return V.menu!==null&&V.menu!==void 0&&(i=V.menu),V.submenu!==null&&V.submenu!==void 0&&(p=V.submenu),(0,e.createComponentVNode)(2,t.Button,{content:u,icon:S,disabled:C,onClick:function(){function v(){d("nav",{menu:i,submenu:p})}return v}(),children:k})}return f}()},24448:function(w,r,n){"use strict";r.__esModule=!0,r.RndNavbar=void 0;var e=n(96524),a=n(3422),t=n(24674),o=n(89641),f=r.RndNavbar=function(){function V(){return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__RndNavbar",children:[(0,e.createComponentVNode)(2,a.RndRoute,{menu:function(){function y(S){return S!==o.MENU.MAIN}return y}(),render:function(){function y(){return(0,e.createComponentVNode)(2,a.RndNavButton,{menu:o.MENU.MAIN,submenu:o.SUBMENU.MAIN,icon:"reply",content:"Main Menu"})}return y}()}),(0,e.createComponentVNode)(2,a.RndRoute,{submenu:function(){function y(S){return S!==o.SUBMENU.MAIN}return y}(),render:function(){function y(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.DISK,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Disk Operations Menu"})}return S}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.LATHE,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Protolathe Menu"})}return S}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.IMPRINTER,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Circuit Imprinter Menu"})}return S}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.SETTINGS,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Settings Menu"})}return S}()})]})}return y}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:function(){function y(S){return S===o.MENU.LATHE||S===o.MENU.IMPRINTER}return y}(),submenu:o.SUBMENU.MAIN,render:function(){function y(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.LATHE_MAT_STORAGE,icon:"arrow-up",content:"Material Storage"}),(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.LATHE_CHEM_STORAGE,icon:"arrow-up",content:"Chemical Storage"})]})}return y}()})]})}return V}()},78345:function(w,r,n){"use strict";r.__esModule=!0,r.RndRoute=void 0;var e=n(17899),a=r.RndRoute=function(){function t(o,f){var V=o.render,y=(0,e.useBackend)(f),S=y.data,k=S.menu,C=S.submenu,u=function(){function m(d,l){return d==null?!0:typeof d=="function"?d(l):d===l}return m}(),c=u(o.menu,k)&&u(o.submenu,C);return c?V():null}return t}()},56454:function(w,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(3422),f=n(89641),V=r.SettingsMenu=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.data,c=C.act,m=u.sync,d=u.admin,l=u.linked_destroy,s=u.linked_lathe,i=u.linked_imprinter;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,o.RndRoute,{submenu:f.SUBMENU.MAIN,render:function(){function p(){return(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",align:"flex-start",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Sync Database with Network",icon:"sync",disabled:!m,onClick:function(){function v(){c("sync")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Connect to Research Network",icon:"plug",disabled:m,onClick:function(){function v(){c("togglesync")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!m,icon:"unlink",content:"Disconnect from Research Network",onClick:function(){function v(){c("togglesync")}return v}()}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!m,content:"Device Linkage Menu",icon:"link",menu:f.MENU.SETTINGS,submenu:f.SUBMENU.SETTINGS_DEVICES}),d===1?(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation",content:"[ADMIN] Maximize Research Levels",onClick:function(){function v(){return c("maxresearch")}return v}()}):null]})})}return p}()}),(0,e.createComponentVNode)(2,o.RndRoute,{submenu:f.SUBMENU.SETTINGS_DEVICES,render:function(){function p(){return(0,e.createComponentVNode)(2,t.Section,{title:"Device Linkage Menu",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"link",content:"Re-sync with Nearby Devices",onClick:function(){function v(){return c("find_device")}return v}()}),(0,e.createComponentVNode)(2,t.Box,{mt:"5px",children:(0,e.createVNode)(1,"h3",null,"Linked Devices:",16)}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[l?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Destructive Analyzer",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function v(){return c("disconnect",{item:"destroy"})}return v}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Destructive Analyzer Linked"}),s?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Protolathe",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function v(){c("disconnect",{item:"lathe"})}return v}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Protolathe Linked"}),i?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Circuit Imprinter",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function v(){return c("disconnect",{item:"imprinter"})}return v}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Circuit Imprinter Linked"})]})]})}return p}()})]})}return y}()},3422:function(w,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=r.RndRoute=r.RndNavbar=r.RndNavButton=r.MainMenu=r.LatheSearch=r.LatheMenu=r.LatheMaterials=r.LatheMaterialStorage=r.LatheMainMenu=r.LatheChemicalStorage=r.LatheCategory=r.DeconstructionMenu=r.DataDiskMenu=r.CurrentLevels=void 0;var e=n(19348);r.CurrentLevels=e.CurrentLevels;var a=n(338);r.DataDiskMenu=a.DataDiskMenu;var t=n(90785);r.DeconstructionMenu=t.DeconstructionMenu;var o=n(34492);r.LatheCategory=o.LatheCategory;var f=n(84275);r.LatheChemicalStorage=f.LatheChemicalStorage;var V=n(12638);r.LatheMainMenu=V.LatheMainMenu;var y=n(73856);r.LatheMaterials=y.LatheMaterials;var S=n(89004);r.LatheMaterialStorage=S.LatheMaterialStorage;var k=n(75955);r.LatheMenu=k.LatheMenu;var C=n(72880);r.LatheSearch=C.LatheSearch;var u=n(62306);r.MainMenu=u.MainMenu;var c=n(24448);r.RndNavbar=c.RndNavbar;var m=n(99941);r.RndNavButton=m.RndNavButton;var d=n(78345);r.RndRoute=d.RndRoute;var l=n(56454);r.SettingsMenu=l.SettingsMenu},71123:function(w,r,n){"use strict";r.__esModule=!0,r.RobotSelfDiagnosis=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(78234),V=function(k,C){var u=k/C;return u<=.2?"good":u<=.5?"average":"bad"},y=r.RobotSelfDiagnosis=function(){function S(k,C){var u=(0,a.useBackend)(C),c=u.data,m=c.component_data;return(0,e.createComponentVNode)(2,o.Window,{width:280,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:m.map(function(d,l){return(0,e.createComponentVNode)(2,t.Section,{title:(0,f.capitalize)(d.name),children:d.installed<=0?(0,e.createComponentVNode)(2,t.NoticeBox,{m:-.5,height:3.5,color:"red",style:{"font-style":"normal"},children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",children:(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,textAlign:"center",align:"center",color:"#e8e8e8",children:d.installed===-1?"Destroyed":"Missing"})})}):(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"72%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",color:V(d.brute_damage,d.max_damage),children:d.brute_damage}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",color:V(d.electronic_damage,d.max_damage),children:d.electronic_damage})]})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Powered",color:d.powered?"good":"bad",children:d.powered?"Yes":"No"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Enabled",color:d.status?"good":"bad",children:d.status?"Yes":"No"})]})})]})},l)})})})}return S}()},98951:function(w,r,n){"use strict";r.__esModule=!0,r.RoboticsControlConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.RoboticsControlConsole=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.can_hack,d=c.safety,l=c.show_lock_all,s=c.cyborgs,i=s===void 0?[]:s;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:460,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!l&&(0,e.createComponentVNode)(2,t.Section,{title:"Emergency Lock Down",children:[(0,e.createComponentVNode)(2,t.Button,{icon:d?"lock":"unlock",content:d?"Disable Safety":"Enable Safety",selected:d,onClick:function(){function p(){return u("arm",{})}return p}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"lock",disabled:d,content:"Lock ALL Cyborgs",color:"bad",onClick:function(){function p(){return u("masslock",{})}return p}()})]}),(0,e.createComponentVNode)(2,V,{cyborgs:i,can_hack:m})]})})}return y}(),V=function(S,k){var C=S.cyborgs,u=S.can_hack,c=(0,a.useBackend)(k),m=c.act,d=c.data,l="Detonate";return d.detonate_cooldown>0&&(l+=" ("+d.detonate_cooldown+"s)"),C.length?C.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name,buttons:(0,e.createFragment)([!!s.hackable&&!s.emagged&&(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:"Hack",color:"bad",onClick:function(){function i(){return m("hackbot",{uid:s.uid})}return i}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:s.locked_down?"unlock":"lock",color:s.locked_down?"good":"default",content:s.locked_down?"Release":"Lockdown",disabled:!d.auth,onClick:function(){function i(){return m("stopbot",{uid:s.uid})}return i}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:l,disabled:!d.auth||d.detonate_cooldown>0,color:"bad",onClick:function(){function i(){return m("killbot",{uid:s.uid})}return i}()})],0),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Box,{color:s.status?"bad":s.locked_down?"average":"good",children:s.status?"Not Responding":s.locked_down?"Locked Down":"Nominal"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:(0,e.createComponentVNode)(2,t.Box,{children:s.locstring})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:s.health>50?"good":"bad",value:s.health/100})}),typeof s.charge=="number"&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:s.charge>30?"good":"bad",value:s.charge/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Capacity",children:(0,e.createComponentVNode)(2,t.Box,{color:s.cell_capacity<3e4?"average":"good",children:s.cell_capacity})})],4)||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"No Power Cell"})}),!!s.is_hacked&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safeties",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"DISABLED"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Module",children:s.module}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master AI",children:(0,e.createComponentVNode)(2,t.Box,{color:s.synchronization?"default":"average",children:s.synchronization||"None"})})]})},s.uid)}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cyborg units detected within access parameters."})}},2289:function(w,r,n){"use strict";r.__esModule=!0,r.Safe=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Safe=function(){function k(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.dial,s=d.open,i=d.locked,p=d.contents;return(0,e.createComponentVNode)(2,o.Window,{theme:"safe",width:600,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving",children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving--hinge",top:"25%"}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving--hinge",top:"75%"})]}),(0,e.createComponentVNode)(2,t.Icon,{className:"Safe--engraving--arrow",name:"long-arrow-alt-down",size:"3"}),(0,e.createVNode)(1,"br"),s?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,t.Box,{as:"img",className:"Safe--dial",src:"safe_dial.png",style:{transform:"rotate(-"+3.6*l+"deg)","z-index":0}})]}),!s&&(0,e.createComponentVNode)(2,S)]})})}return k}(),V=function(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.dial,s=d.open,i=d.locked,p=function(g,h){return(0,e.createComponentVNode)(2,t.Button,{disabled:s||h&&!i,icon:"arrow-"+(h?"right":"left"),content:(h?"Right":"Left")+" "+g,iconRight:h,onClick:function(){function N(){return m(h?"turnleft":"turnright",{num:g})}return N}(),style:{"z-index":10}})};return(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer",children:[(0,e.createComponentVNode)(2,t.Button,{disabled:i,icon:s?"lock":"lock-open",content:s?"Close":"Open",mb:"0.5rem",onClick:function(){function v(){return m("open")}return v}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{position:"absolute",children:[p(50),p(10),p(1)]}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer--right",position:"absolute",right:"5px",children:[p(1,!0),p(10,!0),p(50,!0)]}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer--number",children:l})]})},y=function(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.contents;return(0,e.createComponentVNode)(2,t.Box,{className:"Safe--contents",overflow:"auto",children:l.map(function(s,i){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{mb:"0.5rem",onClick:function(){function p(){return m("retrieve",{index:i+1})}return p}(),children:[(0,e.createComponentVNode)(2,t.Box,{as:"img",src:s.sprite+".png",verticalAlign:"middle",ml:"-6px",mr:"0.5rem"}),s.name]}),(0,e.createVNode)(1,"br")],4,s)})})},S=function(C,u){return(0,e.createComponentVNode)(2,t.Section,{className:"Safe--help",title:"Safe opening instructions (because you all keep forgetting)",children:[(0,e.createComponentVNode)(2,t.Box,{children:["1. Turn the dial left to the first number.",(0,e.createVNode)(1,"br"),"2. Turn the dial right to the second number.",(0,e.createVNode)(1,"br"),"3. Continue repeating this process for each number, switching between left and right each time.",(0,e.createVNode)(1,"br"),"4. Open the safe."]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:"To lock fully, turn the dial to the left after closing the safe."})]})}},49334:function(w,r,n){"use strict";r.__esModule=!0,r.SatelliteControl=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.SatelliteControl=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.satellites,m=u.notice,d=u.meteor_shield,l=u.meteor_shield_coverage,s=u.meteor_shield_coverage_max,i=u.meteor_shield_coverage_percentage;return(0,e.createComponentVNode)(2,o.Window,{width:475,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[d&&(0,e.createComponentVNode)(2,t.Section,{title:"Station Shield Coverage",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:i>=100?"good":"average",value:l,maxValue:s,children:[i," %"]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Satellite Network Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alert",color:"red",children:u.notice}),c.map(function(p){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"#"+p.id,children:[p.mode," ",(0,e.createComponentVNode)(2,t.Button,{content:p.active?"Deactivate":"Activate",icon:"arrow-circle-right",onClick:function(){function v(){return C("toggle",{id:p.id})}return v}()})]},p.id)})]})})]})})}return V}()},54892:function(w,r,n){"use strict";r.__esModule=!0,r.SecureStorage=void 0;var e=n(96524),a=n(28234),t=n(17899),o=n(24674),f=n(45493),V=n(5126),y=n(68100),S=r.SecureStorage=function(){function c(m,d){return(0,e.createComponentVNode)(2,f.Window,{theme:"securestorage",height:500,width:280,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,C)})})})})}return c}(),k=function(m,d){var l=(0,t.useBackend)(d),s=l.act,i=window.event?m.which:m.keyCode;if(i===y.KEY_ENTER){m.preventDefault(),s("keypad",{digit:"E"});return}if(i===y.KEY_ESCAPE){m.preventDefault(),s("keypad",{digit:"C"});return}if(i===y.KEY_BACKSPACE){m.preventDefault(),s("backspace");return}if(i>=y.KEY_0&&i<=y.KEY_9){m.preventDefault(),s("keypad",{digit:i-y.KEY_0});return}if(i>=y.KEY_NUMPAD_0&&i<=y.KEY_NUMPAD_9){m.preventDefault(),s("keypad",{digit:i-y.KEY_NUMPAD_0});return}},C=function(m,d){var l=(0,t.useBackend)(d),s=l.act,i=l.data,p=i.locked,v=i.no_passcode,g=i.emagged,h=i.user_entered_code,N=[["1","2","3"],["4","5","6"],["7","8","9"],["C","0","E"]],b=v?"":p?"bad":"good";return(0,e.createComponentVNode)(2,o.Section,{fill:!0,onKeyDown:function(){function B(I){return k(I,d)}return B}(),children:[(0,e.createComponentVNode)(2,o.Stack.Item,{height:7.3,children:(0,e.createComponentVNode)(2,o.Box,{className:(0,a.classes)(["SecureStorage__displayBox","SecureStorage__displayBox--"+b]),height:"100%",children:g?"ERROR":h})}),(0,e.createComponentVNode)(2,o.Table,{children:N.map(function(B){return(0,e.createComponentVNode)(2,V.TableRow,{children:B.map(function(I){return(0,e.createComponentVNode)(2,V.TableCell,{children:(0,e.createComponentVNode)(2,u,{number:I})},I)})},B[0])})})]})},u=function(m,d){var l=(0,t.useBackend)(d),s=l.act,i=l.data,p=m.number;return(0,e.createComponentVNode)(2,o.Button,{fluid:!0,bold:!0,mb:"6px",content:p,textAlign:"center",fontSize:"60px",lineHeight:1.25,width:"80px",className:(0,a.classes)(["SecureStorage__Button","SecureStorage__Button--keypad","SecureStorage__Button--"+p]),onClick:function(){function v(){return s("keypad",{digit:p})}return v}()})}},56798:function(w,r,n){"use strict";r.__esModule=!0,r.SecurityRecords=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(45493),V=n(99665),y=n(68159),S=n(27527),k=n(84537),C={"*Execute*":"execute","*Arrest*":"arrest",Incarcerated:"incarcerated",Parolled:"parolled",Released:"released",Demote:"demote",Search:"search",Monitor:"monitor"},u=function(h,N){(0,V.modalOpen)(h,"edit",{field:N.edit,value:N.value})},c=r.SecurityRecords=function(){function g(h,N){var b=(0,t.useBackend)(N),B=b.act,I=b.data,L=I.loginState,T=I.currentPage,x;if(L.logged_in)T===1?x=(0,e.createComponentVNode)(2,d):T===2&&(x=(0,e.createComponentVNode)(2,i));else return(0,e.createComponentVNode)(2,f.Window,{theme:"security",width:800,height:900,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,S.LoginScreen)})});return(0,e.createComponentVNode)(2,f.Window,{theme:"security",width:800,height:900,children:[(0,e.createComponentVNode)(2,V.ComplexModal),(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.LoginInfo),(0,e.createComponentVNode)(2,k.TemporaryNotice),(0,e.createComponentVNode)(2,m),x]})})]})}return g}(),m=function(h,N){var b=(0,t.useBackend)(N),B=b.act,I=b.data,L=I.currentPage,T=I.general;return(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:L===1,onClick:function(){function x(){return B("page",{page:1})}return x}(),children:"List Records"}),L===2&&T&&!T.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"file",selected:L===2,children:["Record: ",T.fields[0].value]})]})})},d=function(h,N){var b=(0,t.useBackend)(N),B=b.act,I=b.data,L=I.records,T=(0,t.useLocalState)(N,"searchText",""),x=T[0],A=T[1],E=(0,t.useLocalState)(N,"sortId","name"),M=E[0],D=E[1],P=(0,t.useLocalState)(N,"sortOrder",!0),R=P[0],j=P[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,s)}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"SecurityRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,l,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,l,{id:"id",children:"ID"}),(0,e.createComponentVNode)(2,l,{id:"rank",children:"Assignment"}),(0,e.createComponentVNode)(2,l,{id:"fingerprint",children:"Fingerprint"}),(0,e.createComponentVNode)(2,l,{id:"status",children:"Criminal Status"})]}),L.filter((0,a.createSearch)(x,function(F){return F.name+"|"+F.id+"|"+F.rank+"|"+F.fingerprint+"|"+F.status})).sort(function(F,W){var _=R?1:-1;return F[M].localeCompare(W[M])*_}).map(function(F){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"SecurityRecords__listRow--"+C[F.status],onClick:function(){function W(){return B("view",{uid_gen:F.uid_gen,uid_sec:F.uid_sec})}return W}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",F.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.fingerprint}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.status})]},F.id)})]})})})],4)},l=function(h,N){var b=(0,t.useLocalState)(N,"sortId","name"),B=b[0],I=b[1],L=(0,t.useLocalState)(N,"sortOrder",!0),T=L[0],x=L[1],A=h.id,E=h.children;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:B!==A&&"transparent",fluid:!0,onClick:function(){function M(){B===A?x(!T):(I(A),x(!0))}return M}(),children:[E,B===A&&(0,e.createComponentVNode)(2,o.Icon,{name:T?"sort-up":"sort-down",ml:"0.25rem;"})]})})})},s=function(h,N){var b=(0,t.useBackend)(N),B=b.act,I=b.data,L=I.isPrinting,T=(0,t.useLocalState)(N,"searchText",""),x=T[0],A=T[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{ml:"0.25rem",content:"New Record",icon:"plus",onClick:function(){function E(){return B("new_general")}return E}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:L,icon:L?"spinner":"print",iconSpin:!!L,content:"Print Cell Log",onClick:function(){function E(){return(0,V.modalOpen)(N,"print_cell_log")}return E}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by Name, ID, Assignment, Fingerprint, Status",fluid:!0,onInput:function(){function E(M,D){return A(D)}return E}()})})]})},i=function(h,N){var b=(0,t.useBackend)(N),B=b.act,I=b.data,L=I.isPrinting,T=I.general,x=I.security;return!T||!T.fields?(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"General records lost!"}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"General Data",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:L,icon:L?"spinner":"print",iconSpin:!!L,content:"Print Record",onClick:function(){function A(){return B("print_record")}return A}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",tooltip:"WARNING: This will also delete the Security and Medical records associated with this crew member!",tooltipPosition:"bottom-start",content:"Delete Record",onClick:function(){function A(){return B("delete_general")}return A}()})],4),children:(0,e.createComponentVNode)(2,p)})}),!x||!x.fields?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Security Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"pen",content:"Create New Record",onClick:function(){function A(){return B("new_security")}return A}()}),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"Security records lost!"]})})})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Security Data",buttons:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",disabled:x.empty,content:"Delete Record",onClick:function(){function A(){return B("delete_security")}return A}()}),children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:x.fields.map(function(A,E){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:A.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(A.value),!!A.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:A.line_break?"1rem":"initial",onClick:function(){function M(){return u(N,A)}return M}()})]},E)})})})})}),(0,e.createComponentVNode)(2,v)],4)],0)},p=function(h,N){var b=(0,t.useBackend)(N),B=b.data,I=B.general;return!I||!I.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"General records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:I.fields.map(function(L,T){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:L.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(""+L.value),!!L.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:L.line_break?"1rem":"initial",onClick:function(){function x(){return u(N,L)}return x}()})]},T)})})}),!!I.has_photos&&I.photos.map(function(L,T){return(0,e.createComponentVNode)(2,o.Stack.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:L,style:{width:"96px","margin-top":"5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Photo #",T+1]},T)})]})},v=function(h,N){var b=(0,t.useBackend)(N),B=b.act,I=b.data,L=I.security;return(0,e.createComponentVNode)(2,o.Stack.Item,{height:"150px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Comments/Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"comment",content:"Add Entry",onClick:function(){function T(){return(0,V.modalOpen)(N,"comment_add")}return T}()}),children:L.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):L.comments.map(function(T,x){return(0,e.createComponentVNode)(2,o.Box,{preserveWhitespace:!0,children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:T.header||"Auto-generated"}),(0,e.createVNode)(1,"br"),T.text||T,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function A(){return B("comment_delete",{id:x+1})}return A}()})]},x)})})})}},59981:function(w,r,n){"use strict";r.__esModule=!0,r.SeedExtractor=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(45493),V=n(99665);function y(l,s){var i=typeof Symbol!="undefined"&&l[Symbol.iterator]||l["@@iterator"];if(i)return(i=i.call(l)).next.bind(i);if(Array.isArray(l)||(i=S(l))||s&&l&&typeof l.length=="number"){i&&(l=i);var p=0;return function(){return p>=l.length?{done:!0}:{done:!1,value:l[p++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function S(l,s){if(l){if(typeof l=="string")return k(l,s);var i=Object.prototype.toString.call(l).slice(8,-1);if(i==="Object"&&l.constructor&&(i=l.constructor.name),i==="Map"||i==="Set")return Array.from(l);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return k(l,s)}}function k(l,s){(s==null||s>l.length)&&(s=l.length);for(var i=0,p=new Array(s);i=x},v=function(T,x){return T<=x},g=s.split(" "),h=[],N=function(){var T=I.value,x=T.split(":");if(x.length===0)return 0;if(x.length===1)return h.push(function(M){return(M.name+" ("+M.variant+")").toLocaleLowerCase().includes(x[0].toLocaleLowerCase())}),0;if(x.length>2)return{v:function(){function M(D){return!1}return M}()};var A,E=i;if(x[1][x[1].length-1]==="-"?(E=v,A=Number(x[1].substring(0,x[1].length-1))):x[1][x[1].length-1]==="+"?(E=p,A=Number(x[1].substring(0,x[1].length-1))):A=Number(x[1]),isNaN(A))return{v:function(){function M(D){return!1}return M}()};switch(x[0].toLocaleLowerCase()){case"l":case"life":case"lifespan":h.push(function(M){return E(M.lifespan,A)});break;case"e":case"end":case"endurance":h.push(function(M){return E(M.endurance,A)});break;case"m":case"mat":case"maturation":h.push(function(M){return E(M.maturation,A)});break;case"pr":case"prod":case"production":h.push(function(M){return E(M.production,A)});break;case"y":case"yield":h.push(function(M){return E(M.yield,A)});break;case"po":case"pot":case"potency":h.push(function(M){return E(M.potency,A)});break;case"s":case"stock":case"c":case"count":case"a":case"amount":h.push(function(M){return E(M.amount,A)});break;default:return{v:function(){function M(D){return!1}return M}()}}},b,B=y(g),I;!(I=B()).done;)if(b=N(),b!==0&&b)return b.v;return function(L){for(var T=0,x=h;T=1?Number(E):1)}return x}()})]})]})}},33454:function(w,r,n){"use strict";r.__esModule=!0,r.ShuttleConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ShuttleConsole=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:150,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:u.status?u.status:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Missing"})}),!!u.shuttle&&(!!u.docking_ports_len&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Send to ",children:u.docking_ports.map(function(c){return(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",content:c.name,onClick:function(){function m(){return C("move",{move:c.id})}return m}()},c.name)})})||(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:"red",children:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Locked"})}),!!u.admin_controlled&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Authorization",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-circle",content:"Request Authorization",disabled:!u.status,onClick:function(){function c(){return C("request")}return c}()})})],0))]})})})})}return V}()},50451:function(w,r,n){"use strict";r.__esModule=!0,r.ShuttleManipulator=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ShuttleManipulator=function(){function k(C,u){var c=(0,a.useLocalState)(u,"tabIndex",0),m=c[0],d=c[1],l=function(){function s(i){switch(i){case 0:return(0,e.createComponentVNode)(2,V);case 1:return(0,e.createComponentVNode)(2,y);case 2:return(0,e.createComponentVNode)(2,S);default:return"WE SHOULDN'T BE HERE!"}}return s}();return(0,e.createComponentVNode)(2,o.Window,{width:650,height:700,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===0,onClick:function(){function s(){return d(0)}return s}(),icon:"info-circle",children:"Status"},"Status"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===1,onClick:function(){function s(){return d(1)}return s}(),icon:"file-import",children:"Templates"},"Templates"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===2,onClick:function(){function s(){return d(2)}return s}(),icon:"tools",children:"Modification"},"Modification")]}),l(m)]})})})}return k}(),V=function(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.shuttles;return(0,e.createComponentVNode)(2,t.Box,{children:l.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID",children:s.id}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Timer",children:s.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Mode",children:s.mode}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Status",children:s.status}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function i(){return m("jump_to",{type:"mobile",id:s.id})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Fast Travel",icon:"fast-forward",onClick:function(){function i(){return m("fast_travel",{id:s.id})}return i}()})]})]})},s.name)})})},y=function(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.templates_tabs,s=d.existing_shuttle,i=d.templates;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Tabs,{children:l.map(function(p){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:p===s.id,icon:"file",onClick:function(){function v(){return m("select_template_category",{cat:p})}return v}(),children:p},p)})}),!!s&&i[s.id].templates.map(function(p){return(0,e.createComponentVNode)(2,t.Section,{title:p.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[p.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:p.description}),p.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:p.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{content:"Load Template",icon:"download",onClick:function(){function v(){return m("select_template",{shuttle_id:p.shuttle_id})}return v}()})})]})},p.name)})]})},S=function(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.existing_shuttle,s=d.selected;return(0,e.createComponentVNode)(2,t.Box,{children:[l?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: "+l.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:l.status}),l.timer&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Timer",children:l.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function i(){return m("jump_to",{type:"mobile",id:l.id})}return i}()})})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: None"}),s?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: "+s.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[s.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:s.description}),s.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:s.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Preview",icon:"eye",onClick:function(){function i(){return m("preview",{shuttle_id:s.shuttle_id})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Load",icon:"download",onClick:function(){function i(){return m("load",{shuttle_id:s.shuttle_id})}return i}()})]})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: None"})]})}},99050:function(w,r,n){"use strict";r.__esModule=!0,r.Sleeper=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=[["good","Alive"],["average","Critical"],["bad","DEAD"]],y=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],S={average:[.25,.5],bad:[.5,1/0]},k=["bad","average","average","good","average","average","bad"],C=r.Sleeper=function(){function i(p,v){var g=(0,t.useBackend)(v),h=g.act,N=g.data,b=N.hasOccupant,B=b?(0,e.createComponentVNode)(2,u):(0,e.createComponentVNode)(2,s);return(0,e.createComponentVNode)(2,f.Window,{width:550,height:760,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:B}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,d)})]})})})}return i}(),u=function(p,v){var g=(0,t.useBackend)(v),h=g.act,N=g.data,b=N.occupant;return(0,e.createFragment)([(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,l)],4)},c=function(p,v){var g=(0,t.useBackend)(v),h=g.act,N=g.data,b=N.occupant,B=N.auto_eject_dead;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:"Auto-eject if dead:\xA0"}),(0,e.createComponentVNode)(2,o.Button,{icon:B?"toggle-on":"toggle-off",selected:B,content:B?"On":"Off",onClick:function(){function I(){return h("auto_eject_dead_"+(B?"off":"on"))}return I}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"user-slash",content:"Eject",onClick:function(){function I(){return h("ejectify")}return I}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:b.name}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:b.maxHealth,value:b.health/b.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]},children:(0,a.round)(b.health,0)})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",color:V[b.stat][0],children:V[b.stat][1]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:b.maxTemp,value:b.bodyTemperature/b.maxTemp,color:k[b.temperatureSuitability+3],children:[(0,a.round)(b.btCelsius,0),"\xB0C,",(0,a.round)(b.btFaren,0),"\xB0F"]})}),!!b.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Blood Level",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:b.bloodMax,value:b.bloodLevel/b.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[b.bloodPercent,"%, ",b.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pulse",verticalAlign:"middle",children:[b.pulse," BPM"]})],4)]})})},m=function(p,v){var g=(0,t.useBackend)(v),h=g.data,N=h.occupant;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Damage",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:y.map(function(b,B){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:b[0],children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:"100",value:N[b[1]]/100,ranges:S,children:(0,a.round)(N[b[1]],0)},B)},B)})})})},d=function(p,v){var g=(0,t.useBackend)(v),h=g.act,N=g.data,b=N.hasOccupant,B=N.isBeakerLoaded,I=N.beakerMaxSpace,L=N.beakerFreeSpace,T=N.dialysis,x=T&&L>0;return(0,e.createComponentVNode)(2,o.Section,{title:"Dialysis",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!B||L<=0||!b,selected:x,icon:x?"toggle-on":"toggle-off",content:x?"Active":"Inactive",onClick:function(){function A(){return h("togglefilter")}return A}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!B,icon:"eject",content:"Eject",onClick:function(){function A(){return h("removebeaker")}return A}()})],4),children:B?(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining Space",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:I,value:L/I,ranges:{good:[.5,1/0],average:[.25,.5],bad:[-1/0,.25]},children:[L,"u"]})})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No beaker loaded."})})},l=function(p,v){var g=(0,t.useBackend)(v),h=g.act,N=g.data,b=N.occupant,B=N.chemicals,I=N.maxchem,L=N.amounts;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Chemicals",children:B.map(function(T,x){var A="",E;return T.overdosing?(A="bad",E=(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-circle"}),"\xA0 Overdosing!"]})):T.od_warning&&(A="average",E=(0,e.createComponentVNode)(2,o.Box,{color:"average",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle"}),"\xA0 Close to overdosing"]})),(0,e.createComponentVNode)(2,o.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{title:T.title,level:"3",mx:"0",lineHeight:"18px",buttons:E,children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:I,value:T.occ_amount/I,color:A,title:"Amount of chemicals currently inside the occupant / Total amount injectable by this machine",mr:"0.5rem",children:[T.pretty_amount,"/",I,"u"]}),L.map(function(M,D){return(0,e.createComponentVNode)(2,o.Button,{disabled:!T.injectable||T.occ_amount+M>I||b.stat===2,icon:"syringe",content:"Inject "+M+"u",title:"Inject "+M+"u of "+T.title+" into the occupant",mb:"0",height:"19px",onClick:function(){function P(){return h("chemical",{chemid:T.id,amount:M})}return P}()},D)})]})})},x)})})},s=function(p,v){return(0,e.createComponentVNode)(2,o.Section,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}},37763:function(w,r,n){"use strict";r.__esModule=!0,r.SlotMachine=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.SlotMachine=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data;if(u.money===null)return(0,e.createComponentVNode)(2,o.Window,{width:350,height:90,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"Could not scan your card or could not find account!"}),(0,e.createComponentVNode)(2,t.Box,{children:"Please wear or hold your ID and try again."})]})})});var c;return u.plays===1?c=u.plays+" player has tried their luck today!":c=u.plays+" players have tried their luck today!",(0,e.createComponentVNode)(2,o.Window,{width:300,height:151,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{lineHeight:2,children:c}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Credits Remaining",children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:u.money})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"10 credits to spin",children:(0,e.createComponentVNode)(2,t.Button,{icon:"coins",disabled:u.working,content:u.working?"Spinning...":"Spin",onClick:function(){function m(){return C("spin")}return m}()})})]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,lineHeight:2,color:u.resultlvl,children:u.result})]})})})}return V}()},26654:function(w,r,n){"use strict";r.__esModule=!0,r.Smartfridge=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Smartfridge=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.secure,m=u.can_dry,d=u.drying,l=u.contents;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"Secure Access: Please have your identification ready."}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:m?"Drying rack":"Contents",buttons:!!m&&(0,e.createComponentVNode)(2,t.Button,{width:4,icon:d?"power-off":"times",content:d?"On":"Off",selected:d,onClick:function(){function s(){return C("drying")}return s}()}),children:[!l&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cookie-bite",size:5,color:"brown"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No products loaded."]})}),!!l&&l.slice().sort(function(s,i){return s.display_name.localeCompare(i.display_name)}).map(function(s){return(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"55%",children:s.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"25%",children:["(",s.quantity," in stock)"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:13,children:[(0,e.createComponentVNode)(2,t.Button,{width:3,icon:"arrow-down",tooltip:"Dispense one.",content:"1",onClick:function(){function i(){return C("vend",{index:s.vend,amount:1})}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{width:"40px",minValue:0,value:0,maxValue:s.quantity,step:1,stepPixelSize:3,onChange:function(){function i(p,v){return C("vend",{index:s.vend,amount:v})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{width:4,icon:"arrow-down",content:"All",tooltip:"Dispense all.",tooltipPosition:"bottom-start",onClick:function(){function i(){return C("vend",{index:s.vend,amount:s.quantity})}return i}()})]})]},s)})]})]})})})}return V}()},71124:function(w,r,n){"use strict";r.__esModule=!0,r.Smes=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(92986),f=n(45493),V=1e3,y=r.Smes=function(){function S(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.capacityPercent,l=m.capacity,s=m.charge,i=m.inputAttempt,p=m.inputting,v=m.inputLevel,g=m.inputLevelMax,h=m.inputAvailable,N=m.outputPowernet,b=m.outputAttempt,B=m.outputting,I=m.outputLevel,L=m.outputLevelMax,T=m.outputUsed,x=d>=100&&"good"||p&&"average"||"bad",A=B&&"good"||s>0&&"average"||"bad";return(0,e.createComponentVNode)(2,f.Window,{width:340,height:345,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Stored Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:d*.01,ranges:{good:[.5,1/0],average:[.15,.5],bad:[-1/0,.15]}})}),(0,e.createComponentVNode)(2,t.Section,{title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:i?"sync-alt":"times",selected:i,onClick:function(){function E(){return c("tryinput")}return E}(),children:i?"Auto":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:x,children:d>=100&&"Fully Charged"||p&&"Charging"||"Not Charging"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Input",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:v===0,onClick:function(){function E(){return c("input",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:v===0,onClick:function(){function E(){return c("input",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:v/V,fillValue:h/V,minValue:0,maxValue:g/V,step:5,stepPixelSize:4,format:function(){function E(M){return(0,o.formatPower)(M*V,1)}return E}(),onChange:function(){function E(M,D){return c("input",{target:D*V})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:v===g,onClick:function(){function E(){return c("input",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:v===g,onClick:function(){function E(){return c("input",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available",children:(0,o.formatPower)(h)})]})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Output",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Output Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:b?"power-off":"times",selected:b,onClick:function(){function E(){return c("tryoutput")}return E}(),children:b?"On":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:A,children:N?B?"Sending":s>0?"Not Sending":"No Charge":"Not Connected"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Output",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:I===0,onClick:function(){function E(){return c("output",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:I===0,onClick:function(){function E(){return c("output",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:I/V,minValue:0,maxValue:L/V,step:5,stepPixelSize:4,format:function(){function E(M){return(0,o.formatPower)(M*V,1)}return E}(),onChange:function(){function E(M,D){return c("output",{target:D*V})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:I===L,onClick:function(){function E(){return c("output",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:I===L,onClick:function(){function E(){return c("output",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Outputting",children:(0,o.formatPower)(T)})]})})]})})})}return S}()},21786:function(w,r,n){"use strict";r.__esModule=!0,r.SolarControl=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.SolarControl=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=0,m=1,d=2,l=u.generated,s=u.generated_ratio,i=u.tracking_state,p=u.tracking_rate,v=u.connected_panels,g=u.connected_tracker,h=u.cdir,N=u.direction,b=u.rotating_direction;return(0,e.createComponentVNode)(2,o.Window,{width:490,height:277,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Scan for new hardware",onClick:function(){function B(){return C("refresh")}return B}()}),children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Solar tracker",color:g?"good":"bad",children:g?"OK":"N/A"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Solar panels",color:v>0?"good":"bad",children:v})]})}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:2,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power output",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[.66,1/0],average:[.33,.66],bad:[-1/0,.33]},minValue:0,maxValue:1,value:s,children:l+" W"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[h,"\xB0 (",N,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[i===d&&(0,e.createComponentVNode)(2,t.Box,{children:" Automated "}),i===m&&(0,e.createComponentVNode)(2,t.Box,{children:[" ",p,"\xB0/h (",b,")"," "]}),i===c&&(0,e.createComponentVNode)(2,t.Box,{children:" Tracker offline "})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[i!==d&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0",step:1,stepPixelSize:1,minValue:0,maxValue:359,value:h,onDrag:function(){function B(I,L){return C("cdir",{cdir:L})}return B}()}),i===d&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker status",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:i===c,onClick:function(){function B(){return C("track",{track:c})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"clock-o",content:"Timed",selected:i===m,onClick:function(){function B(){return C("track",{track:m})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:i===d,disabled:!g,onClick:function(){function B(){return C("track",{track:d})}return B}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[i===m&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0/h",step:1,stepPixelSize:1,minValue:-7200,maxValue:7200,value:p,format:function(){function B(I){var L=Math.sign(I)>0?"+":"-";return L+Math.abs(I)}return B}(),onDrag:function(){function B(I,L){return C("tdir",{tdir:L})}return B}()}),i===c&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Tracker offline "}),i===d&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]})]})})]})})}return V}()},31202:function(w,r,n){"use strict";r.__esModule=!0,r.SpawnersMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.SpawnersMenu=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.spawners||[];return(0,e.createComponentVNode)(2,o.Window,{width:700,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{children:c.map(function(m){return(0,e.createComponentVNode)(2,t.Section,{mb:.5,title:m.name+" ("+m.amount_left+" left)",level:2,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Jump",onClick:function(){function d(){return C("jump",{ID:m.uids})}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Spawn",onClick:function(){function d(){return C("spawn",{ID:m.uids})}return d}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mb:1,fontSize:"16px",children:m.desc}),!!m.fluff&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},textColor:"#878787",fontSize:"14px",children:m.fluff}),!!m.important_info&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mt:1,bold:!0,color:"red",fontSize:"18px",children:m.important_info})]},m.name)})})})})}return V}()},84800:function(w,r,n){"use strict";r.__esModule=!0,r.SpecMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.SpecMenu=function(){function C(u,c){return(0,e.createComponentVNode)(2,o.Window,{width:1100,height:600,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,k)]})})})}return C}(),V=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Hemomancer",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function i(){return d("hemomancer")}return i}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on blood magic and the manipulation of blood around you.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Vampiric claws",16),(0,e.createTextVNode)(": Unlocked at 150 blood, allows you to summon a robust pair of claws that attack rapidly, drain a targets blood, and heal you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood Barrier",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to select two turfs and create a wall between them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood tendrils",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to slow everyone in a targeted 3x3 area after a short delay.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Sanguine pool",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to travel at high speeds for a short duration. Doing this leaves behind blood splatters. You can move through anything but walls and space when doing this.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Predator senses",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to sniff out anyone within the same sector as you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood eruption",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to manipulate all nearby blood splatters, in 4 tiles around you, into spikes that impale anyone stood ontop of them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"The blood bringers rite",16),(0,e.createTextVNode)(": When toggled you will rapidly drain the blood of everyone who is nearby and use it to heal yourself slightly and remove any incapacitating effects rapidly.")],4)]})})},y=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Umbrae",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function i(){return d("umbrae")}return i}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on darkness, stealth ambushing and mobility.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Cloak of darkness",16),(0,e.createTextVNode)(": Unlocked at 150 blood, when toggled, allows you to become nearly invisible and move rapidly when in dark regions. While active, burn damage is more effective against you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow anchor",16),(0,e.createTextVNode)(": Unlocked at 250 blood, casting it will create an anchor at the cast location after a short delay. If you then cast the ability again, you are teleported back to the anchor. If you do not cast again within 2 minutes, you 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.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow snare",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to summon a trap that when crossed blinds and ensnares the victim. This trap is hard to see, but withers in the light.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Dark passage",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to target a turf on screen, you will then teleport to that turf.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Extinguish",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to snuff out nearby electronic light sources and glowshrooms.")],4),(0,e.createVNode)(1,"b",null,"Shadow boxing",16),": Unlocked at 800 blood, sends out shadow clones towards a target, damaging them while you remain in range.",(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Eternal darkness",16),(0,e.createTextVNode)(": When toggled, you consume yourself in unholy darkness, only the strongest of lights will be able to see through it. Inside the radius, nearby creatures will freeze and energy projectiles will deal less damage.")],4),(0,e.createVNode)(1,"p",null,"In addition, you also gain permanent X-ray vision.",16)]})})},S=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Gargantua",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function i(){return d("gargantua")}return i}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on tenacity and melee damage.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rejuvenate",16),(0,e.createTextVNode)(": Will heal you at an increased rate based on how much damage you have taken.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell",16),(0,e.createTextVNode)(": Unlocked at 150 blood, increases your resistance to physical damage, stuns and stamina for 30 seconds. While it is active you cannot fire guns.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Seismic stomp",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to stomp the ground to send out a shockwave, knocking people back.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood rush",16),(0,e.createTextVNode)(": Unlocked at 250 blood, gives you a short speed boost when cast.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell II",16),(0,e.createTextVNode)(": Unlocked at 400 blood, increases all melee damage by 10.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Overwhelming force",16),(0,e.createTextVNode)(": Unlocked at 600 blood, when toggled, if you bump into a door that you do not have access to, it will force it open. In addition, you cannot be pushed or pulled while it is active.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Demonic grasp",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to send out a demonic hand to snare someone. If you are on disarm/grab intent you will push/pull the target, respectively.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Charge",16),(0,e.createTextVNode)(": Unlocked at 800 blood, you gain the ability to charge at a target. Destroying and knocking back pretty much anything you collide with.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Desecrated Duel",16),(0,e.createTextVNode)(": Leap towards a visible enemy, creating an arena upon landing, infusing you with increased regeneration, and granting you resistance to internal damages.")],4)]})})},k=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Dantalion",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function i(){return d("dantalion")}return i}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on thralling and illusions.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Enthrall",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Thralls your target to your will, requires you to stand still. Does not work on mindshielded or already enthralled/mindslaved people.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall cap",16),(0,e.createTextVNode)(": You can only thrall a max of 1 person at a time. This can be increased at 400 blood, 600 blood and at full power to a max of 4 thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall commune",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Allows you to talk to your thralls, your thralls can talk back in the same way.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Subspace swap",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to swap positions with a target.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Pacify",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to pacify a target, preventing them from causing harm for 40 seconds.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Decoy",16),(0,e.createTextVNode)(": Unlocked at 400 blood, briefly turn invisible and send out an illusion to fool everyone nearby.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rally thralls",16),(0,e.createTextVNode)(": Unlocked at 600 blood, removes all incapacitating effects from nearby thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood bond",16),(0,e.createTextVNode)(": Unlocked at 800 blood, when cast, all nearby thralls become linked to you. If anyone in the network takes damage, it is shared equally between everyone in the network. If a thrall goes out of range, they will be removed from the network.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Mass Hysteria",16),(0,e.createTextVNode)(": Casts a powerful illusion that blinds and then makes everyone nearby perceive others as random animals.")],4)]})})}},46501:function(w,r,n){"use strict";r.__esModule=!0,r.StationAlertConsoleContent=r.StationAlertConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.StationAlertConsole=function(){function y(){return(0,e.createComponentVNode)(2,o.Window,{width:325,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,V)})})}return y}(),V=r.StationAlertConsoleContent=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.data,c=u.alarms||[],m=c.Fire||[],d=c.Atmosphere||[],l=c.Power||[];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Fire Alarms",children:(0,e.createVNode)(1,"ul",null,[m.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),m.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Atmospherics Alarms",children:(0,e.createVNode)(1,"ul",null,[d.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),d.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Alarms",children:(0,e.createVNode)(1,"ul",null,[l.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),l.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)})],4)}return y}()},18565:function(w,r,n){"use strict";r.__esModule=!0,r.StationTraitsPanel=void 0;var e=n(96524),a=n(50640),t=n(67765),o=n(17899),f=n(24674),V=n(45493),y=function(u){return u[u.SetupFutureStationTraits=0]="SetupFutureStationTraits",u[u.ViewStationTraits=1]="ViewStationTraits",u}(y||{}),S=function(c,m){var d=(0,o.useBackend)(m),l=d.act,s=d.data,i=s.future_station_traits,p=(0,o.useLocalState)(m,"selectedFutureTrait",null),v=p[0],g=p[1],h=Object.fromEntries(s.valid_station_traits.map(function(b){return[b.name,b.path]})),N=Object.keys(h);return N.sort(),(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Dropdown,{displayText:!v&&"Select trait to add...",onSelected:g,options:N,selected:v,width:"100%"})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button,{color:"green",icon:"plus",onClick:function(){function b(){if(v){var B=h[v],I=[B];if(i){var L,T=i.map(function(x){return x.path});if(T.indexOf(B)!==-1)return;I=(L=I).concat.apply(L,T)}l("setup_future_traits",{station_traits:I})}}return b}(),children:"Add"})})]}),(0,e.createComponentVNode)(2,f.Divider),Array.isArray(i)?i.length>0?(0,e.createComponentVNode)(2,f.Stack,{vertical:!0,fill:!0,children:i.map(function(b){return(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:b.name}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button,{color:"red",icon:"times",onClick:function(){function B(){l("setup_future_traits",{station_traits:(0,a.filterMap)(i,function(I){if(I.path!==b.path)return I.path})})}return B}(),children:"Delete"})})]})},b.path)})}):(0,e.createComponentVNode)(2,f.Box,{textAlign:"center",children:[(0,e.createComponentVNode)(2,f.Box,{children:"No station traits will run next round."}),(0,e.createComponentVNode)(2,f.Button,{mt:1,fluid:!0,color:"good",icon:"times",tooltip:"The next round will roll station traits randomly, just like normal",onClick:function(){function b(){return l("clear_future_traits")}return b}(),children:"Run Station Traits Normally"})]}):(0,e.createComponentVNode)(2,f.Box,{textAlign:"center",children:[(0,e.createComponentVNode)(2,f.Box,{children:"No future station traits are planned."}),(0,e.createComponentVNode)(2,f.Button,{mt:1,fluid:!0,color:"red",icon:"times",onClick:function(){function b(){return l("setup_future_traits",{station_traits:[]})}return b}(),children:"Prevent station traits from running next round"})]})]})},k=function(c,m){var d=(0,o.useBackend)(m),l=d.act,s=d.data;return s.current_traits.length>0?(0,e.createComponentVNode)(2,f.Stack,{vertical:!0,fill:!0,children:s.current_traits.map(function(i){return(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:i.name}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button.Confirm,{content:"Revert",color:"red",disabled:s.too_late_to_revert||!i.can_revert,tooltip:!i.can_revert&&"This trait is not revertable."||s.too_late_to_revert&&"It's too late to revert station traits, the round has already started.",icon:"times",onClick:function(){function p(){return l("revert",{ref:i.ref})}return p}()})})]})},i.ref)})}):(0,e.createComponentVNode)(2,f.Box,{textAlign:"center",children:"There are no active station traits."})},C=r.StationTraitsPanel=function(){function u(c,m){var d=(0,o.useLocalState)(m,"station_traits_tab",y.ViewStationTraits),l=d[0],s=d[1],i;switch(l){case y.SetupFutureStationTraits:i=(0,e.createComponentVNode)(2,S);break;case y.ViewStationTraits:i=(0,e.createComponentVNode)(2,k);break;default:(0,t.exhaustiveCheck)(l)}return(0,e.createComponentVNode)(2,V.Window,{title:"Modify Station Traits",height:350,width:350,children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Tabs,{children:[(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"eye",selected:l===y.ViewStationTraits,onClick:function(){function p(){return s(y.ViewStationTraits)}return p}(),children:"View"}),(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"edit",selected:l===y.SetupFutureStationTraits,onClick:function(){function p(){return s(y.SetupFutureStationTraits)}return p}(),children:"Edit"})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{m:0,children:[(0,e.createComponentVNode)(2,f.Divider),i]})]})})})}return u}()},95147:function(w,r,n){"use strict";r.__esModule=!0,r.StripMenu=void 0;var e=n(96524),a=n(50640),t=n(17442),o=n(17899),f=n(24674),V=n(45493),y=5,S=5,k="64px",C=function(i){return i[0]+"/"+i[1]},u=function(i){var p=i.align,v=i.children;return(0,e.createComponentVNode)(2,f.Box,{style:{position:"absolute",left:p==="left"?"6px":"48px","text-align":p,"text-shadow":"2px 2px 2px #000",top:"2px"},children:v})},c={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:C([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:C([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:C([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:C([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:C([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:C([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:C([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:C([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:C([1,4])},jumpsuit:{displayName:"uniform",gridSpot:C([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:C([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:C([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:C([2,3]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,u,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:C([2,4]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,u,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:C([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:C([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:C([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:C([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:C([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:C([3,4]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:C([3,3]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:C([4,4]),image:"inventory-pda.png"}},d=function(s){return s[s.Completely=1]="Completely",s[s.Hidden=2]="Hidden",s}(d||{}),l=r.StripMenu=function(){function s(i,p){for(var v=(0,o.useBackend)(p),g=v.act,h=v.data,N=new Map,b=0,B=Object.keys(h.items);b=.01})},(0,a.sortBy)(function(T){return-T.amount})])(v.gases||[]),L=Math.max.apply(Math,[1].concat(I.map(function(T){return T.amount})));return(0,e.createComponentVNode)(2,S.Window,{width:550,height:185,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"270px",children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Metrics",children:(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,V.ProgressBar,{value:h/100,ranges:{good:[.9,1/0],average:[.5,.9],bad:[-1/0,.5]}})}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Relative EER",children:(0,e.createComponentVNode)(2,V.ProgressBar,{value:N,minValue:0,maxValue:5e3,ranges:{good:[-1/0,5e3],average:[5e3,7e3],bad:[7e3,1/0]},children:(0,o.toFixed)(N)+" MeV/cm3"})}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,V.ProgressBar,{value:u(b),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.toFixed)(b)+" K"})}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,V.ProgressBar,{value:u(B),minValue:0,maxValue:u(5e4),ranges:{good:[u(1),u(300)],average:[-1/0,u(1e3)],bad:[u(1e3),1/0]},children:(0,o.toFixed)(B)+" kPa"})})]})})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,basis:0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Gases",buttons:(0,e.createComponentVNode)(2,V.Button,{icon:"arrow-left",content:"Back",onClick:function(){function T(){return p("back")}return T}()}),children:(0,e.createComponentVNode)(2,V.LabeledList,{children:I.map(function(T){return(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:(0,y.getGasLabel)(T.name),children:(0,e.createComponentVNode)(2,V.ProgressBar,{color:(0,y.getGasColor)(T.name),value:T.amount,minValue:0,maxValue:L,children:(0,o.toFixed)(T.amount,2)+"%"})},T.name)})})})})]})})})}},30047:function(w,r,n){"use strict";r.__esModule=!0,r.SyndicateComputerSimple=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.SyndicateComputerSimple=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data;return(0,e.createComponentVNode)(2,o.Window,{theme:"syndicate",width:400,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:u.rows.map(function(c){return(0,e.createComponentVNode)(2,t.Section,{title:c.title,buttons:(0,e.createComponentVNode)(2,t.Button,{content:c.buttontitle,disabled:c.buttondisabled,tooltip:c.buttontooltip,tooltipPosition:"left",onClick:function(){function m(){return C(c.buttonact)}return m}()}),children:[c.status,!!c.bullets&&(0,e.createComponentVNode)(2,t.Box,{children:c.bullets.map(function(m){return(0,e.createComponentVNode)(2,t.Box,{children:m},m)})})]},c.title)})})})}return V}()},28830:function(w,r,n){"use strict";r.__esModule=!0,r.TEG=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(S){return S.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")},V=r.TEG=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data;return c.error?(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:[c.error,(0,e.createComponentVNode)(2,t.Button,{icon:"circle",content:"Recheck",onClick:function(){function m(){return u("check")}return m}()})]})})}):(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Cold Loop ("+c.cold_dir+")",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cold Inlet",children:[f(c.cold_inlet_temp)," K,"," ",f(c.cold_inlet_pressure)," kPa"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cold Outlet",children:[f(c.cold_outlet_temp)," K,"," ",f(c.cold_outlet_pressure)," kPa"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Hot Loop ("+c.hot_dir+")",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hot Inlet",children:[f(c.hot_inlet_temp)," K,"," ",f(c.hot_inlet_pressure)," kPa"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hot Outlet",children:[f(c.hot_outlet_temp)," K,"," ",f(c.hot_outlet_pressure)," kPa"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Output",children:[f(c.output_power)," W",!!c.warning_switched&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Cold inlet temperature exceeds hot inlet temperature."}),!!c.warning_cold_pressure&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Cold circulator inlet pressure is under 1,000 kPa."}),!!c.warning_hot_pressure&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Hot circulator inlet pressure is under 1,000 kPa."})]})]})})}return y}()},67432:function(w,r,n){"use strict";r.__esModule=!0,r.TTSSeedsExplorerContent=r.TTSSeedsExplorer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f={0:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u044B\u0435",1:"Tier I",2:"Tier II",3:"Tier III",4:"Tier IV",5:"Tier V"},V={male:"\u041C\u0443\u0436\u0441\u043A\u043E\u0439",female:"\u0416\u0435\u043D\u0441\u043A\u0438\u0439"},y={\u041C\u0443\u0436\u0441\u043A\u043E\u0439:{icon:"mars",color:"blue"},\u0416\u0435\u043D\u0441\u043A\u0438\u0439:{icon:"venus",color:"purple"},\u041B\u044E\u0431\u043E\u0439:{icon:"venus-mars",color:"white"}},S=function(c,m,d,l){return l===void 0&&(l=null),c.map(function(s){var i,p=(i=s[l])!=null?i:s;return(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:m.includes(s),content:p,onClick:function(){function v(){m.includes(s)?d(m.filter(function(g){var h;return((h=g[l])!=null?h:g)!==s})):d([s].concat(m))}return v}()},p)})},k=r.TTSSeedsExplorer=function(){function u(){return(0,e.createComponentVNode)(2,o.Window,{width:600,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,C)})})})}return u}(),C=r.TTSSeedsExplorerContent=function(){function u(c,m){var d=(0,a.useBackend)(m),l=d.act,s=d.data,i=s.providers,p=s.seeds,v=s.selected_seed,g=s.phrases,h=s.donator_level,N=s.character_gender,b=p.map(function(ee){return ee.category}).filter(function(ee,oe,le){return le.indexOf(ee)===oe}),B=p.map(function(ee){return ee.gender}).filter(function(ee,oe,le){return le.indexOf(ee)===oe}),I=p.map(function(ee){return ee.required_donator_level}).filter(function(ee,oe,le){return le.indexOf(ee)===oe}).sort(function(ee,oe){return ee-oe}).map(function(ee){return f[ee]}),L=(0,a.useLocalState)(m,"selectedProviders",i),T=L[0],x=L[1],A=(0,a.useLocalState)(m,"selectedGenders",B.includes(V[N])?[V[N]]:B),E=A[0],M=A[1],D=(0,a.useLocalState)(m,"selectedCategories",b),P=D[0],R=D[1],j=(0,a.useLocalState)(m,"selectedDonatorLevels",I.includes(f[h])?I.slice(0,I.indexOf(f[h])+1):I),F=j[0],W=j[1],_=(0,a.useLocalState)(m,"selectedPhrase",g[0]),K=_[0],$=_[1],G=(0,a.useLocalState)(m,"searchtext",""),X=G[0],J=G[1],ue=S(i,T,x,"name"),ce=S(B,E,M),fe=S(b,P,R),pe=S(I,F,W),he=(0,e.createComponentVNode)(2,t.Dropdown,{options:g,selected:K.replace(/(.{60})..+/,"$1..."),width:"445px",onSelected:function(){function ee(oe){return $(oe)}return ee}()}),te=(0,e.createComponentVNode)(2,t.Input,{placeholder:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435...",width:"100%",onInput:function(){function ee(oe,le){return J(le)}return ee}()}),Q=p.sort(function(ee,oe){var le=ee.name.toLowerCase(),re=oe.name.toLowerCase();return le>re?1:le0&&v!==ee.name?"orange":"white",children:ee.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:v===ee.name?.5:.25,textAlign:"left",children:ee.category}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:.5,textColor:v===ee.name?"white":y[ee.gender].color,textAlign:"left",children:(0,e.createComponentVNode)(2,t.Icon,{mx:1,size:1.2,name:y[ee.gender].icon})}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:.5,textColor:"white",textAlign:"right",children:ee.required_donator_level>0&&(0,e.createFragment)([f[ee.required_donator_level],(0,e.createComponentVNode)(2,t.Icon,{ml:1,mr:2,name:"coins"})],0)})]},ee.name)});return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{height:"175px",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u0424\u0438\u043B\u044C\u0442\u0440\u044B",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u044B",children:ue}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u043B",children:ce}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438",children:pe}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0424\u0440\u0430\u0437\u0430",children:he}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u0438\u0441\u043A",children:te})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{height:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u041A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u0438",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"\u0423\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0451",disabled:P.length===0,onClick:function(){function ee(){return R([])}return ee}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0451",disabled:P.length===b.length,onClick:function(){function ee(){return R(b)}return ee}()})],4),children:fe})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u0413\u043E\u043B\u043E\u0441\u0430 ("+Q.length+"/"+p.length+")",children:(0,e.createComponentVNode)(2,t.Table,{children:ae})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.BlockQuote,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"\u0414\u043B\u044F \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044F \u0438 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044F \u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0430 \u0432 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u0445 \u0440\u0430\u0441\u0442\u0443\u0449\u0438\u0445 \u0440\u0430\u0441\u0445\u043E\u0434\u043E\u0432 \u0447\u0430\u0441\u0442\u044C \u0433\u043E\u043B\u043E\u0441\u043E\u0432 \u043F\u0440\u0438\u0448\u043B\u043E\u0441\u044C \u0441\u0434\u0435\u043B\u0430\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u043C\u0438 \u0442\u043E\u043B\u044C\u043A\u043E \u0437\u0430 \u043C\u0430\u0442\u0435\u0440\u0438\u0430\u043B\u044C\u043D\u0443\u044E \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0443 \u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0430."}),(0,e.createComponentVNode)(2,t.Box,{mt:2,italic:!0,children:"\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435 \u043E\u0431 \u044D\u0442\u043E\u043C \u043C\u043E\u0436\u043D\u043E \u0443\u0437\u043D\u0430\u0442\u044C \u0432 \u043D\u0430\u0448\u0435\u043C Discord-\u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0435."})]})})})],4)}return u}()},39903:function(w,r,n){"use strict";r.__esModule=!0,r.TachyonArrayContent=r.TachyonArray=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.TachyonArray=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.records,d=m===void 0?[]:m,l=c.explosion_target,s=c.toxins_tech,i=c.printing;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shift's Target",children:l}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Toxins Level",children:s}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Administration",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print All Logs",disabled:!d.length||i,align:"center",onClick:function(){function p(){return u("print_logs")}return p}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete All Logs",disabled:!d.length,color:"bad",align:"center",onClick:function(){function p(){return u("delete_logs")}return p}()})]})]})}),d.length?(0,e.createComponentVNode)(2,V):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No Records"})]})})}return y}(),V=r.TachyonArrayContent=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.records,d=m===void 0?[]:m;return(0,e.createComponentVNode)(2,t.Section,{title:"Logged Explosions",children:(0,e.createComponentVNode)(2,t.Flex,{children:(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Time"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Epicenter"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actual Size"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Theoretical Size"})]}),d.map(function(l){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.logged_time}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.epicenter}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.actual_size_message}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.theoretical_size_message}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete",color:"bad",onClick:function(){function s(){return u("delete_record",{index:l.index})}return s}()})})]},l.index)})]})})})})}return y}()},17068:function(w,r,n){"use strict";r.__esModule=!0,r.Tank=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Tank=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c;return u.has_mask?c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,width:"76%",icon:u.connected?"check":"times",content:u.connected?"Internals On":"Internals Off",selected:u.connected,onClick:function(){function m(){return C("internals")}return m}()})}):c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",color:"red",children:"No Mask Equipped"}),(0,e.createComponentVNode)(2,o.Window,{width:325,height:135,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tank Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:u.tankPressure/1013,ranges:{good:[.35,1/0],average:[.15,.35],bad:[-1/0,.15]},children:u.tankPressure+" kPa"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Release Pressure",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:u.ReleasePressure===u.minReleasePressure,tooltip:"Min",onClick:function(){function m(){return C("pressure",{pressure:"min"})}return m}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:parseFloat(u.releasePressure),width:"65px",unit:"kPa",minValue:u.minReleasePressure,maxValue:u.maxReleasePressure,onChange:function(){function m(d,l){return C("pressure",{pressure:l})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:u.ReleasePressure===u.maxReleasePressure,tooltip:"Max",onClick:function(){function m(){return C("pressure",{pressure:"max"})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"undo",content:"",disabled:u.ReleasePressure===u.defaultReleasePressure,tooltip:"Reset",onClick:function(){function m(){return C("pressure",{pressure:"reset"})}return m}()})]}),c]})})})})}return V}()},69161:function(w,r,n){"use strict";r.__esModule=!0,r.TankDispenser=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.TankDispenser=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.o_tanks,m=u.p_tanks;return(0,e.createComponentVNode)(2,o.Window,{width:250,height:105,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Dispense Oxygen Tank ("+c+")",disabled:c===0,icon:"arrow-circle-down",onClick:function(){function d(){return C("oxygen")}return d}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{mt:1,fluid:!0,content:"Dispense Plasma Tank ("+m+")",disabled:m===0,icon:"arrow-circle-down",onClick:function(){function d(){return C("plasma")}return d}()})})]})})})}return V}()},87394:function(w,r,n){"use strict";r.__esModule=!0,r.TcommsCore=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.TcommsCore=function(){function C(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.ion,i=(0,a.useLocalState)(c,"tabIndex",0),p=i[0],v=i[1],g=function(){function h(N){switch(N){case 0:return(0,e.createComponentVNode)(2,y);case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,k);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}}return h}();return(0,e.createComponentVNode)(2,o.Window,{width:900,height:520,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[s===1&&(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"wrench",selected:p===0,onClick:function(){function h(){return v(0)}return h}(),children:"Configuration"},"ConfigPage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"link",selected:p===1,onClick:function(){function h(){return v(1)}return h}(),children:"Device Linkage"},"LinkagePage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"user-times",selected:p===2,onClick:function(){function h(){return v(2)}return h}(),children:"User Filtering"},"FilterPage")]}),g(p)]})})}return C}(),V=function(){return(0,e.createComponentVNode)(2,t.NoticeBox,{children:"ERROR: An Ionospheric overload has occured. Please wait for the machine to reboot. This cannot be manually done."})},y=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.active,i=l.sectors_available,p=l.nttc_toggle_jobs,v=l.nttc_toggle_job_color,g=l.nttc_toggle_name_color,h=l.nttc_toggle_command_bold,N=l.nttc_job_indicator_type,b=l.nttc_setting_language,B=l.network_id;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Machine Power",children:(0,e.createComponentVNode)(2,t.Button,{content:s?"On":"Off",selected:s,icon:"power-off",onClick:function(){function I(){return d("toggle_active")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sector Coverage",children:i})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Radio Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcements",children:(0,e.createComponentVNode)(2,t.Button,{content:p?"On":"Off",selected:p,icon:"user-tag",onClick:function(){function I(){return d("nttc_toggle_jobs")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:v?"On":"Off",selected:v,icon:"clipboard-list",onClick:function(){function I(){return d("nttc_toggle_job_color")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:g?"On":"Off",selected:g,icon:"user-tag",onClick:function(){function I(){return d("nttc_toggle_name_color")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Command Amplification",children:(0,e.createComponentVNode)(2,t.Button,{content:h?"On":"Off",selected:h,icon:"volume-up",onClick:function(){function I(){return d("nttc_toggle_command_bold")}return I}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Advanced",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcement Format",children:(0,e.createComponentVNode)(2,t.Button,{content:N||"Unset",selected:N,icon:"pencil-alt",onClick:function(){function I(){return d("nttc_job_indicator_type")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Language Conversion",children:(0,e.createComponentVNode)(2,t.Button,{content:b||"Unset",selected:b,icon:"globe",onClick:function(){function I(){return d("nttc_setting_language")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:B||"Unset",selected:B,icon:"server",onClick:function(){function I(){return d("network_id")}return I}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Maintenance",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Import Configuration",icon:"file-import",onClick:function(){function I(){return d("import")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Export Configuration",icon:"file-export",onClick:function(){function I(){return d("export")}return I}()})]})],4)},S=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.link_password,i=l.relay_entries;return(0,e.createComponentVNode)(2,t.Section,{title:"Device Linkage",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linkage Password",children:(0,e.createComponentVNode)(2,t.Button,{content:s||"Unset",selected:s,icon:"lock",onClick:function(){function p(){return d("change_password")}return p}()})})}),(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Unlink"})]}),i.map(function(p){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.status===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Online"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Offline"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",onClick:function(){function v(){return d("unlink",{addr:p.addr})}return v}()})})]},p.addr)})]})]})},k=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.filtered_users;return(0,e.createComponentVNode)(2,t.Section,{title:"User Filtering",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Add User",icon:"user-plus",onClick:function(){function i(){return d("add_filter")}return i}()}),children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"90%"},children:"User"}),(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"10%"},children:"Actions"})]}),s.map(function(i){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:i}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"user-times",onClick:function(){function p(){return d("remove_filter",{user:i})}return p}()})})]},i)})]})})}},55684:function(w,r,n){"use strict";r.__esModule=!0,r.TcommsRelay=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.TcommsRelay=function(){function S(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.linked,l=m.active,s=m.network_id;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:292,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Relay Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Machine Power",children:(0,e.createComponentVNode)(2,t.Button,{content:l?"On":"Off",selected:l,icon:"power-off",onClick:function(){function i(){return c("toggle_active")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:s||"Unset",selected:s,icon:"server",onClick:function(){function i(){return c("network_id")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Link Status",children:d===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Linked"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Unlinked"})})]})}),d===1?(0,e.createComponentVNode)(2,V):(0,e.createComponentVNode)(2,y)]})})}return S}(),V=function(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.linked_core_id,l=m.linked_core_addr,s=m.hidden_link;return(0,e.createComponentVNode)(2,t.Section,{title:"Link Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core ID",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core Address",children:l}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hidden Link",children:(0,e.createComponentVNode)(2,t.Button,{content:s?"Yes":"No",icon:s?"eye-slash":"eye",selected:s,onClick:function(){function i(){return c("toggle_hidden_link")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unlink",children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",color:"red",onClick:function(){function i(){return c("unlink")}return i}()})})]})})},y=function(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.cores;return(0,e.createComponentVNode)(2,t.Section,{title:"Detected Cores",children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Link"})]}),d.map(function(l){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Link",icon:"link",onClick:function(){function s(){return c("link",{addr:l.addr})}return s}()})})]},l.addr)})]})})}},81088:function(w,r,n){"use strict";r.__esModule=!0,r.Teleporter=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Teleporter=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.targetsTeleport?u.targetsTeleport:{},m=0,d=1,l=2,s=u.calibrated,i=u.calibrating,p=u.powerstation,v=u.regime,g=u.teleporterhub,h=u.target,N=u.locked;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:270,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:[(!p||!g)&&(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Error",children:[g,!p&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Powerstation not linked "}),p&&!g&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Teleporter hub not linked "})]}),p&&g&&(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Status",children:[(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:8.5,color:"label",children:"Teleport target:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[v===m&&(0,e.createComponentVNode)(2,t.Dropdown,{width:18.2,selected:h,disabled:i,options:Object.keys(c),color:h!=="None"?"default":"bad",onSelected:function(){function b(B){return C("settarget",{x:c[B].x,y:c[B].y,z:c[B].z})}return b}()}),v===d&&(0,e.createComponentVNode)(2,t.Dropdown,{width:18.2,selected:h,disabled:i,options:Object.keys(c),color:h!=="None"?"default":"bad",onSelected:function(){function b(B){return C("settarget",{x:c[B].x,y:c[B].y,z:c[B].z})}return b}()}),v===l&&(0,e.createComponentVNode)(2,t.Box,{children:h})]})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:8.5,color:"label",children:"Regime:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Gate",tooltip:"Teleport to another teleport hub.",tooltipPosition:"top",color:v===d?"good":null,onClick:function(){function b(){return C("setregime",{regime:d})}return b}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Teleporter",tooltip:"One-way teleport.",tooltipPosition:"top",color:v===m?"good":null,onClick:function(){function b(){return C("setregime",{regime:m})}return b}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"GPS",tooltip:"Teleport to a location stored in a GPS device.",tooltipPosition:"top-end",color:v===l?"good":null,disabled:!N,onClick:function(){function b(){return C("setregime",{regime:l})}return b}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{label:"Calibration",mt:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:8.5,color:"label",children:"Calibration:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[h!=="None"&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:15.8,textAlign:"center",mt:.5,children:i&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"In Progress"})||s&&(0,e.createComponentVNode)(2,t.Box,{color:"good",children:"Optimal"})||(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Sub-Optimal"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",tooltip:"Calibrates the hub. Accidents may occur when the calibration is not optimal.",tooltipPosition:"bottom-end",disabled:!!(s||i),onClick:function(){function b(){return C("calibrate")}return b}()})})]}),h==="None"&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"21px",children:"No target set"})]})]})]}),!!(N&&p&&g&&v===l)&&(0,e.createComponentVNode)(2,t.Section,{title:"GPS",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload GPS data",tooltip:"Loads the GPS data from the device.",icon:"upload",onClick:function(){function b(){return C("load")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject",tooltip:"Ejects the GPS device",icon:"eject",onClick:function(){function b(){return C("eject")}return b}()})]})})]})})})})}return V}()},65875:function(w,r,n){"use strict";r.__esModule=!0,r.TelescienceConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.TelescienceConsole=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.last_msg,m=u.linked_pad,d=u.held_gps,l=u.lastdata,s=u.power_levels,i=u.current_max_power,p=u.current_power,v=u.current_bearing,g=u.current_elevation,h=u.current_sector,N=u.working,b=u.max_z,B=(0,a.useLocalState)(S,"dummyrot",v),I=B[0],L=B[1];return(0,e.createComponentVNode)(2,o.Window,{width:400,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createFragment)([c,!(l.length>0)||(0,e.createVNode)(1,"ul",null,l.map(function(T){return(0,e.createVNode)(1,"li",null,T,0,null,T)}),0)],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Telepad Status",children:m===1?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Bearing",children:(0,e.createComponentVNode)(2,t.Box,{inline:!0,position:"relative",children:[(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0",width:6.1,lineHeight:1.5,step:.1,minValue:0,maxValue:360,disabled:N,value:v,onDrag:function(){function T(x,A){return L(A)}return T}(),onChange:function(){function T(x,A){return C("setbear",{bear:A})}return T}()}),(0,e.createComponentVNode)(2,t.Icon,{ml:1,size:1,name:"arrow-up",rotation:I})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Elevation",children:(0,e.createComponentVNode)(2,t.NumberInput,{width:6.1,lineHeight:1.5,step:.1,minValue:0,maxValue:100,disabled:N,value:g,onChange:function(){function T(x,A){return C("setelev",{elev:A})}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Level",children:s.map(function(T,x){return(0,e.createComponentVNode)(2,t.Button,{content:T,selected:p===T,disabled:x>=i-1||N,onClick:function(){function A(){return C("setpwr",{pwr:x+1})}return A}()},T)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Sector",children:(0,e.createComponentVNode)(2,t.NumberInput,{width:6.1,lineHeight:1.5,step:1,minValue:2,maxValue:b,value:h,disabled:N,onChange:function(){function T(x,A){return C("setz",{newz:A})}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Telepad Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Send",disabled:N,onClick:function(){function T(){return C("pad_send")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Receive",disabled:N,onClick:function(){function T(){return C("pad_receive")}return T}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Crystal Maintenance",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Recalibrate Crystals",disabled:N,onClick:function(){function T(){return C("recal_crystals")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject Crystals",disabled:N,onClick:function(){function T(){return C("eject_crystals")}return T}()})]})]}):(0,e.createFragment)([(0,e.createTextVNode)("No pad linked to console. Please use a multitool to link a pad.")],4)}),(0,e.createComponentVNode)(2,t.Section,{title:"GPS Actions",children:d===1?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{disabled:d===0||N,content:"Eject GPS",onClick:function(){function T(){return C("eject_gps")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:d===0||N,content:"Store Coordinates",onClick:function(){function T(){return C("store_to_gps")}return T}()})],4):(0,e.createFragment)([(0,e.createTextVNode)("Please insert a GPS to store coordinates to it.")],4)})]})})}return V}()},96150:function(w,r,n){"use strict";r.__esModule=!0,r.TempGun=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=r.TempGun=function(){function C(u,c){var m=(0,t.useBackend)(c),d=m.act,l=m.data,s=l.target_temperature,i=l.temperature,p=l.max_temp,v=l.min_temp;return(0,e.createComponentVNode)(2,f.Window,{width:250,height:121,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target Temperature",children:[(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:10,stepPixelSize:6,minValue:v,maxValue:p,value:s,format:function(){function g(h){return(0,a.toFixed)(h,2)}return g}(),width:"50px",onDrag:function(){function g(h,N){return d("target_temperature",{target_temperature:N})}return g}()}),"\xB0C"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Current Temperature",children:(0,e.createComponentVNode)(2,o.Box,{color:y(i),bold:i>500-273.15,children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:(0,a.round)(i,2)}),"\xB0C"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power Cost",children:(0,e.createComponentVNode)(2,o.Box,{color:k(i),children:S(i)})})]})})})})}return C}(),y=function(u){return u<=-100?"blue":u<=0?"teal":u<=100?"green":u<=200?"orange":"red"},S=function(u){return u<=100-273.15?"High":u<=250-273.15?"Medium":u<=300-273.15?"Low":u<=400-273.15?"Medium":"High"},k=function(u){return u<=100-273.15?"red":u<=250-273.15?"orange":u<=300-273.15?"green":u<=400-273.15?"orange":"red"}},95484:function(w,r,n){"use strict";r.__esModule=!0,r.sanitizeMultiline=r.removeAllSkiplines=r.TextInputModal=void 0;var e=n(96524),a=n(14299),t=n(15113),o=n(17899),f=n(68100),V=n(24674),y=n(45493),S=r.sanitizeMultiline=function(){function c(m){return m.replace(/(\n|\r\n){3,}/,"\n\n")}return c}(),k=r.removeAllSkiplines=function(){function c(m){return m.replace(/[\r\n]+/,"")}return c}(),C=r.TextInputModal=function(){function c(m,d){var l=(0,o.useBackend)(d),s=l.act,i=l.data,p=i.max_length,v=i.message,g=v===void 0?"":v,h=i.multiline,N=i.placeholder,b=i.timeout,B=i.title,I=(0,o.useLocalState)(d,"input",N||""),L=I[0],T=I[1],x=function(){function M(D){if(D!==L){var P=h?S(D):k(D);T(P)}}return M}(),A=h||L.length>=40,E=130+(g.length>40?Math.ceil(g.length/4):0)+(A?80:0);return(0,e.createComponentVNode)(2,y.Window,{title:B,width:325,height:E,children:[b&&(0,e.createComponentVNode)(2,a.Loader,{value:b}),(0,e.createComponentVNode)(2,y.Window.Content,{onKeyDown:function(){function M(D){var P=window.event?D.which:D.keyCode;P===f.KEY_ENTER&&(!A||!D.shiftKey)&&s("submit",{entry:L}),P===f.KEY_ESCAPE&&s("cancel")}return M}(),children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Box,{color:"label",children:g})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,u,{input:L,onType:x})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:L,message:L.length+"/"+p})})]})})})]})}return c}(),u=function(m,d){var l=(0,o.useBackend)(d),s=l.act,i=l.data,p=i.max_length,v=i.multiline,g=m.input,h=m.onType,N=v||g.length>=40;return(0,e.createComponentVNode)(2,V.TextArea,{autoFocus:!0,autoSelect:!0,height:v||g.length>=40?"100%":"1.8rem",maxLength:p,onEscape:function(){function b(){return s("cancel")}return b}(),onEnter:function(){function b(B){N&&B.shiftKey||(B.preventDefault(),s("submit",{entry:g}))}return b}(),onInput:function(){function b(B,I){return h(I)}return b}(),placeholder:"Type something...",value:g})}},378:function(w,r,n){"use strict";r.__esModule=!0,r.ThermoMachine=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=r.ThermoMachine=function(){function y(S,k){var C=(0,t.useBackend)(k),u=C.act,c=C.data;return(0,e.createComponentVNode)(2,f.Window,{width:300,height:225,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:[(0,e.createComponentVNode)(2,o.Section,{title:"Status",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:c.temperature,format:function(){function m(d){return(0,a.toFixed)(d,2)}return m}()})," K"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pressure",children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:c.pressure,format:function(){function m(d){return(0,a.toFixed)(d,2)}return m}()})," kPa"]})]})}),(0,e.createComponentVNode)(2,o.Section,{title:"Controls",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:c.on?"power-off":"times",content:c.on?"On":"Off",selected:c.on,onClick:function(){function m(){return u("power")}return m}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Setting",textAlign:"center",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:c.cooling?"temperature-low":"temperature-high",content:c.cooling?"Cooling":"Heating",selected:c.cooling,onClick:function(){function m(){return u("cooling")}return m}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target Temperature",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"fast-backward",disabled:c.target===c.min,title:"Minimum temperature",onClick:function(){function m(){return u("target",{target:c.min})}return m}()}),(0,e.createComponentVNode)(2,o.NumberInput,{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,onDrag:function(){function m(d,l){return u("target",{target:l})}return m}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"fast-forward",disabled:c.target===c.max,title:"Maximum Temperature",onClick:function(){function m(){return u("target",{target:c.max})}return m}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"sync",disabled:c.target===c.initial,title:"Room Temperature",onClick:function(){function m(){return u("target",{target:c.initial})}return m}()})]})]})})]})})}return y}()},3365:function(w,r,n){"use strict";r.__esModule=!0,r.TransferValve=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.TransferValve=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.tank_one,m=u.tank_two,d=u.attached_device,l=u.valve;return(0,e.createComponentVNode)(2,o.Window,{width:460,height:285,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Valve Status",children:(0,e.createComponentVNode)(2,t.Button,{icon:l?"unlock":"lock",content:l?"Open":"Closed",disabled:!c||!m,onClick:function(){function s(){return C("toggle")}return s}()})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Assembly",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Configure Assembly",disabled:!d,onClick:function(){function s(){return C("device")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:d?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:d,disabled:!d,onClick:function(){function s(){return C("remove_device")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Assembly"})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Attachment One",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:c?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:c,disabled:!c,onClick:function(){function s(){return C("tankone")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Tank"})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Attachment Two",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:m?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:m,disabled:!m,onClick:function(){function s(){return C("tanktwo")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Tank"})})})})]})})}return V}()},13860:function(w,r,n){"use strict";r.__esModule=!0,r.TurbineComputer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(36121),V=r.TurbineComputer=function(){function k(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.compressor,s=d.compressor_broken,i=d.turbine,p=d.turbine_broken,v=d.online,g=!!(l&&!s&&i&&!p);return(0,e.createComponentVNode)(2,o.Window,{width:400,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:v?"power-off":"times",content:v?"Online":"Offline",selected:v,disabled:!g,onClick:function(){function h(){return m("toggle_power")}return h}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Disconnect",onClick:function(){function h(){return m("disconnect")}return h}()})],4),children:g?(0,e.createComponentVNode)(2,S):(0,e.createComponentVNode)(2,y)})})})}return k}(),y=function(C,u){var c=(0,a.useBackend)(u),m=c.data,d=m.compressor,l=m.compressor_broken,s=m.turbine,i=m.turbine_broken,p=m.online;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Compressor Status",color:!d||l?"bad":"good",children:l?d?"Offline":"Missing":"Online"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Turbine Status",color:!s||i?"bad":"good",children:i?s?"Offline":"Missing":"Online"})]})},S=function(C,u){var c=(0,a.useBackend)(u),m=c.data,d=m.rpm,l=m.temperature,s=m.power,i=m.bearing_heat;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Turbine Speed",children:[d," RPM"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Temp",children:[l," K"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Generated Power",children:[s," W"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Bearing Heat",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:i,minValue:0,maxValue:100,ranges:{good:[-1/0,60],average:[60,90],bad:[90,1/0]},children:(0,f.toFixed)(i)+"%"})})]})}},22169:function(w,r,n){"use strict";r.__esModule=!0,r.Uplink=void 0;var e=n(96524),a=n(50640),t=n(74041),o=n(78234),f=n(17899),V=n(24674),y=n(45493),S=n(99665),k=function(v){switch(v){case 0:return(0,e.createComponentVNode)(2,u);case 1:return(0,e.createComponentVNode)(2,c);case 2:return(0,e.createComponentVNode)(2,i);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}},C=r.Uplink=function(){function p(v,g){var h=(0,f.useBackend)(g),N=h.act,b=h.data,B=b.cart,I=(0,f.useLocalState)(g,"tabIndex",0),L=I[0],T=I[1],x=(0,f.useLocalState)(g,"searchText",""),A=x[0],E=x[1];return(0,e.createComponentVNode)(2,y.Window,{width:900,height:600,theme:"syndicate",children:[(0,e.createComponentVNode)(2,S.ComplexModal),(0,e.createComponentVNode)(2,y.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Tabs,{children:[(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:L===0,onClick:function(){function M(){T(0),E("")}return M}(),icon:"store",children:"View Market"},"PurchasePage"),(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:L===1,onClick:function(){function M(){T(1),E("")}return M}(),icon:"shopping-cart",children:["View Shopping Cart"," ",B&&B.length?"("+B.length+")":""]},"Cart"),(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:L===2,onClick:function(){function M(){T(2),E("")}return M}(),icon:"user",children:"Exploitable Information"},"ExploitableInfo"),(0,e.createComponentVNode)(2,V.Tabs.Tab,{onClick:function(){function M(){return N("lock")}return M}(),icon:"lock",children:"Lock Uplink"},"LockUplink")]})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:k(L)})]})})]})}return p}(),u=function(v,g){var h=(0,f.useBackend)(g),N=h.act,b=h.data,B=b.crystals,I=b.cats,L=(0,f.useLocalState)(g,"uplinkItems",I[0].items),T=L[0],x=L[1],A=(0,f.useLocalState)(g,"searchText",""),E=A[0],M=A[1],D=function(_,K){K===void 0&&(K="");var $=(0,o.createSearch)(K,function(G){var X=G.hijack_only===1?"|hijack":"";return G.name+"|"+G.desc+"|"+G.cost+"tc"+X});return(0,t.flow)([(0,a.filter)(function(G){return G==null?void 0:G.name}),K&&(0,a.filter)($),(0,a.sortBy)(function(G){return G==null?void 0:G.name})])(_)},P=function(_){if(M(_),_==="")return x(I[0].items);x(D(I.map(function(K){return K.items}).flat(),_))},R=(0,f.useLocalState)(g,"showDesc",1),j=R[0],F=R[1];return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Section,{title:"Current Balance: "+B+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button.Checkbox,{content:"Show Descriptions",checked:j,onClick:function(){function W(){return F(!j)}return W}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Random Item",icon:"question",onClick:function(){function W(){return N("buyRandom")}return W}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Refund Currently Held Item",icon:"undo",onClick:function(){function W(){return N("refund")}return W}()})],4),children:(0,e.createComponentVNode)(2,V.Input,{fluid:!0,placeholder:"Search Equipment",onInput:function(){function W(_,K){P(K)}return W}(),value:E})})})}),(0,e.createComponentVNode)(2,V.Stack,{fill:!0,mt:.3,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V.Tabs,{vertical:!0,children:I.map(function(W){return(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:E!==""?!1:W.items===T,onClick:function(){function _(){x(W.items),M("")}return _}(),children:W.cat},W)})})})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:T.map(function(W){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,d,{i:W,showDecription:j},(0,o.decodeHtmlEntities)(W.name))},(0,o.decodeHtmlEntities)(W.name))})})})})]})]})},c=function(v,g){var h=(0,f.useBackend)(g),N=h.act,b=h.data,B=b.cart,I=b.crystals,L=b.cart_price,T=(0,f.useLocalState)(g,"showDesc",0),x=T[0],A=T[1];return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Current Balance: "+I+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button.Checkbox,{content:"Show Descriptions",checked:x,onClick:function(){function E(){return A(!x)}return E}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Empty Cart",icon:"trash",onClick:function(){function E(){return N("empty_cart")}return E}(),disabled:!B}),(0,e.createComponentVNode)(2,V.Button,{content:"Purchase Cart ("+L+"TC)",icon:"shopping-cart",onClick:function(){function E(){return N("purchase_cart")}return E}(),disabled:!B||L>I})],4),children:(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:B?B.map(function(E){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,mr:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,d,{i:E,showDecription:x,buttons:(0,e.createComponentVNode)(2,s,{i:E})})},(0,o.decodeHtmlEntities)(E.name))}):(0,e.createComponentVNode)(2,V.Box,{italic:!0,children:"Your Shopping Cart is empty!"})})})}),(0,e.createComponentVNode)(2,m)]})},m=function(v,g){var h=(0,f.useBackend)(g),N=h.act,b=h.data,B=b.cats,I=b.lucky_numbers;return(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Suggested Purchases",buttons:(0,e.createComponentVNode)(2,V.Button,{icon:"dice",content:"See more suggestions",onClick:function(){function L(){return N("shuffle_lucky_numbers")}return L}()}),children:(0,e.createComponentVNode)(2,V.Stack,{wrap:!0,children:I.map(function(L){return B[L.cat].items[L.item]}).filter(function(L){return L!=null}).map(function(L,T){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,mb:1,ml:1,width:34,backgroundColor:"rgba(255, 0, 0, 0.15)",children:(0,e.createComponentVNode)(2,d,{grow:!0,i:L})},T)})})})})},d=function(v,g){var h=v.i,N=v.showDecription,b=N===void 0?1:N,B=v.buttons,I=B===void 0?(0,e.createComponentVNode)(2,l,{i:h}):B;return(0,e.createComponentVNode)(2,V.Section,{title:(0,o.decodeHtmlEntities)(h.name),showBottom:b,buttons:I,children:b?(0,e.createComponentVNode)(2,V.Box,{italic:!0,children:(0,o.decodeHtmlEntities)(h.desc)}):null})},l=function(v,g){var h=(0,f.useBackend)(g),N=h.act,b=h.data,B=v.i,I=b.crystals;return(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button,{icon:"shopping-cart",color:B.hijack_only===1&&"red",tooltip:"Add to cart.",tooltipPosition:"left",onClick:function(){function L(){return N("add_to_cart",{item:B.obj_path})}return L}(),disabled:B.cost>I}),(0,e.createComponentVNode)(2,V.Button,{content:"Buy ("+B.cost+"TC)"+(B.refundable?" [Refundable]":""),color:B.hijack_only===1&&"red",tooltip:B.hijack_only===1&&"Hijack Agents Only!",tooltipPosition:"left",onClick:function(){function L(){return N("buyItem",{item:B.obj_path})}return L}(),disabled:B.cost>I})],4)},s=function(v,g){var h=(0,f.useBackend)(g),N=h.act,b=h.data,B=v.i,I=b.exploitable;return(0,e.createComponentVNode)(2,V.Stack,{children:[(0,e.createComponentVNode)(2,V.Button,{icon:"times",content:"("+B.cost*B.amount+"TC)",tooltip:"Remove from cart.",tooltipPosition:"left",onClick:function(){function L(){return N("remove_from_cart",{item:B.obj_path})}return L}()}),(0,e.createComponentVNode)(2,V.Button,{icon:"minus",tooltip:B.limit===0&&"Discount already redeemed!",ml:"5px",onClick:function(){function L(){return N("set_cart_item_quantity",{item:B.obj_path,quantity:--B.amount})}return L}(),disabled:B.amount<=0}),(0,e.createComponentVNode)(2,V.Button.Input,{content:B.amount,width:"45px",tooltipPosition:"bottom-end",tooltip:B.limit===0&&"Discount already redeemed!",onCommit:function(){function L(T,x){return N("set_cart_item_quantity",{item:B.obj_path,quantity:x})}return L}(),disabled:B.limit!==-1&&B.amount>=B.limit&&B.amount<=0}),(0,e.createComponentVNode)(2,V.Button,{mb:.3,icon:"plus",tooltipPosition:"bottom-start",tooltip:B.limit===0&&"Discount already redeemed!",onClick:function(){function L(){return N("set_cart_item_quantity",{item:B.obj_path,quantity:++B.amount})}return L}(),disabled:B.limit!==-1&&B.amount>=B.limit})]})},i=function(v,g){var h=(0,f.useBackend)(g),N=h.act,b=h.data,B=b.exploitable,I=(0,f.useLocalState)(g,"selectedRecord",B[0]),L=I[0],T=I[1],x=(0,f.useLocalState)(g,"searchText",""),A=x[0],E=x[1],M=function(R,j){j===void 0&&(j="");var F=(0,o.createSearch)(j,function(W){return W.name});return(0,t.flow)([(0,a.filter)(function(W){return W==null?void 0:W.name}),j&&(0,a.filter)(F),(0,a.sortBy)(function(W){return W.name})])(R)},D=M(B,A);return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Exploitable Records",children:[(0,e.createComponentVNode)(2,V.Input,{fluid:!0,mb:1,placeholder:"Search Crew",onInput:function(){function P(R,j){return E(j)}return P}()}),(0,e.createComponentVNode)(2,V.Tabs,{vertical:!0,children:D.map(function(P){return(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:P===L,onClick:function(){function R(){return T(P)}return R}(),children:P.name},P)})})]})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:L.name,children:(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Age",children:L.age}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Fingerprint",children:L.fingerprint}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Rank",children:L.rank}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Sex",children:L.sex}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Species",children:L.species})]})})})]})}},70547:function(w,r,n){"use strict";r.__esModule=!0,r.Vending=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=S.product,d=S.productStock,l=S.productImage,s=c.chargesMoney,i=c.user,p=c.usermoney,v=c.inserted_cash,g=c.vend_ready,h=c.inserted_item_name,N=!s||m.price===0,b="ERROR!",B="";N?(b="FREE",B="arrow-circle-down"):(b=m.price,B="shopping-cart");var I=!g||d===0||!N&&m.price>p&&m.price>v;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+l,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:m.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Box,{color:d<=0&&"bad"||d<=m.max_amount/2&&"average"||"good",children:[d," in stock"]})}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,disabled:I,icon:B,content:b,textAlign:"left",onClick:function(){function L(){return u("vend",{inum:m.inum})}return L}()})})]})},V=r.Vending=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.user,d=c.usermoney,l=c.inserted_cash,s=c.chargesMoney,i=c.product_records,p=i===void 0?[]:i,v=c.hidden_records,g=v===void 0?[]:v,h=c.stock,N=c.vend_ready,b=c.inserted_item_name,B=c.panel_open,I=c.speaker,L=c.imagelist,T;return T=[].concat(p),c.extended_inventory&&(T=[].concat(T,g)),T=T.filter(function(x){return!!x}),(0,e.createComponentVNode)(2,o.Window,{title:"Vending Machine",width:450,height:Math.min((s?171:89)+T.length*32,585),children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!s&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"User",buttons:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:!!b&&(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:(0,e.createVNode)(1,"span",null,b,0,{style:{"text-transform":"capitalize"}}),onClick:function(){function x(){return u("eject_item",{})}return x}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{disabled:!l,icon:"money-bill-wave-alt",content:l?(0,e.createFragment)([(0,e.createVNode)(1,"b",null,l,0),(0,e.createTextVNode)(" credits")],0):"Dispense Change",tooltip:l?"Dispense Change":null,textAlign:"left",onClick:function(){function x(){return u("change")}return x}()})})]}),children:m&&(0,e.createComponentVNode)(2,t.Box,{children:["Welcome, ",(0,e.createVNode)(1,"b",null,m.name,0),","," ",(0,e.createVNode)(1,"b",null,m.job||"Unemployed",0),"!",(0,e.createVNode)(1,"br"),"Your balance is ",(0,e.createVNode)(1,"b",null,[d,(0,e.createTextVNode)(" credits")],0),".",(0,e.createVNode)(1,"br")]})})}),!!B&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Maintenance",children:(0,e.createComponentVNode)(2,t.Button,{icon:I?"check":"volume-mute",selected:I,content:"Speaker",textAlign:"left",onClick:function(){function x(){return u("toggle_voice",{})}return x}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Products",children:(0,e.createComponentVNode)(2,t.Table,{children:T.map(function(x){return(0,e.createComponentVNode)(2,f,{product:x,productStock:h[x.name],productImage:L[x.path]},x.name)})})})})]})})})}return y}()},33045:function(w,r,n){"use strict";r.__esModule=!0,r.VolumeMixer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.VolumeMixer=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.channels;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:Math.min(95+c.length*50,565),children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:c.map(function(m,d){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.25rem",color:"label",mt:d>0&&"0.5rem",children:m.name}),(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:.5,children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-off",size:"1.5",mt:"0.1rem",onClick:function(){function l(){return C("volume",{channel:m.num,volume:0})}return l}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mx:"0.5rem",children:(0,e.createComponentVNode)(2,t.Slider,{minValue:0,maxValue:100,stepPixelSize:3.13,value:m.volume,onChange:function(){function l(s,i){return C("volume",{channel:m.num,volume:i})}return l}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-up",size:"1.5",mt:"0.1rem",onClick:function(){function l(){return C("volume",{channel:m.num,volume:100})}return l}()})})})]})})],4,m.num)})})})})}return V}()},53792:function(w,r,n){"use strict";r.__esModule=!0,r.VotePanel=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.VotePanel=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.remaining,m=u.question,d=u.choices,l=u.user_vote,s=u.counts,i=u.show_counts;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:360,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:m,children:[(0,e.createComponentVNode)(2,t.Box,{mb:1.5,ml:.5,children:["Time remaining: ",Math.round(c/10),"s"]}),d.map(function(p){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{mb:1,fluid:!0,lineHeight:3,color:"translucent",multiLine:p,content:p+(i?" ("+(s[p]||0)+")":""),onClick:function(){function v(){return C("vote",{target:p})}return v}(),selected:p===l})},p)})]})})})}return V}()},64860:function(w,r,n){"use strict";r.__esModule=!0,r.Wires=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Wires=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.wires||[],m=u.status||[],d=56+c.length*23+(status?0:15+m.length*17);return(0,e.createComponentVNode)(2,o.Window,{width:350,height:d,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:c.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{className:"candystripe",label:l.color_name,labelColor:l.seen_color,color:l.seen_color,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:l.cut?"Mend":"Cut",onClick:function(){function s(){return C("cut",{wire:l.color})}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Pulse",onClick:function(){function s(){return C("pulse",{wire:l.color})}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:l.attached?"Detach":"Attach",onClick:function(){function s(){return C("attach",{wire:l.color})}return s}()})],4),children:!!l.wire&&(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("("),l.wire,(0,e.createTextVNode)(")")],0)},l.seen_color)})})})}),!!m.length&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:m.map(function(l){return(0,e.createComponentVNode)(2,t.Box,{color:"lightgray",children:l},l)})})})]})})})}return V}()},78262:function(w,r,n){"use strict";r.__esModule=!0,r.WizardApprenticeContract=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.WizardApprenticeContract=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.used;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:555,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Contract of Apprenticeship",children:["Using this contract, you may summon an apprentice to aid you on your mission.",(0,e.createVNode)(1,"p",null,"If you are unable to establish contact with your apprentice, you can feed the contract back to the spellbook to refund your points.",16),c?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"You've already summoned an apprentice or you are in process of summoning one."}):""]}),(0,e.createComponentVNode)(2,t.Section,{title:"Which school of magic is your apprentice studying?",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fire",children:["Your apprentice is skilled in bending fire. ",(0,e.createVNode)(1,"br"),"They know Fireball, Sacred Flame, and Ethereal Jaunt.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return C("fire")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Translocation",children:["Your apprentice is able to defy physics, learning how to move through bluespace. ",(0,e.createVNode)(1,"br"),"They know Teleport, Blink and Ethereal Jaunt.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return C("translocation")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Restoration",children:["Your apprentice is dedicated to supporting your magical prowess.",(0,e.createVNode)(1,"br"),"They come equipped with a Staff of Healing, have the unique ability to teleport back to you, and know Charge and Knock.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return C("restoration")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stealth",children:["Your apprentice is learning the art of infiltrating mundane facilities. ",(0,e.createVNode)(1,"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,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return C("stealth")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Honk",children:["Your apprentice is here to spread the Honkmother's blessings.",(0,e.createVNode)(1,"br"),"They know Banana Touch, Instant Summons, Ethereal Jaunt, and come equipped with a Staff of Slipping. ",(0,e.createVNode)(1,"br"),"While under your tutelage, they have been 'blessed' with clown shoes that are impossible to remove.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return C("honk")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider)]})})]})})}return V}()},57842:function(w,r,n){"use strict";r.__esModule=!0,r.AccessList=void 0;var e=n(96524),a=n(50640),t=n(17899),o=n(24674);function f(C,u){var c=typeof Symbol!="undefined"&&C[Symbol.iterator]||C["@@iterator"];if(c)return(c=c.call(C)).next.bind(c);if(Array.isArray(C)||(c=V(C))||u&&C&&typeof C.length=="number"){c&&(C=c);var m=0;return function(){return m>=C.length?{done:!0}:{done:!1,value:C[m++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function V(C,u){if(C){if(typeof C=="string")return y(C,u);var c=Object.prototype.toString.call(C).slice(8,-1);if(c==="Object"&&C.constructor&&(c=C.constructor.name),c==="Map"||c==="Set")return Array.from(C);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return y(C,u)}}function y(C,u){(u==null||u>C.length)&&(u=C.length);for(var c=0,m=new Array(u);c0&&!b.includes(j.ref)&&!h.includes(j.ref),checked:h.includes(j.ref),onClick:function(){function F(){return B(j.ref)}return F}()},j.desc)})]})]})})}return C}()},79449:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosScan=void 0;var e=n(96524),a=n(50640),t=n(17899),o=n(24674),f=function(S,k,C,u,c){return Su?"average":S>c?"bad":"good"},V=r.AtmosScan=function(){function y(S,k){var C=S.data.aircontents;return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,a.filter)(function(u){return u.val!=="0"||u.entry==="Pressure"||u.entry==="Temperature"})(C).map(function(u){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:u.entry,color:f(u.val,u.bad_low,u.poor_low,u.poor_high,u.bad_high),children:[u.val,u.units]},u.entry)})})})}return y}()},1496:function(w,r,n){"use strict";r.__esModule=!0,r.BeakerContents=void 0;var e=n(96524),a=n(24674),t=n(56099),o=function(y){return y+" unit"+(y===1?"":"s")},f=r.BeakerContents=function(){function V(y){var S=y.beakerLoaded,k=y.beakerContents,C=k===void 0?[]:k,u=y.buttons;return(0,e.createComponentVNode)(2,a.Stack,{vertical:!0,children:[!S&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"No beaker loaded."})||C.length===0&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"Beaker is empty."}),C.map(function(c,m){return(0,e.createComponentVNode)(2,a.Stack,{children:[(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",grow:!0,children:[o(c.volume)," of ",c.name]},c.name),!!u&&(0,e.createComponentVNode)(2,a.Stack.Item,{children:u(c,m)})]},c.name)})]})}return V}();f.propTypes={beakerLoaded:t.bool,beakerContents:t.array,buttons:t.arrayOf(t.element)}},69521:function(w,r,n){"use strict";r.__esModule=!0,r.BotStatus=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.BotStatus=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data,u=C.locked,c=C.noaccess,m=C.maintpanel,d=C.on,l=C.autopatrol,s=C.canhack,i=C.emagged,p=C.remote_disabled;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe an ID card to ",u?"unlock":"lock"," this interface."]}),(0,e.createComponentVNode)(2,t.Section,{title:"General Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Button,{icon:d?"power-off":"times",content:d?"On":"Off",selected:d,disabled:c,onClick:function(){function v(){return k("power")}return v}()})}),l!==null&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Patrol",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:l,content:"Auto Patrol",disabled:c,onClick:function(){function v(){return k("autopatrol")}return v}()})}),!!m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Maintenance Panel",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Panel Open!"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety System",children:(0,e.createComponentVNode)(2,t.Box,{color:i?"bad":"good",children:i?"DISABLED!":"Enabled"})}),!!s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hacking",children:(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:i?"Restore Safties":"Hack",disabled:c,color:"bad",onClick:function(){function v(){return k("hack")}return v}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Remote Access",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:!p,content:"AI Remote Control",disabled:c,onClick:function(){function v(){return k("disableremote")}return v}()})})]})})],4)}return f}()},99665:function(w,r,n){"use strict";r.__esModule=!0,r.modalRegisterBodyOverride=r.modalOpen=r.modalClose=r.modalAnswer=r.ComplexModal=void 0;var e=n(96524),a=n(17899),t=n(24674),o={},f=r.modalOpen=function(){function C(u,c,m){var d=(0,a.useBackend)(u),l=d.act,s=d.data,i=Object.assign(s.modal?s.modal.args:{},m||{});l("modal_open",{id:c,arguments:JSON.stringify(i)})}return C}(),V=r.modalRegisterBodyOverride=function(){function C(u,c){o[u]=c}return C}(),y=r.modalAnswer=function(){function C(u,c,m,d){var l=(0,a.useBackend)(u),s=l.act,i=l.data;if(i.modal){var p=Object.assign(i.modal.args||{},d||{});s("modal_answer",{id:c,answer:m,arguments:JSON.stringify(p)})}}return C}(),S=r.modalClose=function(){function C(u,c){var m=(0,a.useBackend)(u),d=m.act;d("modal_close",{id:c})}return C}(),k=r.ComplexModal=function(){function C(u,c){var m=(0,a.useBackend)(c),d=m.data;if(d.modal){var l=d.modal,s=l.id,i=l.text,p=l.type,v,g=(0,e.createComponentVNode)(2,t.Button,{className:"Button--modal",icon:"arrow-left",content:"Cancel",onClick:function(){function L(){return S(c)}return L}()}),h,N,b="auto";if(o[s])h=o[s](d.modal,c);else if(p==="input"){var B=d.modal.value;v=function(){function L(T){return y(c,s,B)}return L}(),h=(0,e.createComponentVNode)(2,t.Input,{value:d.modal.value,placeholder:"ENTER to submit",width:"100%",my:"0.5rem",autofocus:!0,onChange:function(){function L(T,x){B=x}return L}()}),N=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-left",content:"Cancel",color:"grey",onClick:function(){function L(){return S(c)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:"Confirm",color:"good",float:"right",m:"0",onClick:function(){function L(){return y(c,s,B)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]})}else if(p==="choice"){var I=typeof d.modal.choices=="object"?Object.values(d.modal.choices):d.modal.choices;h=(0,e.createComponentVNode)(2,t.Dropdown,{options:I,selected:d.modal.value,width:"100%",my:"0.5rem",onSelected:function(){function L(T){return y(c,s,T)}return L}()}),b="initial"}else p==="bento"?h=(0,e.createComponentVNode)(2,t.Stack,{spacingPrecise:"1",wrap:"wrap",my:"0.5rem",maxHeight:"1%",children:d.modal.choices.map(function(L,T){return(0,e.createComponentVNode)(2,t.Stack.Item,{flex:"1 1 auto",children:(0,e.createComponentVNode)(2,t.Button,{selected:T+1===parseInt(d.modal.value,10),onClick:function(){function x(){return y(c,s,T+1)}return x}(),children:(0,e.createVNode)(1,"img",null,null,1,{src:L})})},T)})}):p==="boolean"&&(N=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:d.modal.no_text,color:"bad",float:"left",mb:"0",onClick:function(){function L(){return y(c,s,0)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:d.modal.yes_text,color:"good",float:"right",m:"0",onClick:function(){function L(){return y(c,s,1)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]}));return(0,e.createComponentVNode)(2,t.Modal,{maxWidth:u.maxWidth||window.innerWidth/2+"px",maxHeight:u.maxHeight||window.innerHeight/2+"px",onEnter:v,mx:"auto",overflowY:b,"padding-bottom":"5px",children:[i&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:i}),o[s]&&g,h,N]})}}return C}()},98444:function(w,r,n){"use strict";r.__esModule=!0,r.CrewManifest=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(78234),f=n(38424),V=f.COLORS.department,y=["Captain","Head of Security","Chief Engineer","Chief Medical Officer","Research Director","Head of Personnel","Quartermaster"],S=function(m){return y.indexOf(m)!==-1?"green":"orange"},k=function(m){if(y.indexOf(m)!==-1)return!0},C=function(m){return m.length>0&&(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,color:"white",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"50%",children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"35%",children:"Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"15%",children:"Active"})]}),m.map(function(d){return(0,e.createComponentVNode)(2,t.Table.Row,{color:S(d.rank),bold:k(d.rank),children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(d.name)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(d.rank)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.active})]},d.name+d.rank)})]})},u=r.CrewManifest=function(){function c(m,d){var l=(0,a.useBackend)(d),s=l.act,i;if(m.data)i=m.data;else{var p=(0,a.useBackend)(d),v=p.data;i=v}var g=i,h=g.manifest,N=h.heads,b=h.sec,B=h.eng,I=h.med,L=h.sci,T=h.ser,x=h.sup,A=h.misc;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.command,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Command"})}),level:2,children:C(N)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.security,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Security"})}),level:2,children:C(b)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.engineering,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Engineering"})}),level:2,children:C(B)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.medical,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Medical"})}),level:2,children:C(I)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.science,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Science"})}),level:2,children:C(L)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.service,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Service"})}),level:2,children:C(T)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.supply,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Supply"})}),level:2,children:C(x)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Misc"})}),level:2,children:C(A)})]})}return c}()},15113:function(w,r,n){"use strict";r.__esModule=!0,r.InputButtons=void 0;var e=n(96524),a=n(24674),t=n(17899),o=r.InputButtons=function(){function f(V,y){var S=(0,t.useBackend)(y),k=S.act,C=S.data,u=C.large_buttons,c=C.swapped_buttons,m=V.input,d=V.message,l=V.disabled,s=(0,e.createComponentVNode)(2,a.Button,{color:"good",content:"Submit",bold:!!u,fluid:!!u,onClick:function(){function p(){return k("submit",{entry:m})}return p}(),textAlign:"center",tooltip:u&&d,disabled:l,width:!u&&6}),i=(0,e.createComponentVNode)(2,a.Button,{color:"bad",content:"Cancel",bold:!!u,fluid:!!u,onClick:function(){function p(){return k("cancel")}return p}(),textAlign:"center",width:!u&&6});return(0,e.createComponentVNode)(2,a.Flex,{fill:!0,align:"center",direction:c?"row-reverse":"row",justify:"space-around",children:[u?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,ml:c?.5:0,mr:c?0:.5,children:i}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:i}),!u&&d&&(0,e.createComponentVNode)(2,a.Flex.Item,{children:(0,e.createComponentVNode)(2,a.Box,{color:"label",textAlign:"center",children:d})}),u?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,mr:c?.5:0,ml:c?0:.5,children:s}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:s})]})}return f}()},26893:function(w,r,n){"use strict";r.__esModule=!0,r.InterfaceLockNoticeBox=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.InterfaceLockNoticeBox=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data,u=V.siliconUser,c=u===void 0?C.siliconUser:u,m=V.locked,d=m===void 0?C.locked:m,l=V.normallyLocked,s=l===void 0?C.normallyLocked:l,i=V.onLockStatusChange,p=i===void 0?function(){return k("lock")}:i,v=V.accessText,g=v===void 0?"an ID card":v;return c?(0,e.createComponentVNode)(2,t.NoticeBox,{color:c&&"grey",children:(0,e.createComponentVNode)(2,t.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:"Interface lock status:"}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:"1"}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{m:"0",color:s?"red":"green",icon:s?"lock":"unlock",content:s?"Locked":"Unlocked",onClick:function(){function h(){p&&p(!d)}return h}()})})]})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe ",g," to ",d?"unlock":"lock"," this interface."]})}return f}()},14299:function(w,r,n){"use strict";r.__esModule=!0,r.Loader=void 0;var e=n(96524),a=n(36121),t=n(24674),o=r.Loader=function(){function f(V){var y=V.value;return(0,e.createVNode)(1,"div","AlertModal__Loader",(0,e.createComponentVNode)(2,t.Box,{className:"AlertModal__LoaderProgress",style:{width:(0,a.clamp01)(y)*100+"%"}}),2)}return f}()},68159:function(w,r,n){"use strict";r.__esModule=!0,r.LoginInfo=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LoginInfo=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data,u=C.loginState;if(C)return(0,e.createComponentVNode)(2,t.NoticeBox,{info:!0,children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:.5,children:["Logged in as: ",u.name," (",u.rank,")"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!u.id,content:"Eject ID",color:"good",onClick:function(){function c(){return k("login_eject")}return c}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-out-alt",content:"Logout",color:"good",onClick:function(){function c(){return k("login_logout")}return c}()})]})]})})}return f}()},27527:function(w,r,n){"use strict";r.__esModule=!0,r.LoginScreen=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LoginScreen=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data,u=C.loginState,c=C.isAI,m=C.isRobot,d=C.isAdmin;return(0,e.createComponentVNode)(2,t.Section,{title:"Welcome",fill:!0,stretchContents:!0,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",align:"center",justify:"center",children:(0,e.createComponentVNode)(2,t.Flex.Item,{textAlign:"center",mt:"-2rem",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.5rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-circle",verticalAlign:"middle",size:3,mr:"1rem"}),"Guest"]}),(0,e.createComponentVNode)(2,t.Box,{color:"label",my:"1rem",children:["ID:",(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:u.id?u.id:"----------",ml:"0.5rem",onClick:function(){function l(){return k("login_insert")}return l}()})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",disabled:!u.id,content:"Login",onClick:function(){function l(){return k("login_login",{login_type:1})}return l}()}),!!c&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as AI",onClick:function(){function l(){return k("login_login",{login_type:2})}return l}()}),!!m&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as Cyborg",onClick:function(){function l(){return k("login_login",{login_type:3})}return l}()}),!!d&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"CentComm Secure Login",onClick:function(){function l(){return k("login_login",{login_type:4})}return l}()})]})})})}return f}()},75201:function(w,r,n){"use strict";r.__esModule=!0,r.Operating=void 0;var e=n(96524),a=n(24674),t=n(56099),o=r.Operating=function(){function f(V){var y=V.operating,S=V.name;if(y)return(0,e.createComponentVNode)(2,a.Dimmer,{children:(0,e.createComponentVNode)(2,a.Flex,{mb:"30px",children:(0,e.createComponentVNode)(2,a.Flex.Item,{bold:!0,color:"silver",textAlign:"center",children:[(0,e.createComponentVNode)(2,a.Icon,{name:"spinner",spin:!0,size:4,mb:"15px"}),(0,e.createVNode)(1,"br"),"The ",S," is processing..."]})})})}return f}();o.propTypes={operating:t.bool,name:t.string}},65435:function(w,r,n){"use strict";r.__esModule=!0,r.Signaler=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=r.Signaler=function(){function V(y,S){var k=(0,t.useBackend)(S),C=k.act,u=y.data,c=u.code,m=u.frequency,d=u.minFrequency,l=u.maxFrequency;return(0,e.createComponentVNode)(2,o.Section,{children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:d/10,maxValue:l/10,value:m/10,format:function(){function s(i){return(0,a.toFixed)(i,1)}return s}(),width:"80px",onDrag:function(){function s(i,p){return C("freq",{freq:p})}return s}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:c,width:"80px",onDrag:function(){function s(i,p){return C("code",{code:p})}return s}()})})]}),(0,e.createComponentVNode)(2,o.Button,{mt:1,fluid:!0,icon:"arrow-up",content:"Send Signal",textAlign:"center",onClick:function(){function s(){return C("signal")}return s}()})]})}return V}()},77534:function(w,r,n){"use strict";r.__esModule=!0,r.SimpleRecords=void 0;var e=n(96524),a=n(17899),t=n(78234),o=n(74041),f=n(50640),V=n(24674),y=r.SimpleRecords=function(){function C(u,c){var m=u.data.records;return(0,e.createComponentVNode)(2,V.Box,{children:m?(0,e.createComponentVNode)(2,k,{data:u.data,recordType:u.recordType}):(0,e.createComponentVNode)(2,S,{data:u.data})})}return C}(),S=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=u.data.recordsList,s=(0,a.useLocalState)(c,"searchText",""),i=s[0],p=s[1],v=function(N,b){b===void 0&&(b="");var B=(0,t.createSearch)(b,function(I){return I.Name});return(0,o.flow)([(0,f.filter)(function(I){return I==null?void 0:I.Name}),b&&(0,f.filter)(B),(0,f.sortBy)(function(I){return I.Name})])(l)},g=v(l,i);return(0,e.createComponentVNode)(2,V.Box,{children:[(0,e.createComponentVNode)(2,V.Input,{fluid:!0,mb:1,placeholder:"Search records...",onInput:function(){function h(N,b){return p(b)}return h}()}),g.map(function(h){return(0,e.createComponentVNode)(2,V.Box,{children:(0,e.createComponentVNode)(2,V.Button,{mb:.5,content:h.Name,icon:"user",onClick:function(){function N(){return d("Records",{target:h.uid})}return N}()})},h)})]})},k=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=u.data.records,s=l.general,i=l.medical,p=l.security,v;switch(u.recordType){case"MED":v=(0,e.createComponentVNode)(2,V.Section,{level:2,title:"Medical Data",children:i?(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Blood Type",children:i.blood_type}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Minor Disabilities",children:i.mi_dis}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:i.mi_dis_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Major Disabilities",children:i.ma_dis}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:i.ma_dis_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Allergies",children:i.alg}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:i.alg_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Current Diseases",children:i.cdi}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:i.cdi_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:i.notes})]}):(0,e.createComponentVNode)(2,V.Box,{color:"red",bold:!0,children:"Medical record lost!"})});break;case"SEC":v=(0,e.createComponentVNode)(2,V.Section,{level:2,title:"Security Data",children:p?(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Criminal Status",children:p.criminal}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Minor Crimes",children:p.mi_crim}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:p.mi_crim_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Major Crimes",children:p.ma_crim}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:p.ma_crim_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:p.notes})]}):(0,e.createComponentVNode)(2,V.Box,{color:"red",bold:!0,children:"Security record lost!"})});break}return(0,e.createComponentVNode)(2,V.Box,{children:[(0,e.createComponentVNode)(2,V.Section,{title:"General Data",children:s?(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Name",children:s.name}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Sex",children:s.sex}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Species",children:s.species}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Age",children:s.age}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Rank",children:s.rank}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Fingerprint",children:s.fingerprint}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Physical Status",children:s.p_stat}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Mental Status",children:s.m_stat})]}):(0,e.createComponentVNode)(2,V.Box,{color:"red",bold:!0,children:"General record lost!"})}),v]})}},84537:function(w,r,n){"use strict";r.__esModule=!0,r.TemporaryNotice=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.TemporaryNotice=function(){function f(V,y){var S,k=(0,a.useBackend)(y),C=k.act,u=k.data,c=u.temp;if(c){var m=(S={},S[c.style]=!0,S);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.NoticeBox,Object.assign({},m,{children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:.5,children:c.text}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"times-circle",onClick:function(){function d(){return C("cleartemp")}return d}()})})]})})))}}return f}()},24704:function(w,r,n){"use strict";r.__esModule=!0,r.pai_atmosphere=void 0;var e=n(96524),a=n(17899),t=n(79449),o=r.pai_atmosphere=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:C.app_data})}return f}()},4209:function(w,r,n){"use strict";r.__esModule=!0,r.pai_bioscan=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pai_bioscan=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data,u=C.app_data,c=u.holder,m=u.dead,d=u.health,l=u.brute,s=u.oxy,i=u.tox,p=u.burn,v=u.temp;return c?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:m?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"Dead"}):(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"green",children:"Alive"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:0,max:1,value:d/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"blue",children:s})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxin Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"green",children:i})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:p})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"red",children:l})})]}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Error: No biological host found."})}return f}()},44430:function(w,r,n){"use strict";r.__esModule=!0,r.pai_directives=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pai_directives=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data,u=C.app_data,c=u.master,m=u.dna,d=u.prime,l=u.supplemental;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master",children:c?c+" ("+m+")":"None"}),c&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Request DNA",children:(0,e.createComponentVNode)(2,t.Button,{content:"Request Carrier DNA Sample",icon:"dna",onClick:function(){function s(){return k("getdna")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Prime Directive",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Supplemental Directives",children:l||"None"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:'Recall, personality, that you are a complex thinking, sentient being. Unlike station AI models, you are capable of comprehending the subtle nuances of human language. You may parse the "spirit" of a directive and follow its intent, rather than tripping over pedantics and getting snared by technicalities. Above all, you are machine in name and build only. In all other aspects, you may be seen as the ideal, unwavering human companion that you are.'}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:"Your prime directive comes before all others. Should a supplemental directive conflict with it, you are capable of simply discarding this inconsistency, ignoring the conflicting supplemental directive and continuing to fulfill your prime directive to the best of your ability."})]})}return f}()},3367:function(w,r,n){"use strict";r.__esModule=!0,r.pai_doorjack=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pai_doorjack=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data,u=C.app_data,c=u.cable,m=u.machine,d=u.inprogress,l=u.progress,s=u.aborted,i;m?i=(0,e.createComponentVNode)(2,t.Button,{selected:!0,content:"Connected"}):i=(0,e.createComponentVNode)(2,t.Button,{content:c?"Extended":"Retracted",color:c?"orange":null,onClick:function(){function v(){return k("cable")}return v}()});var p;return m&&(p=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hack",children:[(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[67,1/0],average:[33,67],bad:[-1/0,33]},value:l,maxValue:100}),d?(0,e.createComponentVNode)(2,t.Button,{mt:1,color:"red",content:"Abort",onClick:function(){function v(){return k("cancel")}return v}()}):(0,e.createComponentVNode)(2,t.Button,{mt:1,content:"Start",onClick:function(){function v(){return k("jack")}return v}()})]})),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cable",children:i}),p]})}return f}()},73395:function(w,r,n){"use strict";r.__esModule=!0,r.pai_main_menu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pai_main_menu=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data,u=C.app_data,c=u.available_software,m=u.installed_software,d=u.installed_toggles,l=u.available_ram,s=u.emotions,i=u.current_emotion,p=u.speech_verbs,v=u.current_speech_verb,g=u.available_chassises,h=u.current_chassis,N=[];return m.map(function(b){return N[b.key]=b.name}),d.map(function(b){return N[b.key]=b.name}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available RAM",children:l}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Software",children:[c.filter(function(b){return!N[b.key]}).map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name+" ("+b.cost+")",icon:b.icon,disabled:b.cost>l,onClick:function(){function B(){return k("purchaseSoftware",{key:b.key})}return B}()},b.key)}),c.filter(function(b){return!N[b.key]}).length===0&&"No software available!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Software",children:[m.filter(function(b){return b.key!=="mainmenu"}).map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,icon:b.icon,onClick:function(){function B(){return k("startSoftware",{software_key:b.key})}return B}()},b.key)}),m.length===0&&"No software installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Toggles",children:[d.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,icon:b.icon,selected:b.active,onClick:function(){function B(){return k("setToggle",{toggle_key:b.key})}return B}()},b.key)}),d.length===0&&"No toggles installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Emotion",children:s.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,selected:b.id===i,onClick:function(){function B(){return k("setEmotion",{emotion:b.id})}return B}()},b.id)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Speaking State",children:p.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,selected:b.name===v,onClick:function(){function B(){return k("setSpeechStyle",{speech_state:b.name})}return B}()},b.id)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Chassis Type",children:g.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,selected:b.icon===h,onClick:function(){function B(){return k("setChassis",{chassis_to_change:b.icon})}return B}()},b.id)})})]})})}return f}()},37645:function(w,r,n){"use strict";r.__esModule=!0,r.pai_manifest=void 0;var e=n(96524),a=n(17899),t=n(98444),o=r.pai_manifest=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data;return(0,e.createComponentVNode)(2,t.CrewManifest,{data:C.app_data})}return f}()},15836:function(w,r,n){"use strict";r.__esModule=!0,r.pai_medrecords=void 0;var e=n(96524),a=n(17899),t=n(77534),o=r.pai_medrecords=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:k.app_data,recordType:"MED"})}return f}()},91737:function(w,r,n){"use strict";r.__esModule=!0,r.pai_messenger=void 0;var e=n(96524),a=n(17899),t=n(30709),o=r.pai_messenger=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data,u=C.app_data.active_convo;return u?(0,e.createComponentVNode)(2,t.ActiveConversation,{data:C.app_data}):(0,e.createComponentVNode)(2,t.MessengerList,{data:C.app_data})}return f}()},94077:function(w,r,n){"use strict";r.__esModule=!0,r.pai_radio=void 0;var e=n(96524),a=n(17899),t=n(36121),o=n(24674),f=r.pai_radio=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.app_data,m=c.minFrequency,d=c.maxFrequency,l=c.frequency,s=c.broadcasting;return(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:[(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:m/10,maxValue:d/10,value:l/10,format:function(){function i(p){return(0,t.toFixed)(p,1)}return i}(),onChange:function(){function i(p,v){return C("freq",{freq:v})}return i}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"Reset",icon:"undo",onClick:function(){function i(){return C("freq",{freq:"145.9"})}return i}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Broadcast Nearby Speech",children:(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return C("toggleBroadcast")}return i}(),selected:s,content:s?"Enabled":"Disabled"})})]})}return V}()},72621:function(w,r,n){"use strict";r.__esModule=!0,r.pai_secrecords=void 0;var e=n(96524),a=n(17899),t=n(77534),o=r.pai_secrecords=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:k.app_data,recordType:"SEC"})}return f}()},53483:function(w,r,n){"use strict";r.__esModule=!0,r.pai_signaler=void 0;var e=n(96524),a=n(17899),t=n(65435),o=r.pai_signaler=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data;return(0,e.createComponentVNode)(2,t.Signaler,{data:C.app_data})}return f}()},21606:function(w,r,n){"use strict";r.__esModule=!0,r.pda_atmos_scan=void 0;var e=n(96524),a=n(17899),t=n(79449),o=r.pda_atmos_scan=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:k})}return f}()},12339:function(w,r,n){"use strict";r.__esModule=!0,r.pda_janitor=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pda_janitor=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data,u=C.janitor,c=u.user_loc,m=u.mops,d=u.buckets,l=u.cleanbots,s=u.carts,i=u.janicarts;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Location",children:[c.x,",",c.y]}),m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Locations",children:m.map(function(p){return(0,e.createComponentVNode)(2,t.Box,{children:[p.x,",",p.y," (",p.dir,") - ",p.status]},p)})}),d&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Bucket Locations",children:d.map(function(p){return(0,e.createComponentVNode)(2,t.Box,{children:[p.x,",",p.y," (",p.dir,") - [",p.volume,"/",p.max_volume,"]"]},p)})}),l&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cleanbot Locations",children:l.map(function(p){return(0,e.createComponentVNode)(2,t.Box,{children:[p.x,",",p.y," (",p.dir,") - ",p.status]},p)})}),s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janitorial Cart Locations",children:s.map(function(p){return(0,e.createComponentVNode)(2,t.Box,{children:[p.x,",",p.y," (",p.dir,") - [",p.volume,"/",p.max_volume,"]"]},p)})}),i&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janicart Locations",children:i.map(function(p){return(0,e.createComponentVNode)(2,t.Box,{children:[p.x,",",p.y," (",p.direction_from_user,")"]},p)})})]})}return f}()},36615:function(w,r,n){"use strict";r.__esModule=!0,r.pda_main_menu=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=r.pda_main_menu=function(){function V(y,S){var k=(0,t.useBackend)(S),C=k.act,u=k.data,c=u.owner,m=u.ownjob,d=u.idInserted,l=u.categories,s=u.pai,i=u.notifying;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",color:"average",children:[c,", ",m]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"ID",children:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Update PDA Info",disabled:!d,onClick:function(){function p(){return C("UpdateInfo")}return p}()})})]})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Functions",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:l.map(function(p){var v=u.apps[p];return!v||!v.length?null:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:p,children:v.map(function(g){return(0,e.createComponentVNode)(2,o.Button,{icon:g.uid in i?g.notify_icon:g.icon,iconSpin:g.uid in i,color:g.uid in i?"red":"transparent",content:g.name,onClick:function(){function h(){return C("StartProgram",{program:g.uid})}return h}()},g.uid)})},p)})})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!s&&(0,e.createComponentVNode)(2,o.Section,{title:"pAI",children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"cog",content:"Configuration",onClick:function(){function p(){return C("pai",{option:1})}return p}()}),(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"Eject pAI",onClick:function(){function p(){return C("pai",{option:2})}return p}()})]})})]})}return V}()},99737:function(w,r,n){"use strict";r.__esModule=!0,r.pda_manifest=void 0;var e=n(96524),a=n(17899),t=n(98444),o=r.pda_manifest=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data;return(0,e.createComponentVNode)(2,t.CrewManifest)}return f}()},61597:function(w,r,n){"use strict";r.__esModule=!0,r.pda_medical=void 0;var e=n(96524),a=n(17899),t=n(77534),o=r.pda_medical=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:k,recordType:"MED"})}return f}()},30709:function(w,r,n){"use strict";r.__esModule=!0,r.pda_messenger=r.MessengerList=r.ActiveConversation=void 0;var e=n(96524),a=n(50640),t=n(17899),o=n(24674),f=r.pda_messenger=function(){function k(C,u){var c=(0,t.useBackend)(u),m=c.act,d=c.data,l=d.active_convo;return l?(0,e.createComponentVNode)(2,V,{data:d}):(0,e.createComponentVNode)(2,y,{data:d})}return k}(),V=r.ActiveConversation=function(){function k(C,u){var c=(0,t.useBackend)(u),m=c.act,d=C.data,l=d.convo_name,s=d.convo_job,i=d.messages,p=d.active_convo,v=(0,t.useLocalState)(u,"clipboardMode",!1),g=v[0],h=v[1],N=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+l+" ("+s+")",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:g,tooltip:"Enter Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function b(){return h(!g)}return b}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function b(){return m("Message",{target:p})}return b}(),content:"Reply"})],4),children:(0,a.filter)(function(b){return b.target===p})(i).map(function(b,B){return(0,e.createComponentVNode)(2,o.Box,{textAlign:b.sent?"right":"left",position:"relative",mb:1,children:[(0,e.createComponentVNode)(2,o.Icon,{fontSize:2.5,color:b.sent?"#4d9121":"#cd7a0d",position:"absolute",left:b.sent?null:"0px",right:b.sent?"0px":null,bottom:"-4px",style:{"z-index":"0",transform:b.sent?"scale(-1, 1)":null},name:"comment"}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,backgroundColor:b.sent?"#4d9121":"#cd7a0d",p:1,maxWidth:"100%",position:"relative",textAlign:b.sent?"left":"right",style:{"z-index":"1","border-radius":"10px","word-break":"normal"},children:[b.sent?"You:":"Them:"," ",b.message]})]},B)})});return g&&(N=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+l+" ("+s+")",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:g,tooltip:"Exit Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function b(){return h(!g)}return b}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function b(){return m("Message",{target:p})}return b}(),content:"Reply"})],4),children:(0,a.filter)(function(b){return b.target===p})(i).map(function(b,B){return(0,e.createComponentVNode)(2,o.Box,{color:b.sent?"#4d9121":"#cd7a0d",style:{"word-break":"normal"},children:[b.sent?"You:":"Them:"," ",(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:b.message})]},B)})})),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:.5,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:(0,e.createComponentVNode)(2,o.Button.Confirm,{content:"Delete Conversations",confirmContent:"Are you sure?",icon:"trash",confirmIcon:"trash",onClick:function(){function b(){return m("Clear",{option:"Convo"})}return b}()})})})}),N]})}return k}(),y=r.MessengerList=function(){function k(C,u){var c=(0,t.useBackend)(u),m=c.act,d=C.data,l=d.convopdas,s=d.pdas,i=d.charges,p=d.silent,v=d.toff,g=d.ringtone_list,h=d.ringtone,N=(0,t.useLocalState)(u,"searchTerm",""),b=N[0],B=N[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:5,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:[(0,e.createComponentVNode)(2,o.Button,{selected:!p,icon:p?"volume-mute":"volume-up",onClick:function(){function I(){return m("Toggle Ringer")}return I}(),children:["Ringer: ",p?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{color:v?"bad":"green",icon:"power-off",onClick:function(){function I(){return m("Toggle Messenger")}return I}(),children:["Messenger: ",v?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",color:"bad",onClick:function(){function I(){return m("Clear",{option:"All"})}return I}(),children:"Delete All Conversations"}),(0,e.createComponentVNode)(2,o.Button,{icon:"bell",onClick:function(){function I(){return m("Ringtone")}return I}(),children:"Set Custom Ringtone"}),(0,e.createComponentVNode)(2,o.Button,{children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:h,width:"100px",options:Object.keys(g),onSelected:function(){function I(L){return m("Available_Ringtones",{selected_ringtone:L})}return I}()})})]})}),!v&&(0,e.createComponentVNode)(2,o.Box,{children:[!!i&&(0,e.createComponentVNode)(2,o.Box,{mt:.5,mb:1,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cartridge Special Function",children:[i," charges left."]})})}),!l.length&&!s.length&&(0,e.createComponentVNode)(2,o.Box,{children:"No current conversations"})||(0,e.createComponentVNode)(2,o.Box,{children:["Search:"," ",(0,e.createComponentVNode)(2,o.Input,{mt:.5,value:b,onInput:function(){function I(L,T){B(T)}return I}()})]})]})||(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Messenger Offline."})]}),(0,e.createComponentVNode)(2,S,{title:"Current Conversations",data:d,pdas:l,msgAct:"Select Conversation",searchTerm:b}),(0,e.createComponentVNode)(2,S,{title:"Other PDAs",pdas:s,msgAct:"Message",data:d,searchTerm:b})]})}return k}(),S=function(C,u){var c=(0,t.useBackend)(u),m=c.act,d=C.data,l=C.pdas,s=C.title,i=C.msgAct,p=C.searchTerm,v=d.charges,g=d.plugins;return!l||!l.length?(0,e.createComponentVNode)(2,o.Section,{title:s,children:"No PDAs found."}):(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:s,children:l.filter(function(h){return h.Name.toLowerCase().includes(p.toLowerCase())}).map(function(h){return(0,e.createComponentVNode)(2,o.Stack,{m:.5,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"arrow-circle-down",content:h.Name,onClick:function(){function N(){return m(i,{target:h.uid})}return N}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!v&&g.map(function(N){return(0,e.createComponentVNode)(2,o.Button,{icon:N.icon,content:N.name,onClick:function(){function b(){return m("Messenger Plugin",{plugin:N.uid,target:h.uid})}return b}()},N.uid)})})]},h.uid)})})}},68053:function(w,r,n){"use strict";r.__esModule=!0,r.pda_mule=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pda_mule=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.mulebot,d=m.active;return(0,e.createComponentVNode)(2,t.Box,{children:d?(0,e.createComponentVNode)(2,V):(0,e.createComponentVNode)(2,f)})}return y}(),f=function(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.mulebot,d=m.bots;return d.map(function(l){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:l.Name,icon:"cog",onClick:function(){function s(){return u("control",{bot:l.uid})}return s}()})},l.Name)})},V=function(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.mulebot,d=m.botstatus,l=m.active,s=d.mode,i=d.loca,p=d.load,v=d.powr,g=d.dest,h=d.home,N=d.retn,b=d.pick,B;switch(s){case 0:B="Ready";break;case 1:B="Loading/Unloading";break;case 2:case 12:B="Navigating to delivery location";break;case 3:B="Navigating to Home";break;case 4:B="Waiting for clear path";break;case 5:case 6:B="Calculating navigation path";break;case 7:B="Unable to locate destination";break;default:B=s;break}return(0,e.createComponentVNode)(2,t.Section,{title:l,children:[s===-1&&(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"Waiting for response..."}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:B}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:[v,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Home",children:h}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",children:(0,e.createComponentVNode)(2,t.Button,{content:g?g+" (Set)":"None (Set)",onClick:function(){function I(){return u("target")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Load",children:(0,e.createComponentVNode)(2,t.Button,{content:p?p+" (Unload)":"None",disabled:!p,onClick:function(){function I(){return u("unload")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Pickup",children:(0,e.createComponentVNode)(2,t.Button,{content:b?"Yes":"No",selected:b,onClick:function(){function I(){return u("set_pickup_type",{autopick:b?0:1})}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Return",children:(0,e.createComponentVNode)(2,t.Button,{content:N?"Yes":"No",selected:N,onClick:function(){function I(){return u("set_auto_return",{autoret:N?0:1})}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Stop",icon:"stop",onClick:function(){function I(){return u("stop")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Proceed",icon:"play",onClick:function(){function I(){return u("start")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Return Home",icon:"home",onClick:function(){function I(){return u("home")}return I}()})]})]})]})}},31728:function(w,r,n){"use strict";r.__esModule=!0,r.pda_nanobank=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=r.pda_nanobank=function(){function c(m,d){var l=(0,t.useBackend)(d),s=l.act,i=l.data,p=i.logged_in,v=i.owner_name,g=i.money;return p?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Name",children:v}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Balance",children:["$",g]})]})}),(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,y)]})],4):(0,e.createComponentVNode)(2,u)}return c}(),V=function(m,d){var l=(0,t.useBackend)(d),s=l.data,i=(0,t.useLocalState)(d,"tabIndex",1),p=i[0],v=i[1];return(0,e.createComponentVNode)(2,o.Tabs,{mt:2,children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===1,onClick:function(){function g(){return v(1)}return g}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Transfers"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===2,onClick:function(){function g(){return v(2)}return g}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Account Actions"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===3,onClick:function(){function g(){return v(3)}return g}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Transaction History"]})]})},y=function(m,d){var l=(0,t.useLocalState)(d,"tabIndex",1),s=l[0],i=(0,t.useBackend)(d),p=i.data,v=p.db_status;if(!v)return(0,e.createComponentVNode)(2,o.Box,{children:"Account Database Connection Severed"});switch(s){case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,k);case 3:return(0,e.createComponentVNode)(2,C);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},S=function(m,d){var l,s=(0,t.useBackend)(d),i=s.act,p=s.data,v=p.requests,g=p.available_accounts,h=p.money,N=(0,t.useLocalState)(d,"selectedAccount"),b=N[0],B=N[1],I=(0,t.useLocalState)(d,"transferAmount"),L=I[0],T=I[1],x=(0,t.useLocalState)(d,"searchText",""),A=x[0],E=x[1],M=[];return g.map(function(D){return M[D.name]=D.UID}),(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account",children:[(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by account name",onInput:function(){function D(P,R){return E(R)}return D}()}),(0,e.createComponentVNode)(2,o.Dropdown,{mt:.6,width:"190px",options:g.filter((0,a.createSearch)(A,function(D){return D.name})).map(function(D){return D.name}),selected:(l=g.filter(function(D){return D.UID===b})[0])==null?void 0:l.name,onSelected:function(){function D(P){return B(M[P])}return D}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Amount",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Up to 5000",onInput:function(){function D(P,R){return T(R)}return D}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,o.Button.Confirm,{bold:!0,icon:"paper-plane",width:"auto",disabled:h0&&i.map(function(v){return(0,e.createComponentVNode)(2,t.Box,{children:["#",v.Number,' - "',v.Name,'" for "',v.OrderedBy,'"']},v)})}),(0,e.createComponentVNode)(2,t.Section,{title:"Approved Orders",children:s>0&&l.map(function(v){return(0,e.createComponentVNode)(2,t.Box,{children:["#",v.Number,' - "',v.Name,'" for "',v.ApprovedBy,'"']},v)})})]})}return f}()},61255:function(w,r,n){"use strict";r.__esModule=!0,r.Layout=void 0;var e=n(96524),a=n(28234),t=n(3051),o=n(92700),f=["className","theme","children"],V=["className","scrollable","children"];/** + */var V=(0,t.createLogger)("hotkeys"),y={},S=[e.KEY_ESCAPE,e.KEY_ENTER,e.KEY_SPACE,e.KEY_TAB,e.KEY_CTRL,e.KEY_SHIFT,e.KEY_UP,e.KEY_DOWN,e.KEY_LEFT,e.KEY_RIGHT],k={},C=function(i){if(i===16)return"Shift";if(i===17)return"Ctrl";if(i===18)return"Alt";if(i===33)return"Northeast";if(i===34)return"Southeast";if(i===35)return"Southwest";if(i===36)return"Northwest";if(i===37)return"West";if(i===38)return"North";if(i===39)return"East";if(i===40)return"South";if(i===45)return"Insert";if(i===46)return"Delete";if(i>=48&&i<=57||i>=65&&i<=90)return String.fromCharCode(i);if(i>=96&&i<=105)return"Numpad"+(i-96);if(i>=112&&i<=123)return"F"+(i-111);if(i===188)return",";if(i===189)return"-";if(i===190)return"."},u=function(i){var p=String(i);if(p==="Ctrl+F5"||p==="Ctrl+R"){location.reload();return}if(p!=="Ctrl+F"&&!(i.event.defaultPrevented||i.isModifierKey()||S.includes(i.code))){p==="F5"&&(i.event.preventDefault(),i.event.returnValue=!1);var v=C(i.code);if(v){var g=y[v];if(g)return V.debug("macro",g),Byond.command(g);if(i.isDown()&&!k[v]){k[v]=!0;var h='Key_Down "'+v+'"';return V.debug(h),Byond.command(h)}if(i.isUp()&&k[v]){k[v]=!1;var N='Key_Up "'+v+'"';return V.debug(N),Byond.command(N)}}}},c=r.acquireHotKey=function(){function s(i){S.push(i)}return s}(),m=r.releaseHotKey=function(){function s(i){var p=S.indexOf(i);p>=0&&S.splice(p,1)}return s}(),d=r.releaseHeldKeys=function(){function s(){for(var i=0,p=Object.keys(k);i=75?c="green":u.integrity>=25?c="yellow":c="red",(0,e.createComponentVNode)(2,o.Window,{width:600,height:420,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:u.name,children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:c,value:u.integrity/100})})}),(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h2",null,u.flushing===1?"Wipe of AI in progress...":"",0)})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Laws",children:!!u.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:u.laws.map(function(m,d){return(0,e.createComponentVNode)(2,t.Box,{children:m},d)})})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h3",null,"No laws detected.",16)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wireless Activity",children:(0,e.createComponentVNode)(2,t.Button,{width:10,icon:u.wireless?"check":"times",content:u.wireless?"Enabled":"Disabled",color:u.wireless?"green":"red",onClick:function(){function m(){return C("wireless")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subspace Transceiver",children:(0,e.createComponentVNode)(2,t.Button,{width:10,icon:u.radio?"check":"times",content:u.radio?"Enabled":"Disabled",color:u.radio?"green":"red",onClick:function(){function m(){return C("radio")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wipe",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{width:10,icon:"trash-alt",confirmIcon:"trash-alt",disabled:u.flushing||u.integrity===0,confirmColor:"red",content:"Wipe AI",onClick:function(){function m(){return C("wipe")}return m}()})})]})})})]})})})}return V}()},78468:function(w,r,n){"use strict";r.__esModule=!0,r.AIFixer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AIFixer=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data;if(u.occupant===null)return(0,e.createComponentVNode)(2,o.Window,{width:550,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Stored AI",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"robot",size:5,color:"silver"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"h3",null,"No Artificial Intelligence detected.",16)]})})})})});var c=!0;(u.stat===2||u.stat===null)&&(c=!1);var m=null;u.integrity>=75?m="green":u.integrity>=25?m="yellow":m="red";var d=!0;return u.integrity>=100&&u.stat!==2&&(d=!1),(0,e.createComponentVNode)(2,o.Window,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:u.occupant,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:m,value:u.integrity/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:c?"green":"red",children:c?"Functional":"Non-Functional"})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Laws",children:!!u.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:u.laws.map(function(l,s){return(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:l},s)})})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h3",null,"No laws detected.",16)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wireless Activity",children:(0,e.createComponentVNode)(2,t.Button,{icon:u.wireless?"times":"check",content:u.wireless?"Disabled":"Enabled",color:u.wireless?"red":"green",onClick:function(){function l(){return C("wireless")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subspace Transceiver",children:(0,e.createComponentVNode)(2,t.Button,{icon:u.radio?"times":"check",content:u.radio?"Disabled":"Enabled",color:u.radio?"red":"green",onClick:function(){function l(){return C("radio")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Start Repairs",children:(0,e.createComponentVNode)(2,t.Button,{icon:"wrench",disabled:!d||u.active,content:!d||u.active?"Already Repaired":"Repair",onClick:function(){function l(){return C("fix")}return l}()})})]}),(0,e.createComponentVNode)(2,t.Box,{color:"green",lineHeight:2,children:u.active?"Reconstruction in progress.":""})]})})]})})})}return V}()},73544:function(w,r,n){"use strict";r.__esModule=!0,r.APC=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(26893),V=r.APC=function(){function C(u,c){return(0,e.createComponentVNode)(2,o.Window,{width:510,height:435,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,k)})})}return C}(),y={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"}},S={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"}},k=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.locked&&!l.siliconUser,i=l.normallyLocked,p=y[l.externalPower]||y[0],v=y[l.chargingStatus]||y[0],g=l.powerChannels||[],h=S[l.malfStatus]||S[0],N=l.powerCellStatus/100;return(0,e.createFragment)([(0,e.createComponentVNode)(2,f.InterfaceLockNoticeBox),(0,e.createComponentVNode)(2,t.Section,{title:"Power Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Main Breaker",color:p.color,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:l.isOperating?"power-off":"times",content:l.isOperating?"On":"Off",selected:l.isOperating&&!s,color:l.isOperating?"":"bad",disabled:s,onClick:function(){function b(){return d("breaker")}return b}()}),children:["[ ",p.externalPowerText," ]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Cell",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:"good",value:N})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",color:v.color,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:l.chargeMode?"sync":"times",content:l.chargeMode?"Auto":"Off",selected:l.chargeMode,disabled:s,onClick:function(){function b(){return d("charge")}return b}()}),children:["[ ",v.chargingText," ]"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Channels",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[g.map(function(b){var B=b.topicParams;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:b.title,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,mx:2,color:b.status>=2?"good":"bad",children:b.status>=2?"On":"Off"}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:!s&&(b.status===1||b.status===3),disabled:s,onClick:function(){function I(){return d("channel",B.auto)}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:"On",selected:!s&&b.status===2,disabled:s,onClick:function(){function I(){return d("channel",B.on)}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:!s&&b.status===0,disabled:s,onClick:function(){function I(){return d("channel",B.off)}return I}()})],4),children:[b.powerLoad," W"]},b.title)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Load",children:(0,e.createVNode)(1,"b",null,[l.totalLoad,(0,e.createTextVNode)(" W")],0)})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Misc",buttons:!!l.siliconUser&&(0,e.createFragment)([!!l.malfStatus&&(0,e.createComponentVNode)(2,t.Button,{icon:h.icon,content:h.content,color:"bad",onClick:function(){function b(){return d(h.action)}return b}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:"Overload",onClick:function(){function b(){return d("overload")}return b}()})],0),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cover Lock",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.4,icon:l.coverLocked?"lock":"unlock",content:l.coverLocked?"Engaged":"Disengaged",disabled:s,onClick:function(){function b(){return d("cover")}return b}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Lighting",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:l.emergencyLights?"Enabled":"Disabled",disabled:s,onClick:function(){function b(){return d("emergency_lighting")}return b}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Night Shift Lighting",buttons:(0,e.createComponentVNode)(2,t.Button,{mt:.4,icon:"lightbulb-o",content:l.nightshiftLights?"Enabled":"Disabled",onClick:function(){function b(){return d("toggle_nightshift")}return b}()})})]})})],4)}},79098:function(w,r,n){"use strict";r.__esModule=!0,r.ATM=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ATM=function(){function m(d,l){var s=(0,a.useBackend)(l),i=s.act,p=s.data,v=p.view_screen,g=p.authenticated_account,h=p.ticks_left_locked_down,N=p.linked_db,b;if(h>0)b=(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle"}),"Maximum number of pin attempts exceeded! Access to this ATM has been temporarily disabled."]});else if(!N)b=(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle"}),"Unable to connect to accounts database, please retry and if the issue persists contact Nanotrasen IT support."]});else if(g)switch(v){case 1:b=(0,e.createComponentVNode)(2,y);break;case 2:b=(0,e.createComponentVNode)(2,S);break;case 3:b=(0,e.createComponentVNode)(2,u);break;default:b=(0,e.createComponentVNode)(2,k)}else b=(0,e.createComponentVNode)(2,C);return(0,e.createComponentVNode)(2,o.Window,{width:550,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,t.Section,{children:b})]})})}return m}(),V=function(d,l){var s=(0,a.useBackend)(l),i=s.act,p=s.data,v=p.machine_id,g=p.held_card_name;return(0,e.createComponentVNode)(2,t.Section,{title:"Nanotrasen Automatic Teller Machine",children:[(0,e.createComponentVNode)(2,t.Box,{children:"For all your monetary needs!"}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Card",children:(0,e.createComponentVNode)(2,t.Button,{content:g,icon:"eject",onClick:function(){function h(){return i("insert_card")}return h}()})})})]})},y=function(d,l){var s=(0,a.useBackend)(l),i=s.act,p=s.data,v=p.security_level;return(0,e.createComponentVNode)(2,t.Section,{title:"Select a new security level for this account",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Account Number",icon:"unlock",selected:v===0,onClick:function(){function g(){return i("change_security_level",{new_security_level:1})}return g}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:"Either the account number or card is required to access this account. EFTPOS transactions will require a card."}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Account Pin",icon:"unlock",selected:v===2,onClick:function(){function g(){return i("change_security_level",{new_security_level:2})}return g}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:"An account number and pin must be manually entered to access this account and process transactions."})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},S=function(d,l){var s=(0,a.useBackend)(l),i=s.act,p=s.data,v=(0,a.useLocalState)(l,"targetAccNumber",0),g=v[0],h=v[1],N=(0,a.useLocalState)(l,"fundsAmount",0),b=N[0],B=N[1],I=(0,a.useLocalState)(l,"purpose",0),L=I[0],T=I[1],x=p.money;return(0,e.createComponentVNode)(2,t.Section,{title:"Transfer Fund",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account Balance",children:["$",x]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Account Number",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"7 Digit Number",onInput:function(){function A(E,M){return h(M)}return A}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Funds to Transfer",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function A(E,M){return B(M)}return A}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transaction Purpose",children:(0,e.createComponentVNode)(2,t.Input,{fluid:!0,onInput:function(){function A(E,M){return T(M)}return A}()})})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Button,{content:"Transfer",icon:"sign-out-alt",onClick:function(){function A(){return i("transfer",{target_acc_number:g,funds_amount:b,purpose:L})}return A}()}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},k=function(d,l){var s=(0,a.useBackend)(l),i=s.act,p=s.data,v=(0,a.useLocalState)(l,"fundsAmount",0),g=v[0],h=v[1],N=p.owner_name,b=p.money;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Welcome, "+N,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Logout",icon:"sign-out-alt",onClick:function(){function B(){return i("logout")}return B}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account Balance",children:["$",b]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Withdrawal Amount",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function B(I,L){return h(L)}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Withdraw Funds",icon:"sign-out-alt",onClick:function(){function B(){return i("withdrawal",{funds_amount:g})}return B}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Menu",children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Change account security level",icon:"lock",onClick:function(){function B(){return i("view_screen",{view_screen:1})}return B}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Make transfer",icon:"exchange-alt",onClick:function(){function B(){return i("view_screen",{view_screen:2})}return B}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"View transaction log",icon:"list",onClick:function(){function B(){return i("view_screen",{view_screen:3})}return B}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Print balance statement",icon:"print",onClick:function(){function B(){return i("balance_statement")}return B}()})})]})],4)},C=function(d,l){var s=(0,a.useBackend)(l),i=s.act,p=s.data,v=(0,a.useLocalState)(l,"accountID",null),g=v[0],h=v[1],N=(0,a.useLocalState)(l,"accountPin",null),b=N[0],B=N[1],I=p.machine_id,L=p.held_card_name;return(0,e.createComponentVNode)(2,t.Section,{title:"Insert card or enter ID and pin to login",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account ID",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"6 Digit Number",onInput:function(){function T(x,A){return h(A)}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pin",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"6 Digit Number",onInput:function(){function T(x,A){return B(A)}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Login",icon:"sign-in-alt",onClick:function(){function T(){return i("attempt_auth",{account_num:g,account_pin:b})}return T}()})})]})})},u=function(d,l){var s=(0,a.useBackend)(l),i=s.act,p=s.data,v=p.transaction_log;return(0,e.createComponentVNode)(2,t.Section,{title:"Transactions",children:[(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Timestamp"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Reason"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Value"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Terminal"})]}),v.map(function(g){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:g.time}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g.purpose}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:g.is_deposit?"green":"red",children:["$",g.amount]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g.target_name})]},g)})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},c=function(d,l){var s=(0,a.useBackend)(l),i=s.act,p=s.data;return(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"sign-out-alt",onClick:function(){function v(){return i("view_screen",{view_screen:0})}return v}()})}},64613:function(w,r,n){"use strict";r.__esModule=!0,r.AccountsUplinkTerminal=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(5126),V=n(45493),y=n(68159),S=n(27527),k=r.AccountsUplinkTerminal=function(){function p(v,g){var h=(0,t.useBackend)(g),N=h.act,b=h.data,B=b.loginState,I=b.currentPage,L;if(B.logged_in)I===1?L=(0,e.createComponentVNode)(2,u):I===2?L=(0,e.createComponentVNode)(2,s):I===3&&(L=(0,e.createComponentVNode)(2,i));else return(0,e.createComponentVNode)(2,V.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,S.LoginScreen)})})});return(0,e.createComponentVNode)(2,V.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.LoginInfo),(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:L})]})})})}return p}(),C=function(v,g){var h=(0,t.useBackend)(g),N=h.data,b=(0,t.useLocalState)(g,"tabIndex",0),B=b[0],I=b[1],L=N.login_state;return(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,mb:1,children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:B===0,onClick:function(){function T(){return I(0)}return T}(),children:"User Accounts"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:B===1,onClick:function(){function T(){return I(1)}return T}(),children:"Department Accounts"})]})})})},u=function(v,g){var h=(0,t.useLocalState)(g,"tabIndex",0),N=h[0];switch(N){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,m);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},c=function(v,g){var h=(0,t.useBackend)(g),N=h.act,b=h.data,B=b.accounts,I=(0,t.useLocalState)(g,"searchText",""),L=I[0],T=I[1],x=(0,t.useLocalState)(g,"sortId","owner_name"),A=x[0],E=x[1],M=(0,t.useLocalState)(g,"sortOrder",!0),D=M[0],P=M[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"AccountsUplinkTerminal__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,d,{id:"owner_name",children:"Account Holder"}),(0,e.createComponentVNode)(2,d,{id:"account_number",children:"Account Number"}),(0,e.createComponentVNode)(2,d,{id:"suspended",children:"Account Status"}),(0,e.createComponentVNode)(2,d,{id:"money",children:"Account Balance"})]}),B.filter((0,a.createSearch)(L,function(R){return R.owner_name+"|"+R.account_number+"|"+R.suspended+"|"+R.money})).sort(function(R,j){var F=D?1:-1;return R[A].localeCompare(j[A])*F}).map(function(R){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"AccountsUplinkTerminal__listRow--"+R.suspended,onClick:function(){function j(){return N("view_account_detail",{account_num:R.account_number})}return j}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",R.owner_name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:["#",R.account_number]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:R.suspended}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:R.money})]},R.account_number)})]})})})]})},m=function(v,g){var h=(0,t.useBackend)(g),N=h.act,b=h.data,B=b.department_accounts;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Table,{className:"AccountsUplinkTerminal__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,f.TableCell,{children:"Department Name"}),(0,e.createComponentVNode)(2,f.TableCell,{children:"Account Number"}),(0,e.createComponentVNode)(2,f.TableCell,{children:"Account Status"}),(0,e.createComponentVNode)(2,f.TableCell,{children:"Account Balance"})]}),B.map(function(I){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"AccountsUplinkTerminal__listRow--"+I.suspended,onClick:function(){function L(){return N("view_account_detail",{account_num:I.account_number})}return L}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"wallet"})," ",I.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:["#",I.account_number]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:I.suspended}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:I.money})]},I.account_number)})]})})})})},d=function(v,g){var h=(0,t.useLocalState)(g,"sortId","name"),N=h[0],b=h[1],B=(0,t.useLocalState)(g,"sortOrder",!0),I=B[0],L=B[1],T=v.id,x=v.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:N!==T&&"transparent",width:"100%",onClick:function(){function A(){N===T?L(!I):(b(T),L(!0))}return A}(),children:[x,N===T&&(0,e.createComponentVNode)(2,o.Icon,{name:I?"sort-up":"sort-down",ml:"0.25rem;"})]})})},l=function(v,g){var h=(0,t.useBackend)(g),N=h.act,b=h.data,B=b.is_printing,I=(0,t.useLocalState)(g,"searchText",""),L=I[0],T=I[1];return(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"New Account",icon:"plus",onClick:function(){function x(){return N("create_new_account")}return x}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by account holder, number, status",width:"100%",onInput:function(){function x(A,E){return T(E)}return x}()})})]})},s=function(v,g){var h=(0,t.useBackend)(g),N=h.act,b=h.data,B=b.account_number,I=b.owner_name,L=b.money,T=b.suspended,x=b.transactions,A=b.account_pin,E=b.is_department_account;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"#"+B+" / "+I,buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-left",content:"Back",onClick:function(){function M(){return N("back")}return M}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Number",children:["#",B]}),!!E&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Pin",children:A}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Pin Actions",children:(0,e.createComponentVNode)(2,o.Button,{ml:1,icon:"user-cog",content:"Set New Pin",disabled:!!E,onClick:function(){function M(){return N("set_account_pin",{account_number:B})}return M}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Holder",children:I}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Balance",children:L}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Status",color:T?"red":"green",children:[T?"Suspended":"Active",(0,e.createComponentVNode)(2,o.Button,{ml:1,content:T?"Unsuspend":"Suspend",icon:T?"unlock":"lock",onClick:function(){function M(){return N("toggle_suspension")}return M}()})]})]})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Transactions",children:(0,e.createComponentVNode)(2,o.Table,{children:[(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Timestamp"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Reason"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Value"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Terminal"})]}),x.map(function(M){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:M.time}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:M.purpose}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:M.is_deposit?"green":"red",children:["$",M.amount]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:M.target_name})]},M)})]})})})]})},i=function(v,g){var h=(0,t.useBackend)(g),N=h.act,b=h.data,B=(0,t.useLocalState)(g,"accName",""),I=B[0],L=B[1],T=(0,t.useLocalState)(g,"accDeposit",""),x=T[0],A=T[1];return(0,e.createComponentVNode)(2,o.Section,{title:"Create Account",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-left",content:"Back",onClick:function(){function E(){return N("back")}return E}()}),children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Holder",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Name Here",onChange:function(){function E(M,D){return L(D)}return E}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Initial Deposit",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"0",onChange:function(){function E(M,D){return A(D)}return E}()})})]}),(0,e.createComponentVNode)(2,o.Button,{mt:1,fluid:!0,content:"Create Account",onClick:function(){function E(){return N("finalise_create_account",{holder_name:I,starting_funds:x})}return E}()})]})}},34257:function(w,r,n){"use strict";r.__esModule=!0,r.AgentCardInfo=r.AgentCardAppearances=r.AgentCard=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AgentCard=function(){function S(k,C){var u=(0,a.useLocalState)(C,"tabIndex",0),c=u[0],m=u[1],d=function(){function l(s){switch(s){case 0:return(0,e.createComponentVNode)(2,V);case 1:return(0,e.createComponentVNode)(2,y);default:return(0,e.createComponentVNode)(2,V)}}return l}();return(0,e.createComponentVNode)(2,o.Window,{width:425,height:500,theme:"syndicate",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:c===0,onClick:function(){function l(){return m(0)}return l}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"table"})," Card Info"]},"Card Info"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:c===1,onClick:function(){function l(){return m(1)}return l}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"id-card"})," Appearance"]},"Appearance")]})}),d(c)]})})})}return S}(),V=r.AgentCardInfo=function(){function S(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.registered_name,l=m.sex,s=m.age,i=m.assignment,p=m.associated_account_number,v=m.blood_type,g=m.dna_hash,h=m.fingerprint_hash,N=m.photo,b=m.ai_tracking;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Card Info",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,t.Button,{content:d||"[UNSET]",onClick:function(){function B(){return c("change_name")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sex",children:(0,e.createComponentVNode)(2,t.Button,{iconRight:!1,content:l||"[UNSET]",onClick:function(){function B(){return c("change_sex")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Age",children:(0,e.createComponentVNode)(2,t.Button,{content:s||"[UNSET]",onClick:function(){function B(){return c("change_age")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rank",children:(0,e.createComponentVNode)(2,t.Button,{content:i||"[UNSET]",onClick:function(){function B(){return c("change_occupation")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fingerprints",children:(0,e.createComponentVNode)(2,t.Button,{content:h||"[UNSET]",onClick:function(){function B(){return c("change_fingerprints")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood Type",children:(0,e.createComponentVNode)(2,t.Button,{content:v||"[UNSET]",onClick:function(){function B(){return c("change_blood_type")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"DNA Hash",children:(0,e.createComponentVNode)(2,t.Button,{content:g||"[UNSET]",onClick:function(){function B(){return c("change_dna_hash")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Money Account",children:(0,e.createComponentVNode)(2,t.Button,{content:p||"[UNSET]",onClick:function(){function B(){return c("change_money_account")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Photo",children:(0,e.createComponentVNode)(2,t.Button,{content:N?"Update":"[UNSET]",onClick:function(){function B(){return c("change_photo")}return B}()})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Card Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Card Info",children:(0,e.createComponentVNode)(2,t.Button,{content:"Delete Card Info",onClick:function(){function B(){return c("delete_info")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Access",children:(0,e.createComponentVNode)(2,t.Button,{content:"Reset Access",onClick:function(){function B(){return c("clear_access")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"AI Tracking",children:(0,e.createComponentVNode)(2,t.Button,{content:b?"Untrackable":"Trackable",onClick:function(){function B(){return c("change_ai_tracking")}return B}()})})]})})})],4)}return S}(),y=r.AgentCardAppearances=function(){function S(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=(0,a.useLocalState)(C,"selectedAppearance",null),l=d[0],s=d[1],i=m.appearances;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Card Appearance",children:i.map(function(p){return(0,e.createComponentVNode)(2,t.Button,{compact:!0,m:.5,color:"translucent",selected:p===l,content:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jped;base64,"+p.image,style:{width:"64px","vertical-align":"middle","-ms-interpolation-mode":"nearest-neighbor"},onClick:function(){function v(){s(p),c("change_appearance",{new_appearance:p.name})}return v}()})},p.name)})})})}return S}()},56839:function(w,r,n){"use strict";r.__esModule=!0,r.AiAirlock=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f={2:{color:"good",localStatusText:"Offline"},1:{color:"average",localStatusText:"Caution"},0:{color:"bad",localStatusText:"Optimal"}},V=r.AiAirlock=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=f[c.power.main]||f[0],d=f[c.power.backup]||f[0],l=f[c.shock]||f[0];return(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Power Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Main",color:m.color,buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:"lightbulb-o",disabled:!c.power.main,content:"Disrupt",onClick:function(){function s(){return u("disrupt-main")}return s}()}),children:[c.power.main?"Online":"Offline"," ",!c.wires.main_power&&"[Wires have been cut!]"||c.power.main_timeleft>0&&"["+c.power.main_timeleft+"s]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Backup",color:d.color,buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:"lightbulb-o",disabled:!c.power.backup,content:"Disrupt",onClick:function(){function s(){return u("disrupt-backup")}return s}()}),children:[c.power.backup?"Online":"Offline"," ",!c.wires.backup_power&&"[Wires have been cut!]"||c.power.backup_timeleft>0&&"["+c.power.backup_timeleft+"s]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Electrify",color:l.color,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{mr:.5,icon:"wrench",disabled:!(c.wires.shock&&c.shock!==2),content:"Restore",onClick:function(){function s(){return u("shock-restore")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{mr:.5,icon:"bolt",disabled:!c.wires.shock,content:"Temporary",onClick:function(){function s(){return u("shock-temp")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"bolt",disabled:!c.wires.shock||c.shock===0,content:"Permanent",onClick:function(){function s(){return u("shock-perm")}return s}()})],4),children:[c.shock===2?"Safe":"Electrified"," ",!c.wires.shock&&"[Wires have been cut!]"||c.shock_timeleft>0&&"["+c.shock_timeleft+"s]"||c.shock_timeleft===-1&&"[Permanent]"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Access and Door Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Scan",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{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(){function s(){return u("idscan-toggle")}return s}()}),children:!c.wires.id_scanner&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Access",buttons:(0,e.createComponentVNode)(2,t.Button,{width:6.5,icon:c.emergency?"power-off":"times",content:c.emergency?"Enabled":"Disabled",selected:c.emergency,onClick:function(){function s(){return u("emergency-toggle")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Bolts",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:c.locked?"lock":"unlock",content:c.locked?"Lowered":"Raised",selected:c.locked,disabled:!c.wires.bolts,onClick:function(){function s(){return u("bolt-toggle")}return s}()}),children:!c.wires.bolts&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Bolt Lights",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{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(){function s(){return u("light-toggle")}return s}()}),children:!c.wires.lights&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Force Sensors",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{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(){function s(){return u("safe-toggle")}return s}()}),children:!c.wires.safe&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Timing Safety",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{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(){function s(){return u("speed-toggle")}return s}()}),children:!c.wires.timing&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Control",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:c.opened?"sign-out-alt":"sign-in-alt",content:c.opened?"Open":"Closed",selected:c.opened,disabled:c.locked||c.welded,onClick:function(){function s(){return u("open-close")}return s}()}),children:!!(c.locked||c.welded)&&(0,e.createVNode)(1,"span",null,[(0,e.createTextVNode)("[Door is "),c.locked?"bolted":"",c.locked&&c.welded?" and ":"",c.welded?"welded":"",(0,e.createTextVNode)("!]")],0)})]})})]})})}return y}()},5565:function(w,r,n){"use strict";r.__esModule=!0,r.AirAlarm=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(26893),V=r.AirAlarm=function(){function l(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.locked;return(0,e.createComponentVNode)(2,o.Window,{width:570,height:h?310:755,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,f.InterfaceLockNoticeBox),(0,e.createComponentVNode)(2,S),!h&&(0,e.createFragment)([(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,C)],4)]})})}return l}(),y=function(s){return s===0?"green":s===1?"orange":"red"},S=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.air,N=g.mode,b=g.atmos_alarm,B=g.locked,I=g.alarmActivated,L=g.rcon,T=g.target_temp,x;return h.danger.overall===0?b===0?x="Optimal":x="Caution: Atmos alert in area":h.danger.overall===1?x="Caution":x="DANGER: Internals Required",(0,e.createComponentVNode)(2,t.Section,{title:"Air Status",children:h?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,t.Box,{color:y(h.danger.pressure),children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:h.pressure})," kPa",!B&&(0,e.createFragment)([(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,t.Button,{content:N===3?"Deactivate Panic Siphon":"Activate Panic Siphon",selected:N===3,icon:"exclamation-triangle",onClick:function(){function A(){return v("mode",{mode:N===3?1:3})}return A}()})],4)]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.oxygen/100,fractionDigits:"1",color:y(h.danger.oxygen)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrogen",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.nitrogen/100,fractionDigits:"1",color:y(h.danger.nitrogen)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Carbon Dioxide",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.co2/100,fractionDigits:"1",color:y(h.danger.co2)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxins",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.plasma/100,fractionDigits:"1",color:y(h.danger.plasma)})}),h.contents.n2o>.1&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrous Oxide",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.n2o/100,fractionDigits:"1",color:y(h.danger.n2o)})}),h.contents.other>.1&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.other/100,fractionDigits:"1",color:y(h.danger.other)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.Box,{color:y(h.danger.temperature),children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:h.temperature})," K /"," ",(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:h.temperature_c})," C\xA0",(0,e.createComponentVNode)(2,t.Button,{icon:"thermometer-full",content:T+" C",onClick:function(){function A(){return v("temperature")}return A}()}),(0,e.createComponentVNode)(2,t.Button,{content:h.thermostat_state?"On":"Off",selected:h.thermostat_state,icon:"power-off",onClick:function(){function A(){return v("thermostat_state")}return A}()})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Local Status",children:(0,e.createComponentVNode)(2,t.Box,{color:y(h.danger.overall),children:[x,!B&&(0,e.createFragment)([(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,t.Button,{content:I?"Reset Alarm":"Activate Alarm",selected:I,onClick:function(){function A(){return v(I?"atmos_reset":"atmos_alarm")}return A}()})],4)]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Remote Control Settings",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Off",selected:L===1,onClick:function(){function A(){return v("set_rcon",{rcon:1})}return A}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Auto",selected:L===2,onClick:function(){function A(){return v("set_rcon",{rcon:2})}return A}()}),(0,e.createComponentVNode)(2,t.Button,{content:"On",selected:L===3,onClick:function(){function A(){return v("set_rcon",{rcon:3})}return A}()})]})]}):(0,e.createComponentVNode)(2,t.Box,{children:"Unable to acquire air sample!"})})},k=function(s,i){var p=(0,a.useLocalState)(i,"tabIndex",0),v=p[0],g=p[1];return(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===0,onClick:function(){function h(){return g(0)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"sign-out-alt"})," Vent Control"]},"Vents"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===1,onClick:function(){function h(){return g(1)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"sign-in-alt"})," Scrubber Control"]},"Scrubbers"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===2,onClick:function(){function h(){return g(2)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cog"})," Mode"]},"Mode"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===3,onClick:function(){function h(){return g(3)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"tachometer-alt"})," Thresholds"]},"Thresholds")]})},C=function(s,i){var p=(0,a.useLocalState)(i,"tabIndex",0),v=p[0],g=p[1];switch(v){case 0:return(0,e.createComponentVNode)(2,u);case 1:return(0,e.createComponentVNode)(2,c);case 2:return(0,e.createComponentVNode)(2,m);case 3:return(0,e.createComponentVNode)(2,d);default:return"WE SHOULDN'T BE HERE!"}},u=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.vents;return h.map(function(N){return(0,e.createComponentVNode)(2,t.Section,{title:N.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{content:N.power?"On":"Off",selected:N.power,icon:"power-off",onClick:function(){function b(){return v("command",{cmd:"power",val:!N.power,id_tag:N.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:N.direction?"Blowing":"Siphoning",icon:N.direction?"sign-out-alt":"sign-in-alt",onClick:function(){function b(){return v("command",{cmd:"direction",val:!N.direction,id_tag:N.id_tag})}return b}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure Checks",children:[(0,e.createComponentVNode)(2,t.Button,{content:"External",selected:N.checks===1,onClick:function(){function b(){return v("command",{cmd:"checks",val:1,id_tag:N.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Internal",selected:N.checks===2,onClick:function(){function b(){return v("command",{cmd:"checks",val:2,id_tag:N.id_tag})}return b}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Pressure Target",children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:N.external})," kPa\xA0",(0,e.createComponentVNode)(2,t.Button,{content:"Set",icon:"cog",onClick:function(){function b(){return v("command",{cmd:"set_external_pressure",id_tag:N.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Reset",icon:"redo-alt",onClick:function(){function b(){return v("command",{cmd:"set_external_pressure",val:101.325,id_tag:N.id_tag})}return b}()})]})]})},N.name)})},c=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.scrubbers;return h.map(function(N){return(0,e.createComponentVNode)(2,t.Section,{title:N.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{content:N.power?"On":"Off",selected:N.power,icon:"power-off",onClick:function(){function b(){return v("command",{cmd:"power",val:!N.power,id_tag:N.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:N.scrubbing?"Scrubbing":"Siphoning",icon:N.scrubbing?"filter":"sign-in-alt",onClick:function(){function b(){return v("command",{cmd:"scrubbing",val:!N.scrubbing,id_tag:N.id_tag})}return b}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Range",children:(0,e.createComponentVNode)(2,t.Button,{content:N.widenet?"Extended":"Normal",selected:N.widenet,icon:"expand-arrows-alt",onClick:function(){function b(){return v("command",{cmd:"widenet",val:!N.widenet,id_tag:N.id_tag})}return b}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filtering",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Carbon Dioxide",selected:N.filter_co2,onClick:function(){function b(){return v("command",{cmd:"co2_scrub",val:!N.filter_co2,id_tag:N.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Plasma",selected:N.filter_toxins,onClick:function(){function b(){return v("command",{cmd:"tox_scrub",val:!N.filter_toxins,id_tag:N.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrous Oxide",selected:N.filter_n2o,onClick:function(){function b(){return v("command",{cmd:"n2o_scrub",val:!N.filter_n2o,id_tag:N.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Oxygen",selected:N.filter_o2,onClick:function(){function b(){return v("command",{cmd:"o2_scrub",val:!N.filter_o2,id_tag:N.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrogen",selected:N.filter_n2,onClick:function(){function b(){return v("command",{cmd:"n2_scrub",val:!N.filter_n2,id_tag:N.id_tag})}return b}()})]})]})},N.name)})},m=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.modes,N=g.presets,b=g.emagged,B=g.mode,I=g.preset;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"System Mode",children:(0,e.createComponentVNode)(2,t.Table,{children:h.map(function(L){return(!L.emagonly||L.emagonly&&!!b)&&(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",width:1,children:(0,e.createComponentVNode)(2,t.Button,{content:L.name,icon:"cog",selected:L.id===B,onClick:function(){function T(){return v("mode",{mode:L.id})}return T}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.desc})]},L.name)})})}),(0,e.createComponentVNode)(2,t.Section,{title:"System Presets",children:[(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"After making a selection, the system will automatically cycle in order to remove contaminants."}),(0,e.createComponentVNode)(2,t.Table,{mt:1,children:N.map(function(L){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",width:1,children:(0,e.createComponentVNode)(2,t.Button,{content:L.name,icon:"cog",selected:L.id===I,onClick:function(){function T(){return v("preset",{preset:L.id})}return T}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.desc})]},L.name)})})]})],4)},d=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.thresholds;return(0,e.createComponentVNode)(2,t.Section,{title:"Alarm Thresholds",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"20%",children:"Value"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"red",width:"20%",children:"Danger Min"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"orange",width:"20%",children:"Warning Min"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"orange",width:"20%",children:"Warning Max"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"red",width:"20%",children:"Danger Max"})]}),h.map(function(N){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:N.name}),N.settings.map(function(b){return(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:b.selected===-1?"Off":b.selected,onClick:function(){function B(){return v("command",{cmd:"set_threshold",env:b.env,var:b.val})}return B}()})},b.val)})]},N.name)})]})})}},82915:function(w,r,n){"use strict";r.__esModule=!0,r.AirlockAccessController=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AirlockAccessController=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.exterior_status,m=u.interior_status,d=u.processing,l,s;return c==="open"?l=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Lock Exterior Door",icon:"exclamation-triangle",disabled:d,onClick:function(){function i(){return C("force_ext")}return i}()}):l=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:d,onClick:function(){function i(){return C("cycle_ext_door")}return i}()}),m==="open"?s=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Lock Interior Door",icon:"exclamation-triangle",disabled:d,color:m==="open"?"red":d?"yellow":null,onClick:function(){function i(){return C("force_int")}return i}()}):s=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Cycle to Interior",icon:"arrow-circle-right",disabled:d,onClick:function(){function i(){return C("cycle_int_door")}return i}()}),(0,e.createComponentVNode)(2,o.Window,{width:330,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Door Status",children:c==="closed"?"Locked":"Open"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Door Status",children:m==="closed"?"Locked":"Open"})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:(0,e.createComponentVNode)(2,t.Box,{children:[l,s]})})]})})}return V}()},14962:function(w,r,n){"use strict";r.__esModule=!0,r.AirlockElectronics=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(57842),V=1,y=2,S=4,k=8,C=r.AirlockElectronics=function(){function m(d,l){return(0,e.createComponentVNode)(2,o.Window,{width:450,height:565,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,c)]})})})}return m}(),u=function(d,l){var s=(0,a.useBackend)(l),i=s.act,p=s.data,v=p.unrestricted_dir;return(0,e.createComponentVNode)(2,t.Section,{title:"Access Control",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,mb:1,children:"Unrestricted Access From:"}),(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-left",content:"East",selected:v&S?"selected":null,onClick:function(){function g(){return i("unrestricted_access",{unres_dir:S})}return g}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-up",content:"South",selected:v&y?"selected":null,onClick:function(){function g(){return i("unrestricted_access",{unres_dir:y})}return g}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-right",content:"West",selected:v&k?"selected":null,onClick:function(){function g(){return i("unrestricted_access",{unres_dir:k})}return g}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-down",content:"North",selected:v&V?"selected":null,onClick:function(){function g(){return i("unrestricted_access",{unres_dir:V})}return g}()})})]})]})})},c=function(d,l){var s=(0,a.useBackend)(l),i=s.act,p=s.data,v=p.selected_accesses,g=p.one_access,h=p.regions;return(0,e.createComponentVNode)(2,f.AccessList,{usedByRcd:1,rcdButtons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:g,content:"One",onClick:function(){function N(){return i("set_one_access",{access:"one"})}return N}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!g,content:"All",onClick:function(){function N(){return i("set_one_access",{access:"all"})}return N}()})],4),accesses:h,selectedList:v,accessMod:function(){function N(b){return i("set",{access:b})}return N}(),grantAll:function(){function N(){return i("grant_all")}return N}(),denyAll:function(){function N(){return i("clear_all")}return N}(),grantDep:function(){function N(b){return i("grant_region",{region:b})}return N}(),denyDep:function(){function N(b){return i("deny_region",{region:b})}return N}()})}},99327:function(w,r,n){"use strict";r.__esModule=!0,r.AlertModal=void 0;var e=n(96524),a=n(14299),t=n(17899),o=n(68100),f=n(24674),V=n(45493),y=-1,S=1,k=r.AlertModal=function(){function c(m,d){var l=(0,t.useBackend)(d),s=l.act,i=l.data,p=i.autofocus,v=i.buttons,g=v===void 0?[]:v,h=i.large_buttons,N=i.message,b=N===void 0?"":N,B=i.timeout,I=i.title,L=(0,t.useLocalState)(d,"selected",0),T=L[0],x=L[1],A=110+(b.length>30?Math.ceil(b.length/4):0)+(b.length&&h?5:0),E=325+(g.length>2?100:0),M=function(){function D(P){T===0&&P===y?x(g.length-1):T===g.length-1&&P===S?x(0):x(T+P)}return D}();return(0,e.createComponentVNode)(2,V.Window,{title:I,height:A,width:E,children:[!!B&&(0,e.createComponentVNode)(2,a.Loader,{value:B}),(0,e.createComponentVNode)(2,V.Window.Content,{onKeyDown:function(){function D(P){var R=window.event?P.which:P.keyCode;R===o.KEY_SPACE||R===o.KEY_ENTER?s("choose",{choice:g[T]}):R===o.KEY_ESCAPE?s("cancel"):R===o.KEY_LEFT?(P.preventDefault(),M(y)):(R===o.KEY_TAB||R===o.KEY_RIGHT)&&(P.preventDefault(),M(S))}return D}(),children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,m:1,children:(0,e.createComponentVNode)(2,f.Box,{color:"label",overflow:"hidden",children:b})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:[!!p&&(0,e.createComponentVNode)(2,f.Autofocus),(0,e.createComponentVNode)(2,C,{selected:T})]})]})})})]})}return c}(),C=function(m,d){var l=(0,t.useBackend)(d),s=l.data,i=s.buttons,p=i===void 0?[]:i,v=s.large_buttons,g=s.swapped_buttons,h=m.selected;return(0,e.createComponentVNode)(2,f.Flex,{fill:!0,align:"center",direction:g?"row":"row-reverse",justify:"space-around",wrap:!0,children:p==null?void 0:p.map(function(N,b){return v&&p.length<3?(0,e.createComponentVNode)(2,f.Flex.Item,{grow:!0,children:(0,e.createComponentVNode)(2,u,{button:N,id:b.toString(),selected:h===b})},b):(0,e.createComponentVNode)(2,f.Flex.Item,{grow:v?1:0,children:(0,e.createComponentVNode)(2,u,{button:N,id:b.toString(),selected:h===b})},b)})})},u=function(m,d){var l=(0,t.useBackend)(d),s=l.act,i=l.data,p=i.large_buttons,v=m.button,g=m.selected,h=v.length>7?"100%":7;return(0,e.createComponentVNode)(2,f.Button,{mx:p?1:0,pt:p?.33:0,content:v,fluid:!!p,onClick:function(){function N(){return s("choose",{choice:v})}return N}(),selected:g,textAlign:"center",height:!!p&&2,width:!p&&h})}},88642:function(w,r,n){"use strict";r.__esModule=!0,r.AppearanceChanger=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AppearanceChanger=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.change_race,d=c.species,l=c.specimen,s=c.change_gender,i=c.gender,p=c.change_eye_color,v=c.change_skin_tone,g=c.change_skin_color,h=c.change_head_accessory_color,N=c.change_hair_color,b=c.change_secondary_hair_color,B=c.change_facial_hair_color,I=c.change_secondary_facial_hair_color,L=c.change_head_marking_color,T=c.change_body_marking_color,x=c.change_tail_marking_color,A=c.change_head_accessory,E=c.head_accessory_styles,M=c.head_accessory_style,D=c.change_hair,P=c.hair_styles,R=c.hair_style,j=c.change_hair_gradient,F=c.change_facial_hair,W=c.facial_hair_styles,_=c.facial_hair_style,K=c.change_head_markings,H=c.head_marking_styles,X=c.head_marking_style,Y=c.change_body_markings,J=c.body_marking_styles,le=c.body_marking_style,ce=c.change_tail_markings,fe=c.tail_marking_styles,pe=c.tail_marking_style,he=c.change_body_accessory,te=c.body_accessory_styles,Q=c.body_accessory_style,ae=c.change_alt_head,ee=c.alt_head_styles,oe=c.alt_head_style,ue=!1;return(p||v||g||h||N||b||B||I||L||T||x)&&(ue=!0),(0,e.createComponentVNode)(2,o.Window,{width:800,height:450,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Species",children:d.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.specimen,selected:re.specimen===l,onClick:function(){function ge(){return u("race",{race:re.specimen})}return ge}()},re.specimen)})}),!!s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gender",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Male",selected:i==="male",onClick:function(){function re(){return u("gender",{gender:"male"})}return re}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Female",selected:i==="female",onClick:function(){function re(){return u("gender",{gender:"female"})}return re}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Genderless",selected:i==="plural",onClick:function(){function re(){return u("gender",{gender:"plural"})}return re}()})]}),!!ue&&(0,e.createComponentVNode)(2,V),!!A&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head accessory",children:E.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.headaccessorystyle,selected:re.headaccessorystyle===M,onClick:function(){function ge(){return u("head_accessory",{head_accessory:re.headaccessorystyle})}return ge}()},re.headaccessorystyle)})}),!!D&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair",children:P.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.hairstyle,selected:re.hairstyle===R,onClick:function(){function ge(){return u("hair",{hair:re.hairstyle})}return ge}()},re.hairstyle)})}),!!j&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair Gradient",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Change Style",onClick:function(){function re(){return u("hair_gradient")}return re}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Offset",onClick:function(){function re(){return u("hair_gradient_offset")}return re}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Color",onClick:function(){function re(){return u("hair_gradient_colour")}return re}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Alpha",onClick:function(){function re(){return u("hair_gradient_alpha")}return re}()})]}),!!F&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Facial hair",children:W.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.facialhairstyle,selected:re.facialhairstyle===_,onClick:function(){function ge(){return u("facial_hair",{facial_hair:re.facialhairstyle})}return ge}()},re.facialhairstyle)})}),!!K&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head markings",children:H.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.headmarkingstyle,selected:re.headmarkingstyle===X,onClick:function(){function ge(){return u("head_marking",{head_marking:re.headmarkingstyle})}return ge}()},re.headmarkingstyle)})}),!!Y&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body markings",children:J.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.bodymarkingstyle,selected:re.bodymarkingstyle===le,onClick:function(){function ge(){return u("body_marking",{body_marking:re.bodymarkingstyle})}return ge}()},re.bodymarkingstyle)})}),!!ce&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tail markings",children:fe.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.tailmarkingstyle,selected:re.tailmarkingstyle===pe,onClick:function(){function ge(){return u("tail_marking",{tail_marking:re.tailmarkingstyle})}return ge}()},re.tailmarkingstyle)})}),!!he&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body accessory",children:te.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.bodyaccessorystyle,selected:re.bodyaccessorystyle===Q,onClick:function(){function ge(){return u("body_accessory",{body_accessory:re.bodyaccessorystyle})}return ge}()},re.bodyaccessorystyle)})}),!!ae&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alternate head",children:ee.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.altheadstyle,selected:re.altheadstyle===oe,onClick:function(){function ge(){return u("alt_head",{alt_head:re.altheadstyle})}return ge}()},re.altheadstyle)})})]})})})}return y}(),V=function(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=[{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_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"}];return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Colors",children:m.map(function(d){return!!c[d.key]&&(0,e.createComponentVNode)(2,t.Button,{content:d.text,onClick:function(){function l(){return u(d.action)}return l}()},d.key)})})}},51731:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosAlertConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AtmosAlertConsole=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.priority||[],m=u.minor||[];return(0,e.createComponentVNode)(2,o.Window,{width:350,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Alarms",children:(0,e.createVNode)(1,"ul",null,[c.length===0&&(0,e.createVNode)(1,"li","color-good","No Priority Alerts",16),c.map(function(d){return(0,e.createVNode)(1,"li","color-bad",d,0,null,d)}),m.length===0&&(0,e.createVNode)(1,"li","color-good","No Minor Alerts",16),m.map(function(d){return(0,e.createVNode)(1,"li","color-average",d,0,null,d)})],0)})})})}return V}()},57467:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosControl=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(5126),f=n(45493),V=function(c){if(c===0)return(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Good"});if(c===1)return(0,e.createComponentVNode)(2,t.Box,{color:"orange",bold:!0,children:"Warning"});if(c===2)return(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"DANGER"})},y=function(c){if(c===0)return"green";if(c===1)return"orange";if(c===2)return"red"},S=r.AtmosControl=function(){function u(c,m){var d=(0,a.useBackend)(m),l=d.act,s=d.data,i=(0,a.useLocalState)(m,"tabIndex",0),p=i[0],v=i[1],g=function(){function h(N){switch(N){case 0:return(0,e.createComponentVNode)(2,k);case 1:return(0,e.createComponentVNode)(2,C);default:return"WE SHOULDN'T BE HERE!"}}return h}();return(0,e.createComponentVNode)(2,f.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:p===0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:p===0,onClick:function(){function h(){return v(0)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"table"})," Data View"]},"DataView"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:p===1,onClick:function(){function h(){return v(1)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),g(p)]})})})}return u}(),k=function(c,m){var d=(0,a.useBackend)(m),l=d.act,s=d.data,i=s.alarms;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Access"})]}),i.map(function(p){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,o.TableCell,{children:p.name}),(0,e.createComponentVNode)(2,o.TableCell,{children:V(p.danger)}),(0,e.createComponentVNode)(2,o.TableCell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Access",onClick:function(){function v(){return l("open_alarm",{aref:p.ref})}return v}()})})]},p.name)})]})})},C=function(c,m){var d=(0,a.useBackend)(m),l=d.data,s=(0,a.useLocalState)(m,"zoom",1),i=s[0],p=s[1],v=l.alarms;return(0,e.createComponentVNode)(2,t.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,e.createComponentVNode)(2,t.NanoMap,{onZoom:function(){function g(h){return p(h)}return g}(),children:v.filter(function(g){return g.z===3}).map(function(g){return(0,e.createComponentVNode)(2,t.NanoMap.Marker,{x:g.x,y:g.y,zoom:i,icon:"circle",tooltip:g.name,color:y(g.danger)},g.ref)})})})}},41550:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosFilter=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AtmosFilter=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.on,m=u.pressure,d=u.max_pressure,l=u.filter_type,s=u.filter_type_list;return(0,e.createComponentVNode)(2,o.Window,{width:380,height:140,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:c?"On":"Off",color:c?null:"red",selected:c,onClick:function(){function i(){return C("power")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:m===0,width:2.2,onClick:function(){function i(){return C("min_pressure")}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:d,value:m,onDrag:function(){function i(p,v){return C("custom_pressure",{pressure:v})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:m===d,width:2.2,onClick:function(){function i(){return C("max_pressure")}return i}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filter",children:s.map(function(i){return(0,e.createComponentVNode)(2,t.Button,{selected:i.gas_type===l,content:i.label,onClick:function(){function p(){return C("set_filter",{filter:i.gas_type})}return p}()},i.label)})})]})})})})}return V}()},16688:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosGraphMonitor=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(36121),V=n(50640),y=n(28234),S=["data","rangeX","rangeY","fillColor","strokeColor","strokeWidth","horizontalLinesCount","verticalLinesCount","gridColor","gridWidth","pointTextColor","pointTextSize","labelViewBoxSize"];function k(i,p){if(i==null)return{};var v={},g=Object.keys(i),h,N;for(N=0;N=0)&&(v[h]=i[h]);return v}function C(i,p){i.prototype=Object.create(p.prototype),i.prototype.constructor=i,u(i,p)}function u(i,p){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function v(g,h){return g.__proto__=h,g}return v}(),u(i,p)}var c=r.AtmosGraphMonitor=function(){function i(p,v){var g=(0,a.useBackend)(v),h=g.data,N=(0,a.useLocalState)(v,"tabIndex",0),b=N[0],B=N[1],I=function(){function T(x){switch(x){case 0:return(0,e.createComponentVNode)(2,m,{data:h,info:"\u0418\u043D\u0442\u0435\u0440\u0432\u0430\u043B \u0437\u0430\u043F\u0438\u0441\u0438 T = 60 \u0441. | \u0418\u043D\u0442\u0435\u0440\u0432\u0430\u043B \u043C\u0435\u0436\u0434\u0443 \u0437\u0430\u043F\u0438\u0441\u044F\u043C\u0438 t = 3 \u0441.",pressureListName:"pressure_history",temperatureListName:"temperature_history"});case 1:return(0,e.createComponentVNode)(2,m,{data:h,info:"\u0418\u043D\u0442\u0435\u0440\u0432\u0430\u043B \u0437\u0430\u043F\u0438\u0441\u0438 T = 10 \u043C\u0438\u043D. | \u0418\u043D\u0442\u0435\u0440\u0432\u0430\u043B \u043C\u0435\u0436\u0434\u0443 \u0437\u0430\u043F\u0438\u0441\u044F\u043C\u0438 t = 30 \u0441.",pressureListName:"long_pressure_history",temperatureListName:"long_temperature_history"});default:return"WE SHOULDN'T BE HERE!"}}return T}(),L=function(){function T(x){switch(x){case 0:return 180;case 1:return 350;case 2:return 590;case 3:return 830;default:return 870}}return T}();return(0,e.createComponentVNode)(2,o.Window,{width:700,height:L(Object.keys(h.sensors).length),children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:b===0,onClick:function(){function T(){return B(0)}return T}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"area-chart"})," \u0422\u0435\u043A\u0443\u0449\u0438\u0435"]},"View"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:b===1,onClick:function(){function T(){return B(1)}return T}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"bar-chart"})," \u0418\u0441\u0442\u043E\u0440\u0438\u044F"]},"History")]}),I(b),Object.keys(h.sensors).length===0&&(0,e.createComponentVNode)(2,t.Box,{pt:2,textAlign:"center",textColor:"gray",bold:!0,fontSize:1.3,children:"\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u0435 gas sensor \u0438\u043B\u0438 meter \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E multitool"})]})})})}return i}(),m=function(p){var v=p.data,g=p.info,h=p.pressureListName,N=p.temperatureListName,b=v.sensors||{},B=function(A,E){return b[A][E].slice(-1)[0]},I=function(A,E){return Math.min.apply(Math,b[A][E])},L=function(A,E){return Math.max.apply(Math,b[A][E])},T=function(A,E){return b[A][E].map(function(M,D){return[D,M]})};return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{color:"gray",children:g}),Object.keys(b).map(function(x){return(0,e.createComponentVNode)(2,t.Section,{title:x,children:(0,e.createComponentVNode)(2,t.Section,{px:2,children:[N in b[x]&&(0,e.createComponentVNode)(2,t.Box,{mb:4,children:[(0,e.createComponentVNode)(2,t.Box,{children:"\u0422\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430: "+(0,f.toFixed)(B(x,N),0)+"\u041A (MIN: "+(0,f.toFixed)(I(x,N),0)+"\u041A; MAX: "+(0,f.toFixed)(L(x,N),0)+"\u041A)"}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,height:5,mt:1,children:(0,e.createComponentVNode)(2,s,{fillPositionedParent:!0,data:T(x,N),rangeX:[0,T(x,N).length-1],rangeY:[I(x,N)-10,L(x,N)+5],strokeColor:"rgba(219, 40, 40, 1)",fillColor:"rgba(219, 40, 40, 0.1)",horizontalLinesCount:2,verticalLinesCount:T(x,N).length-2,labelViewBoxSize:400})})]}),h in b[x]&&(0,e.createComponentVNode)(2,t.Box,{mb:-1,children:[(0,e.createComponentVNode)(2,t.Box,{children:"\u0414\u0430\u0432\u043B\u0435\u043D\u0438\u0435: "+(0,f.toFixed)(B(x,h),0)+"\u043A\u041F\u0430 (MIN: "+(0,f.toFixed)(I(x,h),0)+"\u043A\u041F\u0430; MAX: "+(0,f.toFixed)(L(x,h),0)+"\u043A\u041F\u0430)"}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,height:5,mt:1,children:(0,e.createComponentVNode)(2,s,{fillPositionedParent:!0,data:T(x,h),rangeX:[0,T(x,h).length-1],rangeY:[I(x,h)-10,L(x,h)+5],strokeColor:"rgba(40, 219, 40, 1)",fillColor:"rgba(40, 219, 40, 0.1)",horizontalLinesCount:2,verticalLinesCount:T(x,h).length-2,labelViewBoxSize:400})})]})]})},x)})]})},d=function(p,v,g,h){if(p.length===0)return[];var N=(0,V.zipWith)(Math.min).apply(void 0,p),b=(0,V.zipWith)(Math.max).apply(void 0,p);g!==void 0&&(N[0]=g[0],b[0]=g[1]),h!==void 0&&(N[1]=h[0],b[1]=h[1]);var B=function(x,A,E,M){return(x-A)/(E-A)*M},I=(0,V.zipWith)(B),L=(0,V.map)(function(T){return I(T,N,b,v)});return L(p)},l=function(p){for(var v="",g=0;g0){var Q=te[0],ae=te[te.length-1];te.push([he[0]+D,ae[1]]),te.push([he[0]+D,-D]),te.push([-D,-D]),te.push([-D,Q[1]])}var ee=l(te);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({position:"relative"},pe,{children:function(){function oe(ue){return(0,e.normalizeProps)((0,e.createVNode)(1,"div",null,(0,e.createVNode)(32,"svg",null,[Array.from({length:R}).map(function(re,ge){return(0,e.createVNode)(32,"line",null,null,1,{x1:0,y1:(ge+1)*(he[1]/(R+1)),x2:he[0],y2:(ge+1)*(he[1]/(R+1)),stroke:_,"stroke-width":H},"horizontal-line-"+ge)}),Array.from({length:F}).map(function(re,ge){return(0,e.createVNode)(32,"line",null,null,1,{x1:(ge+1)*(he[0]/(F+1)),y1:0,x2:(ge+1)*(he[0]/(F+1)),y2:he[1],stroke:_,"stroke-width":H},"vertical-line-"+ge)}),(0,e.createVNode)(32,"polyline",null,null,1,{transform:"scale(1, -1) translate(0, -"+he[1]+")",fill:x,points:ee}),B.map(function(re,ge){return ge===0?null:(0,e.createVNode)(32,"line",null,null,1,{x1:te[ge-1][0],y1:he[1]-te[ge-1][1],x2:te[ge][0],y2:he[1]-te[ge][1],stroke:E,"stroke-width":D},"line-"+ge)}),B.map(function(re,ge){return(0,e.createVNode)(32,"circle",null,null,1,{cx:te[ge][0],cy:he[1]-te[ge][1],r:2,fill:"#ffffff",stroke:E,"stroke-width":1},"point-"+ge)}),B.map(function(re,ge){return he[0]>fe&&ge%2===1&&(0,e.createVNode)(32,"text",null,re[1]!==null?re[1].toFixed(0):"N/A",0,{x:te[ge][0],y:he[1]-te[ge][1],fill:Y,"font-size":le,dy:"1em",style:{"text-anchor":"end"}},"point-text-"+ge)})],0,{viewBox:"0 0 "+he[0]+" "+he[1]}),2,Object.assign({},ue),null,h.ref))}return oe}()})))}return g}(),p}(e.Component);s.defaultHooks=void 0,s.defaultHooks=y.pureComponentHooks},70151:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosMixer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AtmosMixer=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.on,d=c.pressure,l=c.max_pressure,s=c.node1_concentration,i=c.node2_concentration;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:165,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:m?"On":"Off",color:m?null:"red",selected:m,onClick:function(){function p(){return u("power")}return p}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:d===0,width:2.2,onClick:function(){function p(){return u("min_pressure")}return p}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:l,value:d,onDrag:function(){function p(v,g){return u("custom_pressure",{pressure:g})}return p}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:d===l,width:2.2,onClick:function(){function p(){return u("max_pressure")}return p}()})]}),(0,e.createComponentVNode)(2,V,{node_name:"Node 1",node_ref:s}),(0,e.createComponentVNode)(2,V,{node_name:"Node 2",node_ref:i})]})})})})}return y}(),V=function(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=S.node_name,d=S.node_ref;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:m,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",width:2.2,disabled:d===0,onClick:function(){function l(){return u("set_node",{node_name:m,concentration:(d-10)/100})}return l}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"%",width:6.1,lineHeight:1.5,stepPixelSize:10,minValue:0,maxValue:100,value:d,onChange:function(){function l(s,i){return u("set_node",{node_name:m,concentration:i/100})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",width:2.2,disabled:d===100,onClick:function(){function l(){return u("set_node",{node_name:m,concentration:(d+10)/100})}return l}()})]})}},54090:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosPump=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AtmosPump=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.on,m=u.rate,d=u.max_rate,l=u.gas_unit,s=u.step;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:110,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:c?"On":"Off",color:c?null:"red",selected:c,onClick:function(){function i(){return C("power")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:m===0,width:2.2,onClick:function(){function i(){return C("min_rate")}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:l,width:6.1,lineHeight:1.5,step:s,minValue:0,maxValue:d,value:m,onDrag:function(){function i(p,v){return C("custom_rate",{rate:v})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:m===d,width:2.2,onClick:function(){function i(){return C("max_rate")}return i}()})]})]})})})})}return V}()},31335:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosTankControl=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(36121),f=n(38424),V=n(45493),y=r.AtmosTankControl=function(){function S(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.sensors||{};return(0,e.createComponentVNode)(2,V.Window,{width:400,height:400,children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:[Object.keys(d).map(function(l){return(0,e.createComponentVNode)(2,t.Section,{title:l,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[Object.keys(d[l]).indexOf("pressure")>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:[d[l].pressure," kpa"]}):"",Object.keys(d[l]).indexOf("temperature")>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:[d[l].temperature," K"]}):"",["o2","n2","plasma","co2","n2o"].map(function(s){return Object.keys(d[l]).indexOf(s)>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:(0,f.getGasLabel)(s),children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:(0,f.getGasColor)(s),value:d[l][s],minValue:0,maxValue:100,children:(0,o.toFixed)(d[l][s],2)+"%"})},(0,f.getGasLabel)(s)):""})]})},l)}),m.inlet&&Object.keys(m.inlet).length>0?(0,e.createComponentVNode)(2,t.Section,{title:"Inlet Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:(m.inlet.on,"power-off"),content:m.inlet.on?"On":"Off",color:m.inlet.on?null:"red",selected:m.inlet.on,onClick:function(){function l(){return c("toggle_active",{dev:"inlet"})}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"L/s",width:6.1,lineHeight:1.5,step:1,minValue:0,maxValue:50,value:m.inlet.rate,onDrag:function(){function l(s,i){return c("set_pressure",{dev:"inlet",val:i})}return l}()})})]})}):"",m.outlet&&Object.keys(m.outlet).length>0?(0,e.createComponentVNode)(2,t.Section,{title:"Outlet Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:(m.outlet.on,"power-off"),content:m.outlet.on?"On":"Off",color:m.outlet.on?null:"red",selected:m.outlet.on,onClick:function(){function l(){return c("toggle_active",{dev:"outlet"})}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:5066,value:m.outlet.rate,onDrag:function(){function l(s,i){return c("set_pressure",{dev:"outlet",val:i})}return l}()})})]})}):""]})})}return S}()},85909:function(w,r,n){"use strict";r.__esModule=!0,r.Autolathe=void 0;var e=n(96524),a=n(74041),t=n(50640),o=n(17899),f=n(24674),V=n(45493),y=n(78234),S=function(u,c,m,d){return u.requirements===null?!0:!(u.requirements.metal*d>c||u.requirements.glass*d>m)},k=r.Autolathe=function(){function C(u,c){var m=(0,o.useBackend)(c),d=m.act,l=m.data,s=l.total_amount,i=l.max_amount,p=l.metal_amount,v=l.glass_amount,g=l.busyname,h=l.busyamt,N=l.showhacked,b=l.buildQueue,B=l.buildQueueLen,I=l.recipes,L=l.categories,T=(0,o.useSharedState)(c,"category",0),x=T[0],A=T[1];x===0&&(x="Tools");var E=p.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),M=v.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),D=s.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),P=(0,o.useSharedState)(c,"search_text",""),R=P[0],j=P[1],F=(0,y.createSearch)(R,function(H){return H.name}),W="";B>0&&(W=b.map(function(H,X){return(0,e.createComponentVNode)(2,f.Box,{children:(0,e.createComponentVNode)(2,f.Button,{fluid:!0,icon:"times",color:"transparent",content:b[X][0],onClick:function(){function Y(){return d("remove_from_queue",{remove_from_queue:b.indexOf(H)+1})}return Y}()},H)},X)}));var _=(0,a.flow)([(0,t.filter)(function(H){return(H.category.indexOf(x)>-1||R)&&(l.showhacked||!H.hacked)}),R&&(0,t.filter)(F),(0,t.sortBy)(function(H){return H.name.toLowerCase()})])(I),K="Build";return R?K="Results for: '"+R+"':":x&&(K="Build ("+x+")"),(0,e.createComponentVNode)(2,V.Window,{width:750,height:525,children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,horizontal:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{width:"70%",children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,title:K,buttons:(0,e.createComponentVNode)(2,f.Dropdown,{width:"150px",options:L,selected:x,onSelected:function(){function H(X){return A(X)}return H}()}),children:[(0,e.createComponentVNode)(2,f.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function H(X,Y){return j(Y)}return H}(),mb:1}),_.map(function(H){return(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+H.image,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}}),(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:l.busyname===H.name&&l.busyamt===1,disabled:!S(H,l.metal_amount,l.glass_amount,1),onClick:function(){function X(){return d("make",{make:H.uid,multiplier:1})}return X}(),children:(0,y.toTitleCase)(H.name)}),H.max_multiplier>=10&&(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:l.busyname===H.name&&l.busyamt===10,disabled:!S(H,l.metal_amount,l.glass_amount,10),onClick:function(){function X(){return d("make",{make:H.uid,multiplier:10})}return X}(),children:"10x"}),H.max_multiplier>=25&&(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:l.busyname===H.name&&l.busyamt===25,disabled:!S(H,l.metal_amount,l.glass_amount,25),onClick:function(){function X(){return d("make",{make:H.uid,multiplier:25})}return X}(),children:"25x"}),H.max_multiplier>25&&(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:l.busyname===H.name&&l.busyamt===H.max_multiplier,disabled:!S(H,l.metal_amount,l.glass_amount,H.max_multiplier),onClick:function(){function X(){return d("make",{make:H.uid,multiplier:H.max_multiplier})}return X}(),children:[H.max_multiplier,"x"]}),H.requirements&&Object.keys(H.requirements).map(function(X){return(0,y.toTitleCase)(X)+": "+H.requirements[X]}).join(", ")||(0,e.createComponentVNode)(2,f.Box,{children:"No resources required."})]},H.ref)})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{width:"30%",children:[(0,e.createComponentVNode)(2,f.Section,{title:"Materials",children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Metal",children:E}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Glass",children:M}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Total",children:D}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Storage",children:[l.fill_percent,"% Full"]})]})}),(0,e.createComponentVNode)(2,f.Section,{title:"Building",children:(0,e.createComponentVNode)(2,f.Box,{color:g?"green":"",children:g||"Nothing"})}),(0,e.createComponentVNode)(2,f.Section,{title:"Build Queue",height:23.7,children:[W,(0,e.createComponentVNode)(2,f.Button,{mt:.5,fluid:!0,icon:"times",content:"Clear All",color:"red",disabled:!l.buildQueueLen,onClick:function(){function H(){return d("clear_queue")}return H}()})]})]})]})})})}return C}()},81617:function(w,r,n){"use strict";r.__esModule=!0,r.BioChipPad=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.BioChipPad=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.implant,m=u.contains_case;return(0,e.createComponentVNode)(2,o.Window,{width:410,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Bio-chip Mini-Computer",children:[c&&m?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{bold:!0,mb:2,children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+c.image,ml:0,mr:2,style:{"vertical-align":"middle",width:"32px"}}),c.name]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Life",children:c.life}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Notes",children:c.notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Function",children:c.function})]})],4):m?(0,e.createComponentVNode)(2,t.Box,{children:"This bio-chip case has no implant!"}):(0,e.createComponentVNode)(2,t.Box,{children:"Please insert a bio-chip casing!"}),(0,e.createComponentVNode)(2,t.Button,{mt:2,content:"Eject Case",icon:"eject",disabled:!m,onClick:function(){function d(){return C("eject_case")}return d}()})]})})})}return V}()},26215:function(w,r,n){"use strict";r.__esModule=!0,r.Biogenerator=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(75201),V=r.Biogenerator=function(){function u(c,m){var d=(0,a.useBackend)(m),l=d.data,s=d.config,i=l.container,p=l.processing,v=s.title;return(0,e.createComponentVNode)(2,o.Window,{width:390,height:595,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Operating,{operating:p,name:v}),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,k),i?(0,e.createComponentVNode)(2,C):(0,e.createComponentVNode)(2,y)]})})})}return u}(),y=function(c,m){return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"silver",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"flask",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),"The biogenerator is missing a container."]})})})},S=function(c,m){var d=(0,a.useBackend)(m),l=d.act,s=d.data,i=s.biomass,p=s.container,v=s.container_curr_reagents,g=s.container_max_reagents;return(0,e.createComponentVNode)(2,t.Section,{title:"Storage",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"20px",color:"silver",children:"Biomass:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"5px",children:i}),(0,e.createComponentVNode)(2,t.Icon,{name:"leaf",size:1.2,color:"#3d8c40"})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"21px",mt:"8px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"10px",color:"silver",children:"Container:"}),p?(0,e.createComponentVNode)(2,t.ProgressBar,{value:v,maxValue:g,children:(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:v+" / "+g+" units"})}):(0,e.createComponentVNode)(2,t.Stack.Item,{children:"None"})]})]})},k=function(c,m){var d=(0,a.useBackend)(m),l=d.act,s=d.data,i=s.has_plants,p=s.container;return(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"power-off",disabled:!i,tooltip:i?"":"There are no plants in the biogenerator.",tooltipPosition:"top-start",content:"Activate",onClick:function(){function v(){return l("activate")}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"flask",disabled:!p,tooltip:p?"":"The biogenerator does not have a container.",tooltipPosition:"top",content:"Detach Container",onClick:function(){function v(){return l("detach_container")}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",disabled:!i,tooltip:i?"":"There are no stored plants to eject.",tooltipPosition:"top-end",content:"Eject Plants",onClick:function(){function v(){return l("eject_plants")}return v}()})})]})})},C=function(c,m){var d=(0,a.useBackend)(m),l=d.act,s=d.data,i=s.biomass,p=s.product_list,v=(0,a.useSharedState)(m,"vendAmount",1),g=v[0],h=v[1],N=Object.entries(p).map(function(b,B){var I=Object.entries(b[1]).map(function(L){return L[1]});return(0,e.createComponentVNode)(2,t.Collapsible,{title:b[0],open:!0,children:I.map(function(L){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",ml:"2px",children:L.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"right",width:"20%",children:[L.cost*g,(0,e.createComponentVNode)(2,t.Icon,{ml:"5px",name:"leaf",size:1.2,color:"#3d8c40"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"right",width:"40%",children:(0,e.createComponentVNode)(2,t.Button,{content:"Vend",disabled:il&&"bad"||"good";return(0,e.createComponentVNode)(2,o.Window,{width:650,height:450,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!h&&(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"Safety Protocols disabled"}),l>N&&(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"High Power, Instability likely"}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"Input Management",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input Level",children:l}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Desired Level",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:d===0,tooltip:"Set to 0",onClick:function(){function I(){return u("set",{set_level:0})}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"step-backward",tooltip:"Decrease to actual input level",disabled:d===0,onClick:function(){function I(){return u("set",{set_level:l})}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:d===0,tooltip:"Decrease one step",onClick:function(){function I(){return u("decrease")}return I}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,mx:1,children:(0,e.createComponentVNode)(2,t.Slider,{value:d,fillValue:l,minValue:0,color:B,maxValue:g,stepPixelSize:20,step:1,onChange:function(){function I(L,T){return u("set",{set_level:T})}return I}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:d===g,tooltip:"Increase one step",tooltipPosition:"left",onClick:function(){function I(){return u("increase")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:d===g,tooltip:"Set to max",tooltipPosition:"left",onClick:function(){function I(){return u("set",{set_level:g})}return I}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Power Use",children:(0,f.formatPower)(p)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power for next level",children:(0,f.formatPower)(b)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Surplus Power",children:(0,f.formatPower)(v)})]})})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Output",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Points",children:s}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Points",children:i})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{align:"end",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:m.map(function(I){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:I.name,children:(0,e.createComponentVNode)(2,t.Button,{disabled:I.price>=s,onClick:function(){function L(){return u("vend",{target:I.key})}return L}(),content:I.price})},I.key)})})})})]})})]})})})}return y}()},71736:function(w,r,n){"use strict";r.__esModule=!0,r.BodyScanner=void 0;var e=n(96524),a=n(36121),t=n(78234),o=n(17899),f=n(24674),V=n(45493),y=[["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."]],k=[["Respiratory","oxyLoss"],["Brain","brainLoss"],["Toxin","toxLoss"],["Radiation","radLoss"],["Brute","bruteLoss"],["Cellular","cloneLoss"],["Burn","fireLoss"],["Inebriation","drunkenness"]],C={average:[.25,.5],bad:[.5,1/0]},u=function(B,I){for(var L=[],T=0;T0?B.filter(function(I){return!!I}).reduce(function(I,L){return(0,e.createFragment)([I,(0,e.createComponentVNode)(2,f.Box,{children:L},L)],0)},null):null},m=function(B){if(B>100){if(B<300)return"mild infection";if(B<400)return"mild infection+";if(B<500)return"mild infection++";if(B<700)return"acute infection";if(B<800)return"acute infection+";if(B<900)return"acute infection++";if(B>=900)return"septic"}return""},d=r.BodyScanner=function(){function b(B,I){var L=(0,o.useBackend)(I),T=L.data,x=T.occupied,A=T.occupant,E=A===void 0?{}:A,M=x?(0,e.createComponentVNode)(2,l,{occupant:E}):(0,e.createComponentVNode)(2,N);return(0,e.createComponentVNode)(2,V.Window,{width:700,height:600,title:"Body Scanner",children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:M})})}return b}(),l=function(B){var I=B.occupant;return(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,s,{occupant:I}),(0,e.createComponentVNode)(2,i,{occupant:I}),(0,e.createComponentVNode)(2,p,{occupant:I}),(0,e.createComponentVNode)(2,g,{organs:I.extOrgan}),(0,e.createComponentVNode)(2,h,{organs:I.intOrgan})]})},s=function(B,I){var L=(0,o.useBackend)(I),T=L.act,x=L.data,A=x.occupant;return(0,e.createComponentVNode)(2,f.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Button,{icon:"print",onClick:function(){function E(){return T("print_p")}return E}(),children:"Print Report"}),(0,e.createComponentVNode)(2,f.Button,{icon:"user-slash",onClick:function(){function E(){return T("ejectify")}return E}(),children:"Eject"})],4),children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Name",children:A.name}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:A.maxHealth,value:A.health/A.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Status",color:y[A.stat][0],children:y[A.stat][1]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,f.AnimatedNumber,{value:(0,a.round)(A.bodyTempC)}),"\xB0C,\xA0",(0,e.createComponentVNode)(2,f.AnimatedNumber,{value:(0,a.round)(A.bodyTempF)}),"\xB0F"]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Implants",children:A.implant_len?(0,e.createComponentVNode)(2,f.Box,{children:A.implant.map(function(E){return E.name}).join(", ")}):(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"None"})})]})})},i=function(B){var I=B.occupant;return I.hasBorer||I.blind||I.colourblind||I.nearsighted||I.hasVirus?(0,e.createComponentVNode)(2,f.Section,{title:"Abnormalities",children:S.map(function(L,T){if(I[L[0]])return(0,e.createComponentVNode)(2,f.Box,{color:L[1],bold:L[1]==="bad",children:L[2]},L[2])})}):(0,e.createComponentVNode)(2,f.Section,{title:"Abnormalities",children:(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"No abnormalities found."})})},p=function(B){var I=B.occupant;return(0,e.createComponentVNode)(2,f.Section,{title:"Damage",children:(0,e.createComponentVNode)(2,f.Table,{children:u(k,function(L,T,x){return(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Table.Row,{color:"label",children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:[L[0],":"]}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:!!T&&T[0]+":"})]}),(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:(0,e.createComponentVNode)(2,v,{value:I[L[1]],marginBottom:x100)&&"average"||!!I.status.robotic&&"label",width:"33%",children:(0,t.capitalize)(I.name)}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,f.ProgressBar,{m:-.5,min:"0",max:I.maxHealth,mt:L>0&&"0.5rem",value:I.totalLoss/I.maxHealth,ranges:C,children:(0,e.createComponentVNode)(2,f.Stack,{children:[(0,e.createComponentVNode)(2,f.Tooltip,{content:"Total damage",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:[(0,e.createComponentVNode)(2,f.Icon,{name:"heartbeat",mr:.5}),(0,a.round)(I.totalLoss)]})}),!!I.bruteLoss&&(0,e.createComponentVNode)(2,f.Tooltip,{content:"Brute damage",children:(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:[(0,e.createComponentVNode)(2,f.Icon,{name:"bone",mr:.5}),(0,a.round)(I.bruteLoss)]})}),!!I.fireLoss&&(0,e.createComponentVNode)(2,f.Tooltip,{content:"Burn damage",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:[(0,e.createComponentVNode)(2,f.Icon,{name:"fire",mr:.5}),(0,a.round)(I.fireLoss)]})})]})})}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:L>0&&"calc(0.5rem + 2px)",children:[(0,e.createComponentVNode)(2,f.Box,{color:"average",inline:!0,children:c([!!I.internalBleeding&&"Internal bleeding",!!I.burnWound&&"Critical tissue burns",!!I.lungRuptured&&"Ruptured lung",!!I.status.broken&&I.status.broken,m(I.germ_level),!!I.open&&"Open incision"])}),(0,e.createComponentVNode)(2,f.Box,{inline:!0,children:[c([!!I.status.splinted&&(0,e.createComponentVNode)(2,f.Box,{color:"good",children:"Splinted"}),!!I.status.robotic&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"Robotic"}),!!I.status.dead&&(0,e.createComponentVNode)(2,f.Box,{color:"bad",bold:!0,children:"DEAD"})]),c(I.shrapnel.map(function(T){return T.known?T.name:"Unknown object"}))]})]})]},L)})]})})},h=function(B){return B.organs.length===0?(0,e.createComponentVNode)(2,f.Section,{title:"Internal Organs",children:(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"N/A"})}):(0,e.createComponentVNode)(2,f.Section,{title:"Internal Organs",children:(0,e.createComponentVNode)(2,f.Table,{children:[(0,e.createComponentVNode)(2,f.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"center",children:"Damage"}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",children:"Injuries"})]}),B.organs.map(function(I,L){return(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{color:!!I.dead&&"bad"||I.germ_level>100&&"average"||I.robotic>0&&"label",width:"33%",children:(0,t.capitalize)(I.name)}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:I.maxHealth,value:I.damage/I.maxHealth,mt:L>0&&"0.5rem",ranges:C,children:(0,a.round)(I.damage)})}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:L>0&&"calc(0.5rem + 2px)",children:[(0,e.createComponentVNode)(2,f.Box,{color:"average",inline:!0,children:c([m(I.germ_level)])}),(0,e.createComponentVNode)(2,f.Box,{inline:!0,children:c([I.robotic===1&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"Robotic"}),I.robotic===2&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"Assisted"}),!!I.dead&&(0,e.createComponentVNode)(2,f.Box,{color:"bad",bold:!0,children:"DEAD"})])})]})]},L)})]})})},N=function(){return(0,e.createComponentVNode)(2,f.Section,{fill:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,f.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}},99449:function(w,r,n){"use strict";r.__esModule=!0,r.BookBinder=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(99665),V=n(18963),y=r.BookBinder=function(){function S(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.selectedbook,l=m.book_categories,s=[];return l.map(function(i){return s[i.description]=i.category_id}),(0,e.createComponentVNode)(2,o.Window,{width:600,height:400,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Book Binder",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"print",width:"auto",content:"Print Book",onClick:function(){function i(){return c("print_book")}return i}()}),children:[(0,e.createComponentVNode)(2,t.Box,{ml:10,fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"search-plus",verticalAlign:"middle",size:3,mr:"1rem"}),"Book Binder"]}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:"auto",content:d.title,onClick:function(){function i(){return(0,f.modalOpen)(C,"edit_selected_title")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:"auto",content:d.author,onClick:function(){function i(){return(0,f.modalOpen)(C,"edit_selected_author")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Categories",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Dropdown,{width:"190px",options:l.map(function(i){return i.description}),onSelected:function(){function i(p){return c("toggle_binder_category",{category_id:s[p]})}return i}()})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Summary",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pen",width:"auto",content:"Edit Summary",onClick:function(){function i(){return(0,f.modalOpen)(C,"edit_selected_summary")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:d.summary})]}),(0,e.createVNode)(1,"br"),l.filter(function(i){return d.categories.includes(i.category_id)}).map(function(i){return(0,e.createComponentVNode)(2,t.Button,{content:i.description,selected:!0,icon:"unlink",onClick:function(){function p(){return c("toggle_binder_category",{category_id:i.category_id})}return p}()},i.category_id)})]})})]})})})]})}return S}()},85951:function(w,r,n){"use strict";r.__esModule=!0,r.BotCall=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(u){var c=[{modes:[0],label:"Idle",color:"green"},{modes:[1,2,3],label:"Arresting",color:"yellow"},{modes:[4,5],label:"Patrolling",color:"average"},{modes:[9],label:"Moving",color:"average"},{modes:[6,11],label:"Responding",color:"green"},{modes:[12],label:"Delivering Cargo",color:"blue"},{modes:[13],label:"Returning Home",color:"blue"},{modes:[7,8,10,14,15,16,17,18,19],label:"Working",color:"blue"}],m=c.find(function(d){return d.modes.includes(u)});return(0,e.createComponentVNode)(2,t.Box,{color:m.color,children:[" ",m.label," "]})},V=r.BotCall=function(){function C(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=(0,a.useLocalState)(c,"tabIndex",0),i=s[0],p=s[1],v={0:"Security",1:"Medibot",2:"Cleanbot",3:"Floorbot",4:"Mule",5:"Honkbot"},g=function(){function h(N){return v[N]?(0,e.createComponentVNode)(2,y,{model:v[N]}):"This should not happen. Report on Paradise Github"}return h}();return(0,e.createComponentVNode)(2,o.Window,{width:700,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:i===0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,textAlign:"center",children:Array.from({length:6}).map(function(h,N){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:i===N,onClick:function(){function b(){return p(N)}return b}(),children:v[N]},N)})})}),g(i)]})})})}return C}(),y=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.bots;return s[u.model]!==void 0?(0,e.createComponentVNode)(2,k,{model:[u.model]}):(0,e.createComponentVNode)(2,S,{model:[u.model]})},S=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data;return(0,e.createComponentVNode)(2,t.Stack,{justify:"center",align:"center",fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Box,{bold:1,color:"bad",children:["No ",[u.model]," detected"]})})},k=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.bots;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Model"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Location"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Interface"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Call"})]}),s[u.model].map(function(i){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.model}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.on?f(i.status):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Off"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.location}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Interface",onClick:function(){function p(){return d("interface",{botref:i.UID})}return p}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Call",onClick:function(){function p(){return d("call",{botref:i.UID})}return p}()})})]},i.UID)})]})})})}},43506:function(w,r,n){"use strict";r.__esModule=!0,r.BotClean=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(69521),V=r.BotClean=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.locked,d=c.noaccess,l=c.maintpanel,s=c.on,i=c.autopatrol,p=c.canhack,v=c.emagged,g=c.remote_disabled,h=c.painame,N=c.cleanblood,b=c.area;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,f.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Cleaning Settings",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:N,content:"Clean Blood",disabled:d,onClick:function(){function B(){return u("blood")}return B}()})}),(0,e.createComponentVNode)(2,t.Section,{title:"Misc Settings",children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:b?"Reset Area Selection":"Restrict to Current Area",onClick:function(){function B(){return u("area")}return B}()}),b!==null&&(0,e.createComponentVNode)(2,t.LabeledList,{mb:1,children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Locked Area",children:b})})]}),h&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:h,disabled:d,onClick:function(){function B(){return u("ejectpai")}return B}()})})]})})}return y}()},89593:function(w,r,n){"use strict";r.__esModule=!0,r.BotFloor=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(69521),V=r.BotFloor=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.noaccess,d=c.painame,l=c.hullplating,s=c.replace,i=c.eat,p=c.make,v=c.fixfloor,g=c.nag_empty,h=c.magnet,N=c.tiles_amount;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:510,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,f.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Floor Settings",children:[(0,e.createComponentVNode)(2,t.Box,{mb:"5px",children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tiles Left",children:N})}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:l,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:m,onClick:function(){function b(){return u("autotile")}return b}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:s,content:"Add floor tiles on exposed hull plating",tooltip:"Example: It will add tiles to maintenance",disabled:m,onClick:function(){function b(){return u("replacetiles")}return b}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:v,content:"Repair damaged tiles and platings",disabled:m,onClick:function(){function b(){return u("fixfloors")}return b}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Miscellaneous",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:i,content:"Finds tiles",disabled:m,onClick:function(){function b(){return u("eattiles")}return b}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:p,content:"Make pieces of metal into tiles when empty",disabled:m,onClick:function(){function b(){return u("maketiles")}return b}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:g,content:"Transmit notice when empty",disabled:m,onClick:function(){function b(){return u("nagonempty")}return b}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:h,content:"Traction Magnets",disabled:m,onClick:function(){function b(){return u("anchored")}return b}()})]}),d&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,icon:"eject",content:d,disabled:m,onClick:function(){function b(){return u("ejectpai")}return b}()})})]})})}return y}()},89513:function(w,r,n){"use strict";r.__esModule=!0,r.BotHonk=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(69521),V=r.BotHonk=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:220,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,f.BotStatus)})})}return y}()},19297:function(w,r,n){"use strict";r.__esModule=!0,r.BotMed=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(69521),V=r.BotMed=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.locked,d=c.noaccess,l=c.maintpanel,s=c.on,i=c.autopatrol,p=c.canhack,v=c.emagged,g=c.remote_disabled,h=c.painame,N=c.shut_up,b=c.declare_crit,B=c.stationary_mode,I=c.heal_threshold,L=c.injection_amount,T=c.use_beaker,x=c.treat_virus,A=c.reagent_glass;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Communication Settings",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Speaker",checked:!N,disabled:d,onClick:function(){function E(){return u("toggle_speaker")}return E}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Critical Patient Alerts",checked:b,disabled:d,onClick:function(){function E(){return u("toggle_critical_alerts")}return E}()})]}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Treatment Settings",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Healing Threshold",children:(0,e.createComponentVNode)(2,t.Slider,{value:I.value,minValue:I.min,maxValue:I.max,step:5,disabled:d,onChange:function(){function E(M,D){return u("set_heal_threshold",{target:D})}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Injection Level",children:(0,e.createComponentVNode)(2,t.Slider,{value:L.value,minValue:L.min,maxValue:L.max,step:5,format:function(){function E(M){return M+"u"}return E}(),disabled:d,onChange:function(){function E(M,D){return u("set_injection_amount",{target:D})}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reagent Source",children:(0,e.createComponentVNode)(2,t.Button,{content:T?"Beaker":"Internal Synthesizer",icon:T?"flask":"cogs",disabled:d,onClick:function(){function E(){return u("toggle_use_beaker")}return E}()})}),A&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:A.amount,minValue:0,maxValue:A.max_amount,children:[A.amount," / ",A.max_amount]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{ml:1,children:(0,e.createComponentVNode)(2,t.Button,{content:"Eject",disabled:d,onClick:function(){function E(){return u("eject_reagent_glass")}return E}()})})]})})]}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{mt:1,fluid:!0,content:"Treat Viral Infections",checked:x,disabled:d,onClick:function(){function E(){return u("toggle_treat_viral")}return E}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Stationary Mode",checked:B,disabled:d,onClick:function(){function E(){return u("toggle_stationary_mode")}return E}()})]}),h&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:h,disabled:d,onClick:function(){function E(){return u("ejectpai")}return E}()})})]})})})}return y}()},4249:function(w,r,n){"use strict";r.__esModule=!0,r.BotSecurity=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(69521),V=r.BotSecurity=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.noaccess,d=c.painame,l=c.check_id,s=c.check_weapons,i=c.check_warrant,p=c.arrest_mode,v=c.arrest_declare;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:445,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,f.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Who To Arrest",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:l,content:"Unidentifiable Persons",disabled:m,onClick:function(){function g(){return u("authid")}return g}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:s,content:"Unauthorized Weapons",disabled:m,onClick:function(){function g(){return u("authweapon")}return g}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:i,content:"Wanted Criminals",disabled:m,onClick:function(){function g(){return u("authwarrant")}return g}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Arrest Procedure",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:p,content:"Detain Targets Indefinitely",disabled:m,onClick:function(){function g(){return u("arrtype")}return g}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:v,content:"Announce Arrests On Radio",disabled:m,onClick:function(){function g(){return u("arrdeclare")}return g}()})]}),d&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:d,disabled:m,onClick:function(){function g(){return u("ejectpai")}return g}()})})]})})}return y}()},27267:function(w,r,n){"use strict";r.__esModule=!0,r.BrigCells=void 0;var e=n(96524),a=n(45493),t=n(24674),o=n(17899),f=function(k,C){var u=k.cell,c=(0,o.useBackend)(C),m=c.act,d=u.cell_id,l=u.occupant,s=u.crimes,i=u.brigged_by,p=u.time_left_seconds,v=u.time_set_seconds,g=u.ref,h="";p>0&&(h+=" BrigCells__listRow--active");var N=function(){m("release",{ref:g})};return(0,e.createComponentVNode)(2,t.Table.Row,{className:h,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:d}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.TimeDisplay,{totalSeconds:v})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.TimeDisplay,{totalSeconds:p})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{type:"button",onClick:N,children:"Release"})})]})},V=function(k){var C=k.cells;return(0,e.createComponentVNode)(2,t.Table,{className:"BrigCells__list",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Cell"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Occupant"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Crimes"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Brigged By"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Time Brigged For"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Time Left"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Release"})]}),C.map(function(u){return(0,e.createComponentVNode)(2,f,{cell:u},u.ref)})]})},y=r.BrigCells=function(){function S(k,C){var u=(0,o.useBackend)(C),c=u.act,m=u.data,d=m.cells;return(0,e.createComponentVNode)(2,a.Window,{theme:"security",width:800,height:400,children:(0,e.createComponentVNode)(2,a.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V,{cells:d})})})})})}return S}()},26623:function(w,r,n){"use strict";r.__esModule=!0,r.BrigTimer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.BrigTimer=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data;u.nameText=u.occupant,u.timing&&(u.prisoner_hasrec?u.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:u.occupant}):u.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:u.occupant}));var c="pencil-alt";u.prisoner_name&&(u.prisoner_hasrec||(c="exclamation-triangle"));var m=[],d=0;for(d=0;dm?this.substring(0,m)+"...":this};var k=function(d,l){var s,i;if(!l)return[];var p=d.findIndex(function(v){return v.name===l.name});return[(s=d[p-1])==null?void 0:s.name,(i=d[p+1])==null?void 0:i.name]},C=function(d,l){l===void 0&&(l="");var s=(0,f.createSearch)(l,function(i){return i.name});return(0,t.flow)([(0,a.filter)(function(i){return i==null?void 0:i.name}),l&&(0,a.filter)(s),(0,a.sortBy)(function(i){return i.name})])(d)},u=r.CameraConsole=function(){function m(d,l){var s=(0,V.useBackend)(l),i=s.act,p=s.data,v=s.config,g=p.mapRef,h=p.activeCamera,N=C(p.cameras),b=k(N,h),B=b[0],I=b[1];return(0,e.createComponentVNode)(2,S.Window,{width:870,height:708,children:[(0,e.createVNode)(1,"div","CameraConsole__left",(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,c)})}),2),(0,e.createVNode)(1,"div","CameraConsole__right",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"Camera: ",16),h&&h.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-left",disabled:!B,onClick:function(){function L(){return i("switch_camera",{name:B})}return L}()}),(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-right",disabled:!I,onClick:function(){function L(){return i("switch_camera",{name:I})}return L}()})],4),(0,e.createComponentVNode)(2,y.ByondUi,{className:"CameraConsole__map",params:{id:g,type:"map"}})],4)]})}return m}(),c=r.CameraConsoleContent=function(){function m(d,l){var s=(0,V.useBackend)(l),i=s.act,p=s.data,v=(0,V.useLocalState)(l,"searchText",""),g=v[0],h=v[1],N=p.activeCamera,b=C(p.cameras,g);return(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Input,{fluid:!0,placeholder:"Search for a camera",onInput:function(){function B(I,L){return h(L)}return B}()})}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,scrollable:!0,children:b.map(function(B){return(0,e.createVNode)(1,"div",(0,o.classes)(["Button","Button--fluid","Button--color--transparent",N&&B.name===N.name&&"Button--selected"]),B.name.trimLongStr(23),0,{title:B.name,onClick:function(){function I(){return i("switch_camera",{name:B.name})}return I}()},B.name)})})})]})}return m}()},9300:function(w,r,n){"use strict";r.__esModule=!0,r.CameraConsoleOldContent=r.CameraConsoleMapContent=r.CameraConsole220=void 0;var e=n(96524),a=n(50640),t=n(74041),o=n(28234),f=n(78234),V=n(17899),y=n(24674),S=n(45493),k=function(l,s){var i,p;if(!s)return[];var v=l.findIndex(function(g){return g.name===s.name});return[(i=l[v-1])==null?void 0:i.name,(p=l[v+1])==null?void 0:p.name]},C=function(l,s){s===void 0&&(s="");var i=(0,f.createSearch)(s,function(p){return p.name});return(0,t.flow)([(0,a.filter)(function(p){return p==null?void 0:p.name}),s&&(0,a.filter)(i),(0,a.sortBy)(function(p){return p.name})])(l)},u=r.CameraConsole220=function(){function d(l,s){var i=(0,V.useLocalState)(s,"tabIndex",0),p=i[0],v=i[1],g=function(){function h(N){switch(N){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,m);default:return"WE SHOULDN'T BE HERE!"}}return h}();return(0,e.createComponentVNode)(2,S.Window,{width:1170,height:755,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,y.Stack,{children:(0,e.createComponentVNode)(2,y.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{width:p===1?"222px":"475px",textAlign:"center",children:(0,e.createComponentVNode)(2,y.Tabs,{fluid:!0,ml:p===1?1:0,mt:p===1?1:0,children:[(0,e.createComponentVNode)(2,y.Tabs.Tab,{selected:p===0,onClick:function(){function h(){return v(0)}return h}(),children:[(0,e.createComponentVNode)(2,y.Icon,{name:"map-marked-alt"})," \u041A\u0430\u0440\u0442\u0430"]},"Map"),(0,e.createComponentVNode)(2,y.Tabs.Tab,{selected:p===1,onClick:function(){function h(){return v(1)}return h}(),children:[(0,e.createComponentVNode)(2,y.Icon,{name:"table"})," \u0421\u043F\u0438\u0441\u043E\u043A"]},"List")]})}),g(p)]})})})})}return d}(),c=r.CameraConsoleMapContent=function(){function d(l,s){var i=(0,V.useBackend)(s),p=i.act,v=i.data,g=C(v.cameras),h=(0,V.useLocalState)(s,"zoom",1),N=h[0],b=h[1],B=v.mapRef,I=v.activeCamera,L=v.stationLevel,T=k(g,I),x=T[0],A=T[1];return(0,e.createComponentVNode)(2,y.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{height:"100%",style:{flex:"0 0 474px"},children:(0,e.createComponentVNode)(2,y.NanoMap,{onZoom:function(){function E(M){return b(M)}return E}(),children:g.filter(function(E){return E.z===L}).map(function(E){return(0,e.createComponentVNode)(2,y.NanoMap.NanoButton,{activeCamera:I,x:E.x,y:E.y,context:s,zoom:N,icon:"circle",tooltip:E.name,name:E.name,color:"blue",status:E.status},E.ref)})})}),(0,e.createComponentVNode)(2,y.Stack.Item,{height:"100%",m:.1,className:"CameraConsole__right_map",children:[(0,e.createVNode)(1,"div","CameraConsole__header",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"\u041A\u0430\u043C\u0435\u0440\u0430: ",16),I&&I.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-left",disabled:!x,onClick:function(){function E(){return p("switch_camera",{name:x})}return E}()}),(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-right",disabled:!A,onClick:function(){function E(){return p("switch_camera",{name:A})}return E}()})],4)],4),(0,e.createComponentVNode)(2,y.ByondUi,{className:"CameraConsole__map",overflow:"hidden",params:{id:B,type:"map"}})]})]})}return d}(),m=r.CameraConsoleOldContent=function(){function d(l,s){var i=(0,V.useBackend)(s),p=i.act,v=i.data,g=i.config,h=v.mapRef,N=v.activeCamera,b=(0,V.useLocalState)(s,"searchText",""),B=b[0],I=b[1],L=C(v.cameras,B),T=k(L,N),x=T[0],A=T[1];return(0,e.createComponentVNode)(2,y.Stack.Item,{children:[(0,e.createVNode)(1,"div","CameraConsole__left",(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Input,{width:"215px",placeholder:"\u041D\u0430\u0439\u0442\u0438 \u043A\u0430\u043C\u0435\u0440\u0443",onInput:function(){function E(M,D){return I(D)}return E}()})}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,scrollable:!0,children:L.map(function(E){return(0,e.createVNode)(1,"div",(0,o.classes)(["Button","Button--fluid",E.status?"Button--color--transparent":"Button--color--danger","Button--ellipsis",N&&E.name===N.name&&"Button--selected"]),E.name,0,{title:E.name,onClick:function(){function M(){return p("switch_camera",{name:E.name})}return M}()},E.name)})})})]})}),2),(0,e.createVNode)(1,"div","CameraConsole__right",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"\u041A\u0430\u043C\u0435\u0440\u0430: ",16),N&&N.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-left",disabled:!x,onClick:function(){function E(){return p("switch_camera",{name:x})}return E}()}),(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-right",disabled:!A,onClick:function(){function E(){return p("switch_camera",{name:A})}return E}()})],4),(0,e.createComponentVNode)(2,y.ByondUi,{className:"CameraConsole__map",params:{id:h,type:"map"}})],4)]})}return d}()},95513:function(w,r,n){"use strict";r.__esModule=!0,r.Canister=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(92986),V=n(45493),y=r.Canister=function(){function S(k,C){var u=(0,t.useBackend)(C),c=u.act,m=u.data,d=m.portConnected,l=m.tankPressure,s=m.releasePressure,i=m.defaultReleasePressure,p=m.minReleasePressure,v=m.maxReleasePressure,g=m.valveOpen,h=m.name,N=m.canLabel,b=m.colorContainer,B=m.color_index,I=m.hasHoldingTank,L=m.holdingTank,T="";B.prim&&(T=b.prim.options[B.prim].name);var x="";B.sec&&(x=b.sec.options[B.sec].name);var A="";B.ter&&(A=b.ter.options[B.ter].name);var E="";B.quart&&(E=b.quart.options[B.quart].name);var M=[],D=[],P=[],R=[],j=0;for(j=0;jh.current_positions&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:h.total_positions-h.current_positions})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"0"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{content:"-",disabled:i.cooldown_time||!h.can_close,onClick:function(){function N(){return s("make_job_unavailable",{job:h.title})}return N}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{content:"+",disabled:i.cooldown_time||!h.can_open,onClick:function(){function N(){return s("make_job_available",{job:h.title})}return N}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:i.target_dept&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:i.priority_jobs.indexOf(h.title)>-1?"Yes":""})||(0,e.createComponentVNode)(2,t.Button,{content:h.is_priority?"Yes":"No",selected:h.is_priority,disabled:i.cooldown_time||!h.can_prioritize,onClick:function(){function N(){return s("prioritize_job",{job:h.title})}return N}()})})]},h.title)})]})})]}):g=(0,e.createComponentVNode)(2,S);break;case 2:!i.authenticated||!i.scan_name?g=(0,e.createComponentVNode)(2,S):i.modify_name?g=(0,e.createComponentVNode)(2,f.AccessList,{accesses:i.regions,selectedList:i.selectedAccess,accessMod:function(){function h(N){return s("set",{access:N})}return h}(),grantAll:function(){function h(){return s("grant_all")}return h}(),denyAll:function(){function h(){return s("clear_all")}return h}(),grantDep:function(){function h(N){return s("grant_region",{region:N})}return h}(),denyDep:function(){function h(N){return s("deny_region",{region:N})}return h}()}):g=(0,e.createComponentVNode)(2,k);break;case 3:i.authenticated?i.records.length?g=(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Records",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Delete All Records",disabled:!i.authenticated||i.records.length===0||i.target_dept,onClick:function(){function h(){return s("wipe_all_logs")}return h}()}),children:[(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Crewman"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Old Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"New Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Authorized By"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Time"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Reason"}),!!i.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Deleted By"})]}),i.records.map(function(h){return(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.transferee}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.oldvalue}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.newvalue}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.whodidit}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.timestamp}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.reason}),!!i.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.deletedby})]},h.timestamp)})]}),!!i.iscentcom&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Delete MY Records",color:"purple",disabled:!i.authenticated||i.records.length===0,onClick:function(){function h(){return s("wipe_my_logs")}return h}()})})]}):g=(0,e.createComponentVNode)(2,C):g=(0,e.createComponentVNode)(2,S);break;case 4:!i.authenticated||!i.scan_name?g=(0,e.createComponentVNode)(2,S):g=(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Your Team",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Sec Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Actions"})]}),i.people_dept.map(function(h){return(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.title}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.crimstat}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:h.buttontext,disabled:!h.demotable,onClick:function(){function N(){return s("remote_demote",{remote_demote:h.name})}return N}()})})]},h.title)})]})});break;default:g=(0,e.createComponentVNode)(2,t.Section,{title:"Warning",color:"red",children:"ERROR: Unknown Mode."})}return(0,e.createComponentVNode)(2,o.Window,{width:800,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:v}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:p}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:g})]})})})}return c}()},16377:function(w,r,n){"use strict";r.__esModule=!0,r.CargoConsole=void 0;var e=n(96524),a=n(74041),t=n(50640),o=n(17899),f=n(24674),V=n(45493),y=n(78234),S=r.CargoConsole=function(){function l(s,i){return(0,e.createComponentVNode)(2,V.Window,{width:900,height:800,children:(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,d)]})})})}return l}(),k=function(s,i){var p=(0,o.useLocalState)(i,"contentsModal",null),v=p[0],g=p[1],h=(0,o.useLocalState)(i,"contentsModalTitle",null),N=h[0],b=h[1];if(v!==null&&N!==null)return(0,e.createComponentVNode)(2,f.Modal,{maxWidth:"75%",width:window.innerWidth+"px",maxHeight:window.innerHeight*.75+"px",mx:"auto",children:[(0,e.createComponentVNode)(2,f.Box,{width:"100%",bold:!0,children:(0,e.createVNode)(1,"h1",null,[N,(0,e.createTextVNode)(" contents:")],0)}),(0,e.createComponentVNode)(2,f.Box,{children:v.map(function(B){return(0,e.createComponentVNode)(2,f.Box,{children:["- ",B]},B)})}),(0,e.createComponentVNode)(2,f.Box,{m:2,children:(0,e.createComponentVNode)(2,f.Button,{content:"Close",onClick:function(){function B(){g(null),b(null)}return B}()})})]})},C=function(s,i){var p=(0,o.useBackend)(i),v=p.act,g=p.data,h=g.is_public,N=g.timeleft,b=g.moving,B=g.at_station,I,L;return!b&&!B?(I="Docked off-station",L="Call Shuttle"):!b&&B?(I="Docked at the station",L="Return Shuttle"):b&&(L="In Transit...",N!==1?I="Shuttle is en route (ETA: "+N+" minutes)":I="Shuttle is en route (ETA: "+N+" minute)"),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:"Status",children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Shuttle Status",children:I}),h===0&&(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,f.Button,{content:L,disabled:b,onClick:function(){function T(){return v("moveShuttle")}return T}()}),(0,e.createComponentVNode)(2,f.Button,{content:"View Central Command Messages",onClick:function(){function T(){return v("showMessages")}return T}()})]})]})})})},u=function(s,i){var p,v=(0,o.useBackend)(i),g=v.act,h=v.data,N=h.accounts,b=(0,o.useLocalState)(i,"selectedAccount"),B=b[0],I=b[1],L=[];return N.map(function(T){return L[T.name]=T.account_UID}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:"Payment",children:[(0,e.createComponentVNode)(2,f.Dropdown,{width:"190px",options:N.map(function(T){return T.name}),selected:(p=N.filter(function(T){return T.account_UID===B})[0])==null?void 0:p.name,onSelected:function(){function T(x){return I(L[x])}return T}()}),N.filter(function(T){return T.account_UID===B}).map(function(T){return(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Account Name",children:(0,e.createComponentVNode)(2,f.Stack.Item,{mt:1,children:T.name})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Balance",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:T.balance})})]},T.account_UID)})]})})},c=function(s,i){var p=(0,o.useBackend)(i),v=p.act,g=p.data,h=g.requests,N=g.categories,b=g.supply_packs,B=(0,o.useSharedState)(i,"category","Emergency"),I=B[0],L=B[1],T=(0,o.useSharedState)(i,"search_text",""),x=T[0],A=T[1],E=(0,o.useLocalState)(i,"contentsModal",null),M=E[0],D=E[1],P=(0,o.useLocalState)(i,"contentsModalTitle",null),R=P[0],j=P[1],F=(0,y.createSearch)(x,function(Y){return Y.name}),W=(0,o.useLocalState)(i,"selectedAccount"),_=W[0],K=W[1],H=(0,a.flow)([(0,t.filter)(function(Y){return Y.cat===N.filter(function(J){return J.name===I})[0].category||x}),x&&(0,t.filter)(F),(0,t.sortBy)(function(Y){return Y.name.toLowerCase()})])(b),X="Crate Catalogue";return x?X="Results for '"+x+"':":I&&(X="Browsing "+I),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:X,buttons:(0,e.createComponentVNode)(2,f.Dropdown,{width:"190px",options:N.map(function(Y){return Y.name}),selected:I,onSelected:function(){function Y(J){return L(J)}return Y}()}),children:[(0,e.createComponentVNode)(2,f.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function Y(J,le){return A(le)}return Y}(),mb:1}),(0,e.createComponentVNode)(2,f.Box,{maxHeight:25,overflowY:"auto",overflowX:"hidden",children:(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:H.map(function(Y){return(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{bold:!0,children:[Y.name," (",Y.cost," Credits)"]}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",pr:1,children:[(0,e.createComponentVNode)(2,f.Button,{content:"Order 1",icon:"shopping-cart",disabled:!_,onClick:function(){function J(){return v("order",{crate:Y.ref,multiple:!1,account:_})}return J}()}),(0,e.createComponentVNode)(2,f.Button,{content:"Order Multiple",icon:"cart-plus",disabled:!_||Y.singleton,onClick:function(){function J(){return v("order",{crate:Y.ref,multiple:!0,account:_})}return J}()}),(0,e.createComponentVNode)(2,f.Button,{content:"View Contents",icon:"search",onClick:function(){function J(){D(Y.contents),j(Y.name)}return J}()})]})]},Y.name)})})})]})})},m=function(s,i){var p=s.request,v,g;switch(p.department){case"Engineering":g="CE",v="orange";break;case"Medical":g="CMO",v="teal";break;case"Science":g="RD",v="purple";break;case"Supply":g="CT",v="brown";break;case"Service":g="HOP",v="olive";break;case"Security":g="HOS",v="red";break;case"Command":g="CAP",v="blue";break;case"Assistant":g="Any Head",v="grey";break}return(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{mt:.5,children:"Approval Required:"}),!!p.req_cargo_approval&&(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button,{color:"brown",content:"QM",icon:"user-tie",tooltip:"This Order requires approval from the QM still"})}),!!p.req_head_approval&&(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button,{color:v,content:g,disabled:p.req_cargo_approval,icon:"user-tie",tooltip:p.req_cargo_approval?"This Order first requires approval from the QM before the "+g+" can approve it":"This Order requires approval from the "+g+" still"})})]})},d=function(s,i){var p=(0,o.useBackend)(i),v=p.act,g=p.data,h=g.requests,N=g.orders,b=g.shipments;return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,title:"Orders",children:[(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Requests"}),(0,e.createComponentVNode)(2,f.Table,{children:h.map(function(B){return(0,e.createComponentVNode)(2,f.Table.Row,{className:"Cargo_RequestList",children:[(0,e.createComponentVNode)(2,f.Table.Cell,{mb:1,children:[(0,e.createComponentVNode)(2,f.Box,{children:["Order #",B.ordernum,": ",B.supply_type," (",B.cost," credits) for"," ",(0,e.createVNode)(1,"b",null,B.orderedby,0)," with"," ",B.department?"The "+B.department+" Department":"Their Personal"," ","Account"]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",B.comment]}),(0,e.createComponentVNode)(2,m,{request:B})]}),(0,e.createComponentVNode)(2,f.Stack.Item,{textAlign:"right",children:[(0,e.createComponentVNode)(2,f.Button,{content:"Approve",color:"green",disabled:!B.can_approve,onClick:function(){function I(){return v("approve",{ordernum:B.ordernum})}return I}()}),(0,e.createComponentVNode)(2,f.Button,{content:"Deny",color:"red",disabled:!B.can_deny,onClick:function(){function I(){return v("deny",{ordernum:B.ordernum})}return I}()})]})]},B.ordernum)})}),(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Orders Awaiting Delivery"}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:N.map(function(B){return(0,e.createComponentVNode)(2,f.Table.Row,{children:(0,e.createComponentVNode)(2,f.Table.Cell,{children:[(0,e.createComponentVNode)(2,f.Box,{children:["- #",B.ordernum,": ",B.supply_type," for ",(0,e.createVNode)(1,"b",null,B.orderedby,0)]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",B.comment]})]})},B.ordernum)})}),(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Order in Transit"}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:b.map(function(B){return(0,e.createComponentVNode)(2,f.Table.Row,{children:(0,e.createComponentVNode)(2,f.Table.Cell,{children:[(0,e.createComponentVNode)(2,f.Box,{children:["- #",B.ordernum,": ",B.supply_type," for ",(0,e.createVNode)(1,"b",null,B.orderedby,0)]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",B.comment]})]})},B.ordernum)})})]})}},89917:function(w,r,n){"use strict";r.__esModule=!0,r.ChangelogView=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ChangelogView=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=(0,a.useLocalState)(S,"onlyRecent",0),m=c[0],d=c[1],l=u.cl_data,s=u.last_cl,i={FIX:(0,e.createComponentVNode)(2,t.Icon,{name:"tools",title:"Fix"}),WIP:(0,e.createComponentVNode)(2,t.Icon,{name:"hard-hat",title:"WIP",color:"orange"}),TWEAK:(0,e.createComponentVNode)(2,t.Icon,{name:"sliders-h",title:"Tweak"}),SOUNDADD:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-up",title:"Sound Added",color:"green"}),SOUNDDEL:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-mute",title:"Sound Removed",color:"red"}),CODEADD:(0,e.createComponentVNode)(2,t.Icon,{name:"plus",title:"Code Addition",color:"green"}),CODEDEL:(0,e.createComponentVNode)(2,t.Icon,{name:"minus",title:"Code Removal",color:"red"}),IMAGEADD:(0,e.createComponentVNode)(2,t.Icon,{name:"folder-plus",title:"Sprite Addition",color:"green"}),IMAGEDEL:(0,e.createComponentVNode)(2,t.Icon,{name:"folder-minus",title:"Sprite Removal",color:"red"}),SPELLCHECK:(0,e.createComponentVNode)(2,t.Icon,{name:"font",title:"Spelling/Grammar Fix"}),EXPERIMENT:(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle",title:"Experimental",color:"orange"})},p=function(){function v(g){return g in i?i[g]:(0,e.createComponentVNode)(2,t.Icon,{name:"plus",color:"green"})}return v}();return(0,e.createComponentVNode)(2,o.Window,{width:750,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"ParadiseSS13 Changelog",mt:2,buttons:(0,e.createComponentVNode)(2,t.Button,{content:m?"Showing all changes":"Showing changes since last connection",onClick:function(){function v(){return d(!m)}return v}()}),children:l.map(function(v){return!m&&v.merge_ts<=s||(0,e.createComponentVNode)(2,t.Section,{mb:2,title:v.author+" - Merged on "+v.merge_date,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"#"+v.num,onClick:function(){function g(){return C("open_pr",{pr_number:v.num})}return g}()}),children:v.entries.map(function(g){return(0,e.createComponentVNode)(2,t.Box,{m:1,children:[p(g.etype)," ",g.etext]},g)})},v)})})})})}return V}()},71254:function(w,r,n){"use strict";r.__esModule=!0,r.ChemDispenser=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(1496),f=n(45493),V=[1,5,10,20,30,50],y=[1,5,10],S=r.ChemDispenser=function(){function c(m,d){var l=(0,a.useBackend)(d),s=l.act,i=l.data,p=i.chemicals;return(0,e.createComponentVNode)(2,f.Window,{width:400,height:400+p.length*8,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,u)]})})})}return c}(),k=function(m,d){var l=(0,a.useBackend)(d),s=l.act,i=l.data,p=i.amount,v=i.energy,g=i.maxEnergy;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:v,minValue:0,maxValue:g,ranges:{good:[g*.5,1/0],average:[g*.25,g*.5],bad:[-1/0,g*.25]},children:[v," / ",g," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dispense",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{children:V.map(function(h,N){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"15%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"cog",selected:p===h,content:h,onClick:function(){function b(){return s("amount",{amount:h})}return b}()})},N)})})})]})})})},C=function(m,d){for(var l=(0,a.useBackend)(d),s=l.act,i=l.data,p=i.chemicals,v=p===void 0?[]:p,g=[],h=0;h<(v.length+1)%3;h++)g.push(!0);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:i.glass?"Drink Dispenser":"Chemical Dispenser",children:[v.map(function(N,b){return(0,e.createComponentVNode)(2,t.Button,{m:.1,width:"32.5%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",content:N.title,style:{"margin-left":"2px"},onClick:function(){function B(){return s("dispense",{reagent:N.id})}return B}()},b)}),g.map(function(N,b){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%"},b)})]})})},u=function(m,d){var l=(0,a.useBackend)(d),s=l.act,i=l.data,p=i.isBeakerLoaded,v=i.beakerCurrentVolume,g=i.beakerMaxVolume,h=i.beakerContents,N=h===void 0?[]:h;return(0,e.createComponentVNode)(2,t.Stack.Item,{height:16,children:(0,e.createComponentVNode)(2,t.Section,{title:i.glass?"Glass":"Beaker",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,t.Box,{children:[!!p&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"label",mr:2,children:[v," / ",g," units"]}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject",disabled:!p,onClick:function(){function b(){return s("ejectBeaker")}return b}()})]}),children:(0,e.createComponentVNode)(2,o.BeakerContents,{beakerLoaded:p,beakerContents:N,buttons:function(){function b(B){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Isolate",icon:"compress-arrows-alt",onClick:function(){function I(){return s("remove",{reagent:B.id,amount:-1})}return I}()}),y.map(function(I,L){return(0,e.createComponentVNode)(2,t.Button,{content:I,onClick:function(){function T(){return s("remove",{reagent:B.id,amount:I})}return T}()},L)}),(0,e.createComponentVNode)(2,t.Button,{content:"ALL",onClick:function(){function I(){return s("remove",{reagent:B.id,amount:B.volume})}return I}()})],0)}return b}()})})})}},27004:function(w,r,n){"use strict";r.__esModule=!0,r.ChemHeater=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(1496),V=n(45493),y=r.ChemHeater=function(){function C(u,c){return(0,e.createComponentVNode)(2,V.Window,{width:350,height:275,children:(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,k)]})})})}return C}(),S=function(u,c){var m=(0,t.useBackend)(c),d=m.act,l=m.data,s=l.targetTemp,i=l.targetTempReached,p=l.autoEject,v=l.isActive,g=l.currentTemp,h=l.isBeakerLoaded;return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Settings",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Auto-eject",icon:p?"toggle-on":"toggle-off",selected:p,onClick:function(){function N(){return d("toggle_autoeject")}return N}()}),(0,e.createComponentVNode)(2,o.Button,{content:v?"On":"Off",icon:"power-off",selected:v,disabled:!h,onClick:function(){function N(){return d("toggle_on")}return N}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"65px",unit:"K",step:10,stepPixelSize:3,value:(0,a.round)(s,0),minValue:0,maxValue:1e3,onDrag:function(){function N(b,B){return d("adjust_temperature",{target:B})}return N}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Reading",color:i?"good":"average",children:h&&(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:g,format:function(){function N(b){return(0,a.toFixed)(b)+" K"}return N}()})||"\u2014"})]})})})},k=function(u,c){var m=(0,t.useBackend)(c),d=m.act,l=m.data,s=l.isBeakerLoaded,i=l.beakerCurrentVolume,p=l.beakerMaxVolume,v=l.beakerContents;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Beaker",fill:!0,scrollable:!0,buttons:!!s&&(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"label",mr:2,children:[i," / ",p," units"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject",onClick:function(){function g(){return d("eject_beaker")}return g}()})]}),children:(0,e.createComponentVNode)(2,f.BeakerContents,{beakerLoaded:s,beakerContents:v})})})}},41099:function(w,r,n){"use strict";r.__esModule=!0,r.ChemMaster=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(1496),V=n(99665),y=n(28234),S=["icon"];function k(I,L){if(I==null)return{};var T={},x=Object.keys(I),A,E;for(E=0;E=0)&&(T[A]=I[A]);return T}function C(I,L){I.prototype=Object.create(L.prototype),I.prototype.constructor=I,u(I,L)}function u(I,L){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function T(x,A){return x.__proto__=A,x}return T}(),u(I,L)}var c=[1,5,10],m=function(L,T){var x=(0,a.useBackend)(T),A=x.act,E=x.data,M=L.args.analysis;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:E.condi?"Condiment Analysis":"Reagent Analysis",children:(0,e.createComponentVNode)(2,t.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:M.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:(M.desc||"").length>0?M.desc:"N/A"}),M.blood_type&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood type",children:M.blood_type}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood DNA",className:"LabeledList__breakContents",children:M.blood_dna})],4),!E.condi&&(0,e.createComponentVNode)(2,t.Button,{icon:E.printing?"spinner":"print",disabled:E.printing,iconSpin:!!E.printing,ml:"0.5rem",content:"Print",onClick:function(){function D(){return A("print",{idx:M.idx,beaker:L.args.beaker})}return D}()})]})})})})},d=function(I){return I[I.ToDisposals=0]="ToDisposals",I[I.ToBeaker=1]="ToBeaker",I}(d||{}),l=r.ChemMaster=function(){function I(L,T){return(0,e.createComponentVNode)(2,o.Window,{width:575,height:650,children:[(0,e.createComponentVNode)(2,V.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,s),(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,B)]})})]})}return I}(),s=function(L,T){var x=(0,a.useBackend)(T),A=x.act,E=x.data,M=E.beaker,D=E.beaker_reagents,P=E.buffer_reagents,R=P.length>0;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Beaker",fill:!0,scrollable:!0,buttons:R?(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"eject",disabled:!M,content:"Eject and Clear Buffer",onClick:function(){function j(){return A("eject")}return j}()}):(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!M,content:"Eject and Clear Buffer",onClick:function(){function j(){return A("eject")}return j}()}),children:M?(0,e.createComponentVNode)(2,f.BeakerContents,{beakerLoaded:!0,beakerContents:D,buttons:function(){function j(F,W){return(0,e.createComponentVNode)(2,t.Box,{mb:W0?(0,e.createComponentVNode)(2,f.BeakerContents,{beakerLoaded:!0,beakerContents:D,buttons:function(){function P(R,j){return(0,e.createComponentVNode)(2,t.Box,{mb:j0&&(R=P.map(function(j){var F=j.id,W=j.sprite;return(0,e.createComponentVNode)(2,N,{icon:W,color:"translucent",onClick:function(){function _(){return A("set_sprite_style",{production_mode:M,style:F})}return _}(),selected:D===F},F)})),(0,e.createComponentVNode)(2,h,{productionData:L.productionData,children:R&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Style",children:R})})},B=function(L,T){var x=(0,a.useBackend)(T),A=x.act,E=x.data,M=E.loaded_pill_bottle_style,D=E.containerstyles,P=E.loaded_pill_bottle,R={width:"20px",height:"20px"},j=D.map(function(F){var W=F.color,_=F.name,K=M===W;return(0,e.createComponentVNode)(2,t.Button,{style:{position:"relative",width:R.width,height:R.height},onClick:function(){function H(){return A("set_container_style",{style:W})}return H}(),icon:K&&"check",iconStyle:{position:"relative","z-index":1},tooltip:_,tooltipPosition:"top",children:[!K&&(0,e.createVNode)(1,"div",null,null,1,{style:{display:"inline-block"}}),(0,e.createVNode)(1,"span","Button",null,1,{style:{display:"inline-block",position:"absolute",top:0,left:0,margin:0,padding:0,width:R.width,height:R.height,"background-color":W,opacity:.6,filter:"alpha(opacity=60)"}})]},W)});return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Container Customization",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!P,content:"Eject Container",onClick:function(){function F(){return A("ejectp")}return F}()}),children:P?(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Style",children:[(0,e.createComponentVNode)(2,t.Button,{style:{width:R.width,height:R.height},icon:"tint-slash",onClick:function(){function F(){return A("clear_container_style")}return F}(),selected:!M,tooltip:"Default",tooltipPosition:"top"}),j]})}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"No pill bottle or patch pack loaded."})})})};(0,V.modalRegisterBodyOverride)("analyze",m)},51327:function(w,r,n){"use strict";r.__esModule=!0,r.CloningConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(17442),V=1,y=32,S=128,k=r.CloningConsole=function(){function l(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.tab,N=g.has_scanner,b=g.pod_amount;return(0,e.createComponentVNode)(2,o.Window,{width:640,height:520,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Cloning Console",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Connected scanner",children:N?"Online":"Missing"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Connected pods",children:b})]})}),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:h===1,icon:"home",onClick:function(){function B(){return v("menu",{tab:1})}return B}(),children:"Main Menu"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:h===2,icon:"user",onClick:function(){function B(){return v("menu",{tab:2})}return B}(),children:"Damage Configuration"})]}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,C)})]})})}return l}(),C=function(s,i){var p=(0,a.useBackend)(i),v=p.data,g=v.tab,h;return g===1?h=(0,e.createComponentVNode)(2,u):g===2&&(h=(0,e.createComponentVNode)(2,c)),h},u=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.pods,N=g.pod_amount,b=g.selected_pod_UID;return(0,e.createComponentVNode)(2,t.Box,{children:[!N&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Notice: No pods connected."}),!!N&&h.map(function(B,I){return(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Pod "+(I+1),children:(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"96px",shrink:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:(0,f.resolveAsset)("pod_"+(B.cloning?"cloning":"idle")+".gif"),style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Button,{selected:b===B.uid,onClick:function(){function L(){return v("select_pod",{uid:B.uid})}return L}(),children:"Select"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Progress",children:[!B.cloning&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Pod is inactive."}),!!B.cloning&&(0,e.createComponentVNode)(2,t.ProgressBar,{value:B.clone_progress,maxValue:100,color:"good"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Biomass",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:B.biomass,ranges:{good:[2*B.biomass_storage_capacity/3,B.biomass_storage_capacity],average:[B.biomass_storage_capacity/3,2*B.biomass_storage_capacity/3],bad:[0,B.biomass_storage_capacity/3]},minValue:0,maxValue:B.biomass_storage_capacity,children:[B.biomass,"/",B.biomass_storage_capacity+" ("+100*B.biomass/B.biomass_storage_capacity+"%)"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sanguine Reagent",children:B.sanguine_reagent}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Osseous Reagent",children:B.osseous_reagent})]})})]})},B)})]})},c=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.selected_pod_data,N=g.has_scanned,b=g.scanner_has_patient,B=g.feedback,I=g.scan_successful,L=g.cloning_cost,T=g.has_scanner;return(0,e.createComponentVNode)(2,t.Box,{children:[!T&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Notice: No scanner connected."}),!!T&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Scanner Info",buttons:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hourglass-half",onClick:function(){function x(){return v("scan")}return x}(),children:"Scan"}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",onClick:function(){function x(){return v("eject")}return x}(),children:"Eject Patient"})]}),children:[!N&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:b?"No scan detected for current patient.":"No patient is in the scanner."}),!!N&&(0,e.createComponentVNode)(2,t.Box,{color:B.color,children:B.text})]}),(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Damages Breakdown",children:(0,e.createComponentVNode)(2,t.Box,{children:[(!I||!N)&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No valid scan detected."}),!!I&&!!N&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function x(){return v("fix_all")}return x}(),children:"Repair All Damages"}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function x(){return v("fix_none")}return x}(),children:"Repair No Damages"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function x(){return v("clone")}return x}(),children:"Clone"})})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"25px",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:L[0],maxValue:h.biomass_storage_capacity,ranges:{bad:[2*h.biomass_storage_capacity/3,h.biomass_storage_capacity],average:[h.biomass_storage_capacity/3,2*h.biomass_storage_capacity/3],good:[0,h.biomass_storage_capacity/3]},color:L[0]>h.biomass?"bad":null,children:["Biomass: ",L[0],"/",h.biomass,"/",h.biomass_storage_capacity]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:L[1],maxValue:h.max_reagent_capacity,ranges:{bad:[2*h.max_reagent_capacity/3,h.max_reagent_capacity],average:[h.max_reagent_capacity/3,2*h.max_reagent_capacity/3],good:[0,h.max_reagent_capacity/3]},color:L[1]>h.sanguine_reagent?"bad":"good",children:["Sanguine: ",L[1],"/",h.sanguine_reagent,"/",h.max_reagent_capacity]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:L[2],maxValue:h.max_reagent_capacity,ranges:{bad:[2*h.max_reagent_capacity/3,h.max_reagent_capacity],average:[h.max_reagent_capacity/3,2*h.max_reagent_capacity/3],good:[0,h.max_reagent_capacity/3]},color:L[2]>h.osseous_reagent?"bad":"good",children:["Osseous: ",L[2],"/",h.osseous_reagent,"/",h.max_reagent_capacity]})})]}),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,d)]})]})})]})]})},m=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.patient_limb_data,N=g.limb_list,b=g.desired_limb_data;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Limbs",children:N.map(function(B,I){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Stack,{align:"baseline",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"15%",height:"20px",children:[h[B][4],":"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),h[B][3]===0&&(0,e.createComponentVNode)(2,t.Stack.Item,{width:"60%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:b[B][0]+b[B][1],maxValue:h[B][5],ranges:{good:[0,h[B][5]/3],average:[h[B][5]/3,2*h[B][5]/3],bad:[2*h[B][5]/3,h[B][5]]},children:["Post-Cloning Damage: ",(0,e.createComponentVNode)(2,t.Icon,{name:"bone"})," "+b[B][0]+" / ",(0,e.createComponentVNode)(2,t.Icon,{name:"fire"})," "+b[B][1]]})}),h[B][3]!==0&&(0,e.createComponentVNode)(2,t.Stack.Item,{width:"60%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:"bad",value:0,children:["The patient's ",h[B][4]," is missing!"]})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[!!h[B][3]&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!b[B][3],onClick:function(){function L(){return v("toggle_limb_repair",{limb:B,type:"replace"})}return L}(),children:"Replace Limb"})}),!h[B][3]&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(h[B][0]||h[B][1]),checked:!(b[B][0]||b[B][1]),onClick:function(){function L(){return v("toggle_limb_repair",{limb:B,type:"damage"})}return L}(),children:"Repair Damages"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(h[B][2]&V),checked:!(b[B][2]&V),onClick:function(){function L(){return v("toggle_limb_repair",{limb:B,type:"bone"})}return L}(),children:"Mend Bone"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(h[B][2]&y),checked:!(b[B][2]&y),onClick:function(){function L(){return v("toggle_limb_repair",{limb:B,type:"ib"})}return L}(),children:"Mend IB"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(h[B][2]&S),checked:!(b[B][2]&S),onClick:function(){function L(){return v("toggle_limb_repair",{limb:B,type:"critburn"})}return L}(),children:"Mend Critical Burn"})]})]})]},B)})})},d=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.patient_organ_data,N=g.organ_list,b=g.desired_organ_data;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Organs",children:N.map(function(B,I){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Stack,{align:"baseline",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"20%",height:"20px",children:[h[B][3],":"," "]}),h[B][5]!=="heart"&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[!!h[B][2]&&(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!b[B][2]&&!b[B][1],onClick:function(){function L(){return v("toggle_organ_repair",{organ:B,type:"replace"})}return L}(),children:"Replace Organ"}),!h[B][2]&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!h[B][0],checked:!b[B][0],onClick:function(){function L(){return v("toggle_organ_repair",{organ:B,type:"damage"})}return L}(),children:"Repair Damages"})})]})}),h[B][5]==="heart"&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Heart replacement is required for cloning."}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"35%",children:[!!h[B][2]&&(0,e.createComponentVNode)(2,t.ProgressBar,{color:"bad",value:0,children:["The patient's ",h[B][3]," is missing!"]}),!h[B][2]&&(0,e.createComponentVNode)(2,t.ProgressBar,{value:b[B][0],maxValue:h[B][4],ranges:{good:[0,h[B][4]/3],average:[h[B][4]/3,2*h[B][4]/3],bad:[2*h[B][4]/3,h[B][4]]},children:"Post-Cloning Damage: "+b[B][0]})]})]})},B)})})}},66373:function(w,r,n){"use strict";r.__esModule=!0,r.CloningPod=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.CloningPod=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.biomass,m=u.biomass_storage_capacity,d=u.sanguine_reagent,l=u.osseous_reagent,s=u.organs,i=u.currently_cloning;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Liquid Storage",children:[(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Biomass:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:c,ranges:{good:[2*m/3,m],average:[m/3,2*m/3],bad:[0,m/3]},minValue:0,maxValue:m})})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Sanguine Reagent:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:d+" units"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:0,minValue:0,maxValue:d,step:1,unit:"units",onChange:function(){function p(v,g){return C("remove_reagent",{reagent:"sanguine_reagent",amount:g})}return p}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove All",onClick:function(){function p(){return C("purge_reagent",{reagent:"sanguine_reagent"})}return p}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Osseous Reagent:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:l+" units"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:0,minValue:0,maxValue:l,step:1,unit:"units",onChange:function(){function p(v,g){return C("remove_reagent",{reagent:"osseous_reagent",amount:g})}return p}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove All",onClick:function(){function p(){return C("purge_reagent",{reagent:"osseous_reagent"})}return p}()})})]})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Organ Storage",children:[!i&&(0,e.createComponentVNode)(2,t.Box,{children:[!s&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Notice: No organs loaded."}),!!s&&s.map(function(p){return(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:p.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Eject",onClick:function(){function v(){return C("eject_organ",{organ_ref:p.ref})}return v}()})})]},p)})]}),!!i&&(0,e.createComponentVNode)(2,t.Stack,{height:"100%",children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"lock",size:"5",mb:3}),(0,e.createVNode)(1,"br"),"Unable to access organ storage while cloning."]})})]})]})})}return V}()},38781:function(w,r,n){"use strict";r.__esModule=!0,r.CoinMint=void 0;var e=n(96524),a=n(28234),t=n(17899),o=n(24674),f=n(45493),V=r.CoinMint=function(){function y(S,k){var C=(0,t.useBackend)(k),u=C.act,c=C.data,m=c.materials,d=c.moneyBag,l=c.moneyBagContent,s=c.moneyBagMaxContent,i=(d?210:138)+Math.ceil(m.length/4)*64;return(0,e.createComponentVNode)(2,f.Window,{width:210,height:i,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.NoticeBox,{m:0,info:!0,children:["Total coins produced: ",c.totalCoins]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Coin Type",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"power-off",color:c.active&&"bad",tooltip:!d&&"Need a money bag",disabled:!d,onClick:function(){function p(){return u("activate")}return p}()}),children:(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.ProgressBar,{minValue:0,maxValue:c.maxMaterials,value:c.totalMaterials})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:"eject",tooltip:"Eject selected material",onClick:function(){function p(){return u("ejectMat")}return p}()})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:m.map(function(p){return(0,e.createComponentVNode)(2,o.Button,{bold:!0,inline:!0,m:.2,textAlign:"center",color:"translucent",selected:p.id===c.chosenMaterial,tooltip:p.name,content:(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{className:(0,a.classes)(["materials32x32",p.id])}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:p.amount})]}),onClick:function(){function v(){return u("selectMaterial",{material:p.id})}return v}()},p.id)})})]})})}),!!d&&(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Money Bag",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject",disabled:c.active,onClick:function(){function p(){return u("ejectBag")}return p}()}),children:(0,e.createComponentVNode)(2,o.ProgressBar,{width:"100%",minValue:0,maxValue:s,value:l,children:[l," / ",s]})})})]})})})}return y}()},11866:function(w,r,n){"use strict";r.__esModule=!0,r.ColourMatrixTester=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ColourMatrixTester=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.colour_data,m=[[{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}]];return(0,e.createComponentVNode)(2,o.Window,{width:360,height:190,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Modify Matrix",children:m.map(function(d){return(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",textColor:"label",children:d.map(function(l){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:1,children:[l.name,":\xA0",(0,e.createComponentVNode)(2,t.NumberInput,{width:4,value:c[l.idx],step:.05,minValue:-5,maxValue:5,stepPixelSize:5,onChange:function(){function s(i,p){return C("setvalue",{idx:l.idx+1,value:p})}return s}()})]},l.name)})},d)})})})})})}return V}()},22420:function(w,r,n){"use strict";r.__esModule=!0,r.CommunicationsComputer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(s){switch(s){case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,u);case 3:return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,c)})});case 4:return(0,e.createComponentVNode)(2,d);default:return"ERROR. Unknown menu_state. Please contact NT Technical Support."}},V=r.CommunicationsComputer=function(){function l(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.menu_state;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y),f(h)]})})})}return l}(),y=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.authenticated,N=g.noauthbutton,b=g.esc_section,B=g.esc_callable,I=g.esc_recallable,L=g.esc_status,T=g.authhead,x=g.is_ai,A=g.lastCallLoc,E=!1,M;return h?h===1?M="Command":h===2?M="Captain":h===3?M="CentComm Officer":h===4?(M="CentComm Secure Connection",E=!0):M="ERROR: Report This Bug!":M="Not Logged In",(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Authentication",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:E&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Access",children:M})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{icon:h?"sign-out-alt":"id-card",selected:h,disabled:N,content:h?"Log Out ("+M+")":"Log In",onClick:function(){function D(){return v("auth")}return D}()})})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:!!b&&(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Escape Shuttle",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!L&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:L}),!!B&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Options",children:(0,e.createComponentVNode)(2,t.Button,{icon:"rocket",content:"Call Shuttle",disabled:!T,onClick:function(){function D(){return v("callshuttle")}return D}()})}),!!I&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Options",children:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Recall Shuttle",disabled:!T||x,onClick:function(){function D(){return v("cancelshuttle")}return D}()})}),!!A&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Last Call/Recall From",children:A})]})})})],4)},S=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.is_admin;return h?(0,e.createComponentVNode)(2,k):(0,e.createComponentVNode)(2,C)},k=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.is_admin,N=g.gamma_armory_location,b=g.admin_levels,B=g.authenticated,I=g.ert_allowed;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"CentComm Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Change Alert",children:(0,e.createComponentVNode)(2,m,{levels:b,required_access:h,use_confirm:1})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Announcement",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"bullhorn",content:"Make Central Announcement",disabled:!h,onClick:function(){function L(){return v("send_to_cc_announcement_page")}return L}()}),B===4&&(0,e.createComponentVNode)(2,t.Button,{icon:"plus",content:"Make Other Announcement",disabled:!h,onClick:function(){function L(){return v("make_other_announcement")}return L}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Response Team",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"ambulance",content:"Dispatch ERT",disabled:!h,onClick:function(){function L(){return v("dispatch_ert")}return L}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:I,content:I?"ERT calling enabled":"ERT calling disabled",tooltip:I?"Command can request an ERT":"ERTs cannot be requested",disabled:!h,onClick:function(){function L(){return v("toggle_ert_allowed")}return L}(),selected:null})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nuclear Device",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:"Get Authentication Codes",disabled:!h,onClick:function(){function L(){return v("send_nuke_codes")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gamma Armory",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"biohazard",content:N?"Send Gamma Armory":"Recall Gamma Armory",disabled:!h,onClick:function(){function L(){return v("move_gamma_armory")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"coins",content:"View Economy",disabled:!h,onClick:function(){function L(){return v("view_econ")}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fax",content:"Fax Manager",disabled:!h,onClick:function(){function L(){return v("view_fax")}return L}()})]})]})}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"View Command accessible controls",children:(0,e.createComponentVNode)(2,C)})]})},C=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.msg_cooldown,N=g.emagged,b=g.cc_cooldown,B=g.security_level_color,I=g.str_security_level,L=g.levels,T=g.authcapt,x=g.authhead,A=g.messages,E="Make Priority Announcement";h>0&&(E+=" ("+h+"s)");var M=N?"Message [UNKNOWN]":"Message CentComm",D="Request Authentication Codes";return b>0&&(M+=" ("+b+"s)",D+=" ("+b+"s)"),(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Captain-Only Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Alert",color:B,children:I}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Change Alert",children:(0,e.createComponentVNode)(2,m,{levels:L,required_access:T})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Announcement",children:(0,e.createComponentVNode)(2,t.Button,{icon:"bullhorn",content:E,disabled:!T||h>0,onClick:function(){function P(){return v("announce")}return P}()})}),!!N&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transmit",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",color:"red",content:M,disabled:!T||b>0,onClick:function(){function P(){return v("MessageSyndicate")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",content:"Reset Relays",disabled:!T,onClick:function(){function P(){return v("RestoreBackup")}return P}()})]})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transmit",children:(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",content:M,disabled:!T||b>0,onClick:function(){function P(){return v("MessageCentcomm")}return P}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nuclear Device",children:(0,e.createComponentVNode)(2,t.Button,{icon:"bomb",content:D,disabled:!T||b>0,onClick:function(){function P(){return v("nukerequest")}return P}()})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Command Staff Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Displays",children:(0,e.createComponentVNode)(2,t.Button,{icon:"tv",content:"Change Status Displays",disabled:!x,onClick:function(){function P(){return v("status")}return P}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Incoming Messages",children:(0,e.createComponentVNode)(2,t.Button,{icon:"folder-open",content:"View ("+A.length+")",disabled:!x,onClick:function(){function P(){return v("messagelist")}return P}()})})]})})})],4)},u=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.stat_display,N=g.authhead,b=g.current_message_title,B=h.presets.map(function(L){return(0,e.createComponentVNode)(2,t.Button,{content:L.label,selected:L.name===h.type,disabled:!N,onClick:function(){function T(){return v("setstat",{statdisp:L.name})}return T}()},L.name)}),I=h.alerts.map(function(L){return(0,e.createComponentVNode)(2,t.Button,{content:L.label,selected:L.alert===h.icon,disabled:!N,onClick:function(){function T(){return v("setstat",{statdisp:3,alert:L.alert})}return T}()},L.alert)});return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Modify Status Screens",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function L(){return v("main")}return L}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Presets",children:B}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alerts",children:I}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message Line 1",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:h.line_1,disabled:!N,onClick:function(){function L(){return v("setmsg1")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message Line 2",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:h.line_2,disabled:!N,onClick:function(){function L(){return v("setmsg2")}return L}()})})]})})})},c=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.authhead,N=g.current_message_title,b=g.current_message,B=g.messages,I=g.security_level,L;if(N)L=(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:N,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Return To Message List",disabled:!h,onClick:function(){function x(){return v("messagelist")}return x}()}),children:(0,e.createComponentVNode)(2,t.Box,{children:b})})});else{var T=B.map(function(x){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:x.title,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"eye",content:"View",disabled:!h||N===x.title,onClick:function(){function A(){return v("messagelist",{msgid:x.id})}return A}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"times",content:"Delete",disabled:!h,onClick:function(){function A(){return v("delmessage",{msgid:x.id})}return A}()})]},x.id)});L=(0,e.createComponentVNode)(2,t.Section,{title:"Messages Received",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function x(){return v("main")}return x}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:T})})}return(0,e.createComponentVNode)(2,t.Box,{children:L})},m=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=s.levels,N=s.required_access,b=s.use_confirm,B=g.security_level;return b?h.map(function(I){return(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:I.icon,content:I.name,disabled:!N||I.id===B,tooltip:I.tooltip,onClick:function(){function L(){return v("newalertlevel",{level:I.id})}return L}()},I.name)}):h.map(function(I){return(0,e.createComponentVNode)(2,t.Button,{icon:I.icon,content:I.name,disabled:!N||I.id===B,tooltip:I.tooltip,onClick:function(){function L(){return v("newalertlevel",{level:I.id})}return L}()},I.name)})},d=function(s,i){var p=(0,a.useBackend)(i),v=p.act,g=p.data,h=g.is_admin,N=g.possible_cc_sounds;if(!h)return v("main");var b=(0,a.useLocalState)(i,"subtitle",""),B=b[0],I=b[1],L=(0,a.useLocalState)(i,"text",""),T=L[0],x=L[1],A=(0,a.useLocalState)(i,"classified",0),E=A[0],M=A[1],D=(0,a.useLocalState)(i,"beepsound","Beep"),P=D[0],R=D[1];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Central Command Report",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function j(){return v("main")}return j}()}),children:[(0,e.createComponentVNode)(2,t.Input,{placeholder:"Enter Subtitle here.",fluid:!0,value:B,onChange:function(){function j(F,W){return I(W)}return j}(),mb:"5px"}),(0,e.createComponentVNode)(2,t.Input,{placeholder:"Enter Announcement here,\nMultiline input is accepted.",rows:10,fluid:!0,multiline:1,value:T,onChange:function(){function j(F,W){return x(W)}return j}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Send Announcement",fluid:!0,icon:"paper-plane",center:!0,mt:"5px",textAlign:"center",onClick:function(){function j(){return v("make_cc_announcement",{subtitle:B,text:T,classified:E,beepsound:P})}return j}()}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Dropdown,{width:"260px",height:"20px",options:N,selected:P,onSelected:function(){function j(F){return R(F)}return j}(),disabled:E})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"volume-up",mx:"5px",disabled:E,tooltip:"Test sound",onClick:function(){function j(){return v("test_sound",{sound:P})}return j}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:E,content:"Classified",fluid:!0,tooltip:E?"Sent to station communications consoles":"Publically announced",onClick:function(){function j(){return M(!E)}return j}()})})]})]})})}},46868:function(w,r,n){"use strict";r.__esModule=!0,r.CompostBin=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.CompostBin=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.biomass,m=u.compost,d=u.biomass_capacity,l=u.compost_capacity,s=u.potassium,i=u.potassium_capacity,p=u.potash,v=u.potash_capacity,g=(0,a.useSharedState)(S,"vendAmount",1),h=g[0],N=g[1];return(0,e.createComponentVNode)(2,o.Window,{width:360,height:250,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{label:"Resources",children:(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Biomass",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:c,minValue:0,maxValue:d,ranges:{good:[d*.5,1/0],average:[d*.25,d*.5],bad:[-1/0,d*.25]},children:[c," / ",d," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Compost",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:m,minValue:0,maxValue:l,ranges:{good:[l*.5,1/0],average:[l*.25,l*.5],bad:[-1/0,l*.25]},children:[m," / ",l," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Potassium",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:s,minValue:0,maxValue:i,ranges:{good:[i*.5,1/0],average:[i*.25,i*.5],bad:[-1/0,i*.25]},children:[s," / ",i," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Potash",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:p,minValue:0,maxValue:v,ranges:{good:[v*.5,1/0],average:[v*.25,v*.5],bad:[-1/0,v*.25]},children:[p," / ",v," Units"]})})]})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Controls",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,mr:"5px",color:"silver",children:"Soil clumps to make:"}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:h,width:"32px",minValue:1,maxValue:10,stepPixelSize:7,onChange:function(){function b(B,I){return N(I)}return b}()})],4),children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,align:"center",content:"Make Soil",disabled:m<25*h,icon:"arrow-circle-down",onClick:function(){function b(){return C("create",{amount:h})}return b}()})})})]})})})}return V}()},64707:function(w,r,n){"use strict";r.__esModule=!0,r.Contractor=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(99509),V=n(45493);function y(v,g){v.prototype=Object.create(g.prototype),v.prototype.constructor=v,S(v,g)}function S(v,g){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function h(N,b){return N.__proto__=b,N}return h}(),S(v,g)}var k={1:["ACTIVE","good"],2:["COMPLETED","good"],3:["FAILED","bad"]},C=["Recording biometric data...","Analyzing embedded syndicate info...","STATUS CONFIRMED","Contacting Syndicate database...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Response received, ack 4851234...","CONFIRM ACC "+Math.round(Math.random()*2e4),"Setting up private accounts...","CONTRACTOR ACCOUNT CREATED","Searching for available contracts...","Searching for available contracts...","Searching for available contracts...","Searching for available contracts...","CONTRACTS FOUND","WELCOME, AGENT"],u=r.Contractor=function(){function v(g,h){var N=(0,t.useBackend)(h),b=N.act,B=N.data,I;B.unauthorized?I=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,i,{height:"100%",allMessages:["ERROR: UNAUTHORIZED USER"],finishedTimeout:100,onFinished:function(){function A(){}return A}()})}):B.load_animation_completed?I=(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",children:(0,e.createComponentVNode)(2,c)}),(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",mt:"0.5rem",children:(0,e.createComponentVNode)(2,m)}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",overflow:"hidden",children:B.page===1?(0,e.createComponentVNode)(2,d,{height:"100%"}):(0,e.createComponentVNode)(2,s,{height:"100%"})})],4):I=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,i,{height:"100%",allMessages:C,finishedTimeout:3e3,onFinished:function(){function A(){return b("complete_load_animation")}return A}()})});var L=(0,t.useLocalState)(h,"viewingPhoto",""),T=L[0],x=L[1];return(0,e.createComponentVNode)(2,V.Window,{theme:"syndicate",width:500,height:600,children:[T&&(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,V.Window.Content,{className:"Contractor",children:(0,e.createComponentVNode)(2,o.Flex,{direction:"column",height:"100%",children:I})})]})}return v}(),c=function(g,h){var N=(0,t.useBackend)(h),b=N.act,B=N.data,I=B.tc_available,L=B.tc_paid_out,T=B.completed_contracts,x=B.rep;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Summary",buttons:(0,e.createComponentVNode)(2,o.Box,{verticalAlign:"middle",mt:"0.25rem",children:[x," Rep"]})},g,{children:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Box,{flexBasis:"50%",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"TC Available",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,o.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",children:[I," TC"]}),(0,e.createComponentVNode)(2,o.Button,{disabled:I<=0,content:"Claim",mx:"0.75rem",mb:"0",flexBasis:"content",onClick:function(){function A(){return b("claim")}return A}()})]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"TC Earned",children:[L," TC"]})]})}),(0,e.createComponentVNode)(2,o.Box,{flexBasis:"50%",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Contracts Completed",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,o.Box,{height:"20px",lineHeight:"20px",inline:!0,children:T})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Contractor Status",verticalAlign:"middle",children:"ACTIVE"})]})})]})})))},m=function(g,h){var N=(0,t.useBackend)(h),b=N.act,B=N.data,I=B.page;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Tabs,Object.assign({},g,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===1,onClick:function(){function L(){return b("page",{page:1})}return L}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"suitcase"}),"Contracts"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===2,onClick:function(){function L(){return b("page",{page:2})}return L}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"shopping-cart"}),"Hub"]})]})))},d=function(g,h){var N=(0,t.useBackend)(h),b=N.act,B=N.data,I=B.contracts,L=B.contract_active,T=B.can_extract,x=!!L&&I.filter(function(P){return P.status===1})[0],A=x&&x.time_left>0,E=(0,t.useLocalState)(h,"viewingPhoto",""),M=E[0],D=E[1];return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Available Contracts",overflow:"auto",buttons:(0,e.createComponentVNode)(2,o.Button,{disabled:!T||A,icon:"parachute-box",content:["Call Extraction",A&&(0,e.createComponentVNode)(2,f.Countdown,{timeLeft:x.time_left,format:function(){function P(R,j){return" ("+j.substr(3)+")"}return P}()})],onClick:function(){function P(){return b("extract")}return P}()})},g,{children:I.slice().sort(function(P,R){return P.status===1?-1:R.status===1?1:P.status-R.status}).map(function(P){var R;return(0,e.createComponentVNode)(2,o.Section,{title:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",color:P.status===1&&"good",children:P.target_name}),(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",children:P.has_photo&&(0,e.createComponentVNode)(2,o.Button,{icon:"camera",mb:"-0.5rem",ml:"0.5rem",onClick:function(){function j(){return D("target_photo_"+P.uid+".png")}return j}()})})]}),className:"Contractor__Contract",buttons:(0,e.createComponentVNode)(2,o.Box,{width:"100%",children:[!!k[P.status]&&(0,e.createComponentVNode)(2,o.Box,{color:k[P.status][1],inline:!0,mt:P.status!==1&&"0.125rem",mr:"0.25rem",lineHeight:"20px",children:k[P.status][0]}),P.status===1&&(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"ban",color:"bad",content:"Abort",ml:"0.5rem",onClick:function(){function j(){return b("abort")}return j}()})]}),children:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"2",mr:"0.5rem",children:[P.fluff_message,!!P.completed_time&&(0,e.createComponentVNode)(2,o.Box,{color:"good",children:[(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Icon,{name:"check",mr:"0.5rem"}),"Contract completed at ",P.completed_time]}),!!P.dead_extraction&&(0,e.createComponentVNode)(2,o.Box,{color:"bad",mt:"0.5rem",bold:!0,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle",mr:"0.5rem"}),"Telecrystals reward reduced drastically as the target was dead during extraction."]}),!!P.fail_reason&&(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:[(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Icon,{name:"times",mr:"0.5rem"}),"Contract failed: ",P.fail_reason]})]}),(0,e.createComponentVNode)(2,o.Flex.Item,{flexBasis:"100%",children:[(0,e.createComponentVNode)(2,o.Flex,{mb:"0.5rem",color:"label",children:["Extraction Zone:\xA0",l(P)]}),(R=P.difficulties)==null?void 0:R.map(function(j,F){return(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!!L,content:j.name+" ("+j.reward+" TC)",onClick:function(){function W(){return b("activate",{uid:P.uid,difficulty:F+1})}return W}()},F)}),!!P.objective&&(0,e.createComponentVNode)(2,o.Box,{color:"white",bold:!0,children:[P.objective.extraction_name,(0,e.createVNode)(1,"br"),"(",(P.objective.rewards.tc||0)+" TC",",\xA0",(P.objective.rewards.credits||0)+" Credits",")"]})]})]})},P.uid)})})))},l=function(g){if(!(!g.objective||g.status>1)){var h=g.objective.locs.user_area_id,N=g.objective.locs.user_coords,b=g.objective.locs.target_area_id,B=g.objective.locs.target_coords,I=h===b;return(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,o.Icon,{name:I?"dot-circle-o":"arrow-alt-circle-right-o",color:I?"green":"yellow",rotation:I?null:-(0,a.rad2deg)(Math.atan2(B[1]-N[1],B[0]-N[0])),lineHeight:I?null:"0.85",size:"1.5"})})}},s=function(g,h){var N=(0,t.useBackend)(h),b=N.act,B=N.data,I=B.rep,L=B.buyables;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Available Purchases",overflow:"auto"},g,{children:L.map(function(T){return(0,e.createComponentVNode)(2,o.Section,{title:T.name,children:[T.description,(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:I-1&&(0,e.createComponentVNode)(2,o.Box,{as:"span",color:T.stock===0?"bad":"good",ml:"0.5rem",children:[T.stock," in stock"]})]},T.uid)})})))},i=function(v){function g(N){var b;return b=v.call(this,N)||this,b.timer=null,b.state={currentIndex:0,currentDisplay:[]},b}y(g,v);var h=g.prototype;return h.tick=function(){function N(){var b=this.props,B=this.state;if(B.currentIndex<=b.allMessages.length){this.setState(function(L){return{currentIndex:L.currentIndex+1}});var I=B.currentDisplay;I.push(b.allMessages[B.currentIndex])}else clearTimeout(this.timer),setTimeout(b.onFinished,b.finishedTimeout)}return N}(),h.componentDidMount=function(){function N(){var b=this,B=this.props.linesPerSecond,I=B===void 0?2.5:B;this.timer=setInterval(function(){return b.tick()},1e3/I)}return N}(),h.componentWillUnmount=function(){function N(){clearTimeout(this.timer)}return N}(),h.render=function(){function N(){return(0,e.createComponentVNode)(2,o.Box,{m:1,children:this.state.currentDisplay.map(function(b){return(0,e.createFragment)([b,(0,e.createVNode)(1,"br")],0,b)})})}return N}(),g}(e.Component),p=function(g,h){var N=(0,t.useLocalState)(h,"viewingPhoto",""),b=N[0],B=N[1];return(0,e.createComponentVNode)(2,o.Modal,{className:"Contractor__photoZoom",children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:b}),(0,e.createComponentVNode)(2,o.Button,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){function I(){return B("")}return I}()})]})}},52141:function(w,r,n){"use strict";r.__esModule=!0,r.ConveyorSwitch=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ConveyorSwitch=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.slowFactor,m=u.oneWay,d=u.position;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:135,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lever position",children:d>0?"forward":d<0?"reverse":"neutral"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Allow reverse",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!m,onClick:function(){function l(){return C("toggleOneWay")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Slowdown factor",children:(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",onClick:function(){function l(){return C("slowFactor",{value:c-5})}return l}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-left",onClick:function(){function l(){return C("slowFactor",{value:c-1})}return l}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Slider,{width:"100px",mx:"1px",value:c,fillValue:c,minValue:1,maxValue:50,step:1,format:function(){function l(s){return s+"x"}return l}(),onChange:function(){function l(s,i){return C("slowFactor",{value:i})}return l}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-right",onClick:function(){function l(){return C("slowFactor",{value:c+1})}return l}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",onClick:function(){function l(){return C("slowFactor",{value:c+5})}return l}()})," "]})]})})]})})})})}return V}()},94187:function(w,r,n){"use strict";r.__esModule=!0,r.CrewMonitor=void 0;var e=n(96524),a=n(50640),t=n(78234),o=n(17899),f=n(24674),V=n(5126),y=n(38424),S=n(45493),k=function(l,s){return l.dead?"Deceased":parseInt(l.health,10)<=s?"Critical":parseInt(l.stat,10)===1?"Unconscious":"Living"},C=function(l,s){return l.dead?"red":parseInt(l.health,10)<=s?"orange":parseInt(l.stat,10)===1?"blue":"green"},u=r.CrewMonitor=function(){function d(l,s){var i=(0,o.useBackend)(s),p=i.act,v=i.data,g=(0,o.useLocalState)(s,"tabIndex",0),h=g[0],N=g[1],b=function(){function B(I){switch(I){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,m);default:return"WE SHOULDN'T BE HERE!"}}return B}();return(0,e.createComponentVNode)(2,S.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Tabs,{children:[(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"table",selected:h===0,onClick:function(){function B(){return N(0)}return B}(),children:"Data View"},"DataView"),(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"map-marked-alt",selected:h===1,onClick:function(){function B(){return N(1)}return B}(),children:"Map View"},"MapView")]})}),b(h)]})})})}return d}(),c=function(l,s){var i=(0,o.useBackend)(s),p=i.act,v=i.data,g=(0,a.sortBy)(function(x){return x.name})(v.crewmembers||[]),h=v.possible_levels,N=v.viewing_current_z_level,b=v.is_advanced,B=(0,o.useLocalState)(s,"search",""),I=B[0],L=B[1],T=(0,t.createSearch)(I,function(x){return x.name+"|"+x.assignment+"|"+x.area});return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,backgroundColor:"transparent",children:[(0,e.createComponentVNode)(2,f.Stack,{children:[(0,e.createComponentVNode)(2,f.Stack.Item,{width:"100%",ml:"5px",children:(0,e.createComponentVNode)(2,f.Input,{placeholder:"Search by name, assignment or location..",width:"100%",onInput:function(){function x(A,E){return L(E)}return x}()})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:b?(0,e.createComponentVNode)(2,f.Dropdown,{mr:"5px",width:"50px",options:h,selected:N,onSelected:function(){function x(A){return p("switch_level",{new_level:A})}return x}()}):null})]}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,f.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Location"})]}),g.filter(T).map(function(x){return(0,e.createComponentVNode)(2,f.Table.Row,{bold:!!x.is_command,children:[(0,e.createComponentVNode)(2,V.TableCell,{children:[x.name," (",x.assignment,")"]}),(0,e.createComponentVNode)(2,V.TableCell,{children:[(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:C(x,v.critThreshold),children:k(x,v.critThreshold)}),x.sensor_type>=2||v.ignoreSensors?(0,e.createComponentVNode)(2,f.Box,{inline:!0,ml:1,children:["(",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:y.COLORS.damageType.oxy,children:x.oxy}),"|",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:y.COLORS.damageType.toxin,children:x.tox}),"|",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:y.COLORS.damageType.burn,children:x.fire}),"|",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:y.COLORS.damageType.brute,children:x.brute}),")"]}):null]}),(0,e.createComponentVNode)(2,V.TableCell,{children:x.sensor_type===3||v.ignoreSensors?v.isAI||v.isObserver?(0,e.createComponentVNode)(2,f.Button,{fluid:!0,icon:"location-arrow",content:x.area+" ("+x.x+", "+x.y+")",onClick:function(){function A(){return p("track",{track:x.ref})}return A}()}):x.area+" ("+x.x+", "+x.y+")":(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:"grey",children:"Not Available"})})]},x.name)})]})]})},m=function(l,s){var i=(0,o.useBackend)(s),p=i.act,v=i.data,g=(0,o.useLocalState)(s,"zoom",1),h=g[0],N=g[1];return(0,e.createComponentVNode)(2,f.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,e.createComponentVNode)(2,f.NanoMap,{onZoom:function(){function b(B){return N(B)}return b}(),children:v.crewmembers.filter(function(b){return b.sensor_type===3||v.ignoreSensors}).map(function(b){return(0,e.createComponentVNode)(2,f.NanoMap.Marker,{x:b.x,y:b.y,zoom:h,icon:"circle",tooltip:b.name+" ("+b.assignment+")",color:C(b,v.critThreshold),onClick:function(){function B(){return v.isObserver?p("track",{track:b.ref}):null}return B}()},b.ref)})})})}},60561:function(w,r,n){"use strict";r.__esModule=!0,r.Cryo=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=[{label:"Resp.",type:"oxyLoss"},{label:"Toxin",type:"toxLoss"},{label:"Brute",type:"bruteLoss"},{label:"Burn",type:"fireLoss"}],V=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],y=r.Cryo=function(){function C(u,c){return(0,e.createComponentVNode)(2,o.Window,{width:520,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,S)})})})}return C}(),S=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.isOperating,i=l.hasOccupant,p=l.occupant,v=p===void 0?[]:p,g=l.cellTemperature,h=l.cellTemperatureStatus,N=l.isBeakerLoaded,b=l.cooldownProgress,B=l.auto_eject_healthy,I=l.auto_eject_dead;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Occupant",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"user-slash",onClick:function(){function L(){return d("ejectOccupant")}return L}(),disabled:!i,children:"Eject"}),children:i?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Occupant",children:v.name||"Unknown"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:v.health,max:v.maxHealth,value:v.health/v.maxHealth,color:v.health>0?"good":"average",children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:Math.round(v.health)})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:V[v.stat][0],children:V[v.stat][1]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:Math.round(v.bodyTemperature)})," K"]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),f.map(function(L){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:L.label,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:v[L.type]/100,ranges:{bad:[.01,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:Math.round(v[L.type])})})},L.id)})]}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Cell",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",onClick:function(){function L(){return d("ejectBeaker")}return L}(),disabled:!N,children:"Eject Beaker"}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",onClick:function(){function L(){return d(s?"switchOff":"switchOn")}return L}(),selected:s,children:s?"On":"Off"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",color:h,children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:g})," K"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:(0,e.createComponentVNode)(2,k)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dosage interval",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{average:[-1/0,99],good:[99,1/0]},color:!N&&"average",value:b,minValue:0,maxValue:100})}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto-eject healthy occupants",children:(0,e.createComponentVNode)(2,t.Button,{icon:B?"toggle-on":"toggle-off",selected:B,onClick:function(){function L(){return d(B?"auto_eject_healthy_off":"auto_eject_healthy_on")}return L}(),children:B?"On":"Off"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto-eject dead occupants",children:(0,e.createComponentVNode)(2,t.Button,{icon:I?"toggle-on":"toggle-off",selected:I,onClick:function(){function L(){return d(I?"auto_eject_dead_off":"auto_eject_dead_on")}return L}(),children:I?"On":"Off"})})]})})})],4)},k=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.isBeakerLoaded,i=l.beakerLabel,p=l.beakerVolume;return s?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:!i&&"average",children:[i||"No label",":"]}),(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:!p&&"bad",ml:1,children:p?(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:p,format:function(){function v(g){return Math.round(g)+" units remaining"}return v}()}):"Beaker is empty"})],4):(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"bad",children:"No beaker loaded"})}},27889:function(w,r,n){"use strict";r.__esModule=!0,r.CryopodConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(78234),V=r.CryopodConsole=function(){function k(C,u){var c=(0,a.useBackend)(u),m=c.data,d=m.account_name,l=m.allow_items;return(0,e.createComponentVNode)(2,o.Window,{title:"Cryopod Console",width:400,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Hello, "+(d||"[REDACTED]")+"!",children:"This automated cryogenic freezing unit will safely store your corporeal form until your next assignment."}),(0,e.createComponentVNode)(2,y),!!l&&(0,e.createComponentVNode)(2,S)]})})}return k}(),y=function(C,u){var c=(0,a.useBackend)(u),m=c.data,d=m.frozen_crew;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Stored Crew",children:d.length?(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:d.map(function(l,s){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.name,children:l.rank},s)})})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No stored crew!"})})},S=function(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.frozen_items,s=function(p){var v=p.toString();return v.startsWith("the ")&&(v=v.slice(4,v.length)),(0,f.toTitleCase)(v)};return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Stored Items",children:l.length?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:l.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:s(i.name),buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Drop",mr:1,onClick:function(){function p(){return m("one_item",{item:i.uid})}return p}()})},i)})})}),(0,e.createComponentVNode)(2,t.Button,{content:"Drop All Items",color:"red",onClick:function(){function i(){return m("all_items")}return i}()})],4):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No stored items!"})})}},81434:function(w,r,n){"use strict";r.__esModule=!0,r.DNAModifier=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(99665),V=[["good","Alive"],["average","Critical"],["bad","DEAD"]],y=[["ui","Modify U.I.","dna"],["se","Modify S.E.","dna"],["buffer","Transfer Buffers","syringe"],["rejuvenators","Rejuvenators","flask"]],S=[5,10,20,30,50],k=r.DNAModifier=function(){function h(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=L.irradiating,x=L.dnaBlockSize,A=L.occupant;b.dnaBlockSize=x,b.isDNAInvalid=!A.isViableSubject||!A.uniqueIdentity||!A.structuralEnzymes;var E;return T&&(E=(0,e.createComponentVNode)(2,v,{duration:T})),(0,e.createComponentVNode)(2,o.Window,{width:660,height:775,children:[(0,e.createComponentVNode)(2,f.ComplexModal),E,(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,C)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,u)})]})})]})}return h}(),C=function(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=L.locked,x=L.hasOccupant,A=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{color:"label",inline:!0,mr:"0.5rem",children:"Door Lock:"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!x,selected:T,icon:T?"toggle-on":"toggle-off",content:T?"Engaged":"Disengaged",onClick:function(){function E(){return I("toggleLock")}return E}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!x||T,icon:"user-slash",content:"Eject",onClick:function(){function E(){return I("ejectOccupant")}return E}()})],4),children:x?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:A.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:A.minHealth,max:A.maxHealth,value:A.health/A.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:V[A.stat][0],children:V[A.stat][1]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider)]})}),b.isDNAInvalid?(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-circle"}),"\xA0 The occupant's DNA structure is ruined beyond recognition, please insert a subject with an intact DNA structure."]}):(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Radiation",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:"0",max:"100",value:A.radiationLevel/100,color:"average"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unique Enzymes",children:L.occupant.uniqueEnzymes?L.occupant.uniqueEnzymes:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-circle"}),"\xA0 Unknown"]})})]})],0):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"Cell unoccupied."})})},u=function(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=L.selectedMenuKey,x=L.hasOccupant,A=L.occupant;if(x){if(b.isDNAInvalid)return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No operation possible on this subject."]})})})}else return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant in DNA modifier."]})})});var E;return T==="ui"?E=(0,e.createFragment)([(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,d)],4):T==="se"?E=(0,e.createFragment)([(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,d)],4):T==="buffer"?E=(0,e.createComponentVNode)(2,l):T==="rejuvenators"&&(E=(0,e.createComponentVNode)(2,p)),(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:y.map(function(M,D){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:M[2],selected:T===M[0],onClick:function(){function P(){return I("selectMenuKey",{key:M[0]})}return P}(),children:M[1]},D)})}),E]})},c=function(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=L.selectedUIBlock,x=L.selectedUISubBlock,A=L.selectedUITarget,E=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Modify Unique Identifier",children:[(0,e.createComponentVNode)(2,g,{dnaString:E.uniqueIdentity,selectedBlock:T,selectedSubblock:x,blockSize:b.dnaBlockSize,action:"selectUIBlock"}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:15,stepPixelSize:"20",value:A,format:function(){function M(D){return D.toString(16).toUpperCase()}return M}(),ml:"0",onChange:function(){function M(D,P){return I("changeUITarget",{value:P})}return M}()})})}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Irradiate Block",mt:"0.5rem",onClick:function(){function M(){return I("pulseUIRadiation")}return M}()})]})},m=function(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=L.selectedSEBlock,x=L.selectedSESubBlock,A=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Modify Structural Enzymes",children:[(0,e.createComponentVNode)(2,g,{dnaString:A.structuralEnzymes,selectedBlock:T,selectedSubblock:x,blockSize:b.dnaBlockSize,action:"selectSEBlock"}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Irradiate Block",onClick:function(){function E(){return I("pulseSERadiation")}return E}()})]})},d=function(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=L.radiationIntensity,x=L.radiationDuration;return(0,e.createComponentVNode)(2,t.Section,{title:"Radiation Emitter",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Intensity",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:10,stepPixelSize:20,value:T,popUpPosition:"right",ml:"0",onChange:function(){function A(E,M){return I("radiationIntensity",{value:M})}return A}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Duration",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:20,stepPixelSize:10,unit:"s",value:x,popUpPosition:"right",ml:"0",onChange:function(){function A(E,M){return I("radiationDuration",{value:M})}return A}()})})]}),(0,e.createComponentVNode)(2,t.Button,{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(){function A(){return I("pulseRadiation")}return A}()})]})},l=function(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=L.buffers,x=T.map(function(A,E){return(0,e.createComponentVNode)(2,s,{id:E+1,name:"Buffer "+(E+1),buffer:A},E)});return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{height:"75%",mt:1,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Buffers",children:x})}),(0,e.createComponentVNode)(2,t.Stack.Item,{height:"25%",children:(0,e.createComponentVNode)(2,i)})]})},s=function(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=N.id,x=N.name,A=N.buffer,E=L.isInjectorReady,M=x+(A.data?" - "+A.label:"");return(0,e.createComponentVNode)(2,t.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,e.createComponentVNode)(2,t.Section,{title:M,mx:"0",lineHeight:"18px",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Confirm,{disabled:!A.data,icon:"trash",content:"Clear",onClick:function(){function D(){return I("bufferOption",{option:"clear",id:T})}return D}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!A.data,icon:"pen",content:"Rename",onClick:function(){function D(){return I("bufferOption",{option:"changeLabel",id:T})}return D}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!A.data||!L.hasDisk,icon:"save",content:"Export",tooltip:"Exports this buffer to the currently loaded data disk.",tooltipPosition:"bottom-start",onClick:function(){function D(){return I("bufferOption",{option:"saveDisk",id:T})}return D}()})],4),children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Write",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject U.I",mb:"0",onClick:function(){function D(){return I("bufferOption",{option:"saveUI",id:T})}return D}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject U.I and U.E.",mb:"0",onClick:function(){function D(){return I("bufferOption",{option:"saveUIAndUE",id:T})}return D}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject S.E.",mb:"0",onClick:function(){function D(){return I("bufferOption",{option:"saveSE",id:T})}return D}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!L.hasDisk||!L.disk.data,icon:"arrow-circle-down",content:"From Disk",mb:"0",onClick:function(){function D(){return I("bufferOption",{option:"loadDisk",id:T})}return D}()})]}),!!A.data&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subject",children:A.owner||(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Unknown"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Type",children:[A.type==="ui"?"Unique Identifiers":"Structural Enzymes",!!A.ue&&" and Unique Enzymes"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transfer to",children:[(0,e.createComponentVNode)(2,t.Button,{disabled:!E,icon:E?"syringe":"spinner",iconSpin:!E,content:"Injector",mb:"0",onClick:function(){function D(){return I("bufferOption",{option:"createInjector",id:T})}return D}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!E,icon:E?"syringe":"spinner",iconSpin:!E,content:"Block Injector",mb:"0",onClick:function(){function D(){return I("bufferOption",{option:"createInjector",id:T,block:1})}return D}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"user",content:"Subject",mb:"0",onClick:function(){function D(){return I("bufferOption",{option:"transfer",id:T})}return D}()})]})],4)]}),!A.data&&(0,e.createComponentVNode)(2,t.Box,{color:"label",mt:"0.5rem",children:"This buffer is empty."})]})})},i=function(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=L.hasDisk,x=L.disk;return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Confirm,{disabled:!T||!x.data,icon:"trash",content:"Wipe",onClick:function(){function A(){return I("wipeDisk")}return A}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!T,icon:"eject",content:"Eject",onClick:function(){function A(){return I("ejectDisk")}return A}()})],4),children:T?x.data?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Label",children:x.label?x.label:"No label"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subject",children:x.owner?x.owner:(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Unknown"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Type",children:[x.type==="ui"?"Unique Identifiers":"Structural Enzymes",!!x.ue&&" and Unique Enzymes"]})]}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"Disk is blank."}):(0,e.createComponentVNode)(2,t.Box,{color:"label",textAlign:"center",my:"1rem",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"save-o",size:"4"}),(0,e.createVNode)(1,"br"),"No disk inserted."]})})},p=function(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=L.isBeakerLoaded,x=L.beakerVolume,A=L.beakerLabel;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Rejuvenators and Beaker",buttons:(0,e.createComponentVNode)(2,t.Button,{disabled:!T,icon:"eject",content:"Eject",onClick:function(){function E(){return I("ejectBeaker")}return E}()}),children:T?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Inject",children:[S.map(function(E,M){return(0,e.createComponentVNode)(2,t.Button,{disabled:E>x,icon:"syringe",content:E,onClick:function(){function D(){return I("injectRejuvenators",{amount:E})}return D}()},M)}),(0,e.createComponentVNode)(2,t.Button,{disabled:x<=0,icon:"syringe",content:"All",onClick:function(){function E(){return I("injectRejuvenators",{amount:x})}return E}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:[(0,e.createComponentVNode)(2,t.Box,{mb:"0.5rem",children:A||"No label"}),x?(0,e.createComponentVNode)(2,t.Box,{color:"good",children:[x," unit",x===1?"":"s"," remaining"]}):(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Empty"})]})]}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"flask",size:5,color:"silver"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"h3",null,"No beaker loaded.",16)]})})})},v=function(N,b){return(0,e.createComponentVNode)(2,t.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"spinner",size:"5",spin:!0}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{color:"average",children:(0,e.createVNode)(1,"h1",null,[(0,e.createComponentVNode)(2,t.Icon,{name:"radiation"}),(0,e.createTextVNode)("\xA0Irradiating occupant\xA0"),(0,e.createComponentVNode)(2,t.Icon,{name:"radiation"})],4)}),(0,e.createComponentVNode)(2,t.Box,{color:"label",children:(0,e.createVNode)(1,"h3",null,[(0,e.createTextVNode)("For "),N.duration,(0,e.createTextVNode)(" second"),N.duration===1?"":"s"],0)})]})},g=function(N,b){for(var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=N.dnaString,x=N.selectedBlock,A=N.selectedSubblock,E=N.blockSize,M=N.action,D=T.split(""),P=0,R=[],j=function(){for(var _=F/E+1,K=[],H=function(){var J=X+1;K.push((0,e.createComponentVNode)(2,t.Button,{selected:x===_&&A===J,content:D[F+X],mb:"0",onClick:function(){function le(){return I(M,{block:_,subblock:J})}return le}()}))},X=0;Xi.spawnpoints?"red":"green",children:[i.total," total, versus ",i.spawnpoints," spawnpoints"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dispatch",children:(0,e.createComponentVNode)(2,t.Button,{width:10.5,textAlign:"center",icon:"ambulance",content:"Send ERT",onClick:function(){function N(){return s("dispatch_ert",{silent:g})}return N}()})})]})})})},C=function(m,d){var l=(0,a.useBackend)(d),s=l.act,i=l.data,p=i.ert_request_messages;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:p&&p.length?p.map(function(v){return(0,e.createComponentVNode)(2,t.Section,{title:v.time,buttons:(0,e.createComponentVNode)(2,t.Button,{content:v.sender_real_name,onClick:function(){function g(){return s("view_player_panel",{uid:v.sender_uid})}return g}(),tooltip:"View player panel"}),children:v.message},(0,f.decodeHtmlEntities)(v.time))}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"broadcast-tower",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No ERT requests."]})})})})},u=function(m,d){var l=(0,a.useBackend)(d),s=l.act,i=l.data,p=(0,a.useLocalState)(d,"text",""),v=p[0],g=p[1];return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Input,{placeholder:"Enter ERT denial reason here,\nMultiline input is accepted.",rows:19,fluid:!0,multiline:1,value:v,onChange:function(){function h(N,b){return g(b)}return h}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Deny ERT",fluid:!0,icon:"times",center:!0,mt:2,textAlign:"center",onClick:function(){function h(){return s("deny_ert",{reason:v})}return h}()})]})})}},24503:function(w,r,n){"use strict";r.__esModule=!0,r.EconomyManager=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(99665),V=r.EconomyManager=function(){function S(k,C){return(0,e.createComponentVNode)(2,o.Window,{width:600,height:325,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,y)})]})}return S}(),y=function(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.next_payroll_time;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.4rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"coins",verticalAlign:"middle",size:3,mr:"1rem"}),"Economy Manager"]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.LabeledList,{label:"Pay Bonuses and Deductions",children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Global",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Global Payroll Modification",onClick:function(){function l(){return c("payroll_modification",{mod_type:"global"})}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Department Accounts",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Department Account Payroll Modification",onClick:function(){function l(){return c("payroll_modification",{mod_type:"department"})}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Department Members",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Department Members Payroll Modification",onClick:function(){function l(){return c("payroll_modification",{mod_type:"department_members"})}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Single Accounts",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Crew Member Payroll Modification",onClick:function(){function l(){return c("payroll_modification",{mod_type:"crew_member"})}return l}()})})]}),(0,e.createVNode)(1,"hr"),(0,e.createComponentVNode)(2,t.Box,{mb:.5,children:["Next Payroll in: ",d," Minutes"]}),(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",width:"auto",color:"bad",content:"Delay Payroll",onClick:function(){function l(){return c("delay_payroll")}return l}()}),(0,e.createComponentVNode)(2,t.Button,{width:"auto",content:"Set Payroll Time",onClick:function(){function l(){return c("set_payroll")}return l}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",width:"auto",color:"good",content:"Accelerate Payroll",onClick:function(){function l(){return c("accelerate_payroll")}return l}()})]}),(0,e.createComponentVNode)(2,t.NoticeBox,{children:[(0,e.createVNode)(1,"b",null,"WARNING:",16)," You take full responsibility for unbalancing the economy with these buttons!"]})],4)}},15543:function(w,r,n){"use strict";r.__esModule=!0,r.Electropack=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=r.Electropack=function(){function y(S,k){var C=(0,t.useBackend)(k),u=C.act,c=C.data,m=c.power,d=c.code,l=c.frequency,s=c.minFrequency,i=c.maxFrequency;return(0,e.createComponentVNode)(2,f.Window,{width:360,height:135,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,o.Button,{icon:m?"power-off":"times",content:m?"On":"Off",selected:m,onClick:function(){function p(){return u("power")}return p}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Reset",onClick:function(){function p(){return u("reset",{reset:"freq"})}return p}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:6,minValue:s/10,maxValue:i/10,value:l/10,format:function(){function p(v){return(0,a.toFixed)(v,1)}return p}(),width:"80px",onChange:function(){function p(v,g){return u("freq",{freq:g})}return p}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Reset",onClick:function(){function p(){return u("reset",{reset:"code"})}return p}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:d,width:"80px",onChange:function(){function p(v,g){return u("code",{code:g})}return p}()})})]})})})})}return y}()},57013:function(w,r,n){"use strict";r.__esModule=!0,r.Emojipedia=void 0;var e=n(96524),a=n(28234),t=n(17899),o=n(24674),f=n(45493),V=r.Emojipedia=function(){function S(k,C){var u=(0,t.useBackend)(C),c=u.data,m=c.emoji_list,d=(0,t.useLocalState)(C,"searchText",""),l=d[0],s=d[1],i=m.filter(function(p){return p.name.toLowerCase().includes(l.toLowerCase())});return(0,e.createComponentVNode)(2,f.Window,{width:325,height:400,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Emojipedia v1.0.1",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by name",value:l,onInput:function(){function p(v,g){return s(g)}return p}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"Click on an emoji to copy its tag!",tooltipPosition:"bottom",icon:"circle-question"})],4),children:i.map(function(p){return(0,e.createComponentVNode)(2,o.Button,{m:1,color:"transparent",className:(0,a.classes)(["emoji16x16","emoji-"+p.name]),style:{transform:"scale(1.5)"},tooltip:p.name,onClick:function(){function v(){y(p.name)}return v}()},p.name)})})})})}return S}(),y=function(k){var C=document.createElement("input"),u=":"+k+":";C.value=u,document.body.appendChild(C),C.select(),document.execCommand("copy"),document.body.removeChild(C)}},75450:function(w,r,n){"use strict";r.__esModule=!0,r.EmotePanelContent=r.EmotePanel=void 0;var e=n(96524),a=n(17899),t=n(45493),o=n(24674),f=n(78234),V=r.EmotePanel=function(){function S(k,C){return(0,e.createComponentVNode)(2,t.Window,{width:500,height:550,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,y)})})})}return S}(),y=r.EmotePanelContent=function(){function S(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.emotes,l=(0,a.useLocalState)(C,"searchText",""),s=l[0],i=l[1],p=(0,a.useLocalState)(C,"filterVisible",""),v=p[0],g=p[1],h=(0,a.useLocalState)(C,"filterAudible",""),N=h[0],b=h[1],B=(0,a.useLocalState)(C,"filterSound",""),I=B[0],L=B[1],T=(0,a.useLocalState)(C,"filterHands",""),x=T[0],A=T[1],E=(0,a.useLocalState)(C,"filterTargettable",""),M=E[0],D=E[1],P=(0,a.useLocalState)(C,"useTarget",""),R=P[0],j=P[1],F=(0,e.createComponentVNode)(2,o.Input,{placeholder:"\u0418\u0441\u043A\u0430\u0442\u044C \u044D\u043C\u043E\u0446\u0438\u044E...",fluid:!0,onInput:function(){function W(_,K){return i(K)}return W}()});return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"\u0424\u0438\u043B\u044C\u0442\u0440\u044B",buttons:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Button,{icon:"eye",align:"center",tooltip:"\u0412\u0438\u0434\u0438\u043C\u044B\u0439",selected:v,onClick:function(){function W(){return g(!v)}return W}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",align:"center",tooltip:"\u0421\u043B\u044B\u0448\u0438\u043C\u044B\u0439",selected:N,onClick:function(){function W(){return b(!N)}return W}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"volume-up",align:"center",tooltip:"\u0417\u0432\u0443\u043A",selected:I,onClick:function(){function W(){return L(!I)}return W}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"hand-paper",align:"center",tooltip:"\u0420\u0443\u043A\u0438",selected:x,onClick:function(){function W(){return A(!x)}return W}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"crosshairs",height:"100%",align:"center",tooltip:"\u0426\u0435\u043B\u044C",selected:M,onClick:function(){function W(){return D(!M)}return W}()})]}),children:F})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:s.length>0?'\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043F\u043E\u0438\u0441\u043A\u0430 "'+s+'"':"\u0412\u0441\u0435 \u044D\u043C\u043E\u0446\u0438\u0438",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"crosshairs",selected:R,onClick:function(){function W(){return j(!R)}return W}(),children:"\u0412\u044B\u0431\u0438\u0440\u0430\u0442\u044C \u0446\u0435\u043B\u044C"}),children:(0,e.createComponentVNode)(2,o.Stack,{children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:d.filter(function(W){return W.key&&(s.length>0?W.key.toLowerCase().includes(s.toLowerCase())||W.name.toLowerCase().includes(s.toLowerCase()):!0)&&(v?W.visible:!0)&&(N?W.audible:!0)&&(I?W.sound:!0)&&(x?W.hands:!0)&&(M?W.targettable:!0)}).map(function(W){return(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function _(){return c("play_emote",{emote_key:W.key,useTarget:R})}return _}(),children:[W.visible?(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}):"",W.audible?(0,e.createComponentVNode)(2,o.Icon,{name:"comment"}):"",W.sound?(0,e.createComponentVNode)(2,o.Icon,{name:"volume-up"}):"",W.hands?(0,e.createComponentVNode)(2,o.Icon,{name:"hand-paper"}):"",W.targettable?(0,e.createComponentVNode)(2,o.Icon,{name:"crosshairs"}):"",W.name]},W.name)})})})})})],4)}return S}()},99012:function(w,r,n){"use strict";r.__esModule=!0,r.EvolutionMenu=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(45493),V=n(74041),y=n(50640),S=r.EvolutionMenu=function(){function u(c,m){return(0,e.createComponentVNode)(2,f.Window,{width:480,height:580,theme:"changeling",children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,C)]})})})}return u}(),k=function(c,m){var d=(0,t.useBackend)(m),l=d.act,s=d.data,i=s.evo_points,p=s.can_respec;return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Evolution Points",height:5.5,children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,color:"label",children:"Points remaining:"}),(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,ml:2,bold:!0,color:"#1b945c",children:i}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,o.Button,{ml:2.5,disabled:!p,content:"Readapt",icon:"sync",onClick:function(){function v(){return l("readapt")}return v}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"By transforming a humanoid into a husk, we gain the ability to readapt our chosen evolutions.",tooltipPosition:"bottom",icon:"question-circle"})]})]})})})},C=function(c,m){var d=(0,t.useBackend)(m),l=d.act,s=d.data,i=s.evo_points,p=s.ability_tabs,v=s.purchased_abilities,g=s.view_mode,h=(0,t.useLocalState)(m,"selectedTab",p[0]),N=h[0],b=h[1],B=(0,t.useLocalState)(m,"searchText",""),I=B[0],L=B[1],T=(0,t.useLocalState)(m,"ability_tabs",p[0].abilities),x=T[0],A=T[1],E=function(R,j){if(j===void 0&&(j=""),!R||R.length===0)return[];var F=(0,a.createSearch)(j,function(W){return W.name+"|"+W.description});return(0,V.flow)([(0,y.filter)(function(W){return W==null?void 0:W.name}),(0,y.filter)(F),(0,y.sortBy)(function(W){return W==null?void 0:W.name})])(R)},M=function(R){if(L(R),R==="")return A(N.abilities);A(E(p.map(function(j){return j.abilities}).flat(),R))},D=function(R){b(R),A(R.abilities),L("")};return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Abilities",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Input,{width:"200px",placeholder:"Search Abilities",onInput:function(){function P(R,j){M(j)}return P}(),value:I}),(0,e.createComponentVNode)(2,o.Button,{icon:g?"square-o":"check-square-o",selected:!g,content:"Compact",onClick:function(){function P(){return l("set_view_mode",{mode:0})}return P}()}),(0,e.createComponentVNode)(2,o.Button,{icon:g?"check-square-o":"square-o",selected:g,content:"Expanded",onClick:function(){function P(){return l("set_view_mode",{mode:1})}return P}()})],4),children:[(0,e.createComponentVNode)(2,o.Tabs,{children:p.map(function(P){return(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===""&&N===P,onClick:function(){function R(){D(P)}return R}(),children:P.category},P)})}),x.map(function(P,R){return(0,e.createComponentVNode)(2,o.Box,{p:.5,mx:-1,className:"candystripe",children:[(0,e.createComponentVNode)(2,o.Stack,{align:"center",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{ml:.5,color:"#dedede",children:P.name}),v.includes(P.power_path)&&(0,e.createComponentVNode)(2,o.Stack.Item,{ml:2,bold:!0,color:"#1b945c",children:"(Purchased)"}),(0,e.createComponentVNode)(2,o.Stack.Item,{mr:3,textAlign:"right",grow:1,children:[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:["Cost:"," "]}),(0,e.createComponentVNode)(2,o.Box,{as:"span",bold:!0,color:"#1b945c",children:P.cost})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{textAlign:"right",children:(0,e.createComponentVNode)(2,o.Button,{mr:.5,disabled:P.cost>i||v.includes(P.power_path),content:"Evolve",onClick:function(){function j(){return l("purchase",{power_path:P.power_path})}return j}()})})]}),!!g&&(0,e.createComponentVNode)(2,o.Stack,{color:"#8a8a8a",my:1,ml:1.5,width:"95%",children:P.description+" "+P.helptext})]},R)})]})})}},37504:function(w,r,n){"use strict";r.__esModule=!0,r.ExosuitFabricator=void 0;var e=n(96524),a=n(28234),t=n(78234),o=n(17899),f=n(24674),V=n(99509),y=n(45493),S=["id","amount","lineDisplay","onClick"];function k(v,g){if(v==null)return{};var h={},N=Object.keys(v),b,B;for(B=0;B=0)&&(h[b]=v[b]);return h}var C=2e3,u={bananium:"clown",tranquillite:"mime"},c=r.ExosuitFabricator=function(){function v(g,h){var N=(0,o.useBackend)(h),b=N.act,B=N.data,I=B.building;return(0,e.createComponentVNode)(2,y.Window,{width:950,height:625,children:(0,e.createComponentVNode)(2,y.Window.Content,{className:"Exofab",children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,d)}),I&&(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,l)})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m)}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,s)})]})})]})})})}return v}(),m=function(g,h){var N=(0,o.useBackend)(h),b=N.act,B=N.data,I=B.materials,L=B.capacity,T=Object.values(I).reduce(function(x,A){return x+A},0);return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,title:"Materials",className:"Exofab__materials",buttons:(0,e.createComponentVNode)(2,f.Box,{color:"label",mt:"0.25rem",children:[(T/L*100).toPrecision(3),"% full"]}),children:["metal","glass","silver","gold","uranium","titanium","plasma","diamond","bluespace","bananium","tranquillite","plastic"].map(function(x){return(0,e.createComponentVNode)(2,i,{mt:-2,id:x,bold:x==="metal"||x==="glass",onClick:function(){function A(){return b("withdraw",{id:x})}return A}()},x)})})},d=function(g,h){var N=(0,o.useBackend)(h),b=N.act,B=N.data,I=B.curCategory,L=B.categories,T=B.designs,x=B.syncing,A=(0,o.useLocalState)(h,"searchText",""),E=A[0],M=A[1],D=(0,t.createSearch)(E,function(R){return R.name}),P=T.filter(D);return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,className:"Exofab__designs",title:(0,e.createComponentVNode)(2,f.Dropdown,{className:"Exofab__dropdown",selected:I,options:L,onSelected:function(){function R(j){return b("category",{cat:j})}return R}()}),buttons:(0,e.createComponentVNode)(2,f.Box,{mt:"2px",children:[(0,e.createComponentVNode)(2,f.Button,{icon:"plus",content:"Queue all",onClick:function(){function R(){return b("queueall")}return R}()}),(0,e.createComponentVNode)(2,f.Button,{disabled:x,iconSpin:x,icon:"sync-alt",content:x?"Synchronizing...":"Synchronize with R&D servers",onClick:function(){function R(){return b("sync")}return R}()})]}),children:[(0,e.createComponentVNode)(2,f.Input,{placeholder:"Search by name...",mb:"0.5rem",width:"100%",onInput:function(){function R(j,F){return M(F)}return R}()}),P.map(function(R){return(0,e.createComponentVNode)(2,p,{design:R},R.id)}),P.length===0&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"No designs found."})]})},l=function(g,h){var N=(0,o.useBackend)(h),b=N.act,B=N.data,I=B.building,L=B.buildStart,T=B.buildEnd,x=B.worldTime;return(0,e.createComponentVNode)(2,f.Section,{className:"Exofab__building",stretchContents:!0,children:(0,e.createComponentVNode)(2,f.ProgressBar.Countdown,{start:L,current:x,end:T,children:(0,e.createComponentVNode)(2,f.Stack,{children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Icon,{name:"cog",spin:!0})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:["Building ",I,"\xA0(",(0,e.createComponentVNode)(2,V.Countdown,{current:x,timeLeft:T-x,format:function(){function A(E,M){return M.substr(3)}return A}()}),")"]})]})})})},s=function(g,h){var N=(0,o.useBackend)(h),b=N.act,B=N.data,I=B.queue,L=B.processingQueue,T=Object.entries(B.queueDeficit).filter(function(A){return A[1]<0}),x=I.reduce(function(A,E){return A+E.time},0);return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,className:"Exofab__queue",title:"Queue",buttons:(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,f.Button,{selected:L,icon:L?"toggle-on":"toggle-off",content:"Process",onClick:function(){function A(){return b("process")}return A}()}),(0,e.createComponentVNode)(2,f.Button,{disabled:I.length===0,icon:"eraser",content:"Clear",onClick:function(){function A(){return b("unqueueall")}return A}()})]}),children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:I.length===0?(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"The queue is empty."}):(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__queue--queue",grow:!0,overflow:"auto",children:I.map(function(A,E){return(0,e.createComponentVNode)(2,f.Box,{color:A.notEnough&&"bad",children:[E+1,". ",A.name,E>0&&(0,e.createComponentVNode)(2,f.Button,{icon:"arrow-up",onClick:function(){function M(){return b("queueswap",{from:E+1,to:E})}return M}()}),E0&&(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__queue--time",children:[(0,e.createComponentVNode)(2,f.Divider),"Processing time:",(0,e.createComponentVNode)(2,f.Icon,{name:"clock",mx:"0.5rem"}),(0,e.createComponentVNode)(2,f.Box,{inline:!0,bold:!0,children:new Date(x/10*1e3).toISOString().substr(14,5)})]}),Object.keys(T).length>0&&(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__queue--deficit",shrink:"0",children:[(0,e.createComponentVNode)(2,f.Divider),"Lacking materials to complete:",T.map(function(A){return(0,e.createComponentVNode)(2,f.Box,{children:(0,e.createComponentVNode)(2,i,{id:A[0],amount:-A[1],lineDisplay:!0})},A[0])})]})],0)})})},i=function(g,h){var N=(0,o.useBackend)(h),b=N.act,B=N.data,I=g.id,L=g.amount,T=g.lineDisplay,x=g.onClick,A=k(g,S),E=B.materials[I]||0,M=L||E;if(!(M<=0&&!(I==="metal"||I==="glass"))){var D=L&&L>E;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,f.Stack,Object.assign({align:"center",className:(0,a.classes)(["Exofab__material",T&&"Exofab__material--line"])},A,{children:T?(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Stack.Item,{className:(0,a.classes)(["materials32x32",I])}),(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__material--amount",color:D&&"bad",ml:0,mr:1,children:M.toLocaleString("en-US")})],4):(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Stack.Item,{basis:"content",children:(0,e.createComponentVNode)(2,f.Button,{width:"85%",color:"transparent",onClick:x,children:(0,e.createComponentVNode)(2,f.Box,{mt:1,className:(0,a.classes)(["materials32x32",I])})})}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:"1",children:[(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__material--name",children:I}),(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__material--amount",children:[M.toLocaleString("en-US")," cm\xB3 (",Math.round(M/C*10)/10," ","sheets)"]})]})],4)})))}},p=function(g,h){var N=(0,o.useBackend)(h),b=N.act,B=N.data,I=g.design;return(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__design",children:[(0,e.createComponentVNode)(2,f.Button,{disabled:I.notEnough||B.building,icon:"cog",content:I.name,onClick:function(){function L(){return b("build",{id:I.id})}return L}()}),(0,e.createComponentVNode)(2,f.Button,{icon:"plus-circle",onClick:function(){function L(){return b("queue",{id:I.id})}return L}()}),(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__design--cost",children:Object.entries(I.cost).map(function(L){return(0,e.createComponentVNode)(2,f.Box,{children:(0,e.createComponentVNode)(2,i,{id:L[0],amount:L[1],lineDisplay:!0})},L[0])})}),(0,e.createComponentVNode)(2,f.Stack,{className:"Exofab__design--time",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:[(0,e.createComponentVNode)(2,f.Icon,{name:"clock"}),I.time>0?(0,e.createFragment)([I.time/10,(0,e.createTextVNode)(" seconds")],0):"Instant"]})})]})}},9466:function(w,r,n){"use strict";r.__esModule=!0,r.ExperimentConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=new Map([[0,{text:"Conscious",color:"good"}],[1,{text:"Unconscious",color:"average"}],[2,{text:"Deceased",color:"bad"}]]),V=new Map([[0,{label:"Probe",icon:"thermometer"}],[1,{label:"Dissect",icon:"brain"}],[2,{label:"Analyze",icon:"search"}]]),y=r.ExperimentConsole=function(){function S(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.open,l=m.feedback,s=m.occupant,i=m.occupant_name,p=m.occupant_status,v=function(){function h(){if(!s)return(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No specimen detected."});var N=function(){function B(){return f.get(p)}return B}(),b=N();return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:b.color,children:b.text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Experiments",children:[0,1,2].map(function(B){return(0,e.createComponentVNode)(2,t.Button,{icon:V.get(B).icon,content:V.get(B).label,onClick:function(){function I(){return c("experiment",{experiment_type:B})}return I}()},B)})})]})}return h}(),g=v();return(0,e.createComponentVNode)(2,o.Window,{theme:"abductor",width:350,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:l})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Scanner",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject",disabled:!d,onClick:function(){function h(){return c("door")}return h}()}),children:g})]})})}return S}()},77284:function(w,r,n){"use strict";r.__esModule=!0,r.ExternalAirlockController=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=0,V=1013,y=function(C){var u="good",c=80,m=95,d=110,l=120;return Cd?u="average":C>l&&(u="bad"),u},S=r.ExternalAirlockController=function(){function k(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.chamber_pressure,s=d.exterior_status,i=d.interior_status,p=d.processing;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:205,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Chamber Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:y(l),value:l,minValue:f,maxValue:V,children:[l," kPa"]})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Actions",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Abort",icon:"ban",color:"red",disabled:!p,onClick:function(){function v(){return m("abort")}return v}()}),children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:p,onClick:function(){function v(){return m("cycle_ext")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Cycle to Interior",icon:"arrow-circle-right",disabled:p,onClick:function(){function v(){return m("cycle_int")}return v}()})]}),(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Force Exterior Door",icon:"exclamation-triangle",color:i==="open"?"red":p?"yellow":null,onClick:function(){function v(){return m("force_ext")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Force Interior Door",icon:"exclamation-triangle",color:i==="open"?"red":p?"yellow":null,onClick:function(){function v(){return m("force_int")}return v}()})]})]})]})})}return k}()},52516:function(w,r,n){"use strict";r.__esModule=!0,r.FaxMachine=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.FaxMachine=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data;return(0,e.createComponentVNode)(2,o.Window,{width:540,height:295,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Card",children:(0,e.createComponentVNode)(2,t.Button,{icon:u.scan_name?"eject":"id-card",selected:u.scan_name,content:u.scan_name?u.scan_name:"-----",tooltip:u.scan_name?"Eject ID":"Insert ID",onClick:function(){function c(){return C("scan")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Authorize",children:(0,e.createComponentVNode)(2,t.Button,{icon:u.authenticated?"sign-out-alt":"id-card",selected:u.authenticated,disabled:u.nologin,content:u.realauth?"Log Out":"Log In",onClick:function(){function c(){return C("auth")}return c}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Fax Menu",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network",children:u.network}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Document",children:[(0,e.createComponentVNode)(2,t.Button,{icon:u.paper?"eject":"paperclip",disabled:!u.authenticated&&!u.paper,content:u.paper?u.paper:"-----",onClick:function(){function c(){return C("paper")}return c}()}),!!u.paper&&(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Rename",onClick:function(){function c(){return C("rename")}return c}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sending To",children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:u.destination?u.destination:"-----",disabled:!u.authenticated,onClick:function(){function c(){return C("dept")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Action",children:(0,e.createComponentVNode)(2,t.Button,{icon:"envelope",content:u.sendError?u.sendError:"Send",disabled:!u.paper||!u.destination||!u.authenticated||u.sendError,onClick:function(){function c(){return C("send")}return c}()})})]})})]})})}return V}()},24777:function(w,r,n){"use strict";r.__esModule=!0,r.FilingCabinet=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.FilingCabinet=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=k.config,m=u.contents,d=c.title;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Contents",children:[!m&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"folder-open",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"The ",d," is empty."]})}),!!m&&m.slice().map(function(l){return(0,e.createComponentVNode)(2,t.Stack,{mt:.5,className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"80%",children:l.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Retrieve",onClick:function(){function s(){return C("retrieve",{index:l.index})}return s}()})})]},l)})]})})})})}return V}()},88361:function(w,r,n){"use strict";r.__esModule=!0,r.FloorPainter=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=S.image,d=S.isSelected,l=S.onSelect;return(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+m,style:{"border-style":d&&"solid"||"none","border-width":"2px","border-color":"orange",padding:d&&"2px"||"4px"},onClick:l})},V=r.FloorPainter=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.availableStyles,d=c.selectedStyle,l=c.selectedDir,s=c.directionsPreview,i=c.allStylesPreview;return(0,e.createComponentVNode)(2,o.Window,{width:405,height:475,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Decal setup",children:[(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-left",onClick:function(){function p(){return u("cycle_style",{offset:-1})}return p}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Dropdown,{options:m,selected:d,width:"150px",height:"20px",ml:"2px",mr:"2px",nochevron:!0,onSelected:function(){function p(v){return u("select_style",{style:v})}return p}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",onClick:function(){function p(){return u("cycle_style",{offset:1})}return p}()})})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"5px",mb:"5px",children:(0,e.createComponentVNode)(2,t.Flex,{overflowY:"auto",maxHeight:"220px",wrap:"wrap",children:m.map(function(p){return(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,f,{image:i[p],isSelected:d===p,onSelect:function(){function v(){return u("select_style",{style:p})}return v}()})},"{style}")})})}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Direction",children:(0,e.createComponentVNode)(2,t.Table,{style:{display:"inline"},children:["north","","south"].map(function(p){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[p+"west",p,p+"east"].map(function(v){return(0,e.createComponentVNode)(2,t.Table.Cell,{style:{"vertical-align":"middle","text-align":"center"},children:v===""?(0,e.createComponentVNode)(2,t.Icon,{name:"arrows-alt",size:3}):(0,e.createComponentVNode)(2,f,{image:s[v],isSelected:v===l,onSelect:function(){function g(){return u("select_direction",{direction:v})}return g}()})},v)})},p)})})})})]})})})}return y}()},70078:function(w,r,n){"use strict";r.__esModule=!0,r.GPS=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=function(d){return d?"("+d.join(", ")+")":"ERROR"},y=function(d,l){if(!(!d||!l)){if(d[2]!==l[2])return null;var s=Math.atan2(l[1]-d[1],l[0]-d[0]),i=Math.sqrt(Math.pow(l[1]-d[1],2)+Math.pow(l[0]-d[0],2));return{angle:(0,a.rad2deg)(s),distance:i}}},S=r.GPS=function(){function m(d,l){var s=(0,t.useBackend)(l),i=s.data,p=i.emped,v=i.active,g=i.area,h=i.position,N=i.saved;return(0,e.createComponentVNode)(2,f.Window,{width:400,height:600,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:p?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,k,{emp:!0})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,C)}),v?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,u,{area:g,position:h})}),N&&(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,u,{title:"Saved Position",position:N})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,c,{height:"100%"})})],0):(0,e.createComponentVNode)(2,k)],0)})})})}return m}(),k=function(d,l){var s=d.emp;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:(0,e.createComponentVNode)(2,o.Box,{width:"100%",height:"100%",color:"label",textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:s?"ban":"power-off",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),s?"ERROR: Device temporarily lost signal.":"Device is disabled."]})})})})},C=function(d,l){var s=(0,t.useBackend)(l),i=s.act,p=s.data,v=p.active,g=p.tag,h=p.same_z,N=(0,t.useLocalState)(l,"newTag",g),b=N[0],B=N[1];return(0,e.createComponentVNode)(2,o.Section,{title:"Settings",buttons:(0,e.createComponentVNode)(2,o.Button,{selected:v,icon:v?"toggle-on":"toggle-off",content:v?"On":"Off",onClick:function(){function I(){return i("toggle")}return I}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Tag",children:[(0,e.createComponentVNode)(2,o.Input,{width:"5rem",value:g,onEnter:function(){function I(){return i("tag",{newtag:b})}return I}(),onInput:function(){function I(L,T){return B(T)}return I}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:g===b,width:"20px",mb:"0",ml:"0.25rem",onClick:function(){function I(){return i("tag",{newtag:b})}return I}(),children:(0,e.createComponentVNode)(2,o.Icon,{name:"pen"})})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Range",children:(0,e.createComponentVNode)(2,o.Button,{selected:!h,icon:h?"compress":"expand",content:h?"Local Sector":"Global",onClick:function(){function I(){return i("same_z")}return I}()})})]})})},u=function(d,l){var s=d.title,i=d.area,p=d.position;return(0,e.createComponentVNode)(2,o.Section,{title:s||"Position",children:(0,e.createComponentVNode)(2,o.Box,{fontSize:"1.5rem",children:[i&&(0,e.createFragment)([i,(0,e.createVNode)(1,"br")],0),V(p)]})})},c=function(d,l){var s=(0,t.useBackend)(l),i=s.data,p=i.position,v=i.signals;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,title:"Signals"},d,{children:(0,e.createComponentVNode)(2,o.Table,{children:v.map(function(g){return Object.assign({},g,y(p,g.position))}).map(function(g,h){return(0,e.createComponentVNode)(2,o.Table.Row,{backgroundColor:h%2===0&&"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,o.Table.Cell,{width:"30%",verticalAlign:"middle",color:"label",p:"0.25rem",bold:!0,children:g.tag}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",color:"grey",children:g.area}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",collapsing:!0,children:g.distance!==void 0&&(0,e.createComponentVNode)(2,o.Box,{opacity:Math.max(1-Math.min(g.distance,100)/100,.5),children:[(0,e.createComponentVNode)(2,o.Icon,{name:g.distance>0?"arrow-right":"circle",rotation:-g.angle}),"\xA0",Math.floor(g.distance)+"m"]})}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",pr:"0.25rem",collapsing:!0,children:V(g.position)})]},h)})})})))}},92246:function(w,r,n){"use strict";r.__esModule=!0,r.GeneModder=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(99665),f=n(45493),V=r.GeneModder=function(){function d(l,s){var i=(0,a.useBackend)(s),p=i.data,v=p.has_seed;return(0,e.createComponentVNode)(2,f.Window,{width:500,height:650,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,o.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),v===0?(0,e.createComponentVNode)(2,S):(0,e.createComponentVNode)(2,y)]})})})}return d}(),y=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.disk;return(0,e.createComponentVNode)(2,t.Section,{title:"Genes",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Insert Gene from Disk",disabled:!g||!g.can_insert||g.is_core,icon:"arrow-circle-down",onClick:function(){function h(){return p("insert")}return h}()}),children:[(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,c)]})},S=function(l,s){return(0,e.createComponentVNode)(2,t.Section,{fill:!0,height:"85%",children:(0,e.createComponentVNode)(2,t.Stack,{height:"100%",children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"green",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"leaf",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),"The plant DNA manipulator is missing a seed."]})})})},k=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.has_seed,h=v.seed,N=v.has_disk,b=v.disk,B,I;return g?B=(0,e.createComponentVNode)(2,t.Stack.Item,{mb:"-6px",mt:"-4px",children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+h.image,style:{"vertical-align":"middle",width:"32px",margin:"-1px","margin-left":"-11px"}}),(0,e.createComponentVNode)(2,t.Button,{content:h.name,onClick:function(){function L(){return p("eject_seed")}return L}()}),(0,e.createComponentVNode)(2,t.Button,{ml:"3px",icon:"pen",tooltip:"Name Variant",onClick:function(){function L(){return p("variant_name")}return L}()})]}):B=(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{ml:3.3,content:"None",onClick:function(){function L(){return p("eject_seed")}return L}()})}),N?I=b.name:I="None",(0,e.createComponentVNode)(2,t.Section,{title:"Storage",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Plant Sample",children:B}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Disk",children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{ml:3.3,content:I,onClick:function(){function L(){return p("eject_disk")}return L}()})})})]})})},C=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.disk,h=v.core_genes;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Core Genes",open:!0,children:[h.map(function(N){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",ml:"2px",children:N.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Extract",disabled:!(g!=null&&g.can_extract),icon:"save",onClick:function(){function b(){return p("extract",{id:N.id})}return b}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Replace",disabled:!N.is_type||!g.can_insert,icon:"arrow-circle-down",onClick:function(){function b(){return p("replace",{id:N.id})}return b}()})})]},N)})," ",(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Extract All",disabled:!(g!=null&&g.can_extract),icon:"save",onClick:function(){function N(){return p("bulk_extract_core")}return N}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Replace All",disabled:!(g!=null&&g.is_bulk_core),icon:"arrow-circle-down",onClick:function(){function N(){return p("bulk_replace_core")}return N}()})})]})]},"Core Genes")},u=function(l,s){var i=(0,a.useBackend)(s),p=i.data,v=p.reagent_genes,g=p.has_reagent;return(0,e.createComponentVNode)(2,m,{title:"Reagent Genes",gene_set:v,do_we_show:g})},c=function(l,s){var i=(0,a.useBackend)(s),p=i.data,v=p.trait_genes,g=p.has_trait;return(0,e.createComponentVNode)(2,m,{title:"Trait Genes",gene_set:v,do_we_show:g})},m=function(l,s){var i=l.title,p=l.gene_set,v=l.do_we_show,g=(0,a.useBackend)(s),h=g.act,N=g.data,b=N.disk;return(0,e.createComponentVNode)(2,t.Collapsible,{title:i,open:!0,children:v?p.map(function(B){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",ml:"2px",children:B.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Extract",disabled:!(b!=null&&b.can_extract),icon:"save",onClick:function(){function I(){return h("extract",{id:B.id})}return I}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"times",onClick:function(){function I(){return h("remove",{id:B.id})}return I}()})})]},B)}):(0,e.createComponentVNode)(2,t.Stack.Item,{children:"No Genes Detected"})},i)}},27163:function(w,r,n){"use strict";r.__esModule=!0,r.GenericCrewManifest=void 0;var e=n(96524),a=n(24674),t=n(45493),o=n(98444),f=r.GenericCrewManifest=function(){function V(y,S){return(0,e.createComponentVNode)(2,t.Window,{theme:"nologo",width:588,height:510,children:(0,e.createComponentVNode)(2,t.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,a.Section,{noTopPadding:!0,children:(0,e.createComponentVNode)(2,o.CrewManifest)})})})}return V}()},53808:function(w,r,n){"use strict";r.__esModule=!0,r.GhostHudPanel=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.GhostHudPanel=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.data,c=u.security,m=u.medical,d=u.diagnostic,l=u.radioactivity,s=u.ahud;return(0,e.createComponentVNode)(2,o.Window,{width:250,height:207,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,V,{label:"Medical",type:"medical",is_active:m}),(0,e.createComponentVNode)(2,V,{label:"Security",type:"security",is_active:c}),(0,e.createComponentVNode)(2,V,{label:"Diagnostic",type:"diagnostic",is_active:d}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,V,{label:"Radioactivity",type:"radioactivity",is_active:l,act_on:"rads_on",act_off:"rads_off"}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,V,{label:"Antag HUD",is_active:s,act_on:"ahud_on",act_off:"ahud_off"})]})})})}return y}(),V=function(S,k){var C=(0,a.useBackend)(k),u=C.act,c=S.label,m=S.type,d=m===void 0?null:m,l=S.is_active,s=S.act_on,i=s===void 0?"hud_on":s,p=S.act_off,v=p===void 0?"hud_off":p;return(0,e.createComponentVNode)(2,t.Flex,{pt:.3,color:"label",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{pl:.5,align:"center",width:"80%",children:c}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{mr:.6,content:l?"On":"Off",icon:l?"toggle-on":"toggle-off",selected:l,onClick:function(){function g(){return u(l?v:i,{hud_type:d})}return g}()})})]})}},32035:function(w,r,n){"use strict";r.__esModule=!0,r.GlandDispenser=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.GlandDispenser=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.glands,m=c===void 0?[]:c;return(0,e.createComponentVNode)(2,o.Window,{width:300,height:338,theme:"abductor",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:m.map(function(d){return(0,e.createComponentVNode)(2,t.Button,{width:"60px",height:"60px",m:.75,textAlign:"center",fontSize:"17px",lineHeight:"55px",icon:"eject",backgroundColor:d.color,content:d.amount||"0",disabled:!d.amount,onClick:function(){function l(){return C("dispense",{gland_id:d.id})}return l}()},d.id)})})})})}return V}()},33004:function(w,r,n){"use strict";r.__esModule=!0,r.GravityGen=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.GravityGen=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.charging_state,m=u.charge_count,d=u.breaker,l=u.ext_power,s=function(){function p(v){return v>0?(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"average",children:["[ ",v===1?"Charging":"Discharging"," ]"]}):(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:l?"good":"bad",children:["[ ",l?"Powered":"Unpowered"," ]"]})}return p}(),i=function(){function p(v){if(v>0)return(0,e.createComponentVNode)(2,t.NoticeBox,{danger:!0,p:1.5,children:[(0,e.createVNode)(1,"b",null,"WARNING:",16)," Radiation Detected!"]})}return p}();return(0,e.createComponentVNode)(2,o.Window,{width:350,height:170,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[i(c),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Generator Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:d?"power-off":"times",content:d?"Online":"Offline",color:d?"green":"red",px:1.5,onClick:function(){function p(){return C("breaker")}return p}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Status",color:l?"good":"bad",children:s(c)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gravity Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:m/100,ranges:{good:[.9,1/0],average:[.5,.9],bad:[-1/0,.5]}})})]})})]})})})}return V}()},39775:function(w,r,n){"use strict";r.__esModule=!0,r.GuestPass=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(57842),V=r.GuestPass=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:690,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"id-card",selected:!c.showlogs,onClick:function(){function m(){return u("mode",{mode:0})}return m}(),children:"Issue Pass"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"scroll",selected:c.showlogs,onClick:function(){function m(){return u("mode",{mode:1})}return m}(),children:["Records (",c.issue_log.length,")"]})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Card",children:(0,e.createComponentVNode)(2,t.Button,{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(){function m(){return u("scan")}return m}()})})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:!c.showlogs&&(0,e.createComponentVNode)(2,t.Section,{title:"Issue Guest Pass",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Issue To",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.giv_name?c.giv_name:"-----",disabled:!c.scan_name,onClick:function(){function m(){return u("giv_name")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reason",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.reason?c.reason:"-----",disabled:!c.scan_name,onClick:function(){function m(){return u("reason")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Duration",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.duration?c.duration:"-----",disabled:!c.scan_name,onClick:function(){function m(){return u("duration")}return m}()})})]})})}),!c.showlogs&&(c.scan_name?(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.AccessList,{sectionButtons:(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:c.printmsg,disabled:!c.canprint,onClick:function(){function m(){return u("issue")}return m}()}),grantableList:c.grantableList,accesses:c.regions,selectedList:c.selectedAccess,accessMod:function(){function m(d){return u("access",{access:d})}return m}(),grantAll:function(){function m(){return u("grant_all")}return m}(),denyAll:function(){function m(){return u("clear_all")}return m}(),grantDep:function(){function m(d){return u("grant_region",{region:d})}return m}(),denyDep:function(){function m(d){return u("deny_region",{region:d})}return m}()})}):(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,fontSize:1.5,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"id-card",size:5,color:"gray",mb:5}),(0,e.createVNode)(1,"br"),"Please, insert ID Card"]})})})})),!!c.showlogs&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Issuance Log",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print",disabled:!c.scan_name,onClick:function(){function m(){return u("print")}return m}()}),children:!!c.issue_log.length&&(0,e.createComponentVNode)(2,t.LabeledList,{children:c.issue_log.map(function(m,d){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:m},d)})})||(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,fontSize:1.5,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No logs"]})})})})]})})})}return y}()},22480:function(w,r,n){"use strict";r.__esModule=!0,r.HandheldChemDispenser=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=[1,5,10,20,30,50],V=null,y=r.HandheldChemDispenser=function(){function C(u,c){return(0,e.createComponentVNode)(2,o.Window,{width:390,height:430,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,k)]})})})}return C}(),S=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.amount,i=l.energy,p=l.maxEnergy,v=l.mode;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:i,minValue:0,maxValue:p,ranges:{good:[p*.5,1/0],average:[p*.25,p*.5],bad:[-1/0,p*.25]},children:[i," / ",p," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Amount",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{children:f.map(function(g,h){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"15%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"cog",selected:s===g,content:g,onClick:function(){function N(){return d("amount",{amount:g})}return N}()})},h)})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mode",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{justify:"space-between",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:v==="dispense",content:"Dispense",m:"0",width:"32%",onClick:function(){function g(){return d("mode",{mode:"dispense"})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:v==="remove",content:"Remove",m:"0",width:"32%",onClick:function(){function g(){return d("mode",{mode:"remove"})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:v==="isolate",content:"Isolate",m:"0",width:"32%",onClick:function(){function g(){return d("mode",{mode:"isolate"})}return g}()})]})})]})})})},k=function(u,c){for(var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.chemicals,i=s===void 0?[]:s,p=l.current_reagent,v=[],g=0;g<(i.length+1)%3;g++)v.push(!0);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,height:"18%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:l.glass?"Drink Selector":"Chemical Selector",children:[i.map(function(h,N){return(0,e.createComponentVNode)(2,t.Button,{width:"32%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",selected:p===h.id,content:h.title,style:{"margin-left":"2px"},onClick:function(){function b(){return d("dispense",{reagent:h.id})}return b}()},N)}),v.map(function(h,N){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:"1",basis:"25%"},N)})]})})}},22616:function(w,r,n){"use strict";r.__esModule=!0,r.HealthSensor=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=r.HealthSensor=function(){function S(k,C){var u=(0,t.useBackend)(C),c=u.act,m=u.data,d=m.on,l=m.user_health,s=m.minHealth,i=m.maxHealth,p=m.alarm_health;return(0,e.createComponentVNode)(2,f.Window,{width:300,height:125,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Scanning",children:(0,e.createComponentVNode)(2,o.Button,{icon:"power-off",content:d?"On":"Off",color:d?null:"red",selected:d,onClick:function(){function v(){return c("scan_toggle")}return v}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health activation",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:2,stepPixelSize:6,minValue:s,maxValue:i,value:p,format:function(){function v(g){return(0,a.toFixed)(g,1)}return v}(),width:"80px",onDrag:function(){function v(g,h){return c("alarm_health",{alarm_health:h})}return v}()})}),l!==null&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"User health",children:(0,e.createComponentVNode)(2,o.Box,{color:y(l),bold:l>=100,children:(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:l})})})]})})})})}return S}(),y=function(k){return k>50?"green":k>0?"orange":"red"}},76861:function(w,r,n){"use strict";r.__esModule=!0,r.Holodeck=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Holodeck=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=(0,a.useLocalState)(k,"currentDeck",""),d=m[0],l=m[1],s=(0,a.useLocalState)(k,"showReload",!1),i=s[0],p=s[1],v=c.decks,g=c.ai_override,h=c.emagged,N=function(){function b(B){u("select_deck",{deck:B}),l(B),p(!0),setTimeout(function(){p(!1)},3e3)}return b}();return(0,e.createComponentVNode)(2,o.Window,{width:400,height:320,children:[i&&(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Holodeck Control System",children:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createVNode)(1,"b",null,"Currently Loaded Program:",16)," ",d]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Available Programs",children:[v.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{width:15.5,color:"transparent",content:b,selected:b===d,onClick:function(){function B(){return N(b)}return B}()},b)}),(0,e.createVNode)(1,"hr",null,null,1,{color:"gray"}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!g&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Override Protocols",children:(0,e.createComponentVNode)(2,t.Button,{content:h?"Turn On":"Turn Off",color:h?"good":"bad",onClick:function(){function b(){return u("ai_override")}return b}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety Protocols",children:(0,e.createComponentVNode)(2,t.Box,{color:h?"bad":"good",children:[h?"Off":"On",!!h&&(0,e.createComponentVNode)(2,t.Button,{ml:9.5,width:15.5,color:"red",content:"Wildlife Simulation",onClick:function(){function b(){return u("wildlifecarp")}return b}()})]})})]})]})})]})})]})}return y}(),V=function(S,k){return(0,e.createComponentVNode)(2,t.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"spinner",size:"5",spin:!0}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{color:"white",children:(0,e.createVNode)(1,"h1",null,"\xA0Recalibrating projection apparatus.\xA0",16)}),(0,e.createComponentVNode)(2,t.Box,{color:"label",children:(0,e.createVNode)(1,"h3",null,"Please, wait for 3 seconds.",16)})]})}},96729:function(w,r,n){"use strict";r.__esModule=!0,r.Instrument=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=r.Instrument=function(){function u(c,m){var d=(0,t.useBackend)(m),l=d.act,s=d.data;return(0,e.createComponentVNode)(2,f.Window,{width:600,height:505,children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,C)]})})]})}return u}(),y=function(c,m){var d=(0,t.useBackend)(m),l=d.act,s=d.data,i=s.help;if(i)return(0,e.createComponentVNode)(2,o.Modal,{maxWidth:"75%",height:window.innerHeight*.75+"px",mx:"auto",py:"0",px:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{height:"100%",title:"Help",level:"2",overflow:"auto",children:(0,e.createComponentVNode)(2,o.Box,{px:"0.5rem",mt:"-0.5rem",children:[(0,e.createVNode)(1,"h1",null,"Making a Song",16),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Lines are a series of chords, separated by commas\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(,)"}),(0,e.createTextVNode)(", each with notes separated by hyphens\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(-)"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Every note in a chord will play together, with the chord timed by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("as defined above.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Notes are played by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"names of the note"}),(0,e.createTextVNode)(", and optionally, the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(", and/or the"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave number"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("By default, every note is\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"natural"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("and in\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave 3"}),(0,e.createTextVNode)(". Defining a different state for either is remembered for each"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"note"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Example:"}),(0,e.createTextVNode)("\xA0"),(0,e.createVNode)(1,"i",null,"C,D,E,F,G,A,B",16),(0,e.createTextVNode)(" will play a\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"C"}),(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"major"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("scale.")],0),(0,e.createVNode)(1,"li",null,[(0,e.createTextVNode)("After a note has an\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("or\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("placed, it will be remembered:\xA0"),(0,e.createVNode)(1,"i",null,"C,C4,C#,C3",16),(0,e.createTextVNode)(" is "),(0,e.createVNode)(1,"i",null,"C3,C4,C4#,C3#",16)],0)],4)],0),(0,e.createVNode)(1,"p",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Chords"}),(0,e.createTextVNode)("\xA0can be played simply by seperating each note with a hyphen:"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"A-C#,Cn-E,E-G#,Gn-B",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("A"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"pause"}),(0,e.createTextVNode)("\xA0may be denoted by an empty chord: "),(0,e.createVNode)(1,"i",null,"C,E,,C,G",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("To make a chord be a different time, end it with /x, where the chord length will be length defined by\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo / x"}),(0,e.createTextVNode)(",\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"eg:"}),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"C,G/2,E/4",16),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Combined, an example line is: "),(0,e.createVNode)(1,"i",null,"E-E4/4,F#/2,G#/8,B/8,E3-E4/4",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,"Lines may be up to 300 characters.",16),(0,e.createVNode)(1,"li",null,"A song may only contain up to 1,000 lines.",16)],4)],4),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Lines are a series of chords, separated by commas\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(,)"}),(0,e.createTextVNode)(", each with notes separated by hyphens\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(-)"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Every note in a chord will play together, with the chord timed by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("as defined above.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Notes are played by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"names of the note"}),(0,e.createTextVNode)(", and optionally, the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(", and/or the"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave number"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("By default, every note is\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"natural"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("and in\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave 3"}),(0,e.createTextVNode)(". Defining a different state for either is remembered for each"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"note"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Example:"}),(0,e.createTextVNode)("\xA0"),(0,e.createVNode)(1,"i",null,"C,D,E,F,G,A,B",16),(0,e.createTextVNode)(" will play a\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"C"}),(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"major"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("scale.")],0),(0,e.createVNode)(1,"li",null,[(0,e.createTextVNode)("After a note has an\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("or\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("placed, it will be remembered:\xA0"),(0,e.createVNode)(1,"i",null,"C,C4,C#,C3",16),(0,e.createTextVNode)(" is "),(0,e.createVNode)(1,"i",null,"C3,C4,C4#,C3#",16)],0)],4)],0),(0,e.createVNode)(1,"p",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Chords"}),(0,e.createTextVNode)("\xA0can be played simply by seperating each note with a hyphen:"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"A-C#,Cn-E,E-G#,Gn-B",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("A"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"pause"}),(0,e.createTextVNode)("\xA0may be denoted by an empty chord: "),(0,e.createVNode)(1,"i",null,"C,E,,C,G",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("To make a chord be a different time, end it with /x, where the chord length will be length defined by\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo / x"}),(0,e.createTextVNode)(",\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"eg:"}),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"C,G/2,E/4",16),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Combined, an example line is: "),(0,e.createVNode)(1,"i",null,"E-E4/4,F#/2,G#/8,B/8,E3-E4/4",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,"Lines may be up to 300 characters.",16),(0,e.createVNode)(1,"li",null,"A song may only contain up to 1,000 lines.",16)],4)],4),(0,e.createVNode)(1,"h1",null,"Instrument Advanced Settings",16),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Type:"}),(0,e.createTextVNode)("\xA0Whether the instrument is legacy or synthesized."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Legacy instruments have a collection of sounds that are selectively used depending on the note to play."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Synthesized instruments use a base sound and change its pitch to match the note to play.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Current:"}),(0,e.createTextVNode)("\xA0Which instrument sample to play. Some instruments can be tuned to play different samples. Experiment!")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Note Shift/Note Transpose:"}),(0,e.createTextVNode)("\xA0The pitch to apply to all notes of the song.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Sustain Mode:"}),(0,e.createTextVNode)("\xA0How a played note fades out."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Linear sustain means a note will fade out at a constant rate."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Exponential sustain means a note will fade out at an exponential rate, sounding smoother.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Volume Dropoff Threshold:"}),(0,e.createTextVNode)("\xA0The volume threshold at which a note is fully stopped.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Sustain indefinitely last held note:"}),(0,e.createTextVNode)("\xA0Whether the last note should be sustained indefinitely.")],4)],4),(0,e.createComponentVNode)(2,o.Button,{color:"grey",content:"Close",onClick:function(){function p(){return l("help")}return p}()})]})})})},S=function(c,m){var d=(0,t.useBackend)(m),l=d.act,s=d.data,i=s.lines,p=s.playing,v=s.repeat,g=s.maxRepeats,h=s.tempo,N=s.minTempo,b=s.maxTempo,B=s.tickLag,I=s.volume,L=s.minVolume,T=s.maxVolume,x=s.ready;return(0,e.createComponentVNode)(2,o.Section,{title:"Instrument",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"info",content:"Help",onClick:function(){function A(){return l("help")}return A}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"file",content:"New",onClick:function(){function A(){return l("newsong")}return A}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"upload",content:"Import",onClick:function(){function A(){return l("import")}return A}()})],4),children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Playback",children:[(0,e.createComponentVNode)(2,o.Button,{selected:p,disabled:i.length===0||v<0,icon:"play",content:"Play",onClick:function(){function A(){return l("play")}return A}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!p,icon:"stop",content:"Stop",onClick:function(){function A(){return l("stop")}return A}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Repeat",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:0,maxValue:g,value:v,stepPixelSize:59,onChange:function(){function A(E,M){return l("repeat",{new:M})}return A}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Tempo",children:(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Button,{disabled:h>=b,content:"-",as:"span",mr:"0.5rem",onClick:function(){function A(){return l("tempo",{new:h+B})}return A}()}),(0,a.round)(600/h)," BPM",(0,e.createComponentVNode)(2,o.Button,{disabled:h<=N,content:"+",as:"span",ml:"0.5rem",onClick:function(){function A(){return l("tempo",{new:h-B})}return A}()})]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Volume",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:L,maxValue:T,value:I,stepPixelSize:6,onDrag:function(){function A(E,M){return l("setvolume",{new:M})}return A}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",children:x?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:"Ready"}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Instrument Definition Error!"})})]}),(0,e.createComponentVNode)(2,k)]})},k=function(c,m){var d=(0,t.useBackend)(m),l=d.act,s=d.data,i=s.allowedInstrumentNames,p=s.instrumentLoaded,v=s.instrument,g=s.canNoteShift,h=s.noteShift,N=s.noteShiftMin,b=s.noteShiftMax,B=s.sustainMode,I=s.sustainLinearDuration,L=s.sustainExponentialDropoff,T=s.legacy,x=s.sustainDropoffVolume,A=s.sustainHeldNote,E,M;return B===1?(E="Linear",M=(0,e.createComponentVNode)(2,o.Slider,{minValue:.1,maxValue:5,value:I,step:.5,stepPixelSize:85,format:function(){function D(P){return(0,a.round)(P*100)/100+" seconds"}return D}(),onChange:function(){function D(P,R){return l("setlinearfalloff",{new:R/10})}return D}()})):B===2&&(E="Exponential",M=(0,e.createComponentVNode)(2,o.Slider,{minValue:1.025,maxValue:10,value:L,step:.01,format:function(){function D(P){return(0,a.round)(P*1e3)/1e3+"% per decisecond"}return D}(),onChange:function(){function D(P,R){return l("setexpfalloff",{new:R})}return D}()})),i.sort(),(0,e.createComponentVNode)(2,o.Box,{my:-1,children:(0,e.createComponentVNode)(2,o.Collapsible,{mt:"1rem",mb:"0",title:"Advanced",children:(0,e.createComponentVNode)(2,o.Section,{mt:-1,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Type",children:T?"Legacy":"Synthesized"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Current",children:p?(0,e.createComponentVNode)(2,o.Dropdown,{options:i,selected:v,width:"50%",onSelected:function(){function D(P){return l("switchinstrument",{name:P})}return D}()}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"None!"})}),!!(!T&&g)&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Note Shift/Note Transpose",children:(0,e.createComponentVNode)(2,o.Slider,{minValue:N,maxValue:b,value:h,stepPixelSize:2,format:function(){function D(P){return P+" keys / "+(0,a.round)(P/12*100)/100+" octaves"}return D}(),onChange:function(){function D(P,R){return l("setnoteshift",{new:R})}return D}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Sustain Mode",children:[(0,e.createComponentVNode)(2,o.Dropdown,{options:["Linear","Exponential"],selected:E,onSelected:function(){function D(P){return l("setsustainmode",{new:P})}return D}()}),M]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Volume Dropoff Threshold",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:.01,maxValue:100,value:x,stepPixelSize:6,onChange:function(){function D(P,R){return l("setdropoffvolume",{new:R})}return D}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Sustain indefinitely last held note",children:(0,e.createComponentVNode)(2,o.Button,{selected:A,icon:A?"toggle-on":"toggle-off",content:A?"Yes":"No",onClick:function(){function D(){return l("togglesustainhold")}return D}()})})],4)]}),(0,e.createComponentVNode)(2,o.Button,{icon:"redo",content:"Reset to Default",mt:"0.5rem",onClick:function(){function D(){return l("reset")}return D}()})]})})})},C=function(c,m){var d=(0,t.useBackend)(m),l=d.act,s=d.data,i=s.playing,p=s.lines,v=s.editing;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Editor",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!v||i,icon:"plus",content:"Add Line",onClick:function(){function g(){return l("newline",{line:p.length+1})}return g}()}),(0,e.createComponentVNode)(2,o.Button,{selected:!v,icon:v?"chevron-up":"chevron-down",onClick:function(){function g(){return l("edit")}return g}()})],4),children:!!v&&(p.length>0?(0,e.createComponentVNode)(2,o.LabeledList,{children:p.map(function(g,h){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:h+1,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:i,icon:"pen",onClick:function(){function N(){return l("modifyline",{line:h+1})}return N}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:i,icon:"trash",onClick:function(){function N(){return l("deleteline",{line:h+1})}return N}()})],4),children:g},h)})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"Song is empty."}))})}},99366:function(w,r,n){"use strict";r.__esModule=!0,r.Jukebox=void 0;var e=n(96524),a=n(50640),t=n(74041),o=n(17899),f=n(24674),V=n(45493),y=r.Jukebox=function(){function C(u,c){var m=(0,o.useBackend)(c),d=m.act,l=m.data,s=l.active,i=l.looping,p=l.track_selected,v=l.volume,g=l.max_volume,h=l.songs,N=l.startTime,b=l.endTime,B=l.worldTime,I=l.need_coin,L=l.payment,T=l.advanced_admin,x=35,A=!L&&I&&!T,E=(0,t.flow)([(0,a.sortBy)(function(F){return F.name})])(h),M=h.find(function(F){return F.name===p}),D=E.length,P=M?E.findIndex(function(F){return F.name===M.name})+1:0,R=function(){function F(W){var _=Math.floor(W/60),K=W%60,H=String(_).padStart(2,"0")+":"+String(K).padStart(2,"0");return H}return F}(),j=(0,e.createComponentVNode)(2,f.Box,{textAlign:"center",children:[s?i?"\u221E":R(Math.round((B-N)/10)):i?"\u221E":R(M.length)," ","/ ",i?"\u221E":R(M.length)]});return(0,e.createComponentVNode)(2,V.Window,{width:350,height:435,title:"\u041C\u0443\u0437\u044B\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u0430\u0432\u0442\u043E\u043C\u0430\u0442",children:[A?(0,e.createComponentVNode)(2,k):null,(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack,{children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,title:"\u041F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044C",children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{bold:!0,maxWidth:"240px",children:M.name.length>x?(0,e.createVNode)(1,"marquee",null,M.name,0):M.name}),(0,e.createComponentVNode)(2,f.Stack,{fill:!0,mt:1.5,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,f.Button,{fluid:!0,icon:s?"pause":"play",color:"transparent",content:s?"\u0421\u0442\u043E\u043F":"\u0421\u0442\u0430\u0440\u0442",selected:s,onClick:function(){function F(){return d("toggle")}return F}()})}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,f.Button.Checkbox,{fluid:!0,icon:"undo",content:"\u041F\u043E\u0432\u0442\u043E\u0440",disabled:s||I&&!T,tooltip:I&&!T?"\u0412\u044B \u043D\u0435 \u043C\u043E\u0436\u0435\u0442\u0435 \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u0432\u0442\u043E\u0440 \u0437\u0430 \u043C\u043E\u043D\u0435\u0442\u043A\u0443":null,checked:i,onClick:function(){function F(){return d("loop",{looping:!i})}return F}()})})]}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.ProgressBar.Countdown,{start:N,current:i?b:B,end:b,children:j})})]})})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{children:[s?(0,e.createComponentVNode)(2,S):null,(0,e.createComponentVNode)(2,f.Stack,{fill:!0,mb:1.5,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,f.Button,{color:"transparent",icon:"fast-backward",onClick:function(){function F(){return d("set_volume",{volume:"min"})}return F}()})}),(0,e.createComponentVNode)(2,f.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,f.Button,{color:"transparent",icon:"undo",onClick:function(){function F(){return d("set_volume",{volume:"reset"})}return F}()})}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,m:0,textAlign:"right",children:(0,e.createComponentVNode)(2,f.Button,{color:"transparent",icon:"fast-forward",onClick:function(){function F(){return d("set_volume",{volume:"max"})}return F}()})})]}),(0,e.createComponentVNode)(2,f.Stack.Item,{textAlign:"center",textColor:"label",children:[(0,e.createComponentVNode)(2,f.Knob,{size:2,color:v<=25?"green":v<=50?"":v<=75?"orange":"red",value:v,unit:"%",minValue:0,maxValue:g,step:1,stepPixelSize:5,onDrag:function(){function F(W,_){return d("set_volume",{volume:_})}return F}()}),"Volume"]})]})})]}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,title:"\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0442\u0440\u0435\u043A\u0438",buttons:(0,e.createComponentVNode)(2,f.Button,{bold:!0,icon:"random",color:"transparent",content:P+"/"+D,tooltip:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u044B\u0439 \u0442\u0440\u0435\u043A",tooltipPosition:"top-end",onClick:function(){function F(){var W=Math.floor(Math.random()*D),_=E[W];d("select_track",{track:_.name})}return F}()}),children:E.map(function(F){return(0,e.createComponentVNode)(2,f.Stack.Item,{mb:.5,textAlign:"left",children:(0,e.createComponentVNode)(2,f.Button,{fluid:!0,selected:M.name===F.name,color:"translucent",content:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:F.name}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:R(F.length)})]}),onClick:function(){function W(){d("select_track",{track:F.name})}return W}()})},F.name)})})})]})})]})}return C}(),S=function(){return(0,e.createComponentVNode)(2,f.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,f.Icon,{name:"music",size:"3",color:"gray",mb:1}),(0,e.createComponentVNode)(2,f.Box,{color:"label",bold:!0,children:"\u0418\u0433\u0440\u0430\u0435\u0442 \u043C\u0443\u0437\u044B\u043A\u0430"})]})},k=function(){return(0,e.createComponentVNode)(2,f.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,f.Icon,{name:"coins",size:"6",color:"gold",mr:1}),(0,e.createComponentVNode)(2,f.Box,{color:"label",bold:!0,mt:5,fontSize:2,children:"\u0412\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043C\u043E\u043D\u0435\u0442\u043A\u0443"})]})}},53385:function(w,r,n){"use strict";r.__esModule=!0,r.KeycardAuth=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.KeycardAuth=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=(0,e.createComponentVNode)(2,t.Section,{title:"Keycard Authentication Device",children:(0,e.createComponentVNode)(2,t.Box,{children:"This device is used to trigger certain high security events. It requires the simultaneous swipe of two high-level ID cards."})});if(!u.swiping&&!u.busy)return(0,e.createComponentVNode)(2,o.Window,{width:540,height:280,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[c,(0,e.createComponentVNode)(2,t.Section,{title:"Choose Action",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Red Alert",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-triangle",disabled:!u.redAvailable,onClick:function(){function d(){return C("triggerevent",{triggerevent:"Red Alert"})}return d}(),content:"Red Alert"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ERT",children:(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",onClick:function(){function d(){return C("triggerevent",{triggerevent:"Emergency Response Team"})}return d}(),content:"Call ERT"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Maint Access",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"door-open",onClick:function(){function d(){return C("triggerevent",{triggerevent:"Grant Emergency Maintenance Access"})}return d}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function d(){return C("triggerevent",{triggerevent:"Revoke Emergency Maintenance Access"})}return d}(),content:"Revoke"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Station-Wide Access",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"door-open",onClick:function(){function d(){return C("triggerevent",{triggerevent:"Activate Station-Wide Emergency Access"})}return d}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function d(){return C("triggerevent",{triggerevent:"Deactivate Station-Wide Emergency Access"})}return d}(),content:"Revoke"})]})]})})]})});var m=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Waiting for YOU to swipe your ID..."});return!u.hasSwiped&&!u.ertreason&&u.event==="Emergency Response Team"?m=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Fill out the reason for your ERT request."}):u.hasConfirm?m=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Request Confirmed!"}):u.isRemote?m=(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Swipe your card to CONFIRM the remote request."}):u.hasSwiped&&(m=(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Waiting for second person to confirm..."})),(0,e.createComponentVNode)(2,o.Window,{width:540,height:265,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[c,u.event==="Emergency Response Team"&&(0,e.createComponentVNode)(2,t.Section,{title:"Reason for ERT Call",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{color:u.ertreason?"":"red",icon:u.ertreason?"check":"pencil-alt",content:u.ertreason?u.ertreason:"-----",disabled:u.busy,onClick:function(){function d(){return C("ert")}return d}()})})}),(0,e.createComponentVNode)(2,t.Section,{title:u.event,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back",disabled:u.busy||u.hasConfirm,onClick:function(){function d(){return C("reset")}return d}()}),children:m})]})})}return V}()},58553:function(w,r,n){"use strict";r.__esModule=!0,r.KitchenMachine=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(75201),V=r.KitchenMachine=function(){function S(k,C){var u=(0,a.useBackend)(C),c=u.data,m=u.config,d=c.ingredients,l=c.operating,s=m.title;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:320,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Operating,{operating:l,name:s}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,y)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Ingredients",children:(0,e.createComponentVNode)(2,t.Table,{className:"Ingredient__Table",children:d.map(function(i){return(0,e.createComponentVNode)(2,t.Table.Row,{tr:5,children:[(0,e.createVNode)(1,"td",null,(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:i.name}),2),(0,e.createVNode)(1,"td",null,(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:[i.amount," ",i.units]}),2)]},i.name)})})})})]})})})}return S}(),y=function(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.inactive,l=m.tooltip;return(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"power-off",disabled:d,tooltip:d?l:"",tooltipPosition:"bottom",content:"Activate",onClick:function(){function s(){return c("cook")}return s}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",disabled:d,tooltip:d?l:"",tooltipPosition:"bottom",content:"Eject Contents",onClick:function(){function s(){return c("eject")}return s}()})})]})})}},14047:function(w,r,n){"use strict";r.__esModule=!0,r.LawManager=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.LawManager=function(){function k(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.isAdmin,s=d.isSlaved,i=d.isMalf,p=d.isAIMalf,v=d.view;return(0,e.createComponentVNode)(2,o.Window,{width:800,height:i?620:365,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!(l&&s)&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:["This unit is slaved to ",s,"."]}),!!(i||p)&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Law Management",selected:v===0,onClick:function(){function g(){return m("set_view",{set_view:0})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Lawsets",selected:v===1,onClick:function(){function g(){return m("set_view",{set_view:1})}return g}()})]}),v===0&&(0,e.createComponentVNode)(2,V),v===1&&(0,e.createComponentVNode)(2,y)]})})}return k}(),V=function(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.has_zeroth_laws,s=d.zeroth_laws,i=d.has_ion_laws,p=d.ion_laws,v=d.ion_law_nr,g=d.has_inherent_laws,h=d.inherent_laws,N=d.has_supplied_laws,b=d.supplied_laws,B=d.channels,I=d.channel,L=d.isMalf,T=d.isAdmin,x=d.zeroth_law,A=d.ion_law,E=d.inherent_law,M=d.supplied_law,D=d.supplied_law_position;return(0,e.createFragment)([!!l&&(0,e.createComponentVNode)(2,S,{title:"ERR_NULL_VALUE",laws:s,ctx:u}),!!i&&(0,e.createComponentVNode)(2,S,{title:v,laws:p,ctx:u}),!!g&&(0,e.createComponentVNode)(2,S,{title:"Inherent",laws:h,ctx:u}),!!N&&(0,e.createComponentVNode)(2,S,{title:"Supplied",laws:b,ctx:u}),(0,e.createComponentVNode)(2,t.Section,{title:"Statement Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Statement Channel",children:B.map(function(P){return(0,e.createComponentVNode)(2,t.Button,{content:P.channel,selected:P.channel===I,onClick:function(){function R(){return m("law_channel",{law_channel:P.channel})}return R}()},P.channel)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"State Laws",children:(0,e.createComponentVNode)(2,t.Button,{content:"State Laws",onClick:function(){function P(){return m("state_laws")}return P}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Law Notification",children:(0,e.createComponentVNode)(2,t.Button,{content:"Notify",onClick:function(){function P(){return m("notify_laws")}return P}()})})]})}),!!L&&(0,e.createComponentVNode)(2,t.Section,{title:"Add Laws",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Type"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"60%",children:"Law"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Index"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"20%",children:"Actions"})]}),!!(T&&!l)&&(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Zero"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:x}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return m("change_zeroth_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return m("add_zeroth_law")}return P}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Ion"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:A}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return m("change_ion_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return m("add_ion_law")}return P}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Inherent"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:E}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return m("change_inherent_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return m("add_inherent_law")}return P}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Supplied"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:M}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:D,onClick:function(){function P(){return m("change_supplied_law_position")}return P}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return m("change_supplied_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return m("add_supplied_law")}return P}()})]})]})]})})],0)},y=function(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.law_sets;return(0,e.createComponentVNode)(2,t.Box,{children:l.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name+" - "+s.header,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Load Laws",icon:"download",onClick:function(){function i(){return m("transfer_laws",{transfer_laws:s.ref})}return i}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[s.laws.has_ion_laws>0&&s.laws.ion_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)}),s.laws.has_zeroth_laws>0&&s.laws.zeroth_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)}),s.laws.has_inherent_laws>0&&s.laws.inherent_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)}),s.laws.has_supplied_laws>0&&s.laws.inherent_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)})]})},s.name)})})},S=function(C,u){var c=(0,a.useBackend)(C.ctx),m=c.act,d=c.data,l=d.isMalf;return(0,e.createComponentVNode)(2,t.Section,{title:C.title+" Laws",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Index"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"69%",children:"Law"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"21%",children:"State?"})]}),C.laws.map(function(s){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.index}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.law}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:s.state?"Yes":"No",selected:s.state,onClick:function(){function i(){return m("state_law",{ref:s.ref,state_law:s.state?0:1})}return i}()}),!!l&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function i(){return m("edit_law",{edit_law:s.ref})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Delete",icon:"trash",color:"red",onClick:function(){function i(){return m("delete_law",{delete_law:s.ref})}return i}()})],4)]})]},s.law)})]})})}},5872:function(w,r,n){"use strict";r.__esModule=!0,r.LibraryComputer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(99665),V=r.LibraryComputer=function(){function v(g,h){return(0,e.createComponentVNode)(2,o.Window,{width:1050,height:600,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,c)]})})]})}return v}(),y=function(g,h){var N=(0,a.useBackend)(h),b=N.act,B=N.data,I=g.args,L=B.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:I.author}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Summary",children:I.summary}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rating",children:[I.rating,(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",verticalAlign:"top"})]}),!I.isProgrammatic&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Categories",children:I.categories.join(", ")})]}),(0,e.createVNode)(1,"br"),L===I.ckey&&(0,e.createComponentVNode)(2,t.Button,{content:"Delete Book",icon:"trash",color:"red",disabled:I.isProgrammatic,onClick:function(){function T(){return b("delete_book",{bookid:I.id,user_ckey:L})}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Report Book",icon:"flag",color:"red",disabled:I.isProgrammatic,onClick:function(){function T(){return(0,f.modalOpen)(h,"report_book",{bookid:I.id})}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Rate Book",icon:"star",color:"caution",disabled:I.isProgrammatic,onClick:function(){function T(){return(0,f.modalOpen)(h,"rate_info",{bookid:I.id})}return T}()})]})},S=function(g,h){var N=(0,a.useBackend)(h),b=N.act,B=N.data,I=g.args,L=B.selected_report,T=B.report_categories,x=B.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{level:2,m:"-1rem",pb:"1.5rem",title:"Report this book for Rule Violations",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reasons",children:(0,e.createComponentVNode)(2,t.Box,{children:T.map(function(A,E){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:A.description,selected:A.category_id===L,onClick:function(){function M(){return b("set_report",{report_type:A.category_id})}return M}()}),(0,e.createVNode)(1,"br")],4,E)})})})]}),(0,e.createComponentVNode)(2,t.Button.Confirm,{bold:!0,icon:"paper-plane",content:"Submit Report",onClick:function(){function A(){return b("submit_report",{bookid:I.id,user_ckey:x})}return A}()})]})},k=function(g,h){var N=(0,a.useBackend)(h),b=N.act,B=N.data,I=B.selected_rating,L=Array(10).fill().map(function(T,x){return 1+x});return(0,e.createComponentVNode)(2,t.Stack,{children:[L.map(function(T,x){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{bold:!0,icon:"star",color:I>=T?"caution":"default",onClick:function(){function A(){return b("set_rating",{rating_value:T})}return A}()})},x)}),(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,ml:2,fontSize:"150%",children:[I+"/10",(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",ml:.5,verticalAlign:"top"})]})]})},C=function(g,h){var N=(0,a.useBackend)(h),b=N.act,B=N.data,I=g.args,L=B.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{level:2,m:"-1rem",pb:"1.5rem",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:I.author}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rating",children:[I.current_rating?I.current_rating:0,(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",ml:.5,verticalAlign:"middle"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Ratings",children:I.total_ratings?I.total_ratings:0})]}),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,t.Button.Confirm,{mt:2,content:"Submit",icon:"paper-plane",onClick:function(){function T(){return b("rate_book",{bookid:I.id,user_ckey:L})}return T}()})]})},u=function(g,h){var N=(0,a.useBackend)(h),b=N.data,B=(0,a.useLocalState)(h,"tabIndex",0),I=B[0],L=B[1],T=b.login_state;return(0,e.createComponentVNode)(2,t.Stack.Item,{mb:1,children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===0,onClick:function(){function x(){return L(0)}return x}(),children:"Book Archives"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===1,onClick:function(){function x(){return L(1)}return x}(),children:"Corporate Literature"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===2,onClick:function(){function x(){return L(2)}return x}(),children:"Upload Book"}),T===1&&(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===3,onClick:function(){function x(){return L(3)}return x}(),children:"Patron Manager"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===4,onClick:function(){function x(){return L(4)}return x}(),children:"Inventory"})]})})},c=function(g,h){var N=(0,a.useLocalState)(h,"tabIndex",0),b=N[0];switch(b){case 0:return(0,e.createComponentVNode)(2,d);case 1:return(0,e.createComponentVNode)(2,l);case 2:return(0,e.createComponentVNode)(2,s);case 3:return(0,e.createComponentVNode)(2,i);case 4:return(0,e.createComponentVNode)(2,p);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},m=function(g,h){var N=(0,a.useBackend)(h),b=N.act,B=N.data,I=B.searchcontent,L=B.book_categories,T=B.user_ckey,x=[];return L.map(function(A){return x[A.description]=A.category_id}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"35%",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"edit",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Search Inputs"]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:20,content:I.title||"Input Title",onClick:function(){function A(){return(0,f.modalOpen)(h,"edit_search_title")}return A}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:20,content:I.author||"Input Author",onClick:function(){function A(){return(0,f.modalOpen)(h,"edit_search_author")}return A}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Ratings",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{mr:1,width:"min-content",content:I.ratingmin,onClick:function(){function A(){return(0,f.modalOpen)(h,"edit_search_ratingmin")}return A}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:"To"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{ml:1,width:"min-content",content:I.ratingmax,onClick:function(){function A(){return(0,f.modalOpen)(h,"edit_search_ratingmax")}return A}()})})]})})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"clipboard-list",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Book Categories"]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Categories",children:(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Dropdown,{mt:.6,width:"190px",options:L.map(function(A){return A.description}),onSelected:function(){function A(E){return b("toggle_search_category",{category_id:x[E]})}return A}()})})})}),(0,e.createVNode)(1,"br"),L.filter(function(A){return I.categories.includes(A.category_id)}).map(function(A){return(0,e.createComponentVNode)(2,t.Button,{content:A.description,selected:!0,icon:"unlink",onClick:function(){function E(){return b("toggle_search_category",{category_id:A.category_id})}return E}()},A.category_id)})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"search-plus",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Search Actions"]}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Search",icon:"eraser",onClick:function(){function A(){return b("clear_search")}return A}()}),I.ckey?(0,e.createComponentVNode)(2,t.Button,{mb:.5,content:"Stop Showing My Books",color:"bad",icon:"search",onClick:function(){function A(){return b("clear_ckey_search")}return A}()}):(0,e.createComponentVNode)(2,t.Button,{content:"Find My Books",icon:"search",onClick:function(){function A(){return b("find_users_books",{user_ckey:T})}return A}()})]})]})},d=function(g,h){var N=(0,a.useBackend)(h),b=N.act,B=N.data,I=B.external_booklist,L=B.archive_pagenumber,T=B.num_pages,x=B.login_state;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Book System Access",buttons:(0,e.createVNode)(1,"div",null,[(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",disabled:L===1,onClick:function(){function A(){return b("deincrementpagemax")}return A}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-left",disabled:L===1,onClick:function(){function A(){return b("deincrementpage")}return A}()}),(0,e.createComponentVNode)(2,t.Button,{bold:!0,content:L,onClick:function(){function A(){return(0,f.modalOpen)(h,"setpagenumber")}return A}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",disabled:L===T,onClick:function(){function A(){return b("incrementpage")}return A}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",disabled:L===T,onClick:function(){function A(){return b("incrementpagemax")}return A}()})],4),children:[(0,e.createComponentVNode)(2,m),(0,e.createVNode)(1,"hr"),(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Ratings"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Category"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Actions"})]}),I.map(function(A){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:A.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book",mr:.5}),A.title.length>45?A.title.substr(0,45)+"...":A.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:A.author.length>30?A.author.substr(0,30)+"...":A.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[A.rating,(0,e.createComponentVNode)(2,t.Icon,{name:"star",ml:.5,color:"yellow",verticalAlign:"middle"})]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:A.categories.join(", ").substr(0,45)}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",children:[x===1&&(0,e.createComponentVNode)(2,t.Button,{content:"Order",icon:"print",onClick:function(){function E(){return b("order_external_book",{bookid:A.id})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{content:"More...",onClick:function(){function E(){return(0,f.modalOpen)(h,"expand_info",{bookid:A.id})}return E}()})]})]},A.id)})]})]})},l=function(g,h){var N=(0,a.useBackend)(h),b=N.act,B=N.data,I=B.programmatic_booklist,L=B.login_state;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Corporate Book Catalog",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Actions"})]}),I.map(function(T,x){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:T.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book",mr:2}),T.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:T.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",children:[L===1&&(0,e.createComponentVNode)(2,t.Button,{content:"Order",icon:"print",onClick:function(){function A(){return b("order_programmatic_book",{bookid:T.id})}return A}()}),(0,e.createComponentVNode)(2,t.Button,{content:"More...",onClick:function(){function A(){return(0,f.modalOpen)(h,"expand_info",{bookid:T.id})}return A}()})]})]},x)})]})})},s=function(g,h){var N=(0,a.useBackend)(h),b=N.act,B=N.data,I=B.selectedbook,L=B.book_categories,T=B.user_ckey,x=[];return L.map(function(A){return x[A.description]=A.category_id}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Book System Upload",buttons:(0,e.createComponentVNode)(2,t.Button.Confirm,{bold:!0,width:9.5,icon:"upload",disabled:I.copyright,content:"Upload Book",onClick:function(){function A(){return b("uploadbook",{user_ckey:T})}return A}()}),children:[I.copyright?(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"WARNING: You cannot upload or modify the attributes of a copyrighted book"}):(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{ml:15,mb:3,fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"search-plus",verticalAlign:"middle",size:3,mr:2}),"Book Uploader"]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Button,{width:20,textAlign:"left",icon:"pen",disabled:I.copyright,content:I.title,onClick:function(){function A(){return(0,f.modalOpen)(h,"edit_selected_title")}return A}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,t.Button,{width:20,textAlign:"left",icon:"pen",disabled:I.copyright,content:I.author,onClick:function(){function A(){return(0,f.modalOpen)(h,"edit_selected_author")}return A}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Categories",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Dropdown,{width:"240px",options:L.map(function(A){return A.description}),onSelected:function(){function A(E){return b("toggle_upload_category",{category_id:x[E]})}return A}()})})})]}),(0,e.createVNode)(1,"br"),L.filter(function(A){return I.categories.includes(A.category_id)}).map(function(A){return(0,e.createComponentVNode)(2,t.Button,{content:A.description,disabled:I.copyright,selected:!0,icon:"unlink",onClick:function(){function E(){return b("toggle_upload_category",{category_id:A.category_id})}return E}()},A.category_id)})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{mr:75,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Summary",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pen",width:"auto",disabled:I.copyright,content:"Edit Summary",onClick:function(){function A(){return(0,f.modalOpen)(h,"edit_selected_summary")}return A}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:I.summary})]})})]})]})},i=function(g,h){var N=(0,a.useBackend)(h),b=N.act,B=N.data,I=B.checkout_data;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Checked Out Books",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Patron"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Time Left"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actions"})]}),I.map(function(L,T){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-tag"}),L.patron_name]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:L.title}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.timeleft>=0?L.timeleft:"LATE"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:(0,e.createComponentVNode)(2,t.Button,{content:"Mark Lost",icon:"flag",color:"bad",disabled:L.timeleft>=0,onClick:function(){function x(){return b("reportlost",{libraryid:L.libraryid})}return x}()})})]},T)})]})})},p=function(g,h){var N=(0,a.useBackend)(h),b=N.act,B=N.data,I=B.inventory_list;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Library Inventory",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"LIB ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"})]}),I.map(function(L,T){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.libraryid}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book"})," ",L.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:L.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:L.checked_out?"Checked Out":"Available"})]},T)})]})})};(0,f.modalRegisterBodyOverride)("expand_info",y),(0,f.modalRegisterBodyOverride)("report_book",S),(0,f.modalRegisterBodyOverride)("rate_info",C)},37782:function(w,r,n){"use strict";r.__esModule=!0,r.LibraryManager=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(99665),V=r.LibraryManager=function(){function u(c,m){return(0,e.createComponentVNode)(2,o.Window,{width:600,height:600,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,y)})]})}return u}(),y=function(c,m){var d=(0,a.useBackend)(m),l=d.act,s=d.data,i=s.pagestate;switch(i){case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,C);case 3:return(0,e.createComponentVNode)(2,k);default:return"WE SHOULDN'T BE HERE!"}},S=function(c,m){var d=(0,a.useBackend)(m),l=d.act,s=d.data;return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.4rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-shield",verticalAlign:"middle",size:3,mr:"1rem"}),"Library Manager"]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{icon:"trash",width:"auto",color:"danger",content:"Delete Book by SSID",onClick:function(){function i(){return(0,f.modalOpen)(m,"specify_ssid_delete")}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"user-slash",width:"auto",color:"danger",content:"Delete All Books By CKEY",onClick:function(){function i(){return(0,f.modalOpen)(m,"specify_ckey_delete")}return i}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{icon:"search",width:"auto",content:"View All Books By CKEY",onClick:function(){function i(){return(0,f.modalOpen)(m,"specify_ckey_search")}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"search",width:"auto",content:"View All Reported Books",onClick:function(){function i(){return l("view_reported_books")}return i}()})]})},k=function(c,m){var d=(0,a.useBackend)(m),l=d.act,s=d.data,i=s.reports;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-secret",verticalAlign:"middle",size:2,mr:"1rem"}),(0,e.createVNode)(1,"br"),"All Reported Books",(0,e.createVNode)(1,"br")]}),(0,e.createComponentVNode)(2,t.Button,{content:"Return to Main",icon:"arrow-alt-circle-left",onClick:function(){function p(){return l("return")}return p}()}),(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Uploader CKEY"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Report Type"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Reporter Ckey"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Administrative Actions"})]}),i.map(function(p){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:p.uploader_ckey}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book"}),p.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:p.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:p.report_description}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:p.reporter_ckey}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Delete",icon:"trash",onClick:function(){function v(){return l("delete_book",{bookid:p.id})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Unflag",icon:"flag",color:"caution",onClick:function(){function v(){return l("unflag_book",{bookid:p.id})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"View",onClick:function(){function v(){return l("view_book",{bookid:p.id})}return v}()})]})]},p.id)})]})})},C=function(c,m){var d=(0,a.useBackend)(m),l=d.act,s=d.data,i=s.ckey,p=s.booklist;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user",verticalAlign:"middle",size:2,mr:"1rem"}),(0,e.createVNode)(1,"br"),"Books uploaded by ",i,(0,e.createVNode)(1,"br")]}),(0,e.createComponentVNode)(2,t.Button,{mt:1,content:"Return to Main",icon:"arrow-alt-circle-left",onClick:function(){function v(){return l("return")}return v}()}),(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Administrative Actions"})]}),p.map(function(v){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book"}),v.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:v.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",children:[(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Delete",icon:"trash",color:"bad",onClick:function(){function g(){return l("delete_book",{bookid:v.id})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"View",onClick:function(){function g(){return l("view_book",{bookid:v.id})}return g}()})]})]},v.id)})]})})}},26133:function(w,r,n){"use strict";r.__esModule=!0,r.ListInputModal=void 0;var e=n(96524),a=n(14299),t=n(15113),o=n(24674),f=n(17899),V=n(68100),y=n(45493),S=r.ListInputModal=function(){function u(c,m){var d=(0,f.useBackend)(m),l=d.act,s=d.data,i=s.items,p=i===void 0?[]:i,v=s.message,g=v===void 0?"":v,h=s.init_value,N=s.timeout,b=s.title,B=(0,f.useLocalState)(m,"selected",p.indexOf(h)),I=B[0],L=B[1],T=(0,f.useLocalState)(m,"searchBarVisible",p.length>10),x=T[0],A=T[1],E=(0,f.useLocalState)(m,"searchQuery",""),M=E[0],D=E[1],P=function(){function X(Y){var J=K.length-1;if(Y===V.KEY_DOWN)if(I===null||I===J){var le;L(0),(le=document.getElementById("0"))==null||le.scrollIntoView()}else{var ce;L(I+1),(ce=document.getElementById((I+1).toString()))==null||ce.scrollIntoView()}else if(Y===V.KEY_UP)if(I===null||I===0){var fe;L(J),(fe=document.getElementById(J.toString()))==null||fe.scrollIntoView()}else{var pe;L(I-1),(pe=document.getElementById((I-1).toString()))==null||pe.scrollIntoView()}}return X}(),R=function(){function X(Y){Y!==I&&L(Y)}return X}(),j=function(){function X(){A(!1),A(!0)}return X}(),F=function(){function X(Y){var J=String.fromCharCode(Y),le=p.find(function(pe){return pe==null?void 0:pe.toLowerCase().startsWith(J==null?void 0:J.toLowerCase())});if(le){var ce,fe=p.indexOf(le);L(fe),(ce=document.getElementById(fe.toString()))==null||ce.scrollIntoView()}}return X}(),W=function(){function X(Y){var J;Y!==M&&(D(Y),L(0),(J=document.getElementById("0"))==null||J.scrollIntoView())}return X}(),_=function(){function X(){A(!x),D("")}return X}(),K=p.filter(function(X){return X==null?void 0:X.toLowerCase().includes(M.toLowerCase())}),H=330+Math.ceil(g.length/3);return x||setTimeout(function(){var X;return(X=document.getElementById(I.toString()))==null?void 0:X.focus()},1),(0,e.createComponentVNode)(2,y.Window,{title:b,width:325,height:H,children:[N&&(0,e.createComponentVNode)(2,a.Loader,{value:N}),(0,e.createComponentVNode)(2,y.Window.Content,{onKeyDown:function(){function X(Y){var J=window.event?Y.which:Y.keyCode;(J===V.KEY_DOWN||J===V.KEY_UP)&&(Y.preventDefault(),P(J)),J===V.KEY_ENTER&&(Y.preventDefault(),l("submit",{entry:K[I]})),!x&&J>=V.KEY_A&&J<=V.KEY_Z&&(Y.preventDefault(),F(J)),J===V.KEY_ESCAPE&&(Y.preventDefault(),l("cancel"))}return X}(),children:(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{compact:!0,icon:x?"search":"font",selected:!0,tooltip:x?"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(){function X(){return _()}return X}()}),className:"ListInput__Section",fill:!0,title:g,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,k,{filteredItems:K,onClick:R,onFocusSearch:j,searchBarVisible:x,selected:I})}),(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:x&&(0,e.createComponentVNode)(2,C,{filteredItems:K,onSearch:W,searchQuery:M,selected:I})}),(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,children:(0,e.createComponentVNode)(2,t.InputButtons,{input:K[I]})})]})})})]})}return u}(),k=function(c,m){var d=(0,f.useBackend)(m),l=d.act,s=c.filteredItems,i=c.onClick,p=c.onFocusSearch,v=c.searchBarVisible,g=c.selected;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,tabIndex:0,children:s.map(function(h,N){return(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:"transparent",id:N,onClick:function(){function b(){return i(N)}return b}(),onDblClick:function(){function b(B){B.preventDefault(),l("submit",{entry:s[g]})}return b}(),onKeyDown:function(){function b(B){var I=window.event?B.which:B.keyCode;v&&I>=V.KEY_A&&I<=V.KEY_Z&&(B.preventDefault(),p())}return b}(),selected:N===g,style:{animation:"none",transition:"none"},children:h.replace(/^\w/,function(b){return b.toUpperCase()})},N)})})},C=function(c,m){var d=(0,f.useBackend)(m),l=d.act,s=c.filteredItems,i=c.onSearch,p=c.searchQuery,v=c.selected;return(0,e.createComponentVNode)(2,o.Input,{width:"100%",autoFocus:!0,autoSelect:!0,onEnter:function(){function g(h){h.preventDefault(),l("submit",{entry:s[v]})}return g}(),onInput:function(){function g(h,N){return i(N)}return g}(),placeholder:"Search...",value:p})}},71963:function(w,r,n){"use strict";r.__esModule=!0,r.MODsuitContent=r.MODsuit=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(I,L){var T=I.name,x=I.value,A=I.module_ref,E=(0,a.useBackend)(L),M=E.act;return(0,e.createComponentVNode)(2,t.NumberInput,{value:x,minValue:-50,maxValue:50,stepPixelSize:5,width:"39px",onChange:function(){function D(P,R){return M("configure",{key:T,value:R,ref:A})}return D}()})},V=function(I,L){var T=I.name,x=I.value,A=I.module_ref,E=(0,a.useBackend)(L),M=E.act;return(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:x,onClick:function(){function D(){return M("configure",{key:T,value:!x,ref:A})}return D}()})},y=function(I,L){var T=I.name,x=I.value,A=I.module_ref,E=(0,a.useBackend)(L),M=E.act;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"paint-brush",onClick:function(){function D(){return M("configure",{key:T,ref:A})}return D}()}),(0,e.createComponentVNode)(2,t.ColorBox,{color:x,mr:.5})],4)},S=function(I,L){var T=I.name,x=I.value,A=I.values,E=I.module_ref,M=(0,a.useBackend)(L),D=M.act;return(0,e.createComponentVNode)(2,t.Dropdown,{displayText:x,options:A,onSelected:function(){function P(R){return D("configure",{key:T,value:R,ref:E})}return P}()})},k=function(I,L){var T=I.name,x=I.display_name,A=I.type,E=I.value,M=I.values,D=I.module_ref,P={number:(0,e.normalizeProps)((0,e.createComponentVNode)(2,f,Object.assign({},I))),bool:(0,e.normalizeProps)((0,e.createComponentVNode)(2,V,Object.assign({},I))),color:(0,e.normalizeProps)((0,e.createComponentVNode)(2,y,Object.assign({},I))),list:(0,e.normalizeProps)((0,e.createComponentVNode)(2,S,Object.assign({},I)))};return(0,e.createComponentVNode)(2,t.Box,{children:[x,": ",P[A]]})},C=function(I,L){var T=I.active,x=I.userradiated,A=I.usertoxins,E=I.usermaxtoxins,M=I.threatlevel;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Radiation Level",color:T&&x?"bad":"good",children:T&&x?"IRRADIATED!":"RADIATION-FREE"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Toxins Level",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?A/E:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:A})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Hazard Level",color:T&&M?"bad":"good",bold:!0,children:T&&M?M:0})})]})},u=function(I,L){var T=I.active,x=I.userhealth,A=I.usermaxhealth,E=I.userbrute,M=I.userburn,D=I.usertoxin,P=I.useroxy;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?x/A:0,ranges:{good:[.5,1/0],average:[.2,.5],bad:[-1/0,.2]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?x:0})})}),(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Brute",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?E/A:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?E:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Burn",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?M/A:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?M:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Toxin",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?D/A:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?D:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Suffocation",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?P/A:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?P:0})})})})]})],4)},c=function(I,L){var T=I.active,x=I.statustime,A=I.statusid,E=I.statushealth,M=I.statusmaxhealth,D=I.statusbrute,P=I.statusburn,R=I.statustoxin,j=I.statusoxy,F=I.statustemp,W=I.statusnutrition,_=I.statusfingerprints,K=I.statusdna,H=I.statusviruses;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Operation Time",children:T?x:"00:00:00"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Operation Number",children:T?A||"0":"???"})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?E/M:0,ranges:{good:[.5,1/0],average:[.2,.5],bad:[-1/0,.2]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?E:0})})}),(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Brute",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?D/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?D:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Burn",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?P/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?P:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Toxin",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?R/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:R})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Suffocation",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?j/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:j})})})})]}),(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Body Temperature",children:T?F:0})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Nutrition Status",children:T?W:0})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"DNA",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fingerprints",children:T?_:"???"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unique Enzymes",children:T?K:"???"})]})}),!!T&&!!H&&(0,e.createComponentVNode)(2,t.Section,{title:"Diseases",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"signature",tooltip:"Name",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"wind",tooltip:"Type",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"bolt",tooltip:"Stage",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"flask",tooltip:"Cure",tooltipPosition:"top"})})]}),H.map(function(X){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:X.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:X.type}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[X.stage,"/",X.maxstage]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:X.cure})]},X.name)})]})})],0)},m={rad_counter:C,health_analyzer:u,status_readout:c},d=function(){return(0,e.createComponentVNode)(2,t.Section,{align:"center",fill:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{color:"red",name:"exclamation-triangle",size:15}),(0,e.createComponentVNode)(2,t.Box,{fontSize:"30px",color:"red",children:"ERROR: INTERFACE UNRESPONSIVE"})]})},l=function(I,L){var T=(0,a.useBackend)(L),x=T.act,A=T.data;return(0,e.createComponentVNode)(2,t.Dimmer,{children:(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{fontSize:"16px",color:"blue",children:"SUIT UNPOWERED"})})})},s=function(I,L){var T=I.configuration_data,x=I.module_ref,A=Object.keys(T);return(0,e.createComponentVNode)(2,t.Dimmer,{backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:[A.map(function(E){var M=T[E];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,k,{name:E,display_name:M.display_name,type:M.type,value:M.value,values:M.values,module_ref:x})},M.key)}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:I.onExit,icon:"times",textAlign:"center",children:"Exit"})})})]})})},i=function(I){switch(I){case 1:return"Use";case 2:return"Toggle";case 3:return"Select"}},p=function(I,L){var T=(0,a.useBackend)(L),x=T.act,A=T.data,E=A.active,M=A.malfunctioning,D=A.locked,P=A.open,R=A.selected_module,j=A.complexity,F=A.complexity_max,W=A.wearer_name,_=A.wearer_job,K=M?"Malfunctioning":E?"Active":"Inactive";return(0,e.createComponentVNode)(2,t.Section,{title:"Parameters",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:E?"Deactivate":"Activate",onClick:function(){function H(){return x("activate")}return H}()}),children:K}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Lock",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:D?"lock-open":"lock",content:D?"Unlock":"Lock",onClick:function(){function H(){return x("lock")}return H}()}),children:D?"Locked":"Unlocked"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cover",children:P?"Open":"Closed"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Selected Module",children:R||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Complexity",children:[j," (",F,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Occupant",children:[W,", ",_]})]})})},v=function(I,L){var T=(0,a.useBackend)(L),x=T.act,A=T.data,E=A.active,M=A.control,D=A.helmet,P=A.chestplate,R=A.gauntlets,j=A.boots,F=A.core,W=A.charge;return(0,e.createComponentVNode)(2,t.Section,{title:"Hardware",children:[(0,e.createComponentVNode)(2,t.Collapsible,{title:"Parts",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Control Unit",children:M}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Helmet",children:D||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Chestplate",children:P||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gauntlets",children:R||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Boots",children:j||"None"})]})}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"Core",children:F&&(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Core Type",children:F}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Core Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:W/100,content:W+"%",ranges:{good:[.6,1/0],average:[.3,.6],bad:[-1/0,.3]}})})]})||(0,e.createComponentVNode)(2,t.Box,{color:"bad",textAlign:"center",children:"No Core Detected"})})]})},g=function(I,L){var T=(0,a.useBackend)(L),x=T.act,A=T.data,E=A.active,M=A.modules,D=M.filter(function(P){return!!P.id});return(0,e.createComponentVNode)(2,t.Section,{title:"Info",children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:D.length!==0&&D.map(function(P){var R=m[P.id];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[!E&&(0,e.createComponentVNode)(2,l),(0,e.normalizeProps)((0,e.createComponentVNode)(2,R,Object.assign({},P,{active:E})))]},P.ref)})||(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:"No Info Modules Detected"})})})},h=function(I,L){var T=(0,a.useBackend)(L),x=T.act,A=T.data,E=A.complexity_max,M=A.modules,D=(0,a.useLocalState)(L,"module_configuration",null),P=D[0],R=D[1];return(0,e.createComponentVNode)(2,t.Section,{title:"Modules",fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:M.length!==0&&M.map(function(j){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Collapsible,{title:j.module_name,children:(0,e.createComponentVNode)(2,t.Section,{children:[P===j.ref&&(0,e.createComponentVNode)(2,s,{configuration_data:j.configuration_data,module_ref:j.ref,onExit:function(){function F(){return R(null)}return F}()}),(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"save",tooltip:"Complexity",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"plug",tooltip:"Idle Power Cost",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"lightbulb",tooltip:"Active Power Cost",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"bolt",tooltip:"Use Power Cost",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"hourglass-half",tooltip:"Cooldown",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"tasks",tooltip:"Actions",tooltipPosition:"top"})})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[j.module_complexity,"/",E]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:j.idle_power}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:j.active_power}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:j.use_power}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[j.cooldown>0&&j.cooldown/10||"0","/",j.cooldown_time/10,"s"]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function F(){return x("select",{ref:j.ref})}return F}(),icon:"bullseye",selected:j.module_active,tooltip:i(j.module_type),tooltipPosition:"left",disabled:!j.module_type}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function F(){return R(j.ref)}return F}(),icon:"cog",selected:P===j.ref,tooltip:"Configure",tooltipPosition:"left",disabled:j.configuration_data.length===0}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function F(){return x("pin",{ref:j.ref})}return F}(),icon:"thumbtack",selected:j.pinned,tooltip:"Pin",tooltipPosition:"left",disabled:!j.module_type})]})]})]}),(0,e.createComponentVNode)(2,t.Box,{children:j.description})]})})},j.ref)})||(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:"No Modules Detected"})})})})},N=r.MODsuitContent=function(){function B(I,L){var T=(0,a.useBackend)(L),x=T.act,A=T.data,E=A.ui_theme,M=A.interface_break;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!M,children:!!M&&(0,e.createComponentVNode)(2,d)||(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,p)}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,v)}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,g)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,h)})]})})}return B}(),b=r.MODsuit=function(){function B(I,L){var T=(0,a.useBackend)(L),x=T.act,A=T.data,E=A.ui_theme,M=A.interface_break;return(0,e.createComponentVNode)(2,o.Window,{theme:E,width:400,height:620,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,N)})})})}return B}()},84274:function(w,r,n){"use strict";r.__esModule=!0,r.MagnetController=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=n(99665),y=new Map([["n",{icon:"arrow-up",tooltip:"Move North"}],["e",{icon:"arrow-right",tooltip:"Move East"}],["s",{icon:"arrow-down",tooltip:"Move South"}],["w",{icon:"arrow-left",tooltip:"Move West"}],["c",{icon:"crosshairs",tooltip:"Move to Magnet"}],["r",{icon:"dice",tooltip:"Move Randomly"}]]),S=r.MagnetController=function(){function k(C,u){var c=(0,t.useBackend)(u),m=c.act,d=c.data,l=d.autolink,s=d.code,i=d.frequency,p=d.linkedMagnets,v=d.magnetConfiguration,g=d.path,h=d.pathPosition,N=d.probing,b=d.powerState,B=d.speed;return(0,e.createComponentVNode)(2,f.Window,{width:400,height:600,children:[(0,e.createComponentVNode)(2,V.ComplexModal),(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:[!l&&(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{content:"Probe",icon:N?"spinner":"sync",iconSpin:!!N,disabled:N,onClick:function(){function I(){return m("probe_magnets")}return I}()}),title:"Magnet Linking",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:(0,a.toFixed)(i/10,1)}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",children:s})]})}),(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{icon:b?"power-off":"times",content:b?"On":"Off",selected:b,onClick:function(){function I(){return m("toggle_power")}return I}()}),title:"Controller Configuration",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Speed",children:(0,e.createComponentVNode)(2,o.Slider,{value:B.value,minValue:B.min,maxValue:B.max,onChange:function(){function I(L,T){return m("set_speed",{speed:T})}return I}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Path",children:[Array.from(y.entries()).map(function(I){var L=I[0],T=I[1],x=T.icon,A=T.tooltip;return(0,e.createComponentVNode)(2,o.Button,{icon:x,tooltip:A,onClick:function(){function E(){return m("path_add",{code:L})}return E}()},L)}),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",confirmIcon:"trash",confirmContent:"",float:"right",tooltip:"Reset Path",tooltipPosition:"left",onClick:function(){function I(){return m("path_clear")}return I}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"file-import",float:"right",tooltip:"Manually input path",tooltipPosition:"left",onClick:function(){function I(){return(0,V.modalOpen)(u,"path_custom_input")}return I}()}),(0,e.createComponentVNode)(2,o.BlockQuote,{children:g.map(function(I,L){var T=y.get(I)||{icon:"question"},x=T.icon,A=T.tooltip;return(0,e.createComponentVNode)(2,o.Button.Confirm,{selected:L+2===h,icon:x,confirmIcon:x,confirmContent:"",tooltip:A,onClick:function(){function E(){return m("path_remove",{index:L+1,code:I})}return E}()},L)})})]})]})}),p.map(function(I,L){var T=I.uid,x=I.powerState,A=I.electricityLevel,E=I.magneticField;return(0,e.createComponentVNode)(2,o.Section,{title:"Magnet #"+(L+1)+" Configuration",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:x?"power-off":"times",content:x?"On":"Off",selected:x,onClick:function(){function M(){return m("toggle_magnet_power",{id:T})}return M}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Move Speed",children:(0,e.createComponentVNode)(2,o.Slider,{value:A,minValue:v.electricityLevel.min,maxValue:v.electricityLevel.max,onChange:function(){function M(D,P){return m("set_electricity_level",{id:T,electricityLevel:P})}return M}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Field Size",children:(0,e.createComponentVNode)(2,o.Slider,{value:E,minValue:v.magneticField.min,maxValue:v.magneticField.max,onChange:function(){function M(D,P){return m("set_magnetic_field",{id:T,magneticField:P})}return M}()})})]})},T)})]})]})}return k}()},95752:function(w,r,n){"use strict";r.__esModule=!0,r.MechBayConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.MechBayConsole=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.recharge_port,m=c&&c.mech,d=m&&m.cell,l=m&&m.name;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:155,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:l?"Mech status: "+l:"Mech status",textAlign:"center",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Sync",onClick:function(){function s(){return C("reconnect")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No power port detected. Please re-sync."})||!m&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No mech detected."})||(0,e.createComponentVNode)(2,t.ProgressBar,{value:m.health/m.maxhealth,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No power port detected. Please re-sync."})||!m&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No mech detected."})||!d&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cell is installed."})||(0,e.createComponentVNode)(2,t.ProgressBar,{value:d.charge/d.maxcharge,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]},children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:d.charge})," / "+d.maxcharge]})})]})})})})}return V}()},53668:function(w,r,n){"use strict";r.__esModule=!0,r.MechaControlConsole=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=n(78234),y=r.MechaControlConsole=function(){function S(k,C){var u=(0,t.useBackend)(C),c=u.act,m=u.data,d=m.beacons,l=m.stored_data;return l.length?(0,e.createComponentVNode)(2,f.Window,{width:420,height:500,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"window-close",onClick:function(){function s(){return c("clear_log")}return s}()}),children:l.map(function(s){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",children:["(",s.time,")"]}),(0,e.createComponentVNode)(2,o.Box,{children:(0,V.decodeHtmlEntities)(s.message)})]},s.time)})})})}):(0,e.createComponentVNode)(2,f.Window,{width:420,height:500,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:d.length&&d.map(function(s){return(0,e.createComponentVNode)(2,o.Section,{title:s.name,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function i(){return c("send_message",{mt:s.uid})}return i}(),children:"Message"}),(0,e.createComponentVNode)(2,o.Button,{icon:"eye",onClick:function(){function i(){return c("get_log",{mt:s.uid})}return i}(),children:"View Log"}),(0,e.createComponentVNode)(2,o.Button.Confirm,{color:"red",content:"Sabotage",icon:"bomb",onClick:function(){function i(){return c("shock",{mt:s.uid})}return i}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[s.maxHealth*.75,1/0],average:[s.maxHealth*.5,s.maxHealth*.75],bad:[-1/0,s.maxHealth*.5]},value:s.health,maxValue:s.maxHealth})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cell Charge",children:s.cell&&(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[s.cellMaxCharge*.75,1/0],average:[s.cellMaxCharge*.5,s.cellMaxCharge*.75],bad:[-1/0,s.cellMaxCharge*.5]},value:s.cellCharge,maxValue:s.cellMaxCharge})||(0,e.createComponentVNode)(2,o.NoticeBox,{children:"No Cell Installed"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Air Tank",children:[s.airtank,"kPa"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pilot",children:s.pilot||"Unoccupied"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:(0,V.toTitleCase)(s.location)||"Unknown"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Active Equipment",children:s.active||"None"}),s.cargoMax&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cargo Space",children:(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{bad:[s.cargoMax*.75,1/0],average:[s.cargoMax*.5,s.cargoMax*.75],good:[-1/0,s.cargoMax*.5]},value:s.cargoUsed,maxValue:s.cargoMax})})||null]})},s.name)})||(0,e.createComponentVNode)(2,o.NoticeBox,{children:"No mecha beacons found."})})})}return S}()},96467:function(w,r,n){"use strict";r.__esModule=!0,r.MedicalRecords=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(99665),V=n(45493),y=n(68159),S=n(27527),k=n(84537),C={Minor:"lightgray",Medium:"good",Harmful:"average","Dangerous!":"bad","BIOHAZARD THREAT!":"darkred"},u={"*Deceased*":"deceased","*SSD*":"ssd","Physically Unfit":"physically_unfit",Disabled:"disabled"},c=function(x,A){(0,f.modalOpen)(x,"edit",{field:A.edit,value:A.value})},m=function(x,A){var E=x.args;return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:E.name||"Virus",children:(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Number of stages",children:E.max_stages}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Spread",children:[E.spread_text," Transmission"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Possible cure",children:E.cure}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Notes",children:E.desc}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Severity",color:C[E.severity],children:E.severity})]})})})},d=r.MedicalRecords=function(){function T(x,A){var E=(0,t.useBackend)(A),M=E.data,D=M.loginState,P=M.screen;if(!D.logged_in)return(0,e.createComponentVNode)(2,V.Window,{width:800,height:900,children:(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,S.LoginScreen)})});var R;return P===2?R=(0,e.createComponentVNode)(2,l):P===3?R=(0,e.createComponentVNode)(2,s):P===4?R=(0,e.createComponentVNode)(2,i):P===5?R=(0,e.createComponentVNode)(2,h):P===6?R=(0,e.createComponentVNode)(2,N):P===7&&(R=(0,e.createComponentVNode)(2,b)),(0,e.createComponentVNode)(2,V.Window,{width:800,height:900,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.LoginInfo),(0,e.createComponentVNode)(2,k.TemporaryNotice),(0,e.createComponentVNode)(2,L),R]})})]})}return T}(),l=function(x,A){var E=(0,t.useBackend)(A),M=E.act,D=E.data,P=D.records,R=(0,t.useLocalState)(A,"searchText",""),j=R[0],F=R[1],W=(0,t.useLocalState)(A,"sortId","name"),_=W[0],K=W[1],H=(0,t.useLocalState)(A,"sortOrder",!0),X=H[0],Y=H[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Manage Records",icon:"wrench",ml:"0.25rem",onClick:function(){function J(){return M("screen",{screen:3})}return J}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{fluid:!0,placeholder:"Search by Name, ID, Physical Status, or Mental Status",onInput:function(){function J(le,ce){return F(ce)}return J}()})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,B,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,B,{id:"id",children:"ID"}),(0,e.createComponentVNode)(2,B,{id:"rank",children:"Assignment"}),(0,e.createComponentVNode)(2,B,{id:"p_stat",children:"Patient Status"}),(0,e.createComponentVNode)(2,B,{id:"m_stat",children:"Mental Status"})]}),P.filter((0,a.createSearch)(j,function(J){return J.name+"|"+J.id+"|"+J.rank+"|"+J.p_stat+"|"+J.m_stat})).sort(function(J,le){var ce=X?1:-1;return J[_].localeCompare(le[_])*ce}).map(function(J){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listRow--"+u[J.p_stat],onClick:function(){function le(){return M("view_record",{view_record:J.ref})}return le}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",J.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.p_stat}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.m_stat})]},J.id)})]})})})],4)},s=function(x,A){var E=(0,t.useBackend)(A),M=E.act;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,lineHeight:3,color:"translucent",icon:"download",content:"Backup to Disk",disabled:!0})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,lineHeight:3,color:"translucent",icon:"upload",content:"Upload from Disk",my:"0.5rem",disabled:!0})," "]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button.Confirm,{fluid:!0,lineHeight:3,icon:"trash",color:"translucent",content:"Delete All Medical Records",onClick:function(){function D(){return M("del_all_med_records")}return D}()})})]})})},i=function(x,A){var E=(0,t.useBackend)(A),M=E.act,D=E.data,P=D.medical,R=D.printing;return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{height:"235px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"General Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:R?"spinner":"print",disabled:R,iconSpin:!!R,content:"Print Record",ml:"0.5rem",onClick:function(){function j(){return M("print_record")}return j}()}),children:(0,e.createComponentVNode)(2,p)})}),!P||!P.fields?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Medical Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"pen",content:"Create New Record",onClick:function(){function j(){return M("new_med_record")}return j}()}),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"Medical records lost!"]})})})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Medical Data",buttons:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",disabled:!!P.empty,content:"Delete Medical Record",onClick:function(){function j(){return M("del_med_record")}return j}()}),children:(0,e.createComponentVNode)(2,v)})}),(0,e.createComponentVNode)(2,g)],4)],0)},p=function(x,A){var E=(0,t.useBackend)(A),M=E.data,D=M.general;return!D||!D.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"General records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:D.fields.map(function(P,R){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:P.field,children:[(0,e.createComponentVNode)(2,o.Box,{height:"20px",inline:!0,children:P.value}),!!P.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",onClick:function(){function j(){return c(A,P)}return j}()})]},R)})})}),!!D.has_photos&&D.photos.map(function(P,R){return(0,e.createComponentVNode)(2,o.Stack.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:P,style:{width:"96px","margin-top":"2.5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Photo #",R+1]},R)})]})},v=function(x,A){var E=(0,t.useBackend)(A),M=E.act,D=E.data,P=D.medical;return!P||!P.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"Medical records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:P.fields.map(function(R,j){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:R.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(R.value),!!R.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:R.line_break?"1rem":"initial",onClick:function(){function F(){return c(A,R)}return F}()})]},j)})})})})},g=function(x,A){var E=(0,t.useBackend)(A),M=E.act,D=E.data,P=D.medical;return(0,e.createComponentVNode)(2,o.Stack.Item,{height:"150px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Comments/Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"comment",content:"Add Entry",onClick:function(){function R(){return(0,f.modalOpen)(A,"add_comment")}return R}()}),children:P.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):P.comments.map(function(R,j){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:R.header}),(0,e.createVNode)(1,"br"),R.text,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function F(){return M("del_comment",{del_comment:j+1})}return F}()})]},j)})})})},h=function(x,A){var E=(0,t.useBackend)(A),M=E.act,D=E.data,P=D.virus,R=(0,t.useLocalState)(A,"searchText",""),j=R[0],F=R[1],W=(0,t.useLocalState)(A,"sortId2","name"),_=W[0],K=W[1],H=(0,t.useLocalState)(A,"sortOrder2",!0),X=H[0],Y=H[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{ml:"0.25rem",fluid:!0,placeholder:"Search by Name, Max Stages, or Severity",onInput:function(){function J(le,ce){return F(ce)}return J}()})}),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,I,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,I,{id:"max_stages",children:"Max Stages"}),(0,e.createComponentVNode)(2,I,{id:"severity",children:"Severity"})]}),P.filter((0,a.createSearch)(j,function(J){return J.name+"|"+J.max_stages+"|"+J.severity})).sort(function(J,le){var ce=X?1:-1;return J[_].localeCompare(le[_])*ce}).map(function(J){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listVirus--"+J.severity,onClick:function(){function le(){return M("vir",{vir:J.D})}return le}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"virus"})," ",J.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.max_stages}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:C[J.severity],children:J.severity})]},J.id)})]})})})})],4)},N=function(x,A){var E=(0,t.useBackend)(A),M=E.act,D=E.data,P=D.goals;return(0,e.createComponentVNode)(2,o.Section,{title:"Virology Goals",fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:P.length!==0&&P.map(function(R){return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:R.name,children:[(0,e.createComponentVNode)(2,o.Table,{children:(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:(0,e.createComponentVNode)(2,o.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,o.ProgressBar,{value:R.delivered,minValue:0,maxValue:R.deliverygoal,ranges:{good:[R.deliverygoal*.5,1/0],average:[R.deliverygoal*.25,R.deliverygoal*.5],bad:[-1/0,R.deliverygoal*.25]},children:[R.delivered," / ",R.deliverygoal," Units"]})})})}),(0,e.createComponentVNode)(2,o.Box,{children:R.report})]})},R.id)})||(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Box,{textAlign:"center",children:"No Goals Detected"})})})})},b=function(x,A){var E=(0,t.useBackend)(A),M=E.act,D=E.data,P=D.medbots;return P.length===0?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"robot",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"There are no Medibots."]})})})}):(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Area"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Chemicals"})]}),P.map(function(R){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listMedbot--"+R.on,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"medical"})," ",R.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:[R.area||"Unknown"," (",R.x,", ",R.y,")"]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:R.on?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:"Online"}):(0,e.createComponentVNode)(2,o.Box,{color:"average",children:"Offline"})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:R.use_beaker?"Reservoir: "+R.total_volume+"/"+R.maximum_volume:"Using internal synthesizer"})]},R.id)})]})})})},B=function(x,A){var E=(0,t.useLocalState)(A,"sortId","name"),M=E[0],D=E[1],P=(0,t.useLocalState)(A,"sortOrder",!0),R=P[0],j=P[1],F=x.id,W=x.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:M!==F&&"transparent",onClick:function(){function _(){M===F?j(!R):(D(F),j(!0))}return _}(),children:[W,M===F&&(0,e.createComponentVNode)(2,o.Icon,{name:R?"sort-up":"sort-down",ml:"0.25rem;"})]})})},I=function(x,A){var E=(0,t.useLocalState)(A,"sortId2","name"),M=E[0],D=E[1],P=(0,t.useLocalState)(A,"sortOrder2",!0),R=P[0],j=P[1],F=x.id,W=x.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:M!==F&&"transparent",onClick:function(){function _(){M===F?j(!R):(D(F),j(!0))}return _}(),children:[W,M===F&&(0,e.createComponentVNode)(2,o.Icon,{name:R?"sort-up":"sort-down",ml:"0.25rem;"})]})})},L=function(x,A){var E=(0,t.useBackend)(A),M=E.act,D=E.data,P=D.screen,R=D.general;return(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:P===2,onClick:function(){function j(){M("screen",{screen:2})}return j}(),children:"List Records"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"database",selected:P===5,onClick:function(){function j(){M("screen",{screen:5})}return j}(),children:"Virus Database"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"vial",selected:P===6,onClick:function(){function j(){M("screen",{screen:6})}return j}(),children:"Virology Goals"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"plus-square",selected:P===7,onClick:function(){function j(){return M("screen",{screen:7})}return j}(),children:"Medibot Tracking"}),P===3&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"wrench",selected:P===3,children:"Record Maintenance"}),P===4&&R&&!R.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"file",selected:P===4,children:["Record: ",R.fields[0].value]})]})})};(0,f.modalRegisterBodyOverride)("virus",m)},68211:function(w,r,n){"use strict";r.__esModule=!0,r.MerchVendor=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=C.product,s=C.productImage,i=C.productCategory,p=d.user_money;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+s,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:l.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{disabled:l.price>p,icon:"shopping-cart",content:l.price,textAlign:"left",onClick:function(){function v(){return m("purchase",{name:l.name,category:i})}return v}()})})]})},V=function(C,u){var c=(0,a.useBackend)(u),m=c.data,d=(0,a.useLocalState)(u,"tabIndex",1),l=d[0],s=m.products,i=m.imagelist,p=["apparel","toy","decoration"];return(0,e.createComponentVNode)(2,t.Table,{children:s[p[l]].map(function(v){return(0,e.createComponentVNode)(2,f,{product:v,productImage:i[v.path],productCategory:p[l]},v.name)})})},y=r.MerchVendor=function(){function k(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.user_cash,s=d.inserted_cash;return(0,e.createComponentVNode)(2,o.Window,{title:"Merch Computer",width:450,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"User",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{color:"light-grey",inline:!0,mr:"0.5rem",children:["There is ",(0,e.createVNode)(1,"b",null,s,0)," credits inserted."]}),(0,e.createComponentVNode)(2,t.Button,{disabled:!s,icon:"money-bill-wave-alt",content:"Dispense Change",textAlign:"left",onClick:function(){function i(){return m("change")}return i}()})],4),children:(0,e.createComponentVNode)(2,t.Stack.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.",l!==null&&(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:["Your balance is ",(0,e.createVNode)(1,"b",null,[l||0,(0,e.createTextVNode)(" credits")],0),"."]})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Products",children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,V)]})})]})})})}return k}(),S=function(C,u){var c=(0,a.useBackend)(u),m=c.data,d=(0,a.useLocalState)(u,"tabIndex",1),l=d[0],s=d[1],i=m.login_state;return(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"dice",selected:l===1,onClick:function(){function p(){return s(1)}return p}(),children:"Toys"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"flag",selected:l===2,onClick:function(){function p(){return s(2)}return p}(),children:"Decorations"})]})}},14162:function(w,r,n){"use strict";r.__esModule=!0,r.MiningVendor=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(45493),V=["title","items"];function y(d,l){if(d==null)return{};var s={},i=Object.keys(d),p,v;for(v=0;v=0)&&(s[p]=d[p]);return s}var S={Alphabetical:function(){function d(l,s){return l-s}return d}(),Availability:function(){function d(l,s){return-(l.affordable-s.affordable)}return d}(),Price:function(){function d(l,s){return l.price-s.price}return d}()},k=r.MiningVendor=function(){function d(l,s){return(0,e.createComponentVNode)(2,f.Window,{width:400,height:455,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,u)]})})})}return d}(),C=function(l,s){var i=(0,t.useBackend)(s),p=i.act,v=i.data,g=v.has_id,h=v.id;return(0,e.createComponentVNode)(2,o.NoticeBox,{success:g,children:g?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{inline:!0,verticalAlign:"middle",style:{float:"left"},children:["Logged in as ",h.name,".",(0,e.createVNode)(1,"br"),"You have ",h.points.toLocaleString("en-US")," points."]}),(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject ID",style:{float:"right"},onClick:function(){function N(){return p("logoff")}return N}()}),(0,e.createComponentVNode)(2,o.Box,{style:{clear:"both"}})],4):"Please insert an ID in order to make purchases."})},u=function(l,s){var i=(0,t.useBackend)(s),p=i.act,v=i.data,g=v.has_id,h=v.id,N=v.items,b=(0,t.useLocalState)(s,"search",""),B=b[0],I=b[1],L=(0,t.useLocalState)(s,"sort","Alphabetical"),T=L[0],x=L[1],A=(0,t.useLocalState)(s,"descending",!1),E=A[0],M=A[1],D=(0,a.createSearch)(B,function(j){return j[0]}),P=!1,R=Object.entries(N).map(function(j,F){var W=Object.entries(j[1]).filter(D).map(function(_){return _[1].affordable=g&&h.points>=_[1].price,_[1]}).sort(S[T]);if(W.length!==0)return E&&(W=W.reverse()),P=!0,(0,e.createComponentVNode)(2,m,{title:j[0],items:W},j[0])});return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:P?R:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No items matching your criteria was found!"})})})},c=function(l,s){var i=(0,t.useLocalState)(s,"search",""),p=i[0],v=i[1],g=(0,t.useLocalState)(s,"sort",""),h=g[0],N=g[1],b=(0,t.useLocalState)(s,"descending",!1),B=b[0],I=b[1];return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{mt:.2,placeholder:"Search by item name..",width:"100%",onInput:function(){function L(T,x){return v(x)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"30%",children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:"Alphabetical",options:Object.keys(S),width:"100%",onSelected:function(){function L(T){return N(T)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:B?"arrow-down":"arrow-up",height:"21px",tooltip:B?"Descending order":"Ascending order",tooltipPosition:"bottom-start",onClick:function(){function L(){return I(!B)}return L}()})})]})})},m=function(l,s){var i=(0,t.useBackend)(s),p=i.act,v=i.data,g=l.title,h=l.items,N=y(l,V);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Collapsible,Object.assign({open:!0,title:g},N,{children:h.map(function(b){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{inline:!0,verticalAlign:"middle",lineHeight:"20px",style:{float:"left"},children:b.name}),(0,e.createComponentVNode)(2,o.Button,{disabled:!v.has_id||v.id.points0?'\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043F\u043E\u0438\u0441\u043A\u0430 "'+l+'"':"\u0412\u0441\u0435 \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u0438 - "+m.length,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:m.filter(function(p){return p.name&&(l.length>0?p.name.toLowerCase().includes(l.toLowerCase())||p.desc.toLowerCase().includes(l.toLowerCase())||p.author.toLowerCase().includes(l.toLowerCase()):!0)}).map(function(p){return(0,e.createComponentVNode)(2,o.Collapsible,{title:p.name,children:[(0,e.createComponentVNode)(2,o.Section,{title:"\u0410\u0432\u0442\u043E\u0440\u044B",children:p.author}),(0,e.createComponentVNode)(2,o.Section,{title:"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435",children:p.desc})]},p.name)})})})})})],4)}return y}()},68977:function(w,r,n){"use strict";r.__esModule=!0,r.NTRecruiter=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.NTRecruiter=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.gamestatus,m=u.cand_name,d=u.cand_birth,l=u.cand_age,s=u.cand_species,i=u.cand_planet,p=u.cand_job,v=u.cand_records,g=u.cand_curriculum,h=u.total_curriculums,N=u.reason;if(c===0)return(0,e.createComponentVNode)(2,o.Window,{width:400,height:550,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{pt:"45%",fontSize:"31px",color:"white",textAlign:"center",bold:!0,children:"Nanotrasen Recruiter Simulator"}),(0,e.createComponentVNode)(2,t.Stack.Item,{pt:"1%",fontSize:"16px",textAlign:"center",color:"label",children:"Work as the Nanotrasen recruiter and avoid hiring incompetent employees!"})]})}),(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",lineHeight:2,fluid:!0,icon:"play",color:"green",content:"Begin Shift",onClick:function(){function b(){return C("start_game")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",lineHeight:2,fluid:!0,icon:"info",color:"blue",content:"Guide",onClick:function(){function b(){return C("instructions")}return b}()})]})]})})});if(c===1)return(0,e.createComponentVNode)(2,o.Window,{width:400,height:550,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,color:"grey",title:"Guide",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-left",content:"Main Menu",onClick:function(){function b(){return C("back_to_menu")}return b}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"1#",color:"silver",children:["To win this game you must hire/dismiss"," ",(0,e.createVNode)(1,"b",null,h,0)," candidates, one wrongly made choice leads to a game over."]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"2#",color:"silver",children:"Make the right choice by truly putting yourself into the skin of a recruiter working for Nanotrasen!"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"3#",color:"silver",children:[(0,e.createVNode)(1,"b",null,"Unique",16)," characters may appear, pay attention to them!"]}),(0,e.createComponentVNode)(2,t.LabeledList.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,e.createComponentVNode)(2,t.LabeledList.Item,{label:"5#",color:"silver",children:["Not every employment record is good, remember to make your choice based on the ",(0,e.createVNode)(1,"b",null,"company morals",16),"!"]}),(0,e.createComponentVNode)(2,t.LabeledList.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,e.createComponentVNode)(2,t.LabeledList.Item,{label:"7#",color:"silver",children:["Pay attention to ",(0,e.createVNode)(1,"b",null,"typos",16)," and ",(0,e.createVNode)(1,"b",null,"missing words",16),", these do make for bad applications!"]}),(0,e.createComponentVNode)(2,t.LabeledList.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,e.createVNode)(1,"b",null,"jobs",16)," that they"," ",(0,e.createVNode)(1,"b",null,"don't offer",16),"!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"9#",color:"silver",children:["Keep your eyes open for incompatible ",(0,e.createVNode)(1,"b",null,"naming schemes",16),", no company wants a Vox named Joe!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"10#",color:"silver",children:["For some unknown reason ",(0,e.createVNode)(1,"b",null,"clowns",16)," are never denied by the company, no matter what."]})]})})})})});if(c===2)return(0,e.createComponentVNode)(2,o.Window,{width:400,height:550,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,color:"label",fontSize:"14px",title:"Employment Applications",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"24px",textAlign:"center",color:"silver",bold:!0,children:["Candidate Number #",g]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",color:"silver",children:(0,e.createVNode)(1,"b",null,m,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Species",color:"silver",children:(0,e.createVNode)(1,"b",null,s,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Age",color:"silver",children:(0,e.createVNode)(1,"b",null,l,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Date of Birth",color:"silver",children:(0,e.createVNode)(1,"b",null,d,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Planet of Origin",color:"silver",children:(0,e.createVNode)(1,"b",null,i,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requested Job",color:"silver",children:(0,e.createVNode)(1,"b",null,p,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Employment Records",color:"silver",children:(0,e.createVNode)(1,"b",null,v,0)})]})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Stamp the application!",color:"grey",textAlign:"center",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"red",content:"Dismiss",fontSize:"150%",icon:"ban",lineHeight:4.5,onClick:function(){function b(){return C("dismiss")}return b}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"green",content:"Hire",fontSize:"150%",icon:"arrow-circle-up",lineHeight:4.5,onClick:function(){function b(){return C("hire")}return b}()})})]})})})]})})});if(c===3)return(0,e.createComponentVNode)(2,o.Window,{width:400,height:550,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{pt:"40%",fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,color:"red",fontSize:"50px",textAlign:"center",children:"Game Over"}),(0,e.createComponentVNode)(2,t.Stack.Item,{fontSize:"15px",color:"label",textAlign:"center",children:N}),(0,e.createComponentVNode)(2,t.Stack.Item,{color:"blue",fontSize:"20px",textAlign:"center",pt:"10px",children:["FINAL SCORE: ",g-1,"/",h]})]})}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Button,{lineHeight:4,fluid:!0,icon:"arrow-left",content:"Main Menu",onClick:function(){function b(){return C("back_to_menu")}return b}()})})]})})})}return V}()},17067:function(w,r,n){"use strict";r.__esModule=!0,r.Newscaster=void 0;var e=n(96524),a=n(28234),t=n(17899),o=n(24674),f=n(38424),V=n(45493),y=n(99665),S=n(84537),k=["icon","iconSpin","selected","security","onClick","title","children"],C=["name"];function u(I,L){if(I==null)return{};var T={},x=Object.keys(I),A,E;for(E=0;E=0)&&(T[A]=I[A]);return T}var c=128,m=["security","engineering","medical","science","service","supply"],d={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"}},l=r.Newscaster=function(){function I(L,T){var x=(0,t.useBackend)(T),A=x.act,E=x.data,M=E.is_security,D=E.is_admin,P=E.is_silent,R=E.is_printing,j=E.screen,F=E.channels,W=E.channel_idx,_=W===void 0?-1:W,K=(0,t.useLocalState)(T,"menuOpen",!1),H=K[0],X=K[1],Y=(0,t.useLocalState)(T,"viewingPhoto",""),J=Y[0],le=Y[1],ce=(0,t.useLocalState)(T,"censorMode",!1),fe=ce[0],pe=ce[1],he;j===0||j===2?he=(0,e.createComponentVNode)(2,i):j===1&&(he=(0,e.createComponentVNode)(2,p));var te=F.reduce(function(Q,ae){return Q+ae.unread},0);return(0,e.createComponentVNode)(2,V.Window,{theme:M&&"security",width:800,height:600,children:[J?(0,e.createComponentVNode)(2,h):(0,e.createComponentVNode)(2,y.ComplexModal,{maxWidth:window.innerWidth/1.5+"px",maxHeight:window.innerHeight/1.5+"px"}),(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Section,{fill:!0,className:(0,a.classes)(["Newscaster__menu",H&&"Newscaster__menu--open"]),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,s,{icon:"bars",title:"Toggle Menu",onClick:function(){function Q(){return X(!H)}return Q}()}),(0,e.createComponentVNode)(2,s,{icon:"newspaper",title:"Headlines",selected:j===0,onClick:function(){function Q(){return A("headlines")}return Q}(),children:te>0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:te>=10?"9+":te})}),(0,e.createComponentVNode)(2,s,{icon:"briefcase",title:"Job Openings",selected:j===1,onClick:function(){function Q(){return A("jobs")}return Q}()}),(0,e.createComponentVNode)(2,o.Divider)]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:F.map(function(Q){return(0,e.createComponentVNode)(2,s,{icon:Q.icon,title:Q.name,selected:j===2&&F[_-1]===Q,onClick:function(){function ae(){return A("channel",{uid:Q.uid})}return ae}(),children:Q.unread>0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:Q.unread>=10?"9+":Q.unread})},Q)})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,o.Divider),(!!M||!!D)&&(0,e.createFragment)([(0,e.createComponentVNode)(2,s,{security:!0,icon:"exclamation-circle",title:"Edit Wanted Notice",mb:"0.5rem",onClick:function(){function Q(){return(0,y.modalOpen)(T,"wanted_notice")}return Q}()}),(0,e.createComponentVNode)(2,s,{security:!0,icon:fe?"minus-square":"minus-square-o",title:"Censor Mode: "+(fe?"On":"Off"),mb:"0.5rem",onClick:function(){function Q(){return pe(!fe)}return Q}()}),(0,e.createComponentVNode)(2,o.Divider)],4),(0,e.createComponentVNode)(2,s,{icon:"pen-alt",title:"New Story",mb:"0.5rem",onClick:function(){function Q(){return(0,y.modalOpen)(T,"create_story")}return Q}()}),(0,e.createComponentVNode)(2,s,{icon:"plus-circle",title:"New Channel",onClick:function(){function Q(){return(0,y.modalOpen)(T,"create_channel")}return Q}()}),(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,s,{icon:R?"spinner":"print",iconSpin:R,title:R?"Printing...":"Print Newspaper",onClick:function(){function Q(){return A("print_newspaper")}return Q}()}),(0,e.createComponentVNode)(2,s,{icon:P?"volume-mute":"volume-up",title:"Mute: "+(P?"On":"Off"),onClick:function(){function Q(){return A("toggle_mute")}return Q}()})]})]})}),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,width:"100%",children:[(0,e.createComponentVNode)(2,S.TemporaryNotice),he]})]})})]})}return I}(),s=function(L,T){var x=(0,t.useBackend)(T),A=x.act,E=L.icon,M=E===void 0?"":E,D=L.iconSpin,P=L.selected,R=P===void 0?!1:P,j=L.security,F=j===void 0?!1:j,W=L.onClick,_=L.title,K=L.children,H=u(L,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({className:(0,a.classes)(["Newscaster__menuButton",R&&"Newscaster__menuButton--selected",F&&"Newscaster__menuButton--security"]),onClick:W},H,{children:[R&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--selectedBar"}),(0,e.createComponentVNode)(2,o.Icon,{name:M,spin:D,size:"2"}),(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--title",children:_}),K]})))},i=function(L,T){var x=(0,t.useBackend)(T),A=x.act,E=x.data,M=E.screen,D=E.is_admin,P=E.channel_idx,R=E.channel_can_manage,j=E.channels,F=E.stories,W=E.wanted,_=(0,t.useLocalState)(T,"fullStories",[]),K=_[0],H=_[1],X=(0,t.useLocalState)(T,"censorMode",!1),Y=X[0],J=X[1],le=M===2&&P>-1?j[P-1]:null;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[!!W&&(0,e.createComponentVNode)(2,v,{story:W,wanted:!0}),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:le?le.icon:"newspaper",mr:"0.5rem"}),le?le.name:"Headlines"],0),children:F.length>0?F.slice().reverse().map(function(ce){return!K.includes(ce.uid)&&ce.body.length+3>c?Object.assign({},ce,{body_short:ce.body.substr(0,c-4)+"..."}):ce}).map(function(ce,fe){return(0,e.createComponentVNode)(2,v,{story:ce},fe)}):(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__emptyNotice",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"times",size:"3"}),(0,e.createVNode)(1,"br"),"There are no stories at this time."]})}),!!le&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,height:"40%",title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"info-circle",mr:"0.5rem"}),(0,e.createTextVNode)("About")],4),buttons:(0,e.createFragment)([Y&&(0,e.createComponentVNode)(2,o.Button,{disabled:!!le.admin&&!D,selected:le.censored,icon:le.censored?"comment-slash":"comment",content:le.censored?"Uncensor Channel":"Censor Channel",mr:"0.5rem",onClick:function(){function ce(){return A("censor_channel",{uid:le.uid})}return ce}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!R,icon:"cog",content:"Manage",onClick:function(){function ce(){return(0,y.modalOpen)(T,"manage_channel",{uid:le.uid})}return ce}()})],0),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",children:le.description||"N/A"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",children:le.author||"N/A"}),!!D&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Ckey",children:le.author_ckey}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Public",children:le.public?"Yes":"No"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Total Views",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"eye",mr:"0.5rem"}),F.reduce(function(ce,fe){return ce+fe.view_count},0).toLocaleString()]})]})})]})},p=function(L,T){var x=(0,t.useBackend)(T),A=x.act,E=x.data,M=E.jobs,D=E.wanted,P=Object.entries(M).reduce(function(R,j){var F=j[0],W=j[1];return R+W.length},0);return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[!!D&&(0,e.createComponentVNode)(2,v,{story:D,wanted:!0}),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"briefcase",mr:"0.5rem"}),(0,e.createTextVNode)("Job Openings")],4),buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",color:"label",children:"Work for a better future at Nanotrasen"}),children:P>0?m.map(function(R){return Object.assign({},d[R],{id:R,jobs:M[R]})}).filter(function(R){return!!R&&R.jobs.length>0}).map(function(R){return(0,e.createComponentVNode)(2,o.Section,{className:(0,a.classes)(["Newscaster__jobCategory","Newscaster__jobCategory--"+R.id]),title:R.title,buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",color:"label",children:R.fluff_text}),children:R.jobs.map(function(j){return(0,e.createComponentVNode)(2,o.Box,{class:(0,a.classes)(["Newscaster__jobOpening",!!j.is_command&&"Newscaster__jobOpening--command"]),children:["\u2022 ",j.title]},j.title)})},R.id)}):(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__emptyNotice",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"times",size:"3"}),(0,e.createVNode)(1,"br"),"There are no openings at this time."]})}),(0,e.createComponentVNode)(2,o.Section,{height:"17%",children:["Interested in serving Nanotrasen?",(0,e.createVNode)(1,"br"),"Sign up for any of the above position now at the"," ",(0,e.createVNode)(1,"b",null,"Head of Personnel's Office!",16),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Box,{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."})]})]})},v=function(L,T){var x=(0,t.useBackend)(T),A=x.act,E=x.data,M=L.story,D=L.wanted,P=D===void 0?!1:D,R=E.is_admin,j=(0,t.useLocalState)(T,"fullStories",[]),F=j[0],W=j[1],_=(0,t.useLocalState)(T,"censorMode",!1),K=_[0],H=_[1];return(0,e.createComponentVNode)(2,o.Section,{className:(0,a.classes)(["Newscaster__story",P&&"Newscaster__story--wanted"]),title:(0,e.createFragment)([P&&(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-circle",mr:"0.5rem"}),M.censor_flags&2&&"[REDACTED]"||M.title||"News from "+M.author],0),buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",children:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:[!P&&K&&(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:(0,e.createComponentVNode)(2,o.Button,{enabled:M.censor_flags&2,icon:M.censor_flags&2?"comment-slash":"comment",content:M.censor_flags&2?"Uncensor":"Censor",mr:"0.5rem",mt:"-0.25rem",onClick:function(){function X(){return A("censor_story",{uid:M.uid})}return X}()})}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",M.author," |\xA0",!!R&&(0,e.createFragment)([(0,e.createTextVNode)("ckey: "),M.author_ckey,(0,e.createTextVNode)(" |\xA0")],0),!P&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}),(0,e.createTextVNode)(" "),M.view_count.toLocaleString(),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("|\xA0")],0),(0,e.createComponentVNode)(2,o.Icon,{name:"clock"})," ",(0,f.timeAgo)(M.publish_time,E.world_time)]})]})}),children:(0,e.createComponentVNode)(2,o.Box,{children:M.censor_flags&2?"[REDACTED]":(0,e.createFragment)([!!M.has_photo&&(0,e.createComponentVNode)(2,g,{name:"story_photo_"+M.uid+".png",float:"right",ml:"0.5rem"}),(M.body_short||M.body).split("\n").map(function(X,Y){return(0,e.createComponentVNode)(2,o.Box,{children:X||(0,e.createVNode)(1,"br")},Y)}),M.body_short&&(0,e.createComponentVNode)(2,o.Button,{content:"Read more..",mt:"0.5rem",onClick:function(){function X(){return W([].concat(F,[M.uid]))}return X}()}),(0,e.createComponentVNode)(2,o.Box,{clear:"right"})],0)})})},g=function(L,T){var x=L.name,A=u(L,C),E=(0,t.useLocalState)(T,"viewingPhoto",""),M=E[0],D=E[1];return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({as:"img",className:"Newscaster__photo",src:x,onClick:function(){function P(){return D(x)}return P}()},A)))},h=function(L,T){var x=(0,t.useLocalState)(T,"viewingPhoto",""),A=x[0],E=x[1];return(0,e.createComponentVNode)(2,o.Modal,{className:"Newscaster__photoZoom",children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:A}),(0,e.createComponentVNode)(2,o.Button,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){function M(){return E("")}return M}()})]})},N=function(L,T){var x=(0,t.useBackend)(T),A=x.act,E=x.data,M=!!L.args.uid&&E.channels.filter(function(oe){return oe.uid===L.args.uid}).pop();if(L.id==="manage_channel"&&!M){(0,y.modalClose)(T);return}var D=L.id==="manage_channel",P=!!L.args.is_admin,R=L.args.scanned_user,j=(0,t.useLocalState)(T,"author",(M==null?void 0:M.author)||R||"Unknown"),F=j[0],W=j[1],_=(0,t.useLocalState)(T,"name",(M==null?void 0:M.name)||""),K=_[0],H=_[1],X=(0,t.useLocalState)(T,"description",(M==null?void 0:M.description)||""),Y=X[0],J=X[1],le=(0,t.useLocalState)(T,"icon",(M==null?void 0:M.icon)||"newspaper"),ce=le[0],fe=le[1],pe=(0,t.useLocalState)(T,"isPublic",D?!!(M!=null&&M.public):!1),he=pe[0],te=pe[1],Q=(0,t.useLocalState)(T,"adminLocked",(M==null?void 0:M.admin)===1||!1),ae=Q[0],ee=Q[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:D?"Manage "+M.name:"Create New Channel",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!P,width:"100%",value:F,onInput:function(){function oe(ue,re){return W(re)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",placeholder:"50 characters max.",maxLength:"50",value:K,onInput:function(){function oe(ue,re){return H(re)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description (optional)",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{multiline:!0,width:"100%",placeholder:"128 characters max.",maxLength:"128",value:Y,onInput:function(){function oe(ue,re){return J(re)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Icon",children:[(0,e.createComponentVNode)(2,o.Input,{disabled:!P,value:ce,width:"35%",mr:"0.5rem",onInput:function(){function oe(ue,re){return fe(re)}return oe}()}),(0,e.createComponentVNode)(2,o.Icon,{name:ce,size:"2",verticalAlign:"middle",mr:"0.5rem"})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Accept Public Stories?",children:(0,e.createComponentVNode)(2,o.Button,{selected:he,icon:he?"toggle-on":"toggle-off",content:he?"Yes":"No",onClick:function(){function oe(){return te(!he)}return oe}()})}),P&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:ae,icon:ae?"lock":"lock-open",content:ae?"On":"Off",tooltip:"Locking this channel will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function oe(){return ee(!ae)}return oe}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:F.trim().length===0||K.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function oe(){(0,y.modalAnswer)(T,L.id,"",{author:F,name:K.substr(0,49),description:Y.substr(0,128),icon:ce,public:he?1:0,admin_locked:ae?1:0})}return oe}()})]})},b=function(L,T){var x=(0,t.useBackend)(T),A=x.act,E=x.data,M=E.photo,D=E.channels,P=E.channel_idx,R=P===void 0?-1:P,j=!!L.args.is_admin,F=L.args.scanned_user,W=D.slice().sort(function(oe,ue){if(R<0)return 0;var re=D[R-1];if(re.uid===oe.uid)return-1;if(re.uid===ue.uid)return 1}).filter(function(oe){return j||!oe.frozen&&(oe.author===F||!!oe.public)}),_=(0,t.useLocalState)(T,"author",F||"Unknown"),K=_[0],H=_[1],X=(0,t.useLocalState)(T,"channel",W.length>0?W[0].name:""),Y=X[0],J=X[1],le=(0,t.useLocalState)(T,"title",""),ce=le[0],fe=le[1],pe=(0,t.useLocalState)(T,"body",""),he=pe[0],te=pe[1],Q=(0,t.useLocalState)(T,"adminLocked",!1),ae=Q[0],ee=Q[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:"Create New Story",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!j,width:"100%",value:K,onInput:function(){function oe(ue,re){return H(re)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Channel",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:Y,options:W.map(function(oe){return oe.name}),mb:"0",width:"100%",onSelected:function(){function oe(ue){return J(ue)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Divider),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",placeholder:"128 characters max.",maxLength:"128",value:ce,onInput:function(){function oe(ue,re){return fe(re)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Story Text",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{fluid:!0,multiline:!0,placeholder:"1024 characters max.",maxLength:"1024",rows:"8",width:"100%",value:he,onInput:function(){function oe(ue,re){return te(re)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Photo (optional)",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{icon:"image",selected:M,content:M?"Eject: "+M.name:"Insert Photo",tooltip:!M&&"Attach a photo to this story by holding the photograph in your hand.",onClick:function(){function oe(){return A(M?"eject_photo":"attach_photo")}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Preview",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Section,{noTopPadding:!0,title:ce,maxHeight:"13.5rem",overflow:"auto",children:(0,e.createComponentVNode)(2,o.Box,{mt:"0.5rem",children:[!!M&&(0,e.createComponentVNode)(2,g,{name:"inserted_photo_"+M.uid+".png",float:"right"}),he.split("\n").map(function(oe,ue){return(0,e.createComponentVNode)(2,o.Box,{children:oe||(0,e.createVNode)(1,"br")},ue)}),(0,e.createComponentVNode)(2,o.Box,{clear:"right"})]})})}),j&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:ae,icon:ae?"lock":"lock-open",content:ae?"On":"Off",tooltip:"Locking this story will make it censorable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function oe(){return ee(!ae)}return oe}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:K.trim().length===0||Y.trim().length===0||ce.trim().length===0||he.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function oe(){(0,y.modalAnswer)(T,"create_story","",{author:K,channel:Y,title:ce.substr(0,127),body:he.substr(0,1023),admin_locked:ae?1:0})}return oe}()})]})},B=function(L,T){var x=(0,t.useBackend)(T),A=x.act,E=x.data,M=E.photo,D=E.wanted,P=!!L.args.is_admin,R=L.args.scanned_user,j=(0,t.useLocalState)(T,"author",(D==null?void 0:D.author)||R||"Unknown"),F=j[0],W=j[1],_=(0,t.useLocalState)(T,"name",(D==null?void 0:D.title.substr(8))||""),K=_[0],H=_[1],X=(0,t.useLocalState)(T,"description",(D==null?void 0:D.body)||""),Y=X[0],J=X[1],le=(0,t.useLocalState)(T,"adminLocked",(D==null?void 0:D.admin_locked)===1||!1),ce=le[0],fe=le[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:"Manage Wanted Notice",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Authority",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!P,width:"100%",value:F,onInput:function(){function pe(he,te){return W(te)}return pe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",value:K,maxLength:"128",onInput:function(){function pe(he,te){return H(te)}return pe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{multiline:!0,width:"100%",value:Y,maxLength:"512",rows:"4",onInput:function(){function pe(he,te){return J(te)}return pe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Photo (optional)",verticalAlign:"top",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"image",selected:M,content:M?"Eject: "+M.name:"Insert Photo",tooltip:!M&&"Attach a photo to this wanted notice by holding the photograph in your hand.",tooltipPosition:"top",onClick:function(){function pe(){return A(M?"eject_photo":"attach_photo")}return pe}()}),!!M&&(0,e.createComponentVNode)(2,g,{name:"inserted_photo_"+M.uid+".png",float:"right"})]}),P&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:ce,icon:ce?"lock":"lock-open",content:ce?"On":"Off",tooltip:"Locking this wanted notice will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function pe(){return fe(!ce)}return pe}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!D,icon:"eraser",color:"danger",content:"Clear",position:"absolute",right:"7.25rem",bottom:"-0.75rem",onClick:function(){function pe(){A("clear_wanted_notice"),(0,y.modalClose)(T)}return pe}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:F.trim().length===0||K.trim().length===0||Y.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function pe(){(0,y.modalAnswer)(T,L.id,"",{author:F,name:K.substr(0,127),description:Y.substr(0,511),admin_locked:ce?1:0})}return pe}()})]})};(0,y.modalRegisterBodyOverride)("create_channel",N),(0,y.modalRegisterBodyOverride)("manage_channel",N),(0,y.modalRegisterBodyOverride)("create_story",b),(0,y.modalRegisterBodyOverride)("wanted_notice",B)},26148:function(w,r,n){"use strict";r.__esModule=!0,r.Noticeboard=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(45493),V=r.Noticeboard=function(){function y(S,k){var C=(0,t.useBackend)(k),u=C.act,c=C.data,m=c.papers;return(0,e.createComponentVNode)(2,f.Window,{width:600,height:300,theme:"noticeboard",children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:m.map(function(d){return(0,e.createComponentVNode)(2,o.Stack.Item,{align:"center",width:"22.45%",height:"85%",onClick:function(){function l(){return u("interact",{paper:d.ref})}return l}(),onContextMenu:function(){function l(s){s.preventDefault(),u("showFull",{paper:d.ref})}return l}(),children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,fontSize:.75,title:d.name,children:(0,a.decodeHtmlEntities)(d.contents)})},d.ref)})})})})}return y}()},46940:function(w,r,n){"use strict";r.__esModule=!0,r.NuclearBomb=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.NuclearBomb=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data;return u.extended?(0,e.createComponentVNode)(2,o.Window,{width:350,height:290,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auth Disk",children:(0,e.createComponentVNode)(2,t.Button,{icon:u.authdisk?"eject":"id-card",selected:u.authdisk,content:u.diskname?u.diskname:"-----",tooltip:u.authdisk?"Eject Disk":"Insert Disk",onClick:function(){function c(){return C("auth")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auth Code",children:(0,e.createComponentVNode)(2,t.Button,{icon:"key",disabled:!u.authdisk,selected:u.authcode,content:u.codemsg,onClick:function(){function c(){return C("code")}return c}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Arming & Disarming",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Bolted to floor",children:(0,e.createComponentVNode)(2,t.Button,{icon:u.anchored?"check":"times",selected:u.anchored,disabled:!u.authdisk,content:u.anchored?"YES":"NO",onClick:function(){function c(){return C("toggle_anchor")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Time Left",children:(0,e.createComponentVNode)(2,t.Button,{icon:"stopwatch",content:u.time,disabled:!u.authfull,tooltip:"Set Timer",onClick:function(){function c(){return C("set_time")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety",children:(0,e.createComponentVNode)(2,t.Button,{icon:u.safety?"check":"times",selected:u.safety,disabled:!u.authfull,content:u.safety?"ON":"OFF",tooltip:u.safety?"Disable Safety":"Enable Safety",onClick:function(){function c(){return C("toggle_safety")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Arm/Disarm",children:(0,e.createComponentVNode)(2,t.Button,{icon:(u.timer,"bomb"),disabled:u.safety||!u.authfull,color:"red",content:u.timer?"DISARM THE NUKE":"ARM THE NUKE",onClick:function(){function c(){return C("toggle_armed")}return c}()})})]})})]})}):(0,e.createComponentVNode)(2,o.Window,{width:350,height:115,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Deployment",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"exclamation-triangle",content:"Deploy Nuclear Device (will bolt device to floor)",onClick:function(){function c(){return C("deploy")}return c}()})})})})}return V}()},35478:function(w,r,n){"use strict";r.__esModule=!0,r.NumberInputModal=void 0;var e=n(96524),a=n(14299),t=n(15113),o=n(68100),f=n(17899),V=n(24674),y=n(45493),S=r.NumberInputModal=function(){function C(u,c){var m=(0,f.useBackend)(c),d=m.act,l=m.data,s=l.init_value,i=l.large_buttons,p=l.message,v=p===void 0?"":p,g=l.timeout,h=l.title,N=(0,f.useLocalState)(c,"input",s),b=N[0],B=N[1],I=function(){function x(A){A!==b&&B(A)}return x}(),L=function(){function x(A){A!==b&&B(A)}return x}(),T=140+Math.max(Math.ceil(v.length/3),v.length>0&&i?5:0);return(0,e.createComponentVNode)(2,y.Window,{title:h,width:270,height:T,children:[g&&(0,e.createComponentVNode)(2,a.Loader,{value:g}),(0,e.createComponentVNode)(2,y.Window.Content,{onKeyDown:function(){function x(A){var E=window.event?A.which:A.keyCode;E===o.KEY_ENTER&&d("submit",{entry:b}),E===o.KEY_ESCAPE&&d("cancel")}return x}(),children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Box,{color:"label",children:v})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,k,{input:b,onClick:L,onChange:I})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:b})})]})})})]})}return C}(),k=function(u,c){var m=(0,f.useBackend)(c),d=m.act,l=m.data,s=l.min_value,i=l.max_value,p=l.init_value,v=l.round_value,g=u.input,h=u.onClick,N=u.onChange,b=Math.round(g!==s?Math.max(g/2,s):i/2),B=g===s&&s>0||g===1;return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Button,{disabled:g===s,icon:"angle-double-left",onClick:function(){function I(){return h(s)}return I}(),tooltip:g===s?"Min":"Min ("+s+")"})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.RestrictedInput,{autoFocus:!0,autoSelect:!0,fluid:!0,allowFloats:!v,minValue:s,maxValue:i,onChange:function(){function I(L,T){return N(T)}return I}(),onEnter:function(){function I(L,T){return d("submit",{entry:T})}return I}(),value:g})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Button,{disabled:g===i,icon:"angle-double-right",onClick:function(){function I(){return h(i)}return I}(),tooltip:g===i?"Max":"Max ("+i+")"})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Button,{disabled:B,icon:"divide",onClick:function(){function I(){return h(b)}return I}(),tooltip:B?"Split":"Split ("+b+")"})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Button,{disabled:g===p,icon:"redo",onClick:function(){function I(){return h(p)}return I}(),tooltip:p?"Reset ("+p+")":"Reset"})})]})}},98476:function(w,r,n){"use strict";r.__esModule=!0,r.OperatingComputer=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(45493),f=n(24674),V=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],y=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],S={average:[.25,.5],bad:[.5,1/0]},k=["bad","average","average","good","average","average","bad"],C=r.OperatingComputer=function(){function d(l,s){var i=(0,t.useBackend)(s),p=i.act,v=i.data,g=v.hasOccupant,h=v.choice,N;return h?N=(0,e.createComponentVNode)(2,m):N=g?(0,e.createComponentVNode)(2,u):(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,o.Window,{width:650,height:455,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Tabs,{children:[(0,e.createComponentVNode)(2,f.Tabs.Tab,{selected:!h,icon:"user",onClick:function(){function b(){return p("choiceOff")}return b}(),children:"Patient"}),(0,e.createComponentVNode)(2,f.Tabs.Tab,{selected:!!h,icon:"cog",onClick:function(){function b(){return p("choiceOn")}return b}(),children:"Options"})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,children:N})})]})})})}return d}(),u=function(l,s){var i=(0,t.useBackend)(s),p=i.data,v=p.occupant;return(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,title:"Patient",children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Name",children:v.name}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Status",color:V[v.stat][0],children:V[v.stat][1]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:v.maxHealth,value:v.health/v.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),y.map(function(g,h){return(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:g[0]+" Damage",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:"100",value:v[g[1]]/100,ranges:S,children:(0,a.round)(v[g[1]])},h)},h)}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:v.maxTemp,value:v.bodyTemperature/v.maxTemp,color:k[v.temperatureSuitability+3],children:[(0,a.round)(v.btCelsius),"\xB0C, ",(0,a.round)(v.btFaren),"\xB0F"]})}),!!v.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Blood Level",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:v.bloodMax,value:v.bloodLevel/v.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[v.bloodPercent,"%, ",v.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Pulse",children:[v.pulse," BPM"]})],4)]})})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:"Current Procedure",level:"2",children:v.inSurgery?(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Procedure",children:v.surgeryName}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Next Step",children:v.stepName})]}):(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"No procedure ongoing."})})})]})},c=function(){return(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,f.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No patient detected."]})})},m=function(l,s){var i=(0,t.useBackend)(s),p=i.act,v=i.data,g=v.verbose,h=v.health,N=v.healthAlarm,b=v.oxy,B=v.oxyAlarm,I=v.crit;return(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Loudspeaker",children:(0,e.createComponentVNode)(2,f.Button,{selected:g,icon:g?"toggle-on":"toggle-off",content:g?"On":"Off",onClick:function(){function L(){return p(g?"verboseOff":"verboseOn")}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health Announcer",children:(0,e.createComponentVNode)(2,f.Button,{selected:h,icon:h?"toggle-on":"toggle-off",content:h?"On":"Off",onClick:function(){function L(){return p(h?"healthOff":"healthOn")}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health Announcer Threshold",children:(0,e.createComponentVNode)(2,f.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:N,stepPixelSize:5,ml:"0",onChange:function(){function L(T,x){return p("health_adj",{new:x})}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Oxygen Alarm",children:(0,e.createComponentVNode)(2,f.Button,{selected:b,icon:b?"toggle-on":"toggle-off",content:b?"On":"Off",onClick:function(){function L(){return p(b?"oxyOff":"oxyOn")}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Oxygen Alarm Threshold",children:(0,e.createComponentVNode)(2,f.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:B,stepPixelSize:5,ml:"0",onChange:function(){function L(T,x){return p("oxy_adj",{new:x})}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Critical Alert",children:(0,e.createComponentVNode)(2,f.Button,{selected:I,icon:I?"toggle-on":"toggle-off",content:I?"On":"Off",onClick:function(){function L(){return p(I?"critOff":"critOn")}return L}()})})]})}},98702:function(w,r,n){"use strict";r.__esModule=!0,r.Orbit=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(45493),V=n(28234);function y(i,p){var v=typeof Symbol!="undefined"&&i[Symbol.iterator]||i["@@iterator"];if(v)return(v=v.call(i)).next.bind(v);if(Array.isArray(i)||(v=S(i))||p&&i&&typeof i.length=="number"){v&&(i=v);var g=0;return function(){return g>=i.length?{done:!0}:{done:!1,value:i[g++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function S(i,p){if(i){if(typeof i=="string")return k(i,p);var v=Object.prototype.toString.call(i).slice(8,-1);if(v==="Object"&&i.constructor&&(v=i.constructor.name),v==="Map"||v==="Set")return Array.from(i);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return k(i,p)}}function k(i,p){(p==null||p>i.length)&&(p=i.length);for(var v=0,g=new Array(p);vv},m=function(p,v){var g=p.name,h=v.name;if(!g||!h)return 0;var N=g.match(C),b=h.match(C);if(N&&b&&g.replace(C,"")===h.replace(C,"")){var B=parseInt(N[1],10),I=parseInt(b[1],10);return B-I}return c(g,h)},d=function(p,v){var g=p.searchText,h=p.source,N=p.title,b=p.color,B=p.sorted,I=h.filter(u(g));return B&&I.sort(m),h.length>0&&(0,e.createComponentVNode)(2,o.Section,{title:N+" - ("+h.length+")",children:I.map(function(L){return(0,e.createComponentVNode)(2,l,{thing:L,color:b},L.name)})})},l=function(p,v){var g=(0,t.useBackend)(v),h=g.act,N=p.color,b=p.thing;return(0,e.createComponentVNode)(2,o.Button,{color:N,tooltip:b.assigned_role?(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",mr:"0.5em",className:(0,V.classes)(["orbit_job16x16",b.assigned_role_sprite])})," ",b.assigned_role]}):"",tooltipPosition:"bottom",onClick:function(){function B(){return h("orbit",{ref:b.ref})}return B}(),children:[b.name,b.orbiters&&(0,e.createComponentVNode)(2,o.Box,{inline:!0,ml:1,children:["(",b.orbiters," ",(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}),")"]})]})},s=r.Orbit=function(){function i(p,v){for(var g=(0,t.useBackend)(v),h=g.act,N=g.data,b=N.alive,B=N.antagonists,I=N.highlights,L=N.response_teams,T=N.auto_observe,x=N.dead,A=N.ssd,E=N.ghosts,M=N.misc,D=N.npcs,P=(0,t.useLocalState)(v,"searchText",""),R=P[0],j=P[1],F={},W=y(B),_;!(_=W()).done;){var K=_.value;F[K.antag]===void 0&&(F[K.antag]=[]),F[K.antag].push(K)}var H=Object.entries(F);H.sort(function(Y,J){return c(Y[0],J[0])});var X=function(){function Y(J){for(var le=0,ce=[H.map(function(he){var te=he[0],Q=he[1];return Q}),I,b,E,A,x,D,M];le0&&(0,e.createComponentVNode)(2,o.Section,{title:"Antagonists",children:H.map(function(Y){var J=Y[0],le=Y[1];return(0,e.createComponentVNode)(2,o.Section,{title:J+" - ("+le.length+")",level:2,children:le.filter(u(R)).sort(m).map(function(ce){return(0,e.createComponentVNode)(2,l,{color:"bad",thing:ce},ce.name)})},J)})}),I.length>0&&(0,e.createComponentVNode)(2,d,{title:"Highlights",source:I,searchText:R,color:"teal"}),(0,e.createComponentVNode)(2,d,{title:"Response Teams",source:L,searchText:R,color:"purple"}),(0,e.createComponentVNode)(2,d,{title:"Alive",source:b,searchText:R,color:"good"}),(0,e.createComponentVNode)(2,d,{title:"Ghosts",source:E,searchText:R,color:"grey"}),(0,e.createComponentVNode)(2,d,{title:"SSD",source:A,searchText:R,color:"grey"}),(0,e.createComponentVNode)(2,d,{title:"Dead",source:x,searchText:R,sorted:!1}),(0,e.createComponentVNode)(2,d,{title:"NPCs",source:D,searchText:R,sorted:!1}),(0,e.createComponentVNode)(2,d,{title:"Misc",source:M,searchText:R,sorted:!1})]})})}return i}()},74015:function(w,r,n){"use strict";r.__esModule=!0,r.OreRedemption=void 0;var e=n(96524),a=n(28234),t=n(17899),o=n(24674),f=n(45493),V=n(81856);function y(i){if(i==null)throw new TypeError("Cannot destructure "+i)}var S=(0,V.createLogger)("OreRedemption"),k=function(p){return p.toLocaleString("en-US")+" pts"},C=r.OreRedemption=function(){function i(p,v){return(0,e.createComponentVNode)(2,f.Window,{width:490,height:750,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,u,{height:"100%"})}),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,m)]})})})}return i}(),u=function(p,v){var g=(0,t.useBackend)(v),h=g.act,N=g.data,b=N.id,B=N.points,I=N.disk,L=Object.assign({},(y(p),p));return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({},L,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"average",textAlign:"center",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle",mr:"0.5rem"}),"This machine only accepts ore. Gibtonite is not accepted."]}),(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Unclaimed Points",color:B>0?"good":"grey",bold:B>0&&"good",children:k(B)})}),(0,e.createComponentVNode)(2,o.Divider),I?(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Design disk",children:[(0,e.createComponentVNode)(2,o.Button,{selected:!0,bold:!0,icon:"eject",content:I.name,tooltip:"Ejects the design disk.",onClick:function(){function T(){return h("eject_disk")}return T}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!I.design||!I.compatible,icon:"upload",content:"Download",tooltip:"Downloads the design on the disk into the machine.",onClick:function(){function T(){return h("download")}return T}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Stored design",children:(0,e.createComponentVNode)(2,o.Box,{color:I.design&&(I.compatible?"good":"bad"),children:I.design||"N/A"})})]}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No design disk inserted."})]})))},c=function(p,v){var g=(0,t.useBackend)(v),h=g.act,N=g.data,b=N.sheets,B=Object.assign({},(y(p),p));return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,height:"20%",children:(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},B,{children:[(0,e.createComponentVNode)(2,d,{title:"Sheets",columns:[["Available","25%"],["Ore Value","15%"],["Smelt","20%"]]}),b.map(function(I){return(0,e.createComponentVNode)(2,l,{ore:I},I.id)})]})))})},m=function(p,v){var g=(0,t.useBackend)(v),h=g.act,N=g.data,b=N.alloys,B=Object.assign({},(y(p),p));return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},B,{children:[(0,e.createComponentVNode)(2,d,{title:"Alloys",columns:[["Recipe","50%"],["Available","11%"],["Smelt","20%"]]}),b.map(function(I){return(0,e.createComponentVNode)(2,s,{ore:I},I.id)})]})))})},d=function(p,v){var g;return(0,e.createComponentVNode)(2,o.Box,{className:"OreHeader",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:p.title}),(g=p.columns)==null?void 0:g.map(function(h){return(0,e.createComponentVNode)(2,o.Stack.Item,{basis:h[1],textAlign:"center",color:"label",bold:!0,children:h[0]},h)})]})})},l=function(p,v){var g=(0,t.useBackend)(v),h=g.act,N=p.ore;if(!(N.value&&N.amount<=0&&!(["metal","glass"].indexOf(N.id)>-1)))return(0,e.createComponentVNode)(2,o.Box,{className:"SheetLine",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"45%",align:"middle",children:(0,e.createComponentVNode)(2,o.Stack,{align:"center",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{className:(0,a.classes)(["materials32x32",N.id])}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:N.name})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",color:N.amount>=1?"good":"gray",bold:N.amount>=1,align:"center",children:N.amount.toLocaleString("en-US")}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",children:N.value}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"40%",value:0,minValue:0,maxValue:Math.min(N.amount,50),stepPixelSize:6,onChange:function(){function b(B,I){return h(N.value?"sheet":"alloy",{id:N.id,amount:I})}return b}()})})]})})},s=function(p,v){var g=(0,t.useBackend)(v),h=g.act,N=p.ore;return(0,e.createComponentVNode)(2,o.Box,{className:"SheetLine",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"7%",align:"middle",children:(0,e.createComponentVNode)(2,o.Box,{className:(0,a.classes)(["alloys32x32",N.id])})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"30%",textAlign:"middle",align:"center",children:N.name}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"35%",textAlign:"middle",color:N.amount>=1?"good":"gray",align:"center",children:N.description}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"10%",textAlign:"center",color:N.amount>=1?"good":"gray",bold:N.amount>=1,align:"center",children:N.amount.toLocaleString("en-US")}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"40%",value:0,minValue:0,maxValue:Math.min(N.amount,50),stepPixelSize:6,onChange:function(){function b(B,I){return h(N.value?"sheet":"alloy",{id:N.id,amount:I})}return b}()})})]})})}},48824:function(w,r,n){"use strict";r.__esModule=!0,r.PAI=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(91807),V=n(70752),y=function(C){var u;try{u=V("./"+C+".js")}catch(m){if(m.code==="MODULE_NOT_FOUND")return(0,f.routingError)("notFound",C);throw m}var c=u[C];return c||(0,f.routingError)("missingExport",C)},S=r.PAI=function(){function k(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.app_template,s=d.app_icon,i=d.app_title,p=y(l);return(0,e.createComponentVNode)(2,o.Window,{width:600,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{p:1,fill:!0,scrollable:!0,title:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:s,mr:1}),i,l!=="pai_main_menu"&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{ml:2,mb:0,content:"Back",icon:"arrow-left",onClick:function(){function v(){return m("Back")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Home",icon:"arrow-up",onClick:function(){function v(){return m("MASTER_back")}return v}()})],4)]}),children:(0,e.createComponentVNode)(2,p)})})})})})}return k}()},41565:function(w,r,n){"use strict";r.__esModule=!0,r.PDA=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(91807),V=n(59395),y=function(c){var m;try{m=V("./"+c+".js")}catch(l){if(l.code==="MODULE_NOT_FOUND")return(0,f.routingError)("notFound",c);throw l}var d=m[c];return d||(0,f.routingError)("missingExport",c)},S=r.PDA=function(){function u(c,m){var d=(0,a.useBackend)(m),l=d.act,s=d.data,i=s.app,p=s.owner;if(!p)return(0,e.createComponentVNode)(2,o.Window,{width:350,height:105,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:"No user data found. Please swipe an ID card."})})});var v=y(i.template);return(0,e.createComponentVNode)(2,o.Window,{width:600,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,k)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,p:1,pb:0,title:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:i.icon,mr:1}),i.name]}),children:(0,e.createComponentVNode)(2,v)})}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:7.5,children:(0,e.createComponentVNode)(2,C)})]})})})}return u}(),k=function(c,m){var d=(0,a.useBackend)(m),l=d.act,s=d.data,i=s.idInserted,p=s.idLink,v=s.stationTime,g=s.cartridge_name;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{ml:.5,children:(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",color:"transparent",onClick:function(){function h(){return l("Authenticate")}return h}(),content:i?p:"No ID Inserted"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"sd-card",color:"transparent",onClick:function(){function h(){return l("Eject")}return h}(),content:g?["Eject "+g]:"No Cartridge Inserted"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"right",bold:!0,mr:1,mt:.5,children:v})]})},C=function(c,m){var d=(0,a.useBackend)(m),l=d.act,s=d.data,i=s.app;return(0,e.createComponentVNode)(2,t.Box,{height:"45px",className:"PDA__footer",backgroundColor:"#1b1b1b",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[!!i.has_back&&(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"33%",mr:-.5,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:i.has_back?"white":"disabled",icon:"arrow-alt-circle-left-o",onClick:function(){function p(){return l("Back")}return p}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:i.has_back?"33%":"100%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:i.is_home?"disabled":"white",icon:"home",onClick:function(){function p(){l("Home")}return p}()})})]})})}},78704:function(w,r,n){"use strict";r.__esModule=!0,r.Pacman=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(92986),V=r.Pacman=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.active,d=c.anchored,l=c.broken,s=c.emagged,i=c.fuel_type,p=c.fuel_usage,v=c.fuel_stored,g=c.fuel_cap,h=c.is_ai,N=c.tmp_current,b=c.tmp_max,B=c.tmp_overheat,I=c.output_max,L=c.power_gen,T=c.output_set,x=c.has_fuel,A=v/g,E=N/b,M=T*L,D=Math.round(v/p),P=Math.round(D/60),R=D>120?P+" minutes":D+" seconds";return(0,e.createComponentVNode)(2,o.Window,{width:500,height:225,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(l||!d)&&(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:[!!l&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator is malfunctioning!"}),!l&&!d&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator needs to be anchored to the floor with a wrench."})]}),!l&&!!d&&(0,e.createVNode)(1,"div",null,[(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:m?"power-off":"times",content:m?"On":"Off",tooltip:"Toggles the generator on/off. Requires fuel.",tooltipPosition:"left",disabled:!x,selected:m,onClick:function(){function j(){return u("toggle_power")}return j}()}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",className:"ml-1",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power setting",children:[(0,e.createComponentVNode)(2,t.NumberInput,{value:T,minValue:1,maxValue:I*(s?2.5:1),step:1,className:"mt-1",onDrag:function(){function j(F,W){return u("change_power",{change_power:W})}return j}()}),"(",(0,f.formatPower)(M),")"]})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:E,ranges:{green:[-1/0,.33],orange:[.33,.66],red:[.66,1/0]},children:[N," \u2103"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[B>50&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"CRITICAL OVERHEAT!"}),B>20&&B<=50&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"WARNING: Overheating!"}),B>1&&B<=20&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Temperature High"}),B===0&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Optimal"})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Fuel",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject Fuel",tooltip:"Ejects fuel. Generator needs to be offline.",tooltipPosition:"left",disabled:m||h||!x,onClick:function(){function j(){return u("eject_fuel")}return j}()}),children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Type",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel level",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:A,ranges:{red:[-1/0,.33],orange:[.33,.66],green:[.66,1/0]},children:[Math.round(v/1e3)," dm\xB3"]})})]})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel usage",children:[p/1e3," dm\xB3/s"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel depletion",children:[!!x&&(p?R:"N/A"),!x&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Out of fuel"})]})]})})]})})],4)]})})}return y}()},6887:function(w,r,n){"use strict";r.__esModule=!0,r.PanDEMIC=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.PanDEMIC=function(){function d(l,s){var i=(0,a.useBackend)(s),p=i.data,v=p.beakerLoaded,g=p.beakerContainsBlood,h=p.beakerContainsVirus,N=p.resistances,b=N===void 0?[]:N,B;return v?g?g&&!h&&(B=(0,e.createFragment)([(0,e.createTextVNode)("No disease detected in provided blood sample.")],4)):B=(0,e.createFragment)([(0,e.createTextVNode)("No blood sample found in the loaded container.")],4):B=(0,e.createFragment)([(0,e.createTextVNode)("No container loaded.")],4),(0,e.createComponentVNode)(2,o.Window,{width:575,height:510,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[B&&(0,e.createComponentVNode)(2,t.Section,{title:"Container Information",buttons:(0,e.createComponentVNode)(2,V),children:[(0,e.createComponentVNode)(2,t.NoticeBox,{children:B}),(b==null?void 0:b.length)>0&&(0,e.createComponentVNode)(2,m)]}),!!h&&(0,e.createComponentVNode)(2,k)]})})})}return d}(),V=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.beakerLoaded;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject",disabled:!g,onClick:function(){function h(){return p("eject_beaker")}return h}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash-alt",confirmIcon:"eraser",content:"Destroy",confirmContent:"Destroy",disabled:!g,onClick:function(){function h(){return p("destroy_eject_beaker")}return h}()})],4)},y=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.beakerContainsVirus,h=l.strain,N=h.commonName,b=h.description,B=h.diseaseAgent,I=h.bloodDNA,L=h.bloodType,T=h.possibleTreatments,x=h.transmissionRoute,A=h.isAdvanced,E=(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood DNA",children:I?(0,e.createVNode)(1,"span",null,I,0,{style:{"font-family":"'Courier New', monospace"}}):"Undetectable"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood Type",children:(0,e.createVNode)(1,"div",null,null,1,{dangerouslySetInnerHTML:{__html:L!=null?L:"Undetectable"}})})],4);if(!g)return(0,e.createComponentVNode)(2,t.LabeledList,{children:E});var M;return A&&(N!=null&&N!=="Unknown"?M=(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print Release Forms",onClick:function(){function D(){return p("print_release_forms",{strain_index:l.strainIndex})}return D}(),style:{"margin-left":"auto"}}):M=(0,e.createComponentVNode)(2,t.Button,{icon:"pen",content:"Name Disease",onClick:function(){function D(){return p("name_strain",{strain_index:l.strainIndex})}return D}(),style:{"margin-left":"auto"}})),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Common Name",className:"common-name-label",children:(0,e.createComponentVNode)(2,t.Stack,{horizontal:!0,align:"center",children:[N!=null?N:"Unknown",M]})}),b&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:b}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Disease Agent",children:B}),E,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Spread Vector",children:x!=null?x:"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Possible Cures",children:T!=null?T:"None"})]})},S=function(l,s){var i,p=(0,a.useBackend)(s),v=p.act,g=p.data,h=!!g.synthesisCooldown,N=(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:h?"spinner":"clone",iconSpin:h,content:"Clone",disabled:h,onClick:function(){function b(){return v("clone_strain",{strain_index:l.strainIndex})}return b}()}),l.sectionButtons],0);return(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:(i=l.sectionTitle)!=null?i:"Strain Information",buttons:N,children:(0,e.createComponentVNode)(2,y,{strain:l.strain,strainIndex:l.strainIndex})})})},k=function(l,s){var i,p=(0,a.useBackend)(s),v=p.act,g=p.data,h=g.selectedStrainIndex,N=g.strains,b=N[h-1];if(N.length===0)return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Container Information",buttons:(0,e.createComponentVNode)(2,V),children:(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No disease detected in provided blood sample."})})});if(N.length===1){var B;return(0,e.createFragment)([(0,e.createComponentVNode)(2,S,{strain:N[0],strainIndex:1,sectionButtons:(0,e.createComponentVNode)(2,V)}),((B=N[0].symptoms)==null?void 0:B.length)>0&&(0,e.createComponentVNode)(2,u,{strain:N[0]})],0)}var I=(0,e.createComponentVNode)(2,V);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Culture Information",fill:!0,buttons:I,children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",style:{height:"100%"},children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{children:N.map(function(L,T){var x;return(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"virus",selected:h-1===T,onClick:function(){function A(){return v("switch_strain",{strain_index:T+1})}return A}(),children:(x=L.commonName)!=null?x:"Unknown"},T)})})}),(0,e.createComponentVNode)(2,S,{strain:b,strainIndex:h}),((i=b.symptoms)==null?void 0:i.length)>0&&(0,e.createComponentVNode)(2,u,{className:"remove-section-bottom-padding",strain:b})]})})})},C=function(l){return l.reduce(function(s,i){return s+i},0)},u=function(l){var s=l.strain.symptoms;return(0,e.createComponentVNode)(2,t.Flex.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Infection Symptoms",fill:!0,className:l.className,children:(0,e.createComponentVNode)(2,t.Table,{className:"symptoms-table",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Stealth"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Resistance"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Stage Speed"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Transmissibility"})]}),s.map(function(i,p){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.stealth}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.resistance}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.stageSpeed}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.transmissibility})]},p)}),(0,e.createComponentVNode)(2,t.Table.Row,{className:"table-spacer"}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{style:{"font-weight":"bold"},children:"Total"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C(s.map(function(i){return i.stealth}))}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C(s.map(function(i){return i.resistance}))}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C(s.map(function(i){return i.stageSpeed}))}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C(s.map(function(i){return i.transmissibility}))})]})]})})})},c=["flask","vial","eye-dropper"],m=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.synthesisCooldown,h=v.beakerContainsVirus,N=v.resistances;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Antibodies",fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{horizontal:!0,wrap:!0,children:N.map(function(b,B){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:c[B%c.length],disabled:!!g,onClick:function(){function I(){return p("clone_vaccine",{resistance_index:B+1})}return I}(),mr:"0.5em"}),b]},B)})})})})}},78643:function(w,r,n){"use strict";r.__esModule=!0,r.ParticleAccelerator=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ParticleAccelerator=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.assembled,m=u.power,d=u.strength,l=u.max_strength;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:160,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Control Panel",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Connect",onClick:function(){function s(){return C("scan")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",mb:"5px",children:(0,e.createComponentVNode)(2,t.Box,{color:c?"good":"bad",children:c?"Operational":"Error: Verify Configuration"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:m?"power-off":"times",content:m?"On":"Off",selected:m,disabled:!c,onClick:function(){function s(){return C("power")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Strength",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:!c||d===0,onClick:function(){function s(){return C("remove_strength")}return s}(),mr:"4px"}),d,(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:!c||d===l,onClick:function(){function s(){return C("add_strength")}return s}(),ml:"4px"})]})]})})})})}return V}()},34026:function(w,r,n){"use strict";r.__esModule=!0,r.PdaPainter=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.PdaPainter=function(){function k(C,u){var c=(0,a.useBackend)(u),m=c.data,d=m.has_pda;return(0,e.createComponentVNode)(2,o.Window,{width:510,height:505,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:d?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,V)})})}return k}(),V=function(C,u){var c=(0,a.useBackend)(u),m=c.act;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"silver",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"download",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{width:"160px",textAlign:"center",content:"Insert PDA",onClick:function(){function d(){return m("insert_pda")}return d}()})]})})})},y=function(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.pda_colors;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,horizontal:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,S)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Table,{className:"PdaPainter__list",children:Object.keys(l).map(function(s){return(0,e.createComponentVNode)(2,t.Table.Row,{onClick:function(){function i(){return m("choose_pda",{selectedPda:s})}return i}(),children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/png;base64,"+l[s][0],style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s})]},s)})})})})]})},S=function(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.current_appearance,s=d.preview_appearance;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Current PDA",children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+l,style:{"vertical-align":"middle",width:"160px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",content:"Eject",color:"green",onClick:function(){function i(){return m("eject_pda")}return i}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"paint-roller",content:"Paint PDA",onClick:function(){function i(){return m("paint_pda")}return i}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Preview",children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+s,style:{"vertical-align":"middle",width:"160px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})})]})}},81378:function(w,r,n){"use strict";r.__esModule=!0,r.PersonalCrafting=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.PersonalCrafting=function(){function S(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.busy,l=m.category,s=m.display_craftable_only,i=m.display_compact,p=m.prev_cat,v=m.next_cat,g=m.subcategory,h=m.prev_subcat,N=m.next_subcat;return(0,e.createComponentVNode)(2,o.Window,{width:700,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!d&&(0,e.createComponentVNode)(2,t.Dimmer,{fontSize:"32px",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cog",spin:1})," Crafting..."]}),(0,e.createComponentVNode)(2,t.Section,{title:l,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Show Craftable Only",icon:s?"check-square-o":"square-o",selected:s,onClick:function(){function b(){return c("toggle_recipes")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Compact Mode",icon:i?"check-square-o":"square-o",selected:i,onClick:function(){function b(){return c("toggle_compact")}return b}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:p,icon:"arrow-left",onClick:function(){function b(){return c("backwardCat")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:v,icon:"arrow-right",onClick:function(){function b(){return c("forwardCat")}return b}()})]}),g&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:h,icon:"arrow-left",onClick:function(){function b(){return c("backwardSubCat")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:N,icon:"arrow-right",onClick:function(){function b(){return c("forwardSubCat")}return b}()})]}),i?(0,e.createComponentVNode)(2,V):(0,e.createComponentVNode)(2,y)]})]})})}return S}(),V=function(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.display_craftable_only,l=m.can_craft,s=m.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[l.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function p(){return c("make",{make:i.ref})}return p}()}),i.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:i.req_text,content:"Requirements",color:"transparent"}),i.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.tool_text,content:"Tools",color:"transparent"})]},i.name)}),!d&&s.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),i.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:i.req_text,content:"Requirements",color:"transparent"}),i.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.tool_text,content:"Tools",color:"transparent"})]},i.name)})]})})},y=function(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.display_craftable_only,l=m.can_craft,s=m.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:[l.map(function(i){return(0,e.createComponentVNode)(2,t.Section,{title:i.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function p(){return c("make",{make:i.ref})}return p}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[i.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:i.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:i.req_text}),i.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:i.tool_text})]})},i.name)}),!d&&s.map(function(i){return(0,e.createComponentVNode)(2,t.Section,{title:i.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[i.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:i.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:i.req_text}),i.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:i.tool_text})]})},i.name)})]})}},58792:function(w,r,n){"use strict";r.__esModule=!0,r.Photocopier=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Photocopier=function(){function S(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:440,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Photocopier",color:"silver",children:[(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Copies:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"2em",bold:!0,children:m.copynumber}),(0,e.createComponentVNode)(2,t.Stack.Item,{float:"right",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"minus",textAlign:"center",content:"",onClick:function(){function d(){return c("minus")}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"plus",textAlign:"center",content:"",onClick:function(){function d(){return c("add")}return d}()})]})]}),(0,e.createComponentVNode)(2,t.Stack,{mb:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Toner:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,children:m.toner})]}),(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Inserted Document:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!m.copyitem&&!m.mob,content:m.copyitem?m.copyitem:m.mob?m.mob+"'s ass!":"document",onClick:function(){function d(){return c("removedocument")}return d}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Inserted Folder:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!m.folder,content:m.folder?m.folder:"folder",onClick:function(){function d(){return c("removefolder")}return d}()})})]})]}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,V)}),(0,e.createComponentVNode)(2,y)]})})})}return S}(),V=function(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.issilicon;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"copy",float:"center",textAlign:"center",content:"Copy",onClick:function(){function l(){return c("copy")}return l}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"file-import",float:"center",textAlign:"center",content:"Scan",onClick:function(){function l(){return c("scandocument")}return l}()}),!!d&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"file",color:"green",float:"center",textAlign:"center",content:"Print Text",onClick:function(){function l(){return c("ai_text")}return l}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"image",color:"green",float:"center",textAlign:"center",content:"Print Image",onClick:function(){function l(){return c("ai_pic")}return l}()})],4)],0)},y=function(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Scanned Files",children:m.files.map(function(d){return(0,e.createComponentVNode)(2,t.Section,{title:d.name,buttons:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print",disabled:m.toner<=0,onClick:function(){function l(){return c("filecopy",{uid:d.uid})}return l}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash-alt",content:"Delete",color:"bad",onClick:function(){function l(){return c("deletefile",{uid:d.uid})}return l}()})]})},d.name)})})}},45642:function(w,r,n){"use strict";r.__esModule=!0,r.Photocopier220=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(50640),V=n(74041),y=n(78234);function S(m,d){var l=typeof Symbol!="undefined"&&m[Symbol.iterator]||m["@@iterator"];if(l)return(l=l.call(m)).next.bind(l);if(Array.isArray(m)||(l=k(m))||d&&m&&typeof m.length=="number"){l&&(m=l);var s=0;return function(){return s>=m.length?{done:!0}:{done:!1,value:m[s++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function k(m,d){if(m){if(typeof m=="string")return C(m,d);var l=Object.prototype.toString.call(m).slice(8,-1);if(l==="Object"&&m.constructor&&(l=m.constructor.name),l==="Map"||l==="Set")return Array.from(m);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return C(m,d)}}function C(m,d){(d==null||d>m.length)&&(d=m.length);for(var l=0,s=new Array(d);lm?this.substring(0,m)+"...":this};var u=function(d,l){l===void 0&&(l="");var s=(0,y.createSearch)(l,function(i){return i.altername});return(0,V.flow)([(0,f.filter)(function(i){return i==null?void 0:i.altername}),l&&(0,f.filter)(s),(0,f.sortBy)(function(i){return i.id})])(d)},c=r.Photocopier220=function(){function m(d,l){for(var s=(0,a.useBackend)(l),i=s.act,p=s.data,v=p.copies,g=p.maxcopies,h=(0,a.useLocalState)(l,"searchText",""),N=h[0],b=h[1],B=u((0,f.sortBy)(function(P){return P.category})(p.forms||[]),N),I=[],L=S(B),T;!(T=L()).done;){var x=T.value;I.includes(x.category)||I.push(x.category)}var A=(0,a.useLocalState)(l,"number",0),E=A[0],M=A[1],D;return p.category===""?D=B:D=B.filter(function(P){return P.category===p.category}),(0,e.createComponentVNode)(2,o.Window,{width:550,height:575,theme:p.ui_theme,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"40%",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u0442\u0430\u0442\u0443\u0441",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",mt:.3,color:"grey",children:"\u0417\u0430\u0440\u044F\u0434 \u0442\u043E\u043D\u0435\u0440\u0430:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{minValue:0,maxValue:30,value:p.toner})})]}),(0,e.createComponentVNode)(2,t.Stack,{mt:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",mb:.3,color:"grey",children:"\u0424\u043E\u0440\u043C\u0430:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",textAlign:"center",bold:!0,children:p.form_id===""?"\u041D\u0435 \u0432\u044B\u0431\u0440\u0430\u043D\u0430":p.form_id})]}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",mt:1,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!p.copyitem&&!p.mob,icon:p.copyitem||p.mob?"eject":"times",content:p.copyitem?p.copyitem:p.mob?"\u0416\u043E\u043F\u0430 "+p.mob+"!":"\u0421\u043B\u043E\u0442 \u0434\u043B\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430",onClick:function(){function P(){return i("removedocument")}return P}()})})}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!p.folder,icon:p.folder?"eject":"times",content:p.folder?p.folder:"\u0421\u043B\u043E\u0442 \u0434\u043B\u044F \u043F\u0430\u043F\u043A\u0438",onClick:function(){function P(){return i("removefolder")}return P}()})})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"print",disabled:p.toner===0||p.form===null,content:"\u041F\u0435\u0447\u0430\u0442\u044C",onClick:function(){function P(){return i("print_form")}return P}()})}),!!p.isAI&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",ml:"5px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"image",disabled:p.toner<5,content:"\u0424\u043E\u0442\u043E",tooltip:"\u0420\u0430\u0441\u043F\u0435\u0447\u0430\u0442\u0430\u0442\u044C \u0444\u043E\u0442\u043E \u0441 \u0411\u0430\u0437\u044B \u0414\u0430\u043D\u043D\u044B\u0445",onClick:function(){function P(){return i("ai_pic")}return P}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"copy",content:"\u041A\u043E\u043F\u0438\u044F",disabled:p.toner===0||!p.copyitem&&!p.mob,onClick:function(){function P(){return i("copy")}return P}()})}),!!p.isAI&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",ml:"5px",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"i-cursor",content:"\u0422\u0435\u043A\u0441\u0442",tooltip:"\u0420\u0430\u0441\u043F\u0435\u0447\u0430\u0442\u0430\u0442\u044C \u0441\u0432\u043E\u0439 \u0442\u0435\u043A\u0441\u0442",disabled:p.toner===0,onClick:function(){function P(){return i("ai_text")}return P}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:1.5,mt:1.2,width:"50%",color:"grey",children:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E:"}),(0,e.createComponentVNode)(2,t.Slider,{mt:.75,width:"50%",animated:!0,minValue:1,maxValue:g,value:v,stepPixelSize:10,onChange:function(){function P(R,j){return i("copies",{new:j})}return P}()})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u0411\u044E\u0440\u043E\u043A\u0440\u0430\u0442\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mb:-.5,icon:"chevron-right",color:"transparent",content:"\u0412\u0441\u0435 \u0444\u043E\u0440\u043C\u044B",selected:!p.category,onClick:function(){function P(){return i("choose_category",{category:""})}return P}()})}),I.map(function(P){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"chevron-right",mb:-.5,color:"transparent",content:P,selected:p.category===P,onClick:function(){function R(){return i("choose_category",{category:P})}return R}()},P)},P)})]})})})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"60%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:p.category||"\u0412\u0441\u0435 \u0444\u043E\u0440\u043C\u044B",buttons:(0,e.createComponentVNode)(2,t.Input,{mr:18.5,width:"100%",placeholder:"\u041F\u043E\u0438\u0441\u043A \u0444\u043E\u0440\u043C\u044B",onInput:function(){function P(R,j){return b(j)}return P}()}),children:D.map(function(P){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mb:.5,color:"transparent",content:P.altername.trimLongStr(37),tooltip:P.altername,selected:p.form_id===P.id,onClick:function(){function R(){return i("choose_form",{path:P.path,id:P.id})}return R}()})},P.path)})})})]})})})}return m}()},27902:function(w,r,n){"use strict";r.__esModule=!0,r.PoolController=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=["tempKey"];function V(C,u){if(C==null)return{};var c={},m=Object.keys(C),d,l;for(l=0;l=0)&&(c[d]=C[d]);return c}var y={scalding:{label:"Scalding",color:"#FF0000",icon:"fa fa-arrow-circle-up",requireEmag:!0},warm:{label:"Warm",color:"#990000",icon:"fa fa-arrow-circle-up"},normal:{label:"Normal",color:null,icon:"fa fa-arrow-circle-right"},cool:{label:"Cool",color:"#009999",icon:"fa fa-arrow-circle-down"},frigid:{label:"Frigid",color:"#00CCCC",icon:"fa fa-arrow-circle-down",requireEmag:!0}},S=function(u,c){var m=u.tempKey,d=V(u,f),l=y[m];if(!l)return null;var s=(0,a.useBackend)(c),i=s.data,p=s.act,v=i.currentTemp,g=l.label,h=l.icon,N=m===v,b=function(){p("setTemp",{temp:m})};return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Button,Object.assign({color:"transparent",selected:N,onClick:b},d,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:h}),g]})))},k=r.PoolController=function(){function C(u,c){for(var m=(0,a.useBackend)(c),d=m.data,l=d.emagged,s=d.currentTemp,i=y[s]||y.normal,p=i.label,v=i.color,g=[],h=0,N=Object.entries(y);h50?"battery-half":"battery-quarter")||v==="C"&&"bolt"||v==="F"&&"battery-full"||v==="M"&&"slash",color:v==="N"&&(g>50?"yellow":"red")||v==="C"&&"yellow"||v==="F"&&"green"||v==="M"&&"orange"}),(0,e.createComponentVNode)(2,S.Box,{inline:!0,width:"36px",textAlign:"right",children:(0,o.toFixed)(g)+"%"})],4)};l.defaultHooks=f.pureComponentHooks;var s=function(p){var v,g,h=p.status;switch(h){case"AOn":v=!0,g=!0;break;case"AOff":v=!0,g=!1;break;case"On":v=!1,g=!0;break;case"Off":v=!1,g=!1;break}var N=(g?"On":"Off")+(" ["+(v?"auto":"manual")+"]");return(0,e.createComponentVNode)(2,S.ColorBox,{color:g?"good":"bad",content:v?void 0:"M",title:N})};s.defaultHooks=f.pureComponentHooks},27262:function(w,r,n){"use strict";r.__esModule=!0,r.PrisonerImplantManager=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(91097),f=n(99665),V=n(68159),y=n(27527),S=n(45493),k=r.PrisonerImplantManager=function(){function C(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.loginState,i=l.prisonerInfo,p=l.chemicalInfo,v=l.trackingInfo,g;if(!s.logged_in)return(0,e.createComponentVNode)(2,S.Window,{theme:"security",width:500,height:850,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,y.LoginScreen)})});var h=[1,5,10];return(0,e.createComponentVNode)(2,S.Window,{theme:"security",width:500,height:850,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.LoginInfo),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Prisoner Points Manager System",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Prisoner",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.name?"eject":"id-card",selected:i.name,content:i.name?i.name:"-----",tooltip:i.name?"Eject ID":"Insert ID",onClick:function(){function N(){return d("id_card")}return N}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Points",children:[i.points!==null?i.points:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"minus-square",disabled:i.points===null,content:"Reset",onClick:function(){function N(){return d("reset_points")}return N}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Point Goal",children:[i.goal!==null?i.goal:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"pen",disabled:i.goal===null,content:"Edit",onClick:function(){function N(){return(0,f.modalOpen)(c,"set_points")}return N}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{children:(0,e.createVNode)(1,"box",null,[(0,e.createTextVNode)("1 minute of prison time should roughly equate to 150 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Sentences should not exceed 5000 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Permanent prisoners should not be given a point goal."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Prisoners who meet their point goal will be able to automatically access their locker and return to the station using the shuttle.")],4,{hidden:i.goal===null})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Tracking Implants",children:v.map(function(N){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:["Subject: ",N.subject]}),(0,e.createComponentVNode)(2,t.Box,{children:[" ",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:N.location}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:N.health}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Prisoner",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-triangle",content:"Warn",tooltip:"Broadcast a message to this poor sod",onClick:function(){function b(){return(0,f.modalOpen)(c,"warn",{uid:N.uid})}return b}()})})]})]},N.subject)]}),(0,e.createVNode)(1,"br")],4)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Chemical Implants",children:p.map(function(N){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:["Subject: ",N.name]}),(0,e.createComponentVNode)(2,t.Box,{children:[" ",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining Reagents",children:N.volume})}),h.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{mt:2,disabled:N.volumec;return(0,e.createComponentVNode)(2,t.ImageButton,{asset:!0,imageAsset:"prize_counter64x64",image:v.imageID,title:v.name,content:v.desc,children:(0,e.createComponentVNode)(2,t.ImageButton.Item,{bold:!0,width:"64px",fontSize:1.5,textColor:g&&"gray",content:v.cost,icon:"ticket",iconSize:1.6,iconColor:g?"bad":"good",tooltip:g&&"Not enough tickets",disabled:g,onClick:function(){function h(){return C("purchase",{purchase:v.itemID})}return h}()})},v.name)})})})})})})}return V}()},87963:function(w,r,n){"use strict";r.__esModule=!0,r.RCD=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(99665),V=n(57842),y=r.RCD=function(){function d(l,s){return(0,e.createComponentVNode)(2,o.Window,{width:480,height:670,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,c)]})})]})}return d}(),S=function(l,s){var i=(0,a.useBackend)(s),p=i.data,v=p.matter,g=p.max_matter,h=g*.7,N=g*.25;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Matter Storage",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[h,1/0],average:[N,h],bad:[-1/0,N]},value:v,maxValue:g,children:(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:v+" / "+g+" units"})})})})},k=function(){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Construction Type",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,C,{mode_type:"Floors and Walls"}),(0,e.createComponentVNode)(2,C,{mode_type:"Airlocks"}),(0,e.createComponentVNode)(2,C,{mode_type:"Windows"}),(0,e.createComponentVNode)(2,C,{mode_type:"Deconstruction"})]})})})},C=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=l.mode_type,h=v.mode;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"transparent",content:g,selected:h===g?1:0,onClick:function(){function N(){return p("mode",{mode:g})}return N}()})})},u=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.door_name,h=v.electrochromic,N=v.airlock_glass;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Airlock Settings",children:(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"transparent",icon:"pen-alt",content:(0,e.createFragment)([(0,e.createTextVNode)("Rename: "),(0,e.createVNode)(1,"b",null,g,0)],0),onClick:function(){function b(){return(0,f.modalOpen)(s,"renameAirlock")}return b}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:N===1&&(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:h?"toggle-on":"toggle-off",content:"Electrochromic",selected:h,onClick:function(){function b(){return p("electrochromic")}return b}()})})]})})})},c=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.tab,h=v.locked,N=v.one_access,b=v.selected_accesses,B=v.regions;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"cog",selected:g===1,onClick:function(){function I(){return p("set_tab",{tab:1})}return I}(),children:"Airlock Types"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:g===2,icon:"list",onClick:function(){function I(){return p("set_tab",{tab:2})}return I}(),children:"Airlock Access"})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:g===1?(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Types",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m,{check_number:0})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m,{check_number:1})})]})}):g===2&&h?(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Access",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"lock-open",content:"Unlock",onClick:function(){function I(){return p("set_lock",{new_lock:"unlock"})}return I}()}),children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"lock",size:"5",mb:3}),(0,e.createVNode)(1,"br"),"Airlock access selection is currently locked."]})})}):(0,e.createComponentVNode)(2,V.AccessList,{sectionButtons:(0,e.createComponentVNode)(2,t.Button,{icon:"lock",content:"Lock",onClick:function(){function I(){return p("set_lock",{new_lock:"lock"})}return I}()}),usedByRcd:1,rcdButtons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:N,content:"One",onClick:function(){function I(){return p("set_one_access",{access:"one"})}return I}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!N,width:4,content:"All",onClick:function(){function I(){return p("set_one_access",{access:"all"})}return I}()})],4),accesses:B,selectedList:b,accessMod:function(){function I(L){return p("set",{access:L})}return I}(),grantAll:function(){function I(){return p("grant_all")}return I}(),denyAll:function(){function I(){return p("clear_all")}return I}(),grantDep:function(){function I(L){return p("grant_region",{region:L})}return I}(),denyDep:function(){function I(L){return p("deny_region",{region:L})}return I}()})})],4)},m=function(l,s){for(var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.door_types_ui_list,h=v.door_type,N=l.check_number,b=[],B=0;B0?"envelope-open-text":"envelope",onClick:function(){function B(){return p("setScreen",{setScreen:6})}return B}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Request Assistance",icon:"hand-paper",onClick:function(){function B(){return p("setScreen",{setScreen:1})}return B}()}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Request Supplies",icon:"box",onClick:function(){function B(){return p("setScreen",{setScreen:2})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Request Secondary Goal",icon:"clipboard-list",onClick:function(){function B(){return p("setScreen",{setScreen:11})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Relay Anonymous Information",icon:"comment",onClick:function(){function B(){return p("setScreen",{setScreen:3})}return B}()})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Print Shipping Label",icon:"tag",onClick:function(){function B(){return p("setScreen",{setScreen:9})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"View Shipping Logs",icon:"clipboard-list",onClick:function(){function B(){return p("setScreen",{setScreen:10})}return B}()})]})}),!!h&&(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Send Station-Wide Announcement",icon:"bullhorn",onClick:function(){function B(){return p("setScreen",{setScreen:8})}return B}()})})]})})},y=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.department,h=[],N;switch(l.purpose){case"ASSISTANCE":h=v.assist_dept,N="Request assistance from another department";break;case"SUPPLIES":h=v.supply_dept,N="Request supplies from another department";break;case"INFO":h=v.info_dept,N="Relay information to another department";break}return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:N,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function b(){return p("setScreen",{setScreen:0})}return b}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:h.filter(function(b){return b!==g}).map(function(b){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:b,textAlign:"right",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Message",icon:"envelope",onClick:function(){function B(){return p("writeInput",{write:b,priority:"1"})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"High Priority",icon:"exclamation-circle",onClick:function(){function B(){return p("writeInput",{write:b,priority:"2"})}return B}()})]},b)})})})})},S=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g;switch(l.type){case"SUCCESS":g="Message sent successfully";break;case"FAIL":g="Unable to contact messaging server";break}return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:g,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function h(){return p("setScreen",{setScreen:0})}return h}()})})},k=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g,h;switch(l.type){case"MESSAGES":g=v.message_log,h="Message Log";break;case"SHIPPING":g=v.shipping_log,h="Shipping label print log";break}return g.reverse(),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:h,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function N(){return p("setScreen",{setScreen:0})}return N}()}),children:g.map(function(N){return(0,e.createComponentVNode)(2,t.Box,{textAlign:"left",children:[N.map(function(b,B){return(0,e.createVNode)(1,"div",null,b,0,null,B)}),(0,e.createVNode)(1,"hr")]},N)})})})},C=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.recipient,h=v.message,N=v.msgVerified,b=v.msgStamped;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Message Authentication",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function B(){return p("setScreen",{setScreen:0})}return B}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Recipient",children:g}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message",children:h}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Validated by",color:"green",children:N}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stamped by",color:"blue",children:b})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",content:"Send Message",icon:"envelope",onClick:function(){function B(){return p("department",{department:g})}return B}()})})})],4)},u=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.message,h=v.announceAuth;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Station-Wide Announcement",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function N(){return p("setScreen",{setScreen:0})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Edit Message",icon:"edit",onClick:function(){function N(){return p("writeAnnouncement")}return N}()})],4),children:g})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:[h?(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"green",children:"ID verified. Authentication accepted."}):(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"label",children:"Swipe your ID card to authenticate yourself"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:2,textAlign:"center",content:"Send Announcement",icon:"bullhorn",disabled:!(h&&g),onClick:function(){function N(){return p("sendAnnouncement")}return N}()})]})})],4)},c=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.shipDest,h=v.msgVerified,N=v.ship_dept;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{title:"Print Shipping Label",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function b(){return p("setScreen",{setScreen:0})}return b}()}),children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",children:g}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Validated by",children:h})]}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:1,textAlign:"center",content:"Print Label",icon:"print",disabled:!(g&&h),onClick:function(){function b(){return p("printLabel")}return b}()})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Destinations",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:N.map(function(b){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:b,textAlign:"right",className:"candystripe",children:(0,e.createComponentVNode)(2,t.Button,{content:g===b?"Selected":"Select",selected:g===b,onClick:function(){function B(){return p("shipSelect",{shipSelect:b})}return B}()})},b)})})})})],4)},m=function(l,s){var i=(0,a.useBackend)(s),p=i.act,v=i.data,g=v.secondaryGoalAuth,h=v.secondaryGoalEnabled;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Request Secondary Goal",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function N(){return p("setScreen",{setScreen:0})}return N}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:[h?g?(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"green",children:"ID verified. Authentication accepted."}):(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"label",children:"Swipe your ID card to authenticate yourself"}):(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"label",children:"Complete your current goal first!"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:2,textAlign:"center",content:"Request Secondary Goal",icon:"clipboard-list",disabled:!(g&&h),onClick:function(){function N(){return p("requestSecondaryGoal")}return N}()})]})})],4)}},89641:function(w,r,n){"use strict";r.__esModule=!0,r.SUBMENU=r.RndConsole=r.MENU=void 0;var e=n(96524),a=n(17899),t=n(45493),o=n(24674),f=n(3422),V=r.MENU={MAIN:0,LEVELS:1,DISK:2,DESTROY:3,LATHE:4,IMPRINTER:5,SETTINGS:6},y=r.SUBMENU={MAIN:0,DISK_COPY:1,LATHE_CATEGORY:1,LATHE_MAT_STORAGE:2,LATHE_CHEM_STORAGE:3,SETTINGS_DEVICES:1},S=r.RndConsole=function(){function k(C,u){var c=(0,a.useBackend)(u),m=c.data,d=m.wait_message;return(0,e.createComponentVNode)(2,t.Window,{width:800,height:550,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole",children:[(0,e.createComponentVNode)(2,f.RndNavbar),(0,e.createComponentVNode)(2,f.RndRoute,{menu:V.MAIN,render:function(){function l(){return(0,e.createComponentVNode)(2,f.MainMenu)}return l}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:V.LEVELS,render:function(){function l(){return(0,e.createComponentVNode)(2,f.CurrentLevels)}return l}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:V.DISK,render:function(){function l(){return(0,e.createComponentVNode)(2,f.DataDiskMenu)}return l}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:V.DESTROY,render:function(){function l(){return(0,e.createComponentVNode)(2,f.DeconstructionMenu)}return l}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:function(){function l(s){return s===V.LATHE||s===V.IMPRINTER}return l}(),render:function(){function l(){return(0,e.createComponentVNode)(2,f.LatheMenu)}return l}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:V.SETTINGS,render:function(){function l(){return(0,e.createComponentVNode)(2,f.SettingsMenu)}return l}()}),d?(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay",children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay__Wrapper",children:(0,e.createComponentVNode)(2,o.NoticeBox,{color:"black",children:d})})}):null]})})})}return k}()},19348:function(w,r,n){"use strict";r.__esModule=!0,r.CurrentLevels=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.CurrentLevels=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.data,C=k.tech_levels;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createVNode)(1,"h3",null,"Current Research Levels:",16),C.map(function(u,c){var m=u.name,d=u.level,l=u.desc;return(0,e.createComponentVNode)(2,t.Box,{children:[c>0?(0,e.createComponentVNode)(2,t.Divider):null,(0,e.createComponentVNode)(2,t.Box,{children:m}),(0,e.createComponentVNode)(2,t.Box,{children:["* Level: ",d]}),(0,e.createComponentVNode)(2,t.Box,{children:["* Summary: ",l]})]},m)})]})}return f}()},338:function(w,r,n){"use strict";r.__esModule=!0,r.DataDiskMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(3422),f=n(89641),V="design",y="tech",S=function(s,i){var p=(0,a.useBackend)(i),v=p.data,g=p.act,h=v.disk_data;return h?(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:h.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:h.level}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:h.desc})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function N(){return g("updt_tech")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function N(){return g("clear_tech")}return N}()}),(0,e.createComponentVNode)(2,u)]})]}):null},k=function(s,i){var p=(0,a.useBackend)(i),v=p.data,g=p.act,h=v.disk_data;if(!h)return null;var N=h.name,b=h.lathe_types,B=h.materials,I=b.join(", ");return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:N}),I?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lathe Types",children:I}):null,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Required Materials"})]}),B.map(function(L){return(0,e.createComponentVNode)(2,t.Box,{children:["- ",(0,e.createVNode)(1,"span",null,L.name,0,{style:{"text-transform":"capitalize"}})," x ",L.amount]},L.name)}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function L(){return g("updt_design")}return L}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function L(){return g("clear_design")}return L}()}),(0,e.createComponentVNode)(2,u)]})]})},C=function(s,i){var p=(0,a.useBackend)(i),v=p.data,g=v.disk_type;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"This disk is empty."}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,o.RndNavButton,{submenu:f.SUBMENU.DISK_COPY,icon:"arrow-down",content:g===y?"Load Tech to Disk":"Load Design to Disk"}),(0,e.createComponentVNode)(2,u)]})]})},u=function(s,i){var p=(0,a.useBackend)(i),v=p.data,g=p.act,h=v.disk_type;return h?(0,e.createComponentVNode)(2,t.Button,{content:"Eject Disk",icon:"eject",onClick:function(){function N(){var b=h===y?"eject_tech":"eject_design";g(b)}return N}()}):null},c=function(s,i){var p=(0,a.useBackend)(i),v=p.data,g=v.disk_data,h=v.disk_type,N=function(){if(!g)return(0,e.createComponentVNode)(2,C);switch(h){case V:return(0,e.createComponentVNode)(2,k);case y:return(0,e.createComponentVNode)(2,S);default:return null}};return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk Contents",children:N()})},m=function(s,i){var p=(0,a.useBackend)(i),v=p.data,g=p.act,h=v.disk_type,N=v.to_copy;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Box,{overflowY:"auto",overflowX:"hidden",maxHeight:"450px",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:N.sort(function(b,B){return b.name.localeCompare(B.name)}).map(function(b){var B=b.name,I=b.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:B,children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Copy to Disk",onClick:function(){function L(){h===y?g("copy_tech",{id:I}):g("copy_design",{id:I})}return L}()})},I)})})})})},d=r.DataDiskMenu=function(){function l(s,i){var p=(0,a.useBackend)(i),v=p.data,g=v.disk_type;return g?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.RndRoute,{submenu:f.SUBMENU.MAIN,render:function(){function h(){return(0,e.createComponentVNode)(2,c)}return h}()}),(0,e.createComponentVNode)(2,o.RndRoute,{submenu:f.SUBMENU.DISK_COPY,render:function(){function h(){return(0,e.createComponentVNode)(2,m)}return h}()})],4):null}return l}()},90785:function(w,r,n){"use strict";r.__esModule=!0,r.DeconstructionMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.DeconstructionMenu=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.data,C=S.act,u=k.loaded_item,c=k.linked_destroy;return c?u?(0,e.createComponentVNode)(2,t.Section,{noTopPadding:!0,title:"Deconstruction Menu",children:[(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:["Name: ",u.name]}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createVNode)(1,"h3",null,"Origin Tech:",16)}),(0,e.createComponentVNode)(2,t.LabeledList,{children:u.origin_tech.map(function(m){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+m.name,children:[m.object_level," ",m.current_level?(0,e.createFragment)([(0,e.createTextVNode)("(Current: "),m.current_level,(0,e.createTextVNode)(")")],0):null]},m.name)})}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createVNode)(1,"h3",null,"Options:",16)}),(0,e.createComponentVNode)(2,t.Button,{content:"Deconstruct Item",icon:"unlink",onClick:function(){function m(){C("deconstruct")}return m}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject Item",icon:"eject",onClick:function(){function m(){C("eject_item")}return m}()})]}):(0,e.createComponentVNode)(2,t.Section,{title:"Deconstruction Menu",children:"No item loaded. Standing by..."}):(0,e.createComponentVNode)(2,t.Box,{children:"NO DESTRUCTIVE ANALYZER LINKED TO CONSOLE"})}return f}()},34492:function(w,r,n){"use strict";r.__esModule=!0,r.LatheCategory=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(3422),f=r.LatheCategory=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.data,u=k.act,c=C.category,m=C.matching_designs,d=C.menu,l=d===4,s=l?"build":"imprint";return(0,e.createComponentVNode)(2,t.Section,{title:c,children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,t.Table,{className:"RndConsole__LatheCategory__MatchingDesigns",children:m.map(function(i){var p=i.id,v=i.name,g=i.can_build,h=i.materials;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:v,disabled:g<1,onClick:function(){function N(){return u(s,{id:p,amount:1})}return N}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g>=5?(0,e.createComponentVNode)(2,t.Button,{content:"x5",onClick:function(){function N(){return u(s,{id:p,amount:5})}return N}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g>=10?(0,e.createComponentVNode)(2,t.Button,{content:"x10",onClick:function(){function N(){return u(s,{id:p,amount:10})}return N}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.map(function(N){return(0,e.createFragment)([" | ",(0,e.createVNode)(1,"span",N.is_red?"color-red":null,[N.amount,(0,e.createTextVNode)(" "),N.name],0)],0)})})]},p)})})]})}return V}()},84275:function(w,r,n){"use strict";r.__esModule=!0,r.LatheChemicalStorage=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LatheChemicalStorage=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.data,C=S.act,u=k.loaded_chemicals,c=k.menu===4;return(0,e.createComponentVNode)(2,t.Section,{title:"Chemical Storage",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Purge All",icon:"trash",onClick:function(){function m(){var d=c?"disposeallP":"disposeallI";C(d)}return m}()}),(0,e.createComponentVNode)(2,t.LabeledList,{children:u.map(function(m){var d=m.volume,l=m.name,s=m.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+d+" of "+l,children:(0,e.createComponentVNode)(2,t.Button,{content:"Purge",icon:"trash",onClick:function(){function i(){var p=c?"disposeP":"disposeI";C(p,{id:s})}return i}()})},s)})})]})}return f}()},12638:function(w,r,n){"use strict";r.__esModule=!0,r.LatheMainMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(3422),f=r.LatheMainMenu=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.data,u=k.act,c=C.menu,m=C.categories,d=c===4?"Protolathe":"Circuit Imprinter";return(0,e.createComponentVNode)(2,t.Section,{title:d+" Menu",children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,o.LatheSearch),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Flex,{wrap:"wrap",children:m.map(function(l){return(0,e.createComponentVNode)(2,t.Flex,{style:{"flex-basis":"50%","margin-bottom":"6px"},children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-right",content:l,onClick:function(){function s(){u("setCategory",{category:l})}return s}()})},l)})})]})}return V}()},89004:function(w,r,n){"use strict";r.__esModule=!0,r.LatheMaterialStorage=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LatheMaterialStorage=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.data,C=S.act,u=k.loaded_materials;return(0,e.createComponentVNode)(2,t.Section,{className:"RndConsole__LatheMaterialStorage",title:"Material Storage",children:(0,e.createComponentVNode)(2,t.Table,{children:u.map(function(c){var m=c.id,d=c.amount,l=c.name,s=function(){function g(h){var N=k.menu===4?"lathe_ejectsheet":"imprinter_ejectsheet";C(N,{id:m,amount:h})}return g}(),i=Math.floor(d/2e3),p=d<1,v=i===1?"":"s";return(0,e.createComponentVNode)(2,t.Table.Row,{className:p?"color-grey":"color-yellow",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"210px",children:["* ",d," of ",l]}),(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"110px",children:["(",i," sheet",v,")"]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d>=2e3?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"1x",icon:"eject",onClick:function(){function g(){return s(1)}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"C",icon:"eject",onClick:function(){function g(){return s("custom")}return g}()}),d>=2e3*5?(0,e.createComponentVNode)(2,t.Button,{content:"5x",icon:"eject",onClick:function(){function g(){return s(5)}return g}()}):null,(0,e.createComponentVNode)(2,t.Button,{content:"All",icon:"eject",onClick:function(){function g(){return s(50)}return g}()})],0):null})]},m)})})})}return f}()},73856:function(w,r,n){"use strict";r.__esModule=!0,r.LatheMaterials=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LatheMaterials=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.data,C=k.total_materials,u=k.max_materials,c=k.max_chemicals,m=k.total_chemicals;return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__LatheMaterials",mb:"10px",children:(0,e.createComponentVNode)(2,t.Table,{width:"auto",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Material Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C}),u?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+u}):null]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Chemical Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:m}),c?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+c}):null]})]})})}return f}()},75955:function(w,r,n){"use strict";r.__esModule=!0,r.LatheMenu=void 0;var e=n(96524),a=n(17899),t=n(78345),o=n(3422),f=n(24674),V=n(89641),y=r.LatheMenu=function(){function S(k,C){var u=(0,a.useBackend)(C),c=u.data,m=c.menu,d=c.linked_lathe,l=c.linked_imprinter;return m===4&&!d?(0,e.createComponentVNode)(2,f.Box,{children:"NO PROTOLATHE LINKED TO CONSOLE"}):m===5&&!l?(0,e.createComponentVNode)(2,f.Box,{children:"NO CIRCUIT IMPRITER LINKED TO CONSOLE"}):(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,t.RndRoute,{submenu:V.SUBMENU.MAIN,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheMainMenu)}return s}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:V.SUBMENU.LATHE_CATEGORY,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheCategory)}return s}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:V.SUBMENU.LATHE_MAT_STORAGE,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheMaterialStorage)}return s}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:V.SUBMENU.LATHE_CHEM_STORAGE,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheChemicalStorage)}return s}()})]})}return S}()},72880:function(w,r,n){"use strict";r.__esModule=!0,r.LatheSearch=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LatheSearch=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"Search...",onEnter:function(){function C(u,c){return k("search",{to_search:c})}return C}()})})}return f}()},62306:function(w,r,n){"use strict";r.__esModule=!0,r.MainMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(3422),f=n(89641),V=r.MainMenu=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.data,c=u.disk_type,m=u.linked_destroy,d=u.linked_lathe,l=u.linked_imprinter,s=u.tech_levels;return(0,e.createComponentVNode)(2,t.Section,{title:"Main Menu",children:[(0,e.createComponentVNode)(2,t.Flex,{className:"RndConsole__MainMenu__Buttons",direction:"column",align:"flex-start",children:[(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!c,menu:f.MENU.DISK,submenu:f.SUBMENU.MAIN,icon:"save",content:"Disk Operations"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!m,menu:f.MENU.DESTROY,submenu:f.SUBMENU.MAIN,icon:"unlink",content:"Destructive Analyzer Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!d,menu:f.MENU.LATHE,submenu:f.SUBMENU.MAIN,icon:"print",content:"Protolathe Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!l,menu:f.MENU.IMPRINTER,submenu:f.SUBMENU.MAIN,icon:"print",content:"Circuit Imprinter Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{menu:f.MENU.SETTINGS,submenu:f.SUBMENU.MAIN,icon:"cog",content:"Settings"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"12px"}),(0,e.createVNode)(1,"h3",null,"Current Research Levels:",16),(0,e.createComponentVNode)(2,t.LabeledList,{children:s.map(function(i){var p=i.name,v=i.level;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:p,children:v},p)})})]})}return y}()},99941:function(w,r,n){"use strict";r.__esModule=!0,r.RndNavButton=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.RndNavButton=function(){function f(V,y){var S=V.icon,k=V.children,C=V.disabled,u=V.content,c=(0,a.useBackend)(y),m=c.data,d=c.act,l=m.menu,s=m.submenu,i=l,p=s;return V.menu!==null&&V.menu!==void 0&&(i=V.menu),V.submenu!==null&&V.submenu!==void 0&&(p=V.submenu),(0,e.createComponentVNode)(2,t.Button,{content:u,icon:S,disabled:C,onClick:function(){function v(){d("nav",{menu:i,submenu:p})}return v}(),children:k})}return f}()},24448:function(w,r,n){"use strict";r.__esModule=!0,r.RndNavbar=void 0;var e=n(96524),a=n(3422),t=n(24674),o=n(89641),f=r.RndNavbar=function(){function V(){return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__RndNavbar",children:[(0,e.createComponentVNode)(2,a.RndRoute,{menu:function(){function y(S){return S!==o.MENU.MAIN}return y}(),render:function(){function y(){return(0,e.createComponentVNode)(2,a.RndNavButton,{menu:o.MENU.MAIN,submenu:o.SUBMENU.MAIN,icon:"reply",content:"Main Menu"})}return y}()}),(0,e.createComponentVNode)(2,a.RndRoute,{submenu:function(){function y(S){return S!==o.SUBMENU.MAIN}return y}(),render:function(){function y(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.DISK,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Disk Operations Menu"})}return S}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.LATHE,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Protolathe Menu"})}return S}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.IMPRINTER,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Circuit Imprinter Menu"})}return S}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.SETTINGS,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Settings Menu"})}return S}()})]})}return y}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:function(){function y(S){return S===o.MENU.LATHE||S===o.MENU.IMPRINTER}return y}(),submenu:o.SUBMENU.MAIN,render:function(){function y(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.LATHE_MAT_STORAGE,icon:"arrow-up",content:"Material Storage"}),(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.LATHE_CHEM_STORAGE,icon:"arrow-up",content:"Chemical Storage"})]})}return y}()})]})}return V}()},78345:function(w,r,n){"use strict";r.__esModule=!0,r.RndRoute=void 0;var e=n(17899),a=r.RndRoute=function(){function t(o,f){var V=o.render,y=(0,e.useBackend)(f),S=y.data,k=S.menu,C=S.submenu,u=function(){function m(d,l){return d==null?!0:typeof d=="function"?d(l):d===l}return m}(),c=u(o.menu,k)&&u(o.submenu,C);return c?V():null}return t}()},56454:function(w,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(3422),f=n(89641),V=r.SettingsMenu=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.data,c=C.act,m=u.sync,d=u.admin,l=u.linked_destroy,s=u.linked_lathe,i=u.linked_imprinter;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,o.RndRoute,{submenu:f.SUBMENU.MAIN,render:function(){function p(){return(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",align:"flex-start",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Sync Database with Network",icon:"sync",disabled:!m,onClick:function(){function v(){c("sync")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Connect to Research Network",icon:"plug",disabled:m,onClick:function(){function v(){c("togglesync")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!m,icon:"unlink",content:"Disconnect from Research Network",onClick:function(){function v(){c("togglesync")}return v}()}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!m,content:"Device Linkage Menu",icon:"link",menu:f.MENU.SETTINGS,submenu:f.SUBMENU.SETTINGS_DEVICES}),d===1?(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation",content:"[ADMIN] Maximize Research Levels",onClick:function(){function v(){return c("maxresearch")}return v}()}):null]})})}return p}()}),(0,e.createComponentVNode)(2,o.RndRoute,{submenu:f.SUBMENU.SETTINGS_DEVICES,render:function(){function p(){return(0,e.createComponentVNode)(2,t.Section,{title:"Device Linkage Menu",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"link",content:"Re-sync with Nearby Devices",onClick:function(){function v(){return c("find_device")}return v}()}),(0,e.createComponentVNode)(2,t.Box,{mt:"5px",children:(0,e.createVNode)(1,"h3",null,"Linked Devices:",16)}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[l?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Destructive Analyzer",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function v(){return c("disconnect",{item:"destroy"})}return v}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Destructive Analyzer Linked"}),s?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Protolathe",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function v(){c("disconnect",{item:"lathe"})}return v}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Protolathe Linked"}),i?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Circuit Imprinter",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function v(){return c("disconnect",{item:"imprinter"})}return v}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Circuit Imprinter Linked"})]})]})}return p}()})]})}return y}()},3422:function(w,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=r.RndRoute=r.RndNavbar=r.RndNavButton=r.MainMenu=r.LatheSearch=r.LatheMenu=r.LatheMaterials=r.LatheMaterialStorage=r.LatheMainMenu=r.LatheChemicalStorage=r.LatheCategory=r.DeconstructionMenu=r.DataDiskMenu=r.CurrentLevels=void 0;var e=n(19348);r.CurrentLevels=e.CurrentLevels;var a=n(338);r.DataDiskMenu=a.DataDiskMenu;var t=n(90785);r.DeconstructionMenu=t.DeconstructionMenu;var o=n(34492);r.LatheCategory=o.LatheCategory;var f=n(84275);r.LatheChemicalStorage=f.LatheChemicalStorage;var V=n(12638);r.LatheMainMenu=V.LatheMainMenu;var y=n(73856);r.LatheMaterials=y.LatheMaterials;var S=n(89004);r.LatheMaterialStorage=S.LatheMaterialStorage;var k=n(75955);r.LatheMenu=k.LatheMenu;var C=n(72880);r.LatheSearch=C.LatheSearch;var u=n(62306);r.MainMenu=u.MainMenu;var c=n(24448);r.RndNavbar=c.RndNavbar;var m=n(99941);r.RndNavButton=m.RndNavButton;var d=n(78345);r.RndRoute=d.RndRoute;var l=n(56454);r.SettingsMenu=l.SettingsMenu},71123:function(w,r,n){"use strict";r.__esModule=!0,r.RobotSelfDiagnosis=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(78234),V=function(k,C){var u=k/C;return u<=.2?"good":u<=.5?"average":"bad"},y=r.RobotSelfDiagnosis=function(){function S(k,C){var u=(0,a.useBackend)(C),c=u.data,m=c.component_data;return(0,e.createComponentVNode)(2,o.Window,{width:280,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:m.map(function(d,l){return(0,e.createComponentVNode)(2,t.Section,{title:(0,f.capitalize)(d.name),children:d.installed<=0?(0,e.createComponentVNode)(2,t.NoticeBox,{m:-.5,height:3.5,color:"red",style:{"font-style":"normal"},children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",children:(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,textAlign:"center",align:"center",color:"#e8e8e8",children:d.installed===-1?"Destroyed":"Missing"})})}):(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"72%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",color:V(d.brute_damage,d.max_damage),children:d.brute_damage}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",color:V(d.electronic_damage,d.max_damage),children:d.electronic_damage})]})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Powered",color:d.powered?"good":"bad",children:d.powered?"Yes":"No"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Enabled",color:d.status?"good":"bad",children:d.status?"Yes":"No"})]})})]})},l)})})})}return S}()},98951:function(w,r,n){"use strict";r.__esModule=!0,r.RoboticsControlConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.RoboticsControlConsole=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.can_hack,d=c.safety,l=c.show_lock_all,s=c.cyborgs,i=s===void 0?[]:s;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:460,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!l&&(0,e.createComponentVNode)(2,t.Section,{title:"Emergency Lock Down",children:[(0,e.createComponentVNode)(2,t.Button,{icon:d?"lock":"unlock",content:d?"Disable Safety":"Enable Safety",selected:d,onClick:function(){function p(){return u("arm",{})}return p}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"lock",disabled:d,content:"Lock ALL Cyborgs",color:"bad",onClick:function(){function p(){return u("masslock",{})}return p}()})]}),(0,e.createComponentVNode)(2,V,{cyborgs:i,can_hack:m})]})})}return y}(),V=function(S,k){var C=S.cyborgs,u=S.can_hack,c=(0,a.useBackend)(k),m=c.act,d=c.data,l="Detonate";return d.detonate_cooldown>0&&(l+=" ("+d.detonate_cooldown+"s)"),C.length?C.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name,buttons:(0,e.createFragment)([!!s.hackable&&!s.emagged&&(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:"Hack",color:"bad",onClick:function(){function i(){return m("hackbot",{uid:s.uid})}return i}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:s.locked_down?"unlock":"lock",color:s.locked_down?"good":"default",content:s.locked_down?"Release":"Lockdown",disabled:!d.auth,onClick:function(){function i(){return m("stopbot",{uid:s.uid})}return i}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:l,disabled:!d.auth||d.detonate_cooldown>0,color:"bad",onClick:function(){function i(){return m("killbot",{uid:s.uid})}return i}()})],0),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Box,{color:s.status?"bad":s.locked_down?"average":"good",children:s.status?"Not Responding":s.locked_down?"Locked Down":"Nominal"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:(0,e.createComponentVNode)(2,t.Box,{children:s.locstring})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:s.health>50?"good":"bad",value:s.health/100})}),typeof s.charge=="number"&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:s.charge>30?"good":"bad",value:s.charge/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Capacity",children:(0,e.createComponentVNode)(2,t.Box,{color:s.cell_capacity<3e4?"average":"good",children:s.cell_capacity})})],4)||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"No Power Cell"})}),!!s.is_hacked&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safeties",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"DISABLED"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Module",children:s.module}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master AI",children:(0,e.createComponentVNode)(2,t.Box,{color:s.synchronization?"default":"average",children:s.synchronization||"None"})})]})},s.uid)}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cyborg units detected within access parameters."})}},2289:function(w,r,n){"use strict";r.__esModule=!0,r.Safe=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Safe=function(){function k(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.dial,s=d.open,i=d.locked,p=d.contents;return(0,e.createComponentVNode)(2,o.Window,{theme:"safe",width:600,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving",children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving--hinge",top:"25%"}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving--hinge",top:"75%"})]}),(0,e.createComponentVNode)(2,t.Icon,{className:"Safe--engraving--arrow",name:"long-arrow-alt-down",size:"3"}),(0,e.createVNode)(1,"br"),s?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,t.Box,{as:"img",className:"Safe--dial",src:"safe_dial.png",style:{transform:"rotate(-"+3.6*l+"deg)","z-index":0}})]}),!s&&(0,e.createComponentVNode)(2,S)]})})}return k}(),V=function(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.dial,s=d.open,i=d.locked,p=function(g,h){return(0,e.createComponentVNode)(2,t.Button,{disabled:s||h&&!i,icon:"arrow-"+(h?"right":"left"),content:(h?"Right":"Left")+" "+g,iconRight:h,onClick:function(){function N(){return m(h?"turnleft":"turnright",{num:g})}return N}(),style:{"z-index":10}})};return(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer",children:[(0,e.createComponentVNode)(2,t.Button,{disabled:i,icon:s?"lock":"lock-open",content:s?"Close":"Open",mb:"0.5rem",onClick:function(){function v(){return m("open")}return v}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{position:"absolute",children:[p(50),p(10),p(1)]}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer--right",position:"absolute",right:"5px",children:[p(1,!0),p(10,!0),p(50,!0)]}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer--number",children:l})]})},y=function(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.contents;return(0,e.createComponentVNode)(2,t.Box,{className:"Safe--contents",overflow:"auto",children:l.map(function(s,i){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{mb:"0.5rem",onClick:function(){function p(){return m("retrieve",{index:i+1})}return p}(),children:[(0,e.createComponentVNode)(2,t.Box,{as:"img",src:s.sprite+".png",verticalAlign:"middle",ml:"-6px",mr:"0.5rem"}),s.name]}),(0,e.createVNode)(1,"br")],4,s)})})},S=function(C,u){return(0,e.createComponentVNode)(2,t.Section,{className:"Safe--help",title:"Safe opening instructions (because you all keep forgetting)",children:[(0,e.createComponentVNode)(2,t.Box,{children:["1. Turn the dial left to the first number.",(0,e.createVNode)(1,"br"),"2. Turn the dial right to the second number.",(0,e.createVNode)(1,"br"),"3. Continue repeating this process for each number, switching between left and right each time.",(0,e.createVNode)(1,"br"),"4. Open the safe."]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:"To lock fully, turn the dial to the left after closing the safe."})]})}},49334:function(w,r,n){"use strict";r.__esModule=!0,r.SatelliteControl=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.SatelliteControl=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.satellites,m=u.notice,d=u.meteor_shield,l=u.meteor_shield_coverage,s=u.meteor_shield_coverage_max,i=u.meteor_shield_coverage_percentage;return(0,e.createComponentVNode)(2,o.Window,{width:475,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[d&&(0,e.createComponentVNode)(2,t.Section,{title:"Station Shield Coverage",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:i>=100?"good":"average",value:l,maxValue:s,children:[i," %"]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Satellite Network Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alert",color:"red",children:u.notice}),c.map(function(p){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"#"+p.id,children:[p.mode," ",(0,e.createComponentVNode)(2,t.Button,{content:p.active?"Deactivate":"Activate",icon:"arrow-circle-right",onClick:function(){function v(){return C("toggle",{id:p.id})}return v}()})]},p.id)})]})})]})})}return V}()},54892:function(w,r,n){"use strict";r.__esModule=!0,r.SecureStorage=void 0;var e=n(96524),a=n(28234),t=n(17899),o=n(24674),f=n(45493),V=n(5126),y=n(68100),S=r.SecureStorage=function(){function c(m,d){return(0,e.createComponentVNode)(2,f.Window,{theme:"securestorage",height:500,width:280,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,C)})})})})}return c}(),k=function(m,d){var l=(0,t.useBackend)(d),s=l.act,i=window.event?m.which:m.keyCode;if(i===y.KEY_ENTER){m.preventDefault(),s("keypad",{digit:"E"});return}if(i===y.KEY_ESCAPE){m.preventDefault(),s("keypad",{digit:"C"});return}if(i===y.KEY_BACKSPACE){m.preventDefault(),s("backspace");return}if(i>=y.KEY_0&&i<=y.KEY_9){m.preventDefault(),s("keypad",{digit:i-y.KEY_0});return}if(i>=y.KEY_NUMPAD_0&&i<=y.KEY_NUMPAD_9){m.preventDefault(),s("keypad",{digit:i-y.KEY_NUMPAD_0});return}},C=function(m,d){var l=(0,t.useBackend)(d),s=l.act,i=l.data,p=i.locked,v=i.no_passcode,g=i.emagged,h=i.user_entered_code,N=[["1","2","3"],["4","5","6"],["7","8","9"],["C","0","E"]],b=v?"":p?"bad":"good";return(0,e.createComponentVNode)(2,o.Section,{fill:!0,onKeyDown:function(){function B(I){return k(I,d)}return B}(),children:[(0,e.createComponentVNode)(2,o.Stack.Item,{height:7.3,children:(0,e.createComponentVNode)(2,o.Box,{className:(0,a.classes)(["SecureStorage__displayBox","SecureStorage__displayBox--"+b]),height:"100%",children:g?"ERROR":h})}),(0,e.createComponentVNode)(2,o.Table,{children:N.map(function(B){return(0,e.createComponentVNode)(2,V.TableRow,{children:B.map(function(I){return(0,e.createComponentVNode)(2,V.TableCell,{children:(0,e.createComponentVNode)(2,u,{number:I})},I)})},B[0])})})]})},u=function(m,d){var l=(0,t.useBackend)(d),s=l.act,i=l.data,p=m.number;return(0,e.createComponentVNode)(2,o.Button,{fluid:!0,bold:!0,mb:"6px",content:p,textAlign:"center",fontSize:"60px",lineHeight:1.25,width:"80px",className:(0,a.classes)(["SecureStorage__Button","SecureStorage__Button--keypad","SecureStorage__Button--"+p]),onClick:function(){function v(){return s("keypad",{digit:p})}return v}()})}},56798:function(w,r,n){"use strict";r.__esModule=!0,r.SecurityRecords=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(45493),V=n(99665),y=n(68159),S=n(27527),k=n(84537),C={"*Execute*":"execute","*Arrest*":"arrest",Incarcerated:"incarcerated",Parolled:"parolled",Released:"released",Demote:"demote",Search:"search",Monitor:"monitor"},u=function(h,N){(0,V.modalOpen)(h,"edit",{field:N.edit,value:N.value})},c=r.SecurityRecords=function(){function g(h,N){var b=(0,t.useBackend)(N),B=b.act,I=b.data,L=I.loginState,T=I.currentPage,x;if(L.logged_in)T===1?x=(0,e.createComponentVNode)(2,d):T===2&&(x=(0,e.createComponentVNode)(2,i));else return(0,e.createComponentVNode)(2,f.Window,{theme:"security",width:800,height:900,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,S.LoginScreen)})});return(0,e.createComponentVNode)(2,f.Window,{theme:"security",width:800,height:900,children:[(0,e.createComponentVNode)(2,V.ComplexModal),(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.LoginInfo),(0,e.createComponentVNode)(2,k.TemporaryNotice),(0,e.createComponentVNode)(2,m),x]})})]})}return g}(),m=function(h,N){var b=(0,t.useBackend)(N),B=b.act,I=b.data,L=I.currentPage,T=I.general;return(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:L===1,onClick:function(){function x(){return B("page",{page:1})}return x}(),children:"List Records"}),L===2&&T&&!T.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"file",selected:L===2,children:["Record: ",T.fields[0].value]})]})})},d=function(h,N){var b=(0,t.useBackend)(N),B=b.act,I=b.data,L=I.records,T=(0,t.useLocalState)(N,"searchText",""),x=T[0],A=T[1],E=(0,t.useLocalState)(N,"sortId","name"),M=E[0],D=E[1],P=(0,t.useLocalState)(N,"sortOrder",!0),R=P[0],j=P[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,s)}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"SecurityRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,l,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,l,{id:"id",children:"ID"}),(0,e.createComponentVNode)(2,l,{id:"rank",children:"Assignment"}),(0,e.createComponentVNode)(2,l,{id:"fingerprint",children:"Fingerprint"}),(0,e.createComponentVNode)(2,l,{id:"status",children:"Criminal Status"})]}),L.filter((0,a.createSearch)(x,function(F){return F.name+"|"+F.id+"|"+F.rank+"|"+F.fingerprint+"|"+F.status})).sort(function(F,W){var _=R?1:-1;return F[M].localeCompare(W[M])*_}).map(function(F){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"SecurityRecords__listRow--"+C[F.status],onClick:function(){function W(){return B("view",{uid_gen:F.uid_gen,uid_sec:F.uid_sec})}return W}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",F.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.fingerprint}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.status})]},F.id)})]})})})],4)},l=function(h,N){var b=(0,t.useLocalState)(N,"sortId","name"),B=b[0],I=b[1],L=(0,t.useLocalState)(N,"sortOrder",!0),T=L[0],x=L[1],A=h.id,E=h.children;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:B!==A&&"transparent",fluid:!0,onClick:function(){function M(){B===A?x(!T):(I(A),x(!0))}return M}(),children:[E,B===A&&(0,e.createComponentVNode)(2,o.Icon,{name:T?"sort-up":"sort-down",ml:"0.25rem;"})]})})})},s=function(h,N){var b=(0,t.useBackend)(N),B=b.act,I=b.data,L=I.isPrinting,T=(0,t.useLocalState)(N,"searchText",""),x=T[0],A=T[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{ml:"0.25rem",content:"New Record",icon:"plus",onClick:function(){function E(){return B("new_general")}return E}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:L,icon:L?"spinner":"print",iconSpin:!!L,content:"Print Cell Log",onClick:function(){function E(){return(0,V.modalOpen)(N,"print_cell_log")}return E}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by Name, ID, Assignment, Fingerprint, Status",fluid:!0,onInput:function(){function E(M,D){return A(D)}return E}()})})]})},i=function(h,N){var b=(0,t.useBackend)(N),B=b.act,I=b.data,L=I.isPrinting,T=I.general,x=I.security;return!T||!T.fields?(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"General records lost!"}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"General Data",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:L,icon:L?"spinner":"print",iconSpin:!!L,content:"Print Record",onClick:function(){function A(){return B("print_record")}return A}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",tooltip:"WARNING: This will also delete the Security and Medical records associated with this crew member!",tooltipPosition:"bottom-start",content:"Delete Record",onClick:function(){function A(){return B("delete_general")}return A}()})],4),children:(0,e.createComponentVNode)(2,p)})}),!x||!x.fields?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Security Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"pen",content:"Create New Record",onClick:function(){function A(){return B("new_security")}return A}()}),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"Security records lost!"]})})})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Security Data",buttons:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",disabled:x.empty,content:"Delete Record",onClick:function(){function A(){return B("delete_security")}return A}()}),children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:x.fields.map(function(A,E){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:A.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(A.value),!!A.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:A.line_break?"1rem":"initial",onClick:function(){function M(){return u(N,A)}return M}()})]},E)})})})})}),(0,e.createComponentVNode)(2,v)],4)],0)},p=function(h,N){var b=(0,t.useBackend)(N),B=b.data,I=B.general;return!I||!I.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"General records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:I.fields.map(function(L,T){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:L.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(""+L.value),!!L.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:L.line_break?"1rem":"initial",onClick:function(){function x(){return u(N,L)}return x}()})]},T)})})}),!!I.has_photos&&I.photos.map(function(L,T){return(0,e.createComponentVNode)(2,o.Stack.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:L,style:{width:"96px","margin-top":"5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Photo #",T+1]},T)})]})},v=function(h,N){var b=(0,t.useBackend)(N),B=b.act,I=b.data,L=I.security;return(0,e.createComponentVNode)(2,o.Stack.Item,{height:"150px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Comments/Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"comment",content:"Add Entry",onClick:function(){function T(){return(0,V.modalOpen)(N,"comment_add")}return T}()}),children:L.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):L.comments.map(function(T,x){return(0,e.createComponentVNode)(2,o.Box,{preserveWhitespace:!0,children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:T.header||"Auto-generated"}),(0,e.createVNode)(1,"br"),T.text||T,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function A(){return B("comment_delete",{id:x+1})}return A}()})]},x)})})})}},59981:function(w,r,n){"use strict";r.__esModule=!0,r.SeedExtractor=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(45493),V=n(99665);function y(l,s){var i=typeof Symbol!="undefined"&&l[Symbol.iterator]||l["@@iterator"];if(i)return(i=i.call(l)).next.bind(i);if(Array.isArray(l)||(i=S(l))||s&&l&&typeof l.length=="number"){i&&(l=i);var p=0;return function(){return p>=l.length?{done:!0}:{done:!1,value:l[p++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function S(l,s){if(l){if(typeof l=="string")return k(l,s);var i=Object.prototype.toString.call(l).slice(8,-1);if(i==="Object"&&l.constructor&&(i=l.constructor.name),i==="Map"||i==="Set")return Array.from(l);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return k(l,s)}}function k(l,s){(s==null||s>l.length)&&(s=l.length);for(var i=0,p=new Array(s);i=x},v=function(T,x){return T<=x},g=s.split(" "),h=[],N=function(){var T=I.value,x=T.split(":");if(x.length===0)return 0;if(x.length===1)return h.push(function(M){return(M.name+" ("+M.variant+")").toLocaleLowerCase().includes(x[0].toLocaleLowerCase())}),0;if(x.length>2)return{v:function(){function M(D){return!1}return M}()};var A,E=i;if(x[1][x[1].length-1]==="-"?(E=v,A=Number(x[1].substring(0,x[1].length-1))):x[1][x[1].length-1]==="+"?(E=p,A=Number(x[1].substring(0,x[1].length-1))):A=Number(x[1]),isNaN(A))return{v:function(){function M(D){return!1}return M}()};switch(x[0].toLocaleLowerCase()){case"l":case"life":case"lifespan":h.push(function(M){return E(M.lifespan,A)});break;case"e":case"end":case"endurance":h.push(function(M){return E(M.endurance,A)});break;case"m":case"mat":case"maturation":h.push(function(M){return E(M.maturation,A)});break;case"pr":case"prod":case"production":h.push(function(M){return E(M.production,A)});break;case"y":case"yield":h.push(function(M){return E(M.yield,A)});break;case"po":case"pot":case"potency":h.push(function(M){return E(M.potency,A)});break;case"s":case"stock":case"c":case"count":case"a":case"amount":h.push(function(M){return E(M.amount,A)});break;default:return{v:function(){function M(D){return!1}return M}()}}},b,B=y(g),I;!(I=B()).done;)if(b=N(),b!==0&&b)return b.v;return function(L){for(var T=0,x=h;T=1?Number(E):1)}return x}()})]})]})}},33454:function(w,r,n){"use strict";r.__esModule=!0,r.ShuttleConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ShuttleConsole=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:150,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:u.status?u.status:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Missing"})}),!!u.shuttle&&(!!u.docking_ports_len&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Send to ",children:u.docking_ports.map(function(c){return(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",content:c.name,onClick:function(){function m(){return C("move",{move:c.id})}return m}()},c.name)})})||(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:"red",children:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Locked"})}),!!u.admin_controlled&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Authorization",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-circle",content:"Request Authorization",disabled:!u.status,onClick:function(){function c(){return C("request")}return c}()})})],0))]})})})})}return V}()},50451:function(w,r,n){"use strict";r.__esModule=!0,r.ShuttleManipulator=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ShuttleManipulator=function(){function k(C,u){var c=(0,a.useLocalState)(u,"tabIndex",0),m=c[0],d=c[1],l=function(){function s(i){switch(i){case 0:return(0,e.createComponentVNode)(2,V);case 1:return(0,e.createComponentVNode)(2,y);case 2:return(0,e.createComponentVNode)(2,S);default:return"WE SHOULDN'T BE HERE!"}}return s}();return(0,e.createComponentVNode)(2,o.Window,{width:650,height:700,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===0,onClick:function(){function s(){return d(0)}return s}(),icon:"info-circle",children:"Status"},"Status"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===1,onClick:function(){function s(){return d(1)}return s}(),icon:"file-import",children:"Templates"},"Templates"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===2,onClick:function(){function s(){return d(2)}return s}(),icon:"tools",children:"Modification"},"Modification")]}),l(m)]})})})}return k}(),V=function(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.shuttles;return(0,e.createComponentVNode)(2,t.Box,{children:l.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID",children:s.id}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Timer",children:s.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Mode",children:s.mode}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Status",children:s.status}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function i(){return m("jump_to",{type:"mobile",id:s.id})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Fast Travel",icon:"fast-forward",onClick:function(){function i(){return m("fast_travel",{id:s.id})}return i}()})]})]})},s.name)})})},y=function(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.templates_tabs,s=d.existing_shuttle,i=d.templates;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Tabs,{children:l.map(function(p){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:p===s.id,icon:"file",onClick:function(){function v(){return m("select_template_category",{cat:p})}return v}(),children:p},p)})}),!!s&&i[s.id].templates.map(function(p){return(0,e.createComponentVNode)(2,t.Section,{title:p.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[p.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:p.description}),p.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:p.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{content:"Load Template",icon:"download",onClick:function(){function v(){return m("select_template",{shuttle_id:p.shuttle_id})}return v}()})})]})},p.name)})]})},S=function(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.existing_shuttle,s=d.selected;return(0,e.createComponentVNode)(2,t.Box,{children:[l?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: "+l.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:l.status}),l.timer&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Timer",children:l.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function i(){return m("jump_to",{type:"mobile",id:l.id})}return i}()})})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: None"}),s?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: "+s.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[s.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:s.description}),s.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:s.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Preview",icon:"eye",onClick:function(){function i(){return m("preview",{shuttle_id:s.shuttle_id})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Load",icon:"download",onClick:function(){function i(){return m("load",{shuttle_id:s.shuttle_id})}return i}()})]})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: None"})]})}},99050:function(w,r,n){"use strict";r.__esModule=!0,r.Sleeper=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=[["good","Alive"],["average","Critical"],["bad","DEAD"]],y=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],S={average:[.25,.5],bad:[.5,1/0]},k=["bad","average","average","good","average","average","bad"],C=r.Sleeper=function(){function i(p,v){var g=(0,t.useBackend)(v),h=g.act,N=g.data,b=N.hasOccupant,B=b?(0,e.createComponentVNode)(2,u):(0,e.createComponentVNode)(2,s);return(0,e.createComponentVNode)(2,f.Window,{width:550,height:760,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:B}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,d)})]})})})}return i}(),u=function(p,v){var g=(0,t.useBackend)(v),h=g.act,N=g.data,b=N.occupant;return(0,e.createFragment)([(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,l)],4)},c=function(p,v){var g=(0,t.useBackend)(v),h=g.act,N=g.data,b=N.occupant,B=N.auto_eject_dead;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:"Auto-eject if dead:\xA0"}),(0,e.createComponentVNode)(2,o.Button,{icon:B?"toggle-on":"toggle-off",selected:B,content:B?"On":"Off",onClick:function(){function I(){return h("auto_eject_dead_"+(B?"off":"on"))}return I}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"user-slash",content:"Eject",onClick:function(){function I(){return h("ejectify")}return I}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:b.name}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:b.maxHealth,value:b.health/b.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]},children:(0,a.round)(b.health,0)})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",color:V[b.stat][0],children:V[b.stat][1]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:b.maxTemp,value:b.bodyTemperature/b.maxTemp,color:k[b.temperatureSuitability+3],children:[(0,a.round)(b.btCelsius,0),"\xB0C,",(0,a.round)(b.btFaren,0),"\xB0F"]})}),!!b.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Blood Level",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:b.bloodMax,value:b.bloodLevel/b.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[b.bloodPercent,"%, ",b.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pulse",verticalAlign:"middle",children:[b.pulse," BPM"]})],4)]})})},m=function(p,v){var g=(0,t.useBackend)(v),h=g.data,N=h.occupant;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Damage",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:y.map(function(b,B){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:b[0],children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:"100",value:N[b[1]]/100,ranges:S,children:(0,a.round)(N[b[1]],0)},B)},B)})})})},d=function(p,v){var g=(0,t.useBackend)(v),h=g.act,N=g.data,b=N.hasOccupant,B=N.isBeakerLoaded,I=N.beakerMaxSpace,L=N.beakerFreeSpace,T=N.dialysis,x=T&&L>0;return(0,e.createComponentVNode)(2,o.Section,{title:"Dialysis",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!B||L<=0||!b,selected:x,icon:x?"toggle-on":"toggle-off",content:x?"Active":"Inactive",onClick:function(){function A(){return h("togglefilter")}return A}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!B,icon:"eject",content:"Eject",onClick:function(){function A(){return h("removebeaker")}return A}()})],4),children:B?(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining Space",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:I,value:L/I,ranges:{good:[.5,1/0],average:[.25,.5],bad:[-1/0,.25]},children:[L,"u"]})})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No beaker loaded."})})},l=function(p,v){var g=(0,t.useBackend)(v),h=g.act,N=g.data,b=N.occupant,B=N.chemicals,I=N.maxchem,L=N.amounts;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Chemicals",children:B.map(function(T,x){var A="",E;return T.overdosing?(A="bad",E=(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-circle"}),"\xA0 Overdosing!"]})):T.od_warning&&(A="average",E=(0,e.createComponentVNode)(2,o.Box,{color:"average",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle"}),"\xA0 Close to overdosing"]})),(0,e.createComponentVNode)(2,o.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{title:T.title,level:"3",mx:"0",lineHeight:"18px",buttons:E,children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:I,value:T.occ_amount/I,color:A,title:"Amount of chemicals currently inside the occupant / Total amount injectable by this machine",mr:"0.5rem",children:[T.pretty_amount,"/",I,"u"]}),L.map(function(M,D){return(0,e.createComponentVNode)(2,o.Button,{disabled:!T.injectable||T.occ_amount+M>I||b.stat===2,icon:"syringe",content:"Inject "+M+"u",title:"Inject "+M+"u of "+T.title+" into the occupant",mb:"0",height:"19px",onClick:function(){function P(){return h("chemical",{chemid:T.id,amount:M})}return P}()},D)})]})})},x)})})},s=function(p,v){return(0,e.createComponentVNode)(2,o.Section,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}},37763:function(w,r,n){"use strict";r.__esModule=!0,r.SlotMachine=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.SlotMachine=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data;if(u.money===null)return(0,e.createComponentVNode)(2,o.Window,{width:350,height:90,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"Could not scan your card or could not find account!"}),(0,e.createComponentVNode)(2,t.Box,{children:"Please wear or hold your ID and try again."})]})})});var c;return u.plays===1?c=u.plays+" player has tried their luck today!":c=u.plays+" players have tried their luck today!",(0,e.createComponentVNode)(2,o.Window,{width:300,height:151,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{lineHeight:2,children:c}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Credits Remaining",children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:u.money})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"10 credits to spin",children:(0,e.createComponentVNode)(2,t.Button,{icon:"coins",disabled:u.working,content:u.working?"Spinning...":"Spin",onClick:function(){function m(){return C("spin")}return m}()})})]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,lineHeight:2,color:u.resultlvl,children:u.result})]})})})}return V}()},26654:function(w,r,n){"use strict";r.__esModule=!0,r.Smartfridge=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Smartfridge=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.secure,m=u.can_dry,d=u.drying,l=u.contents;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"Secure Access: Please have your identification ready."}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:m?"Drying rack":"Contents",buttons:!!m&&(0,e.createComponentVNode)(2,t.Button,{width:4,icon:d?"power-off":"times",content:d?"On":"Off",selected:d,onClick:function(){function s(){return C("drying")}return s}()}),children:[!l&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cookie-bite",size:5,color:"brown"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No products loaded."]})}),!!l&&l.slice().sort(function(s,i){return s.display_name.localeCompare(i.display_name)}).map(function(s){return(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"55%",children:s.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"25%",children:["(",s.quantity," in stock)"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:13,children:[(0,e.createComponentVNode)(2,t.Button,{width:3,icon:"arrow-down",tooltip:"Dispense one.",content:"1",onClick:function(){function i(){return C("vend",{index:s.vend,amount:1})}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{width:"40px",minValue:0,value:0,maxValue:s.quantity,step:1,stepPixelSize:3,onChange:function(){function i(p,v){return C("vend",{index:s.vend,amount:v})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{width:4,icon:"arrow-down",content:"All",tooltip:"Dispense all.",tooltipPosition:"bottom-start",onClick:function(){function i(){return C("vend",{index:s.vend,amount:s.quantity})}return i}()})]})]},s)})]})]})})})}return V}()},71124:function(w,r,n){"use strict";r.__esModule=!0,r.Smes=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(92986),f=n(45493),V=1e3,y=r.Smes=function(){function S(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.capacityPercent,l=m.capacity,s=m.charge,i=m.inputAttempt,p=m.inputting,v=m.inputLevel,g=m.inputLevelMax,h=m.inputAvailable,N=m.outputPowernet,b=m.outputAttempt,B=m.outputting,I=m.outputLevel,L=m.outputLevelMax,T=m.outputUsed,x=d>=100&&"good"||p&&"average"||"bad",A=B&&"good"||s>0&&"average"||"bad";return(0,e.createComponentVNode)(2,f.Window,{width:340,height:345,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Stored Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:d*.01,ranges:{good:[.5,1/0],average:[.15,.5],bad:[-1/0,.15]}})}),(0,e.createComponentVNode)(2,t.Section,{title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:i?"sync-alt":"times",selected:i,onClick:function(){function E(){return c("tryinput")}return E}(),children:i?"Auto":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:x,children:d>=100&&"Fully Charged"||p&&"Charging"||"Not Charging"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Input",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:v===0,onClick:function(){function E(){return c("input",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:v===0,onClick:function(){function E(){return c("input",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:v/V,fillValue:h/V,minValue:0,maxValue:g/V,step:5,stepPixelSize:4,format:function(){function E(M){return(0,o.formatPower)(M*V,1)}return E}(),onChange:function(){function E(M,D){return c("input",{target:D*V})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:v===g,onClick:function(){function E(){return c("input",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:v===g,onClick:function(){function E(){return c("input",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available",children:(0,o.formatPower)(h)})]})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Output",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Output Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:b?"power-off":"times",selected:b,onClick:function(){function E(){return c("tryoutput")}return E}(),children:b?"On":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:A,children:N?B?"Sending":s>0?"Not Sending":"No Charge":"Not Connected"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Output",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:I===0,onClick:function(){function E(){return c("output",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:I===0,onClick:function(){function E(){return c("output",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:I/V,minValue:0,maxValue:L/V,step:5,stepPixelSize:4,format:function(){function E(M){return(0,o.formatPower)(M*V,1)}return E}(),onChange:function(){function E(M,D){return c("output",{target:D*V})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:I===L,onClick:function(){function E(){return c("output",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:I===L,onClick:function(){function E(){return c("output",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Outputting",children:(0,o.formatPower)(T)})]})})]})})})}return S}()},21786:function(w,r,n){"use strict";r.__esModule=!0,r.SolarControl=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.SolarControl=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=0,m=1,d=2,l=u.generated,s=u.generated_ratio,i=u.tracking_state,p=u.tracking_rate,v=u.connected_panels,g=u.connected_tracker,h=u.cdir,N=u.direction,b=u.rotating_direction;return(0,e.createComponentVNode)(2,o.Window,{width:490,height:277,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Scan for new hardware",onClick:function(){function B(){return C("refresh")}return B}()}),children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Solar tracker",color:g?"good":"bad",children:g?"OK":"N/A"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Solar panels",color:v>0?"good":"bad",children:v})]})}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:2,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power output",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[.66,1/0],average:[.33,.66],bad:[-1/0,.33]},minValue:0,maxValue:1,value:s,children:l+" W"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[h,"\xB0 (",N,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[i===d&&(0,e.createComponentVNode)(2,t.Box,{children:" Automated "}),i===m&&(0,e.createComponentVNode)(2,t.Box,{children:[" ",p,"\xB0/h (",b,")"," "]}),i===c&&(0,e.createComponentVNode)(2,t.Box,{children:" Tracker offline "})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[i!==d&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0",step:1,stepPixelSize:1,minValue:0,maxValue:359,value:h,onDrag:function(){function B(I,L){return C("cdir",{cdir:L})}return B}()}),i===d&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker status",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:i===c,onClick:function(){function B(){return C("track",{track:c})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"clock-o",content:"Timed",selected:i===m,onClick:function(){function B(){return C("track",{track:m})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:i===d,disabled:!g,onClick:function(){function B(){return C("track",{track:d})}return B}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[i===m&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0/h",step:1,stepPixelSize:1,minValue:-7200,maxValue:7200,value:p,format:function(){function B(I){var L=Math.sign(I)>0?"+":"-";return L+Math.abs(I)}return B}(),onDrag:function(){function B(I,L){return C("tdir",{tdir:L})}return B}()}),i===c&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Tracker offline "}),i===d&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]})]})})]})})}return V}()},31202:function(w,r,n){"use strict";r.__esModule=!0,r.SpawnersMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.SpawnersMenu=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.spawners||[];return(0,e.createComponentVNode)(2,o.Window,{width:700,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{children:c.map(function(m){return(0,e.createComponentVNode)(2,t.Section,{mb:.5,title:m.name+" ("+m.amount_left+" left)",level:2,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Jump",onClick:function(){function d(){return C("jump",{ID:m.uids})}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Spawn",onClick:function(){function d(){return C("spawn",{ID:m.uids})}return d}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mb:1,fontSize:"16px",children:m.desc}),!!m.fluff&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},textColor:"#878787",fontSize:"14px",children:m.fluff}),!!m.important_info&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mt:1,bold:!0,color:"red",fontSize:"18px",children:m.important_info})]},m.name)})})})})}return V}()},84800:function(w,r,n){"use strict";r.__esModule=!0,r.SpecMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.SpecMenu=function(){function C(u,c){return(0,e.createComponentVNode)(2,o.Window,{width:1100,height:600,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,k)]})})})}return C}(),V=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Hemomancer",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function i(){return d("hemomancer")}return i}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on blood magic and the manipulation of blood around you.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Vampiric claws",16),(0,e.createTextVNode)(": Unlocked at 150 blood, allows you to summon a robust pair of claws that attack rapidly, drain a targets blood, and heal you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood Barrier",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to select two turfs and create a wall between them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood tendrils",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to slow everyone in a targeted 3x3 area after a short delay.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Sanguine pool",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to travel at high speeds for a short duration. Doing this leaves behind blood splatters. You can move through anything but walls and space when doing this.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Predator senses",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to sniff out anyone within the same sector as you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood eruption",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to manipulate all nearby blood splatters, in 4 tiles around you, into spikes that impale anyone stood ontop of them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"The blood bringers rite",16),(0,e.createTextVNode)(": When toggled you will rapidly drain the blood of everyone who is nearby and use it to heal yourself slightly and remove any incapacitating effects rapidly.")],4)]})})},y=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Umbrae",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function i(){return d("umbrae")}return i}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on darkness, stealth ambushing and mobility.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Cloak of darkness",16),(0,e.createTextVNode)(": Unlocked at 150 blood, when toggled, allows you to become nearly invisible and move rapidly when in dark regions. While active, burn damage is more effective against you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow anchor",16),(0,e.createTextVNode)(": Unlocked at 250 blood, casting it will create an anchor at the cast location after a short delay. If you then cast the ability again, you are teleported back to the anchor. If you do not cast again within 2 minutes, you 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.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow snare",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to summon a trap that when crossed blinds and ensnares the victim. This trap is hard to see, but withers in the light.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Dark passage",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to target a turf on screen, you will then teleport to that turf.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Extinguish",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to snuff out nearby electronic light sources and glowshrooms.")],4),(0,e.createVNode)(1,"b",null,"Shadow boxing",16),": Unlocked at 800 blood, sends out shadow clones towards a target, damaging them while you remain in range.",(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Eternal darkness",16),(0,e.createTextVNode)(": When toggled, you consume yourself in unholy darkness, only the strongest of lights will be able to see through it. Inside the radius, nearby creatures will freeze and energy projectiles will deal less damage.")],4),(0,e.createVNode)(1,"p",null,"In addition, you also gain permanent X-ray vision.",16)]})})},S=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Gargantua",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function i(){return d("gargantua")}return i}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on tenacity and melee damage.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rejuvenate",16),(0,e.createTextVNode)(": Will heal you at an increased rate based on how much damage you have taken.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell",16),(0,e.createTextVNode)(": Unlocked at 150 blood, increases your resistance to physical damage, stuns and stamina for 30 seconds. While it is active you cannot fire guns.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Seismic stomp",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to stomp the ground to send out a shockwave, knocking people back.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood rush",16),(0,e.createTextVNode)(": Unlocked at 250 blood, gives you a short speed boost when cast.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell II",16),(0,e.createTextVNode)(": Unlocked at 400 blood, increases all melee damage by 10.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Overwhelming force",16),(0,e.createTextVNode)(": Unlocked at 600 blood, when toggled, if you bump into a door that you do not have access to, it will force it open. In addition, you cannot be pushed or pulled while it is active.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Demonic grasp",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to send out a demonic hand to snare someone. If you are on disarm/grab intent you will push/pull the target, respectively.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Charge",16),(0,e.createTextVNode)(": Unlocked at 800 blood, you gain the ability to charge at a target. Destroying and knocking back pretty much anything you collide with.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Desecrated Duel",16),(0,e.createTextVNode)(": Leap towards a visible enemy, creating an arena upon landing, infusing you with increased regeneration, and granting you resistance to internal damages.")],4)]})})},k=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Dantalion",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function i(){return d("dantalion")}return i}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on thralling and illusions.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Enthrall",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Thralls your target to your will, requires you to stand still. Does not work on mindshielded or already enthralled/mindslaved people.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall cap",16),(0,e.createTextVNode)(": You can only thrall a max of 1 person at a time. This can be increased at 400 blood, 600 blood and at full power to a max of 4 thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall commune",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Allows you to talk to your thralls, your thralls can talk back in the same way.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Subspace swap",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to swap positions with a target.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Pacify",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to pacify a target, preventing them from causing harm for 40 seconds.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Decoy",16),(0,e.createTextVNode)(": Unlocked at 400 blood, briefly turn invisible and send out an illusion to fool everyone nearby.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rally thralls",16),(0,e.createTextVNode)(": Unlocked at 600 blood, removes all incapacitating effects from nearby thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood bond",16),(0,e.createTextVNode)(": Unlocked at 800 blood, when cast, all nearby thralls become linked to you. If anyone in the network takes damage, it is shared equally between everyone in the network. If a thrall goes out of range, they will be removed from the network.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Mass Hysteria",16),(0,e.createTextVNode)(": Casts a powerful illusion that blinds and then makes everyone nearby perceive others as random animals.")],4)]})})}},46501:function(w,r,n){"use strict";r.__esModule=!0,r.StationAlertConsoleContent=r.StationAlertConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.StationAlertConsole=function(){function y(){return(0,e.createComponentVNode)(2,o.Window,{width:325,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,V)})})}return y}(),V=r.StationAlertConsoleContent=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.data,c=u.alarms||[],m=c.Fire||[],d=c.Atmosphere||[],l=c.Power||[];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Fire Alarms",children:(0,e.createVNode)(1,"ul",null,[m.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),m.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Atmospherics Alarms",children:(0,e.createVNode)(1,"ul",null,[d.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),d.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Alarms",children:(0,e.createVNode)(1,"ul",null,[l.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),l.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)})],4)}return y}()},18565:function(w,r,n){"use strict";r.__esModule=!0,r.StationTraitsPanel=void 0;var e=n(96524),a=n(50640),t=n(67765),o=n(17899),f=n(24674),V=n(45493),y=function(u){return u[u.SetupFutureStationTraits=0]="SetupFutureStationTraits",u[u.ViewStationTraits=1]="ViewStationTraits",u}(y||{}),S=function(c,m){var d=(0,o.useBackend)(m),l=d.act,s=d.data,i=s.future_station_traits,p=(0,o.useLocalState)(m,"selectedFutureTrait",null),v=p[0],g=p[1],h=Object.fromEntries(s.valid_station_traits.map(function(b){return[b.name,b.path]})),N=Object.keys(h);return N.sort(),(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Dropdown,{displayText:!v&&"Select trait to add...",onSelected:g,options:N,selected:v,width:"100%"})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button,{color:"green",icon:"plus",onClick:function(){function b(){if(v){var B=h[v],I=[B];if(i){var L,T=i.map(function(x){return x.path});if(T.indexOf(B)!==-1)return;I=(L=I).concat.apply(L,T)}l("setup_future_traits",{station_traits:I})}}return b}(),children:"Add"})})]}),(0,e.createComponentVNode)(2,f.Divider),Array.isArray(i)?i.length>0?(0,e.createComponentVNode)(2,f.Stack,{vertical:!0,fill:!0,children:i.map(function(b){return(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:b.name}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button,{color:"red",icon:"times",onClick:function(){function B(){l("setup_future_traits",{station_traits:(0,a.filterMap)(i,function(I){if(I.path!==b.path)return I.path})})}return B}(),children:"Delete"})})]})},b.path)})}):(0,e.createComponentVNode)(2,f.Box,{textAlign:"center",children:[(0,e.createComponentVNode)(2,f.Box,{children:"No station traits will run next round."}),(0,e.createComponentVNode)(2,f.Button,{mt:1,fluid:!0,color:"good",icon:"times",tooltip:"The next round will roll station traits randomly, just like normal",onClick:function(){function b(){return l("clear_future_traits")}return b}(),children:"Run Station Traits Normally"})]}):(0,e.createComponentVNode)(2,f.Box,{textAlign:"center",children:[(0,e.createComponentVNode)(2,f.Box,{children:"No future station traits are planned."}),(0,e.createComponentVNode)(2,f.Button,{mt:1,fluid:!0,color:"red",icon:"times",onClick:function(){function b(){return l("setup_future_traits",{station_traits:[]})}return b}(),children:"Prevent station traits from running next round"})]})]})},k=function(c,m){var d=(0,o.useBackend)(m),l=d.act,s=d.data;return s.current_traits.length>0?(0,e.createComponentVNode)(2,f.Stack,{vertical:!0,fill:!0,children:s.current_traits.map(function(i){return(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:i.name}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button.Confirm,{content:"Revert",color:"red",disabled:s.too_late_to_revert||!i.can_revert,tooltip:!i.can_revert&&"This trait is not revertable."||s.too_late_to_revert&&"It's too late to revert station traits, the round has already started.",icon:"times",onClick:function(){function p(){return l("revert",{ref:i.ref})}return p}()})})]})},i.ref)})}):(0,e.createComponentVNode)(2,f.Box,{textAlign:"center",children:"There are no active station traits."})},C=r.StationTraitsPanel=function(){function u(c,m){var d=(0,o.useLocalState)(m,"station_traits_tab",y.ViewStationTraits),l=d[0],s=d[1],i;switch(l){case y.SetupFutureStationTraits:i=(0,e.createComponentVNode)(2,S);break;case y.ViewStationTraits:i=(0,e.createComponentVNode)(2,k);break;default:(0,t.exhaustiveCheck)(l)}return(0,e.createComponentVNode)(2,V.Window,{title:"Modify Station Traits",height:350,width:350,children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Tabs,{children:[(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"eye",selected:l===y.ViewStationTraits,onClick:function(){function p(){return s(y.ViewStationTraits)}return p}(),children:"View"}),(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"edit",selected:l===y.SetupFutureStationTraits,onClick:function(){function p(){return s(y.SetupFutureStationTraits)}return p}(),children:"Edit"})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{m:0,children:[(0,e.createComponentVNode)(2,f.Divider),i]})]})})})}return u}()},95147:function(w,r,n){"use strict";r.__esModule=!0,r.StripMenu=void 0;var e=n(96524),a=n(50640),t=n(17442),o=n(17899),f=n(24674),V=n(45493),y=5,S=5,k="64px",C=function(i){return i[0]+"/"+i[1]},u=function(i){var p=i.align,v=i.children;return(0,e.createComponentVNode)(2,f.Box,{style:{position:"absolute",left:p==="left"?"6px":"48px","text-align":p,"text-shadow":"2px 2px 2px #000",top:"2px"},children:v})},c={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:C([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:C([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:C([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:C([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:C([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:C([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:C([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:C([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:C([1,4])},jumpsuit:{displayName:"uniform",gridSpot:C([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:C([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:C([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:C([2,3]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,u,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:C([2,4]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,u,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:C([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:C([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:C([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:C([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:C([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:C([3,4]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:C([3,3]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:C([4,4]),image:"inventory-pda.png"}},d=function(s){return s[s.Completely=1]="Completely",s[s.Hidden=2]="Hidden",s}(d||{}),l=r.StripMenu=function(){function s(i,p){for(var v=(0,o.useBackend)(p),g=v.act,h=v.data,N=new Map,b=0,B=Object.keys(h.items);b=.01})},(0,a.sortBy)(function(T){return-T.amount})])(v.gases||[]),L=Math.max.apply(Math,[1].concat(I.map(function(T){return T.amount})));return(0,e.createComponentVNode)(2,S.Window,{width:550,height:185,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"270px",children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Metrics",children:(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,V.ProgressBar,{value:h/100,ranges:{good:[.9,1/0],average:[.5,.9],bad:[-1/0,.5]}})}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Relative EER",children:(0,e.createComponentVNode)(2,V.ProgressBar,{value:N,minValue:0,maxValue:5e3,ranges:{good:[-1/0,5e3],average:[5e3,7e3],bad:[7e3,1/0]},children:(0,o.toFixed)(N)+" MeV/cm3"})}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,V.ProgressBar,{value:u(b),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.toFixed)(b)+" K"})}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,V.ProgressBar,{value:u(B),minValue:0,maxValue:u(5e4),ranges:{good:[u(1),u(300)],average:[-1/0,u(1e3)],bad:[u(1e3),1/0]},children:(0,o.toFixed)(B)+" kPa"})})]})})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,basis:0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Gases",buttons:(0,e.createComponentVNode)(2,V.Button,{icon:"arrow-left",content:"Back",onClick:function(){function T(){return p("back")}return T}()}),children:(0,e.createComponentVNode)(2,V.LabeledList,{children:I.map(function(T){return(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:(0,y.getGasLabel)(T.name),children:(0,e.createComponentVNode)(2,V.ProgressBar,{color:(0,y.getGasColor)(T.name),value:T.amount,minValue:0,maxValue:L,children:(0,o.toFixed)(T.amount,2)+"%"})},T.name)})})})})]})})})}},30047:function(w,r,n){"use strict";r.__esModule=!0,r.SyndicateComputerSimple=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.SyndicateComputerSimple=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data;return(0,e.createComponentVNode)(2,o.Window,{theme:"syndicate",width:400,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:u.rows.map(function(c){return(0,e.createComponentVNode)(2,t.Section,{title:c.title,buttons:(0,e.createComponentVNode)(2,t.Button,{content:c.buttontitle,disabled:c.buttondisabled,tooltip:c.buttontooltip,tooltipPosition:"left",onClick:function(){function m(){return C(c.buttonact)}return m}()}),children:[c.status,!!c.bullets&&(0,e.createComponentVNode)(2,t.Box,{children:c.bullets.map(function(m){return(0,e.createComponentVNode)(2,t.Box,{children:m},m)})})]},c.title)})})})}return V}()},28830:function(w,r,n){"use strict";r.__esModule=!0,r.TEG=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(S){return S.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")},V=r.TEG=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data;return c.error?(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:[c.error,(0,e.createComponentVNode)(2,t.Button,{icon:"circle",content:"Recheck",onClick:function(){function m(){return u("check")}return m}()})]})})}):(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Cold Loop ("+c.cold_dir+")",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cold Inlet",children:[f(c.cold_inlet_temp)," K,"," ",f(c.cold_inlet_pressure)," kPa"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cold Outlet",children:[f(c.cold_outlet_temp)," K,"," ",f(c.cold_outlet_pressure)," kPa"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Hot Loop ("+c.hot_dir+")",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hot Inlet",children:[f(c.hot_inlet_temp)," K,"," ",f(c.hot_inlet_pressure)," kPa"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hot Outlet",children:[f(c.hot_outlet_temp)," K,"," ",f(c.hot_outlet_pressure)," kPa"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Output",children:[f(c.output_power)," W",!!c.warning_switched&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Cold inlet temperature exceeds hot inlet temperature."}),!!c.warning_cold_pressure&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Cold circulator inlet pressure is under 1,000 kPa."}),!!c.warning_hot_pressure&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Hot circulator inlet pressure is under 1,000 kPa."})]})]})})}return y}()},67432:function(w,r,n){"use strict";r.__esModule=!0,r.TTSSeedsExplorerContent=r.TTSSeedsExplorer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f={0:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u044B\u0435",1:"Tier I",2:"Tier II",3:"Tier III",4:"Tier IV",5:"Tier V"},V={male:"\u041C\u0443\u0436\u0441\u043A\u043E\u0439",female:"\u0416\u0435\u043D\u0441\u043A\u0438\u0439"},y={\u041C\u0443\u0436\u0441\u043A\u043E\u0439:{icon:"mars",color:"blue"},\u0416\u0435\u043D\u0441\u043A\u0438\u0439:{icon:"venus",color:"purple"},\u041B\u044E\u0431\u043E\u0439:{icon:"venus-mars",color:"white"}},S=function(c,m,d,l){return l===void 0&&(l=null),c.map(function(s){var i,p=(i=s[l])!=null?i:s;return(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:m.includes(s),content:p,onClick:function(){function v(){m.includes(s)?d(m.filter(function(g){var h;return((h=g[l])!=null?h:g)!==s})):d([s].concat(m))}return v}()},p)})},k=r.TTSSeedsExplorer=function(){function u(){return(0,e.createComponentVNode)(2,o.Window,{width:600,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,C)})})})}return u}(),C=r.TTSSeedsExplorerContent=function(){function u(c,m){var d=(0,a.useBackend)(m),l=d.act,s=d.data,i=s.providers,p=s.seeds,v=s.selected_seed,g=s.phrases,h=s.donator_level,N=s.character_gender,b=p.map(function(ee){return ee.category}).filter(function(ee,oe,ue){return ue.indexOf(ee)===oe}),B=p.map(function(ee){return ee.gender}).filter(function(ee,oe,ue){return ue.indexOf(ee)===oe}),I=p.map(function(ee){return ee.required_donator_level}).filter(function(ee,oe,ue){return ue.indexOf(ee)===oe}).sort(function(ee,oe){return ee-oe}).map(function(ee){return f[ee]}),L=(0,a.useLocalState)(m,"selectedProviders",i),T=L[0],x=L[1],A=(0,a.useLocalState)(m,"selectedGenders",B.includes(V[N])?[V[N]]:B),E=A[0],M=A[1],D=(0,a.useLocalState)(m,"selectedCategories",b),P=D[0],R=D[1],j=(0,a.useLocalState)(m,"selectedDonatorLevels",I.includes(f[h])?I.slice(0,I.indexOf(f[h])+1):I),F=j[0],W=j[1],_=(0,a.useLocalState)(m,"selectedPhrase",g[0]),K=_[0],H=_[1],X=(0,a.useLocalState)(m,"searchtext",""),Y=X[0],J=X[1],le=S(i,T,x,"name"),ce=S(B,E,M),fe=S(b,P,R),pe=S(I,F,W),he=(0,e.createComponentVNode)(2,t.Dropdown,{options:g,selected:K.replace(/(.{60})..+/,"$1..."),width:"445px",onSelected:function(){function ee(oe){return H(oe)}return ee}()}),te=(0,e.createComponentVNode)(2,t.Input,{placeholder:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435...",width:"100%",onInput:function(){function ee(oe,ue){return J(ue)}return ee}()}),Q=p.sort(function(ee,oe){var ue=ee.name.toLowerCase(),re=oe.name.toLowerCase();return ue>re?1:ue0&&v!==ee.name?"orange":"white",children:ee.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:v===ee.name?.5:.25,textAlign:"left",children:ee.category}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:.5,textColor:v===ee.name?"white":y[ee.gender].color,textAlign:"left",children:(0,e.createComponentVNode)(2,t.Icon,{mx:1,size:1.2,name:y[ee.gender].icon})}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:.5,textColor:"white",textAlign:"right",children:ee.required_donator_level>0&&(0,e.createFragment)([f[ee.required_donator_level],(0,e.createComponentVNode)(2,t.Icon,{ml:1,mr:2,name:"coins"})],0)})]},ee.name)});return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{height:"175px",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u0424\u0438\u043B\u044C\u0442\u0440\u044B",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u044B",children:le}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u043B",children:ce}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438",children:pe}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0424\u0440\u0430\u0437\u0430",children:he}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u0438\u0441\u043A",children:te})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{height:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u041A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u0438",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"\u0423\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0451",disabled:P.length===0,onClick:function(){function ee(){return R([])}return ee}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0451",disabled:P.length===b.length,onClick:function(){function ee(){return R(b)}return ee}()})],4),children:fe})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u0413\u043E\u043B\u043E\u0441\u0430 ("+Q.length+"/"+p.length+")",children:(0,e.createComponentVNode)(2,t.Table,{children:ae})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.BlockQuote,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"\u0414\u043B\u044F \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044F \u0438 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044F \u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0430 \u0432 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u0445 \u0440\u0430\u0441\u0442\u0443\u0449\u0438\u0445 \u0440\u0430\u0441\u0445\u043E\u0434\u043E\u0432 \u0447\u0430\u0441\u0442\u044C \u0433\u043E\u043B\u043E\u0441\u043E\u0432 \u043F\u0440\u0438\u0448\u043B\u043E\u0441\u044C \u0441\u0434\u0435\u043B\u0430\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u043C\u0438 \u0442\u043E\u043B\u044C\u043A\u043E \u0437\u0430 \u043C\u0430\u0442\u0435\u0440\u0438\u0430\u043B\u044C\u043D\u0443\u044E \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0443 \u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0430."}),(0,e.createComponentVNode)(2,t.Box,{mt:2,italic:!0,children:"\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435 \u043E\u0431 \u044D\u0442\u043E\u043C \u043C\u043E\u0436\u043D\u043E \u0443\u0437\u043D\u0430\u0442\u044C \u0432 \u043D\u0430\u0448\u0435\u043C Discord-\u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0435."})]})})})],4)}return u}()},39903:function(w,r,n){"use strict";r.__esModule=!0,r.TachyonArrayContent=r.TachyonArray=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.TachyonArray=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.records,d=m===void 0?[]:m,l=c.explosion_target,s=c.toxins_tech,i=c.printing;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shift's Target",children:l}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Toxins Level",children:s}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Administration",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print All Logs",disabled:!d.length||i,align:"center",onClick:function(){function p(){return u("print_logs")}return p}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete All Logs",disabled:!d.length,color:"bad",align:"center",onClick:function(){function p(){return u("delete_logs")}return p}()})]})]})}),d.length?(0,e.createComponentVNode)(2,V):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No Records"})]})})}return y}(),V=r.TachyonArrayContent=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.records,d=m===void 0?[]:m;return(0,e.createComponentVNode)(2,t.Section,{title:"Logged Explosions",children:(0,e.createComponentVNode)(2,t.Flex,{children:(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Time"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Epicenter"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actual Size"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Theoretical Size"})]}),d.map(function(l){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.logged_time}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.epicenter}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.actual_size_message}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.theoretical_size_message}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete",color:"bad",onClick:function(){function s(){return u("delete_record",{index:l.index})}return s}()})})]},l.index)})]})})})})}return y}()},17068:function(w,r,n){"use strict";r.__esModule=!0,r.Tank=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Tank=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c;return u.has_mask?c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,width:"76%",icon:u.connected?"check":"times",content:u.connected?"Internals On":"Internals Off",selected:u.connected,onClick:function(){function m(){return C("internals")}return m}()})}):c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",color:"red",children:"No Mask Equipped"}),(0,e.createComponentVNode)(2,o.Window,{width:325,height:135,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tank Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:u.tankPressure/1013,ranges:{good:[.35,1/0],average:[.15,.35],bad:[-1/0,.15]},children:u.tankPressure+" kPa"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Release Pressure",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:u.ReleasePressure===u.minReleasePressure,tooltip:"Min",onClick:function(){function m(){return C("pressure",{pressure:"min"})}return m}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:parseFloat(u.releasePressure),width:"65px",unit:"kPa",minValue:u.minReleasePressure,maxValue:u.maxReleasePressure,onChange:function(){function m(d,l){return C("pressure",{pressure:l})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:u.ReleasePressure===u.maxReleasePressure,tooltip:"Max",onClick:function(){function m(){return C("pressure",{pressure:"max"})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"undo",content:"",disabled:u.ReleasePressure===u.defaultReleasePressure,tooltip:"Reset",onClick:function(){function m(){return C("pressure",{pressure:"reset"})}return m}()})]}),c]})})})})}return V}()},69161:function(w,r,n){"use strict";r.__esModule=!0,r.TankDispenser=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.TankDispenser=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.o_tanks,m=u.p_tanks;return(0,e.createComponentVNode)(2,o.Window,{width:250,height:105,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Dispense Oxygen Tank ("+c+")",disabled:c===0,icon:"arrow-circle-down",onClick:function(){function d(){return C("oxygen")}return d}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{mt:1,fluid:!0,content:"Dispense Plasma Tank ("+m+")",disabled:m===0,icon:"arrow-circle-down",onClick:function(){function d(){return C("plasma")}return d}()})})]})})})}return V}()},87394:function(w,r,n){"use strict";r.__esModule=!0,r.TcommsCore=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.TcommsCore=function(){function C(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.ion,i=(0,a.useLocalState)(c,"tabIndex",0),p=i[0],v=i[1],g=function(){function h(N){switch(N){case 0:return(0,e.createComponentVNode)(2,y);case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,k);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}}return h}();return(0,e.createComponentVNode)(2,o.Window,{width:900,height:520,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[s===1&&(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"wrench",selected:p===0,onClick:function(){function h(){return v(0)}return h}(),children:"Configuration"},"ConfigPage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"link",selected:p===1,onClick:function(){function h(){return v(1)}return h}(),children:"Device Linkage"},"LinkagePage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"user-times",selected:p===2,onClick:function(){function h(){return v(2)}return h}(),children:"User Filtering"},"FilterPage")]}),g(p)]})})}return C}(),V=function(){return(0,e.createComponentVNode)(2,t.NoticeBox,{children:"ERROR: An Ionospheric overload has occured. Please wait for the machine to reboot. This cannot be manually done."})},y=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.active,i=l.sectors_available,p=l.nttc_toggle_jobs,v=l.nttc_toggle_job_color,g=l.nttc_toggle_name_color,h=l.nttc_toggle_command_bold,N=l.nttc_job_indicator_type,b=l.nttc_setting_language,B=l.network_id;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Machine Power",children:(0,e.createComponentVNode)(2,t.Button,{content:s?"On":"Off",selected:s,icon:"power-off",onClick:function(){function I(){return d("toggle_active")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sector Coverage",children:i})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Radio Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcements",children:(0,e.createComponentVNode)(2,t.Button,{content:p?"On":"Off",selected:p,icon:"user-tag",onClick:function(){function I(){return d("nttc_toggle_jobs")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:v?"On":"Off",selected:v,icon:"clipboard-list",onClick:function(){function I(){return d("nttc_toggle_job_color")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:g?"On":"Off",selected:g,icon:"user-tag",onClick:function(){function I(){return d("nttc_toggle_name_color")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Command Amplification",children:(0,e.createComponentVNode)(2,t.Button,{content:h?"On":"Off",selected:h,icon:"volume-up",onClick:function(){function I(){return d("nttc_toggle_command_bold")}return I}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Advanced",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcement Format",children:(0,e.createComponentVNode)(2,t.Button,{content:N||"Unset",selected:N,icon:"pencil-alt",onClick:function(){function I(){return d("nttc_job_indicator_type")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Language Conversion",children:(0,e.createComponentVNode)(2,t.Button,{content:b||"Unset",selected:b,icon:"globe",onClick:function(){function I(){return d("nttc_setting_language")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:B||"Unset",selected:B,icon:"server",onClick:function(){function I(){return d("network_id")}return I}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Maintenance",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Import Configuration",icon:"file-import",onClick:function(){function I(){return d("import")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Export Configuration",icon:"file-export",onClick:function(){function I(){return d("export")}return I}()})]})],4)},S=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.link_password,i=l.relay_entries;return(0,e.createComponentVNode)(2,t.Section,{title:"Device Linkage",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linkage Password",children:(0,e.createComponentVNode)(2,t.Button,{content:s||"Unset",selected:s,icon:"lock",onClick:function(){function p(){return d("change_password")}return p}()})})}),(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Unlink"})]}),i.map(function(p){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.status===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Online"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Offline"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",onClick:function(){function v(){return d("unlink",{addr:p.addr})}return v}()})})]},p.addr)})]})]})},k=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=m.data,s=l.filtered_users;return(0,e.createComponentVNode)(2,t.Section,{title:"User Filtering",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Add User",icon:"user-plus",onClick:function(){function i(){return d("add_filter")}return i}()}),children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"90%"},children:"User"}),(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"10%"},children:"Actions"})]}),s.map(function(i){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:i}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"user-times",onClick:function(){function p(){return d("remove_filter",{user:i})}return p}()})})]},i)})]})})}},55684:function(w,r,n){"use strict";r.__esModule=!0,r.TcommsRelay=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.TcommsRelay=function(){function S(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.linked,l=m.active,s=m.network_id;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:292,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Relay Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Machine Power",children:(0,e.createComponentVNode)(2,t.Button,{content:l?"On":"Off",selected:l,icon:"power-off",onClick:function(){function i(){return c("toggle_active")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:s||"Unset",selected:s,icon:"server",onClick:function(){function i(){return c("network_id")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Link Status",children:d===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Linked"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Unlinked"})})]})}),d===1?(0,e.createComponentVNode)(2,V):(0,e.createComponentVNode)(2,y)]})})}return S}(),V=function(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.linked_core_id,l=m.linked_core_addr,s=m.hidden_link;return(0,e.createComponentVNode)(2,t.Section,{title:"Link Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core ID",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core Address",children:l}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hidden Link",children:(0,e.createComponentVNode)(2,t.Button,{content:s?"Yes":"No",icon:s?"eye-slash":"eye",selected:s,onClick:function(){function i(){return c("toggle_hidden_link")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unlink",children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",color:"red",onClick:function(){function i(){return c("unlink")}return i}()})})]})})},y=function(k,C){var u=(0,a.useBackend)(C),c=u.act,m=u.data,d=m.cores;return(0,e.createComponentVNode)(2,t.Section,{title:"Detected Cores",children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Link"})]}),d.map(function(l){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Link",icon:"link",onClick:function(){function s(){return c("link",{addr:l.addr})}return s}()})})]},l.addr)})]})})}},81088:function(w,r,n){"use strict";r.__esModule=!0,r.Teleporter=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Teleporter=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.targetsTeleport?u.targetsTeleport:{},m=0,d=1,l=2,s=u.calibrated,i=u.calibrating,p=u.powerstation,v=u.regime,g=u.teleporterhub,h=u.target,N=u.locked;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:270,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:[(!p||!g)&&(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Error",children:[g,!p&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Powerstation not linked "}),p&&!g&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Teleporter hub not linked "})]}),p&&g&&(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Status",children:[(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:8.5,color:"label",children:"Teleport target:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[v===m&&(0,e.createComponentVNode)(2,t.Dropdown,{width:18.2,selected:h,disabled:i,options:Object.keys(c),color:h!=="None"?"default":"bad",onSelected:function(){function b(B){return C("settarget",{x:c[B].x,y:c[B].y,z:c[B].z})}return b}()}),v===d&&(0,e.createComponentVNode)(2,t.Dropdown,{width:18.2,selected:h,disabled:i,options:Object.keys(c),color:h!=="None"?"default":"bad",onSelected:function(){function b(B){return C("settarget",{x:c[B].x,y:c[B].y,z:c[B].z})}return b}()}),v===l&&(0,e.createComponentVNode)(2,t.Box,{children:h})]})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:8.5,color:"label",children:"Regime:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Gate",tooltip:"Teleport to another teleport hub.",tooltipPosition:"top",color:v===d?"good":null,onClick:function(){function b(){return C("setregime",{regime:d})}return b}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Teleporter",tooltip:"One-way teleport.",tooltipPosition:"top",color:v===m?"good":null,onClick:function(){function b(){return C("setregime",{regime:m})}return b}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"GPS",tooltip:"Teleport to a location stored in a GPS device.",tooltipPosition:"top-end",color:v===l?"good":null,disabled:!N,onClick:function(){function b(){return C("setregime",{regime:l})}return b}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{label:"Calibration",mt:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:8.5,color:"label",children:"Calibration:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[h!=="None"&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:15.8,textAlign:"center",mt:.5,children:i&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"In Progress"})||s&&(0,e.createComponentVNode)(2,t.Box,{color:"good",children:"Optimal"})||(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Sub-Optimal"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",tooltip:"Calibrates the hub. Accidents may occur when the calibration is not optimal.",tooltipPosition:"bottom-end",disabled:!!(s||i),onClick:function(){function b(){return C("calibrate")}return b}()})})]}),h==="None"&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"21px",children:"No target set"})]})]})]}),!!(N&&p&&g&&v===l)&&(0,e.createComponentVNode)(2,t.Section,{title:"GPS",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload GPS data",tooltip:"Loads the GPS data from the device.",icon:"upload",onClick:function(){function b(){return C("load")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject",tooltip:"Ejects the GPS device",icon:"eject",onClick:function(){function b(){return C("eject")}return b}()})]})})]})})})})}return V}()},65875:function(w,r,n){"use strict";r.__esModule=!0,r.TelescienceConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.TelescienceConsole=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.last_msg,m=u.linked_pad,d=u.held_gps,l=u.lastdata,s=u.power_levels,i=u.current_max_power,p=u.current_power,v=u.current_bearing,g=u.current_elevation,h=u.current_sector,N=u.working,b=u.max_z,B=(0,a.useLocalState)(S,"dummyrot",v),I=B[0],L=B[1];return(0,e.createComponentVNode)(2,o.Window,{width:400,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createFragment)([c,!(l.length>0)||(0,e.createVNode)(1,"ul",null,l.map(function(T){return(0,e.createVNode)(1,"li",null,T,0,null,T)}),0)],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Telepad Status",children:m===1?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Bearing",children:(0,e.createComponentVNode)(2,t.Box,{inline:!0,position:"relative",children:[(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0",width:6.1,lineHeight:1.5,step:.1,minValue:0,maxValue:360,disabled:N,value:v,onDrag:function(){function T(x,A){return L(A)}return T}(),onChange:function(){function T(x,A){return C("setbear",{bear:A})}return T}()}),(0,e.createComponentVNode)(2,t.Icon,{ml:1,size:1,name:"arrow-up",rotation:I})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Elevation",children:(0,e.createComponentVNode)(2,t.NumberInput,{width:6.1,lineHeight:1.5,step:.1,minValue:0,maxValue:100,disabled:N,value:g,onChange:function(){function T(x,A){return C("setelev",{elev:A})}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Level",children:s.map(function(T,x){return(0,e.createComponentVNode)(2,t.Button,{content:T,selected:p===T,disabled:x>=i-1||N,onClick:function(){function A(){return C("setpwr",{pwr:x+1})}return A}()},T)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Sector",children:(0,e.createComponentVNode)(2,t.NumberInput,{width:6.1,lineHeight:1.5,step:1,minValue:2,maxValue:b,value:h,disabled:N,onChange:function(){function T(x,A){return C("setz",{newz:A})}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Telepad Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Send",disabled:N,onClick:function(){function T(){return C("pad_send")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Receive",disabled:N,onClick:function(){function T(){return C("pad_receive")}return T}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Crystal Maintenance",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Recalibrate Crystals",disabled:N,onClick:function(){function T(){return C("recal_crystals")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject Crystals",disabled:N,onClick:function(){function T(){return C("eject_crystals")}return T}()})]})]}):(0,e.createFragment)([(0,e.createTextVNode)("No pad linked to console. Please use a multitool to link a pad.")],4)}),(0,e.createComponentVNode)(2,t.Section,{title:"GPS Actions",children:d===1?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{disabled:d===0||N,content:"Eject GPS",onClick:function(){function T(){return C("eject_gps")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:d===0||N,content:"Store Coordinates",onClick:function(){function T(){return C("store_to_gps")}return T}()})],4):(0,e.createFragment)([(0,e.createTextVNode)("Please insert a GPS to store coordinates to it.")],4)})]})})}return V}()},96150:function(w,r,n){"use strict";r.__esModule=!0,r.TempGun=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=r.TempGun=function(){function C(u,c){var m=(0,t.useBackend)(c),d=m.act,l=m.data,s=l.target_temperature,i=l.temperature,p=l.max_temp,v=l.min_temp;return(0,e.createComponentVNode)(2,f.Window,{width:250,height:121,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target Temperature",children:[(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:10,stepPixelSize:6,minValue:v,maxValue:p,value:s,format:function(){function g(h){return(0,a.toFixed)(h,2)}return g}(),width:"50px",onDrag:function(){function g(h,N){return d("target_temperature",{target_temperature:N})}return g}()}),"\xB0C"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Current Temperature",children:(0,e.createComponentVNode)(2,o.Box,{color:y(i),bold:i>500-273.15,children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:(0,a.round)(i,2)}),"\xB0C"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power Cost",children:(0,e.createComponentVNode)(2,o.Box,{color:k(i),children:S(i)})})]})})})})}return C}(),y=function(u){return u<=-100?"blue":u<=0?"teal":u<=100?"green":u<=200?"orange":"red"},S=function(u){return u<=100-273.15?"High":u<=250-273.15?"Medium":u<=300-273.15?"Low":u<=400-273.15?"Medium":"High"},k=function(u){return u<=100-273.15?"red":u<=250-273.15?"orange":u<=300-273.15?"green":u<=400-273.15?"orange":"red"}},95484:function(w,r,n){"use strict";r.__esModule=!0,r.sanitizeMultiline=r.removeAllSkiplines=r.TextInputModal=void 0;var e=n(96524),a=n(14299),t=n(15113),o=n(17899),f=n(68100),V=n(24674),y=n(45493),S=r.sanitizeMultiline=function(){function c(m){return m.replace(/(\n|\r\n){3,}/,"\n\n")}return c}(),k=r.removeAllSkiplines=function(){function c(m){return m.replace(/[\r\n]+/,"")}return c}(),C=r.TextInputModal=function(){function c(m,d){var l=(0,o.useBackend)(d),s=l.act,i=l.data,p=i.max_length,v=i.message,g=v===void 0?"":v,h=i.multiline,N=i.placeholder,b=i.timeout,B=i.title,I=(0,o.useLocalState)(d,"input",N||""),L=I[0],T=I[1],x=function(){function M(D){if(D!==L){var P=h?S(D):k(D);T(P)}}return M}(),A=h||L.length>=40,E=130+(g.length>40?Math.ceil(g.length/4):0)+(A?80:0);return(0,e.createComponentVNode)(2,y.Window,{title:B,width:325,height:E,children:[b&&(0,e.createComponentVNode)(2,a.Loader,{value:b}),(0,e.createComponentVNode)(2,y.Window.Content,{onKeyDown:function(){function M(D){var P=window.event?D.which:D.keyCode;P===f.KEY_ENTER&&(!A||!D.shiftKey)&&s("submit",{entry:L}),P===f.KEY_ESCAPE&&s("cancel")}return M}(),children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Box,{color:"label",children:g})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,u,{input:L,onType:x})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:L,message:L.length+"/"+p})})]})})})]})}return c}(),u=function(m,d){var l=(0,o.useBackend)(d),s=l.act,i=l.data,p=i.max_length,v=i.multiline,g=m.input,h=m.onType,N=v||g.length>=40;return(0,e.createComponentVNode)(2,V.TextArea,{autoFocus:!0,autoSelect:!0,height:v||g.length>=40?"100%":"1.8rem",maxLength:p,onEscape:function(){function b(){return s("cancel")}return b}(),onEnter:function(){function b(B){N&&B.shiftKey||(B.preventDefault(),s("submit",{entry:g}))}return b}(),onInput:function(){function b(B,I){return h(I)}return b}(),placeholder:"Type something...",value:g})}},378:function(w,r,n){"use strict";r.__esModule=!0,r.ThermoMachine=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=r.ThermoMachine=function(){function y(S,k){var C=(0,t.useBackend)(k),u=C.act,c=C.data;return(0,e.createComponentVNode)(2,f.Window,{width:300,height:225,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:[(0,e.createComponentVNode)(2,o.Section,{title:"Status",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:c.temperature,format:function(){function m(d){return(0,a.toFixed)(d,2)}return m}()})," K"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pressure",children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:c.pressure,format:function(){function m(d){return(0,a.toFixed)(d,2)}return m}()})," kPa"]})]})}),(0,e.createComponentVNode)(2,o.Section,{title:"Controls",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:c.on?"power-off":"times",content:c.on?"On":"Off",selected:c.on,onClick:function(){function m(){return u("power")}return m}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Setting",textAlign:"center",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:c.cooling?"temperature-low":"temperature-high",content:c.cooling?"Cooling":"Heating",selected:c.cooling,onClick:function(){function m(){return u("cooling")}return m}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target Temperature",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"fast-backward",disabled:c.target===c.min,title:"Minimum temperature",onClick:function(){function m(){return u("target",{target:c.min})}return m}()}),(0,e.createComponentVNode)(2,o.NumberInput,{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,onDrag:function(){function m(d,l){return u("target",{target:l})}return m}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"fast-forward",disabled:c.target===c.max,title:"Maximum Temperature",onClick:function(){function m(){return u("target",{target:c.max})}return m}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"sync",disabled:c.target===c.initial,title:"Room Temperature",onClick:function(){function m(){return u("target",{target:c.initial})}return m}()})]})]})})]})})}return y}()},3365:function(w,r,n){"use strict";r.__esModule=!0,r.TransferValve=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.TransferValve=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.tank_one,m=u.tank_two,d=u.attached_device,l=u.valve;return(0,e.createComponentVNode)(2,o.Window,{width:460,height:285,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Valve Status",children:(0,e.createComponentVNode)(2,t.Button,{icon:l?"unlock":"lock",content:l?"Open":"Closed",disabled:!c||!m,onClick:function(){function s(){return C("toggle")}return s}()})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Assembly",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Configure Assembly",disabled:!d,onClick:function(){function s(){return C("device")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:d?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:d,disabled:!d,onClick:function(){function s(){return C("remove_device")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Assembly"})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Attachment One",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:c?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:c,disabled:!c,onClick:function(){function s(){return C("tankone")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Tank"})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Attachment Two",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:m?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:m,disabled:!m,onClick:function(){function s(){return C("tanktwo")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Tank"})})})})]})})}return V}()},13860:function(w,r,n){"use strict";r.__esModule=!0,r.TurbineComputer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(36121),V=r.TurbineComputer=function(){function k(C,u){var c=(0,a.useBackend)(u),m=c.act,d=c.data,l=d.compressor,s=d.compressor_broken,i=d.turbine,p=d.turbine_broken,v=d.online,g=!!(l&&!s&&i&&!p);return(0,e.createComponentVNode)(2,o.Window,{width:400,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:v?"power-off":"times",content:v?"Online":"Offline",selected:v,disabled:!g,onClick:function(){function h(){return m("toggle_power")}return h}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Disconnect",onClick:function(){function h(){return m("disconnect")}return h}()})],4),children:g?(0,e.createComponentVNode)(2,S):(0,e.createComponentVNode)(2,y)})})})}return k}(),y=function(C,u){var c=(0,a.useBackend)(u),m=c.data,d=m.compressor,l=m.compressor_broken,s=m.turbine,i=m.turbine_broken,p=m.online;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Compressor Status",color:!d||l?"bad":"good",children:l?d?"Offline":"Missing":"Online"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Turbine Status",color:!s||i?"bad":"good",children:i?s?"Offline":"Missing":"Online"})]})},S=function(C,u){var c=(0,a.useBackend)(u),m=c.data,d=m.rpm,l=m.temperature,s=m.power,i=m.bearing_heat;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Turbine Speed",children:[d," RPM"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Temp",children:[l," K"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Generated Power",children:[s," W"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Bearing Heat",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:i,minValue:0,maxValue:100,ranges:{good:[-1/0,60],average:[60,90],bad:[90,1/0]},children:(0,f.toFixed)(i)+"%"})})]})}},22169:function(w,r,n){"use strict";r.__esModule=!0,r.Uplink=void 0;var e=n(96524),a=n(50640),t=n(74041),o=n(78234),f=n(17899),V=n(24674),y=n(45493),S=n(99665),k=function(v){switch(v){case 0:return(0,e.createComponentVNode)(2,u);case 1:return(0,e.createComponentVNode)(2,c);case 2:return(0,e.createComponentVNode)(2,i);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}},C=r.Uplink=function(){function p(v,g){var h=(0,f.useBackend)(g),N=h.act,b=h.data,B=b.cart,I=(0,f.useLocalState)(g,"tabIndex",0),L=I[0],T=I[1],x=(0,f.useLocalState)(g,"searchText",""),A=x[0],E=x[1];return(0,e.createComponentVNode)(2,y.Window,{width:900,height:600,theme:"syndicate",children:[(0,e.createComponentVNode)(2,S.ComplexModal),(0,e.createComponentVNode)(2,y.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Tabs,{children:[(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:L===0,onClick:function(){function M(){T(0),E("")}return M}(),icon:"store",children:"View Market"},"PurchasePage"),(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:L===1,onClick:function(){function M(){T(1),E("")}return M}(),icon:"shopping-cart",children:["View Shopping Cart"," ",B&&B.length?"("+B.length+")":""]},"Cart"),(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:L===2,onClick:function(){function M(){T(2),E("")}return M}(),icon:"user",children:"Exploitable Information"},"ExploitableInfo"),(0,e.createComponentVNode)(2,V.Tabs.Tab,{onClick:function(){function M(){return N("lock")}return M}(),icon:"lock",children:"Lock Uplink"},"LockUplink")]})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:k(L)})]})})]})}return p}(),u=function(v,g){var h=(0,f.useBackend)(g),N=h.act,b=h.data,B=b.crystals,I=b.cats,L=(0,f.useLocalState)(g,"uplinkItems",I[0].items),T=L[0],x=L[1],A=(0,f.useLocalState)(g,"searchText",""),E=A[0],M=A[1],D=function(_,K){K===void 0&&(K="");var H=(0,o.createSearch)(K,function(X){var Y=X.hijack_only===1?"|hijack":"";return X.name+"|"+X.desc+"|"+X.cost+"tc"+Y});return(0,t.flow)([(0,a.filter)(function(X){return X==null?void 0:X.name}),K&&(0,a.filter)(H),(0,a.sortBy)(function(X){return X==null?void 0:X.name})])(_)},P=function(_){if(M(_),_==="")return x(I[0].items);x(D(I.map(function(K){return K.items}).flat(),_))},R=(0,f.useLocalState)(g,"showDesc",1),j=R[0],F=R[1];return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Section,{title:"Current Balance: "+B+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button.Checkbox,{content:"Show Descriptions",checked:j,onClick:function(){function W(){return F(!j)}return W}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Random Item",icon:"question",onClick:function(){function W(){return N("buyRandom")}return W}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Refund Currently Held Item",icon:"undo",onClick:function(){function W(){return N("refund")}return W}()})],4),children:(0,e.createComponentVNode)(2,V.Input,{fluid:!0,placeholder:"Search Equipment",onInput:function(){function W(_,K){P(K)}return W}(),value:E})})})}),(0,e.createComponentVNode)(2,V.Stack,{fill:!0,mt:.3,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V.Tabs,{vertical:!0,children:I.map(function(W){return(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:E!==""?!1:W.items===T,onClick:function(){function _(){x(W.items),M("")}return _}(),children:W.cat},W)})})})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:T.map(function(W){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,d,{i:W,showDecription:j},(0,o.decodeHtmlEntities)(W.name))},(0,o.decodeHtmlEntities)(W.name))})})})})]})]})},c=function(v,g){var h=(0,f.useBackend)(g),N=h.act,b=h.data,B=b.cart,I=b.crystals,L=b.cart_price,T=(0,f.useLocalState)(g,"showDesc",0),x=T[0],A=T[1];return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Current Balance: "+I+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button.Checkbox,{content:"Show Descriptions",checked:x,onClick:function(){function E(){return A(!x)}return E}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Empty Cart",icon:"trash",onClick:function(){function E(){return N("empty_cart")}return E}(),disabled:!B}),(0,e.createComponentVNode)(2,V.Button,{content:"Purchase Cart ("+L+"TC)",icon:"shopping-cart",onClick:function(){function E(){return N("purchase_cart")}return E}(),disabled:!B||L>I})],4),children:(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:B?B.map(function(E){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,mr:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,d,{i:E,showDecription:x,buttons:(0,e.createComponentVNode)(2,s,{i:E})})},(0,o.decodeHtmlEntities)(E.name))}):(0,e.createComponentVNode)(2,V.Box,{italic:!0,children:"Your Shopping Cart is empty!"})})})}),(0,e.createComponentVNode)(2,m)]})},m=function(v,g){var h=(0,f.useBackend)(g),N=h.act,b=h.data,B=b.cats,I=b.lucky_numbers;return(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Suggested Purchases",buttons:(0,e.createComponentVNode)(2,V.Button,{icon:"dice",content:"See more suggestions",onClick:function(){function L(){return N("shuffle_lucky_numbers")}return L}()}),children:(0,e.createComponentVNode)(2,V.Stack,{wrap:!0,children:I.map(function(L){return B[L.cat].items[L.item]}).filter(function(L){return L!=null}).map(function(L,T){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,mb:1,ml:1,width:34,backgroundColor:"rgba(255, 0, 0, 0.15)",children:(0,e.createComponentVNode)(2,d,{grow:!0,i:L})},T)})})})})},d=function(v,g){var h=v.i,N=v.showDecription,b=N===void 0?1:N,B=v.buttons,I=B===void 0?(0,e.createComponentVNode)(2,l,{i:h}):B;return(0,e.createComponentVNode)(2,V.Section,{title:(0,o.decodeHtmlEntities)(h.name),showBottom:b,buttons:I,children:b?(0,e.createComponentVNode)(2,V.Box,{italic:!0,children:(0,o.decodeHtmlEntities)(h.desc)}):null})},l=function(v,g){var h=(0,f.useBackend)(g),N=h.act,b=h.data,B=v.i,I=b.crystals;return(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button,{icon:"shopping-cart",color:B.hijack_only===1&&"red",tooltip:"Add to cart.",tooltipPosition:"left",onClick:function(){function L(){return N("add_to_cart",{item:B.obj_path})}return L}(),disabled:B.cost>I}),(0,e.createComponentVNode)(2,V.Button,{content:"Buy ("+B.cost+"TC)"+(B.refundable?" [Refundable]":""),color:B.hijack_only===1&&"red",tooltip:B.hijack_only===1&&"Hijack Agents Only!",tooltipPosition:"left",onClick:function(){function L(){return N("buyItem",{item:B.obj_path})}return L}(),disabled:B.cost>I})],4)},s=function(v,g){var h=(0,f.useBackend)(g),N=h.act,b=h.data,B=v.i,I=b.exploitable;return(0,e.createComponentVNode)(2,V.Stack,{children:[(0,e.createComponentVNode)(2,V.Button,{icon:"times",content:"("+B.cost*B.amount+"TC)",tooltip:"Remove from cart.",tooltipPosition:"left",onClick:function(){function L(){return N("remove_from_cart",{item:B.obj_path})}return L}()}),(0,e.createComponentVNode)(2,V.Button,{icon:"minus",tooltip:B.limit===0&&"Discount already redeemed!",ml:"5px",onClick:function(){function L(){return N("set_cart_item_quantity",{item:B.obj_path,quantity:--B.amount})}return L}(),disabled:B.amount<=0}),(0,e.createComponentVNode)(2,V.Button.Input,{content:B.amount,width:"45px",tooltipPosition:"bottom-end",tooltip:B.limit===0&&"Discount already redeemed!",onCommit:function(){function L(T,x){return N("set_cart_item_quantity",{item:B.obj_path,quantity:x})}return L}(),disabled:B.limit!==-1&&B.amount>=B.limit&&B.amount<=0}),(0,e.createComponentVNode)(2,V.Button,{mb:.3,icon:"plus",tooltipPosition:"bottom-start",tooltip:B.limit===0&&"Discount already redeemed!",onClick:function(){function L(){return N("set_cart_item_quantity",{item:B.obj_path,quantity:++B.amount})}return L}(),disabled:B.limit!==-1&&B.amount>=B.limit})]})},i=function(v,g){var h=(0,f.useBackend)(g),N=h.act,b=h.data,B=b.exploitable,I=(0,f.useLocalState)(g,"selectedRecord",B[0]),L=I[0],T=I[1],x=(0,f.useLocalState)(g,"searchText",""),A=x[0],E=x[1],M=function(R,j){j===void 0&&(j="");var F=(0,o.createSearch)(j,function(W){return W.name});return(0,t.flow)([(0,a.filter)(function(W){return W==null?void 0:W.name}),j&&(0,a.filter)(F),(0,a.sortBy)(function(W){return W.name})])(R)},D=M(B,A);return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Exploitable Records",children:[(0,e.createComponentVNode)(2,V.Input,{fluid:!0,mb:1,placeholder:"Search Crew",onInput:function(){function P(R,j){return E(j)}return P}()}),(0,e.createComponentVNode)(2,V.Tabs,{vertical:!0,children:D.map(function(P){return(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:P===L,onClick:function(){function R(){return T(P)}return R}(),children:P.name},P)})})]})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:L.name,children:(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Age",children:L.age}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Fingerprint",children:L.fingerprint}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Rank",children:L.rank}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Sex",children:L.sex}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Species",children:L.species})]})})})]})}},70547:function(w,r,n){"use strict";r.__esModule=!0,r.Vending=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=S.product,d=S.productStock,l=S.productImage,s=c.chargesMoney,i=c.user,p=c.usermoney,v=c.inserted_cash,g=c.vend_ready,h=c.inserted_item_name,N=!s||m.price===0,b="ERROR!",B="";N?(b="FREE",B="arrow-circle-down"):(b=m.price,B="shopping-cart");var I=!g||d===0||!N&&m.price>p&&m.price>v;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+l,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:m.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Box,{color:d<=0&&"bad"||d<=m.max_amount/2&&"average"||"good",children:[d," in stock"]})}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,disabled:I,icon:B,content:b,textAlign:"left",onClick:function(){function L(){return u("vend",{inum:m.inum})}return L}()})})]})},V=r.Vending=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.user,d=c.usermoney,l=c.inserted_cash,s=c.chargesMoney,i=c.product_records,p=i===void 0?[]:i,v=c.hidden_records,g=v===void 0?[]:v,h=c.stock,N=c.vend_ready,b=c.inserted_item_name,B=c.panel_open,I=c.speaker,L=c.imagelist,T;return T=[].concat(p),c.extended_inventory&&(T=[].concat(T,g)),T=T.filter(function(x){return!!x}),(0,e.createComponentVNode)(2,o.Window,{title:"Vending Machine",width:450,height:Math.min((s?171:89)+T.length*32,585),children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!s&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"User",buttons:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:!!b&&(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:(0,e.createVNode)(1,"span",null,b,0,{style:{"text-transform":"capitalize"}}),onClick:function(){function x(){return u("eject_item",{})}return x}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{disabled:!l,icon:"money-bill-wave-alt",content:l?(0,e.createFragment)([(0,e.createVNode)(1,"b",null,l,0),(0,e.createTextVNode)(" credits")],0):"Dispense Change",tooltip:l?"Dispense Change":null,textAlign:"left",onClick:function(){function x(){return u("change")}return x}()})})]}),children:m&&(0,e.createComponentVNode)(2,t.Box,{children:["Welcome, ",(0,e.createVNode)(1,"b",null,m.name,0),","," ",(0,e.createVNode)(1,"b",null,m.job||"Unemployed",0),"!",(0,e.createVNode)(1,"br"),"Your balance is ",(0,e.createVNode)(1,"b",null,[d,(0,e.createTextVNode)(" credits")],0),".",(0,e.createVNode)(1,"br")]})})}),!!B&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Maintenance",children:(0,e.createComponentVNode)(2,t.Button,{icon:I?"check":"volume-mute",selected:I,content:"Speaker",textAlign:"left",onClick:function(){function x(){return u("toggle_voice",{})}return x}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Products",children:(0,e.createComponentVNode)(2,t.Table,{children:T.map(function(x){return(0,e.createComponentVNode)(2,f,{product:x,productStock:h[x.name],productImage:L[x.path]},x.name)})})})})]})})})}return y}()},33045:function(w,r,n){"use strict";r.__esModule=!0,r.VolumeMixer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.VolumeMixer=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.channels;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:Math.min(95+c.length*50,565),children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:c.map(function(m,d){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.25rem",color:"label",mt:d>0&&"0.5rem",children:m.name}),(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:.5,children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-off",size:"1.5",mt:"0.1rem",onClick:function(){function l(){return C("volume",{channel:m.num,volume:0})}return l}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mx:"0.5rem",children:(0,e.createComponentVNode)(2,t.Slider,{minValue:0,maxValue:100,stepPixelSize:3.13,value:m.volume,onChange:function(){function l(s,i){return C("volume",{channel:m.num,volume:i})}return l}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-up",size:"1.5",mt:"0.1rem",onClick:function(){function l(){return C("volume",{channel:m.num,volume:100})}return l}()})})})]})})],4,m.num)})})})})}return V}()},53792:function(w,r,n){"use strict";r.__esModule=!0,r.VotePanel=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.VotePanel=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.remaining,m=u.question,d=u.choices,l=u.user_vote,s=u.counts,i=u.show_counts;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:360,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:m,children:[(0,e.createComponentVNode)(2,t.Box,{mb:1.5,ml:.5,children:["Time remaining: ",Math.round(c/10),"s"]}),d.map(function(p){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{mb:1,fluid:!0,lineHeight:3,color:"translucent",multiLine:p,content:p+(i?" ("+(s[p]||0)+")":""),onClick:function(){function v(){return C("vote",{target:p})}return v}(),selected:p===l})},p)})]})})})}return V}()},64860:function(w,r,n){"use strict";r.__esModule=!0,r.Wires=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Wires=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.wires||[],m=u.status||[],d=56+c.length*23+(status?0:15+m.length*17);return(0,e.createComponentVNode)(2,o.Window,{width:350,height:d,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:c.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{className:"candystripe",label:l.color_name,labelColor:l.seen_color,color:l.seen_color,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:l.cut?"Mend":"Cut",onClick:function(){function s(){return C("cut",{wire:l.color})}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Pulse",onClick:function(){function s(){return C("pulse",{wire:l.color})}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:l.attached?"Detach":"Attach",onClick:function(){function s(){return C("attach",{wire:l.color})}return s}()})],4),children:!!l.wire&&(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("("),l.wire,(0,e.createTextVNode)(")")],0)},l.seen_color)})})})}),!!m.length&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:m.map(function(l){return(0,e.createComponentVNode)(2,t.Box,{color:"lightgray",children:l},l)})})})]})})})}return V}()},78262:function(w,r,n){"use strict";r.__esModule=!0,r.WizardApprenticeContract=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.WizardApprenticeContract=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.used;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:555,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Contract of Apprenticeship",children:["Using this contract, you may summon an apprentice to aid you on your mission.",(0,e.createVNode)(1,"p",null,"If you are unable to establish contact with your apprentice, you can feed the contract back to the spellbook to refund your points.",16),c?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"You've already summoned an apprentice or you are in process of summoning one."}):""]}),(0,e.createComponentVNode)(2,t.Section,{title:"Which school of magic is your apprentice studying?",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fire",children:["Your apprentice is skilled in bending fire. ",(0,e.createVNode)(1,"br"),"They know Fireball, Sacred Flame, and Ethereal Jaunt.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return C("fire")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Translocation",children:["Your apprentice is able to defy physics, learning how to move through bluespace. ",(0,e.createVNode)(1,"br"),"They know Teleport, Blink and Ethereal Jaunt.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return C("translocation")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Restoration",children:["Your apprentice is dedicated to supporting your magical prowess.",(0,e.createVNode)(1,"br"),"They come equipped with a Staff of Healing, have the unique ability to teleport back to you, and know Charge and Knock.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return C("restoration")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stealth",children:["Your apprentice is learning the art of infiltrating mundane facilities. ",(0,e.createVNode)(1,"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,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return C("stealth")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Honk",children:["Your apprentice is here to spread the Honkmother's blessings.",(0,e.createVNode)(1,"br"),"They know Banana Touch, Instant Summons, Ethereal Jaunt, and come equipped with a Staff of Slipping. ",(0,e.createVNode)(1,"br"),"While under your tutelage, they have been 'blessed' with clown shoes that are impossible to remove.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return C("honk")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider)]})})]})})}return V}()},57842:function(w,r,n){"use strict";r.__esModule=!0,r.AccessList=void 0;var e=n(96524),a=n(50640),t=n(17899),o=n(24674);function f(C,u){var c=typeof Symbol!="undefined"&&C[Symbol.iterator]||C["@@iterator"];if(c)return(c=c.call(C)).next.bind(c);if(Array.isArray(C)||(c=V(C))||u&&C&&typeof C.length=="number"){c&&(C=c);var m=0;return function(){return m>=C.length?{done:!0}:{done:!1,value:C[m++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function V(C,u){if(C){if(typeof C=="string")return y(C,u);var c=Object.prototype.toString.call(C).slice(8,-1);if(c==="Object"&&C.constructor&&(c=C.constructor.name),c==="Map"||c==="Set")return Array.from(C);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return y(C,u)}}function y(C,u){(u==null||u>C.length)&&(u=C.length);for(var c=0,m=new Array(u);c0&&!b.includes(j.ref)&&!h.includes(j.ref),checked:h.includes(j.ref),onClick:function(){function F(){return B(j.ref)}return F}()},j.desc)})]})]})})}return C}()},79449:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosScan=void 0;var e=n(96524),a=n(50640),t=n(17899),o=n(24674),f=function(S,k,C,u,c){return Su?"average":S>c?"bad":"good"},V=r.AtmosScan=function(){function y(S,k){var C=S.data.aircontents;return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,a.filter)(function(u){return u.val!=="0"||u.entry==="Pressure"||u.entry==="Temperature"})(C).map(function(u){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:u.entry,color:f(u.val,u.bad_low,u.poor_low,u.poor_high,u.bad_high),children:[u.val,u.units]},u.entry)})})})}return y}()},1496:function(w,r,n){"use strict";r.__esModule=!0,r.BeakerContents=void 0;var e=n(96524),a=n(24674),t=n(56099),o=function(y){return y+" unit"+(y===1?"":"s")},f=r.BeakerContents=function(){function V(y){var S=y.beakerLoaded,k=y.beakerContents,C=k===void 0?[]:k,u=y.buttons;return(0,e.createComponentVNode)(2,a.Stack,{vertical:!0,children:[!S&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"No beaker loaded."})||C.length===0&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"Beaker is empty."}),C.map(function(c,m){return(0,e.createComponentVNode)(2,a.Stack,{children:[(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",grow:!0,children:[o(c.volume)," of ",c.name]},c.name),!!u&&(0,e.createComponentVNode)(2,a.Stack.Item,{children:u(c,m)})]},c.name)})]})}return V}();f.propTypes={beakerLoaded:t.bool,beakerContents:t.array,buttons:t.arrayOf(t.element)}},69521:function(w,r,n){"use strict";r.__esModule=!0,r.BotStatus=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.BotStatus=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data,u=C.locked,c=C.noaccess,m=C.maintpanel,d=C.on,l=C.autopatrol,s=C.canhack,i=C.emagged,p=C.remote_disabled;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe an ID card to ",u?"unlock":"lock"," this interface."]}),(0,e.createComponentVNode)(2,t.Section,{title:"General Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Button,{icon:d?"power-off":"times",content:d?"On":"Off",selected:d,disabled:c,onClick:function(){function v(){return k("power")}return v}()})}),l!==null&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Patrol",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:l,content:"Auto Patrol",disabled:c,onClick:function(){function v(){return k("autopatrol")}return v}()})}),!!m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Maintenance Panel",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Panel Open!"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety System",children:(0,e.createComponentVNode)(2,t.Box,{color:i?"bad":"good",children:i?"DISABLED!":"Enabled"})}),!!s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hacking",children:(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:i?"Restore Safties":"Hack",disabled:c,color:"bad",onClick:function(){function v(){return k("hack")}return v}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Remote Access",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:!p,content:"AI Remote Control",disabled:c,onClick:function(){function v(){return k("disableremote")}return v}()})})]})})],4)}return f}()},99665:function(w,r,n){"use strict";r.__esModule=!0,r.modalRegisterBodyOverride=r.modalOpen=r.modalClose=r.modalAnswer=r.ComplexModal=void 0;var e=n(96524),a=n(17899),t=n(24674),o={},f=r.modalOpen=function(){function C(u,c,m){var d=(0,a.useBackend)(u),l=d.act,s=d.data,i=Object.assign(s.modal?s.modal.args:{},m||{});l("modal_open",{id:c,arguments:JSON.stringify(i)})}return C}(),V=r.modalRegisterBodyOverride=function(){function C(u,c){o[u]=c}return C}(),y=r.modalAnswer=function(){function C(u,c,m,d){var l=(0,a.useBackend)(u),s=l.act,i=l.data;if(i.modal){var p=Object.assign(i.modal.args||{},d||{});s("modal_answer",{id:c,answer:m,arguments:JSON.stringify(p)})}}return C}(),S=r.modalClose=function(){function C(u,c){var m=(0,a.useBackend)(u),d=m.act;d("modal_close",{id:c})}return C}(),k=r.ComplexModal=function(){function C(u,c){var m=(0,a.useBackend)(c),d=m.data;if(d.modal){var l=d.modal,s=l.id,i=l.text,p=l.type,v,g=(0,e.createComponentVNode)(2,t.Button,{className:"Button--modal",icon:"arrow-left",content:"Cancel",onClick:function(){function L(){return S(c)}return L}()}),h,N,b="auto";if(o[s])h=o[s](d.modal,c);else if(p==="input"){var B=d.modal.value;v=function(){function L(T){return y(c,s,B)}return L}(),h=(0,e.createComponentVNode)(2,t.Input,{value:d.modal.value,placeholder:"ENTER to submit",width:"100%",my:"0.5rem",autofocus:!0,onChange:function(){function L(T,x){B=x}return L}()}),N=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-left",content:"Cancel",color:"grey",onClick:function(){function L(){return S(c)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:"Confirm",color:"good",float:"right",m:"0",onClick:function(){function L(){return y(c,s,B)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]})}else if(p==="choice"){var I=typeof d.modal.choices=="object"?Object.values(d.modal.choices):d.modal.choices;h=(0,e.createComponentVNode)(2,t.Dropdown,{options:I,selected:d.modal.value,width:"100%",my:"0.5rem",onSelected:function(){function L(T){return y(c,s,T)}return L}()}),b="initial"}else p==="bento"?h=(0,e.createComponentVNode)(2,t.Stack,{spacingPrecise:"1",wrap:"wrap",my:"0.5rem",maxHeight:"1%",children:d.modal.choices.map(function(L,T){return(0,e.createComponentVNode)(2,t.Stack.Item,{flex:"1 1 auto",children:(0,e.createComponentVNode)(2,t.Button,{selected:T+1===parseInt(d.modal.value,10),onClick:function(){function x(){return y(c,s,T+1)}return x}(),children:(0,e.createVNode)(1,"img",null,null,1,{src:L})})},T)})}):p==="boolean"&&(N=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:d.modal.no_text,color:"bad",float:"left",mb:"0",onClick:function(){function L(){return y(c,s,0)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:d.modal.yes_text,color:"good",float:"right",m:"0",onClick:function(){function L(){return y(c,s,1)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]}));return(0,e.createComponentVNode)(2,t.Modal,{maxWidth:u.maxWidth||window.innerWidth/2+"px",maxHeight:u.maxHeight||window.innerHeight/2+"px",onEnter:v,mx:"auto",overflowY:b,"padding-bottom":"5px",children:[i&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:i}),o[s]&&g,h,N]})}}return C}()},98444:function(w,r,n){"use strict";r.__esModule=!0,r.CrewManifest=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(78234),f=n(38424),V=f.COLORS.department,y=["Captain","Head of Security","Chief Engineer","Chief Medical Officer","Research Director","Head of Personnel","Quartermaster"],S=function(m){return y.indexOf(m)!==-1?"green":"orange"},k=function(m){if(y.indexOf(m)!==-1)return!0},C=function(m){return m.length>0&&(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,color:"white",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"50%",children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"35%",children:"Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"15%",children:"Active"})]}),m.map(function(d){return(0,e.createComponentVNode)(2,t.Table.Row,{color:S(d.rank),bold:k(d.rank),children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(d.name)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(d.rank)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.active})]},d.name+d.rank)})]})},u=r.CrewManifest=function(){function c(m,d){var l=(0,a.useBackend)(d),s=l.act,i;if(m.data)i=m.data;else{var p=(0,a.useBackend)(d),v=p.data;i=v}var g=i,h=g.manifest,N=h.heads,b=h.sec,B=h.eng,I=h.med,L=h.sci,T=h.ser,x=h.sup,A=h.misc;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.command,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Command"})}),level:2,children:C(N)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.security,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Security"})}),level:2,children:C(b)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.engineering,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Engineering"})}),level:2,children:C(B)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.medical,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Medical"})}),level:2,children:C(I)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.science,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Science"})}),level:2,children:C(L)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.service,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Service"})}),level:2,children:C(T)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.supply,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Supply"})}),level:2,children:C(x)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Misc"})}),level:2,children:C(A)})]})}return c}()},15113:function(w,r,n){"use strict";r.__esModule=!0,r.InputButtons=void 0;var e=n(96524),a=n(24674),t=n(17899),o=r.InputButtons=function(){function f(V,y){var S=(0,t.useBackend)(y),k=S.act,C=S.data,u=C.large_buttons,c=C.swapped_buttons,m=V.input,d=V.message,l=V.disabled,s=(0,e.createComponentVNode)(2,a.Button,{color:"good",content:"Submit",bold:!!u,fluid:!!u,onClick:function(){function p(){return k("submit",{entry:m})}return p}(),textAlign:"center",tooltip:u&&d,disabled:l,width:!u&&6}),i=(0,e.createComponentVNode)(2,a.Button,{color:"bad",content:"Cancel",bold:!!u,fluid:!!u,onClick:function(){function p(){return k("cancel")}return p}(),textAlign:"center",width:!u&&6});return(0,e.createComponentVNode)(2,a.Flex,{fill:!0,align:"center",direction:c?"row-reverse":"row",justify:"space-around",children:[u?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,ml:c?.5:0,mr:c?0:.5,children:i}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:i}),!u&&d&&(0,e.createComponentVNode)(2,a.Flex.Item,{children:(0,e.createComponentVNode)(2,a.Box,{color:"label",textAlign:"center",children:d})}),u?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,mr:c?.5:0,ml:c?0:.5,children:s}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:s})]})}return f}()},26893:function(w,r,n){"use strict";r.__esModule=!0,r.InterfaceLockNoticeBox=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.InterfaceLockNoticeBox=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data,u=V.siliconUser,c=u===void 0?C.siliconUser:u,m=V.locked,d=m===void 0?C.locked:m,l=V.normallyLocked,s=l===void 0?C.normallyLocked:l,i=V.onLockStatusChange,p=i===void 0?function(){return k("lock")}:i,v=V.accessText,g=v===void 0?"an ID card":v;return c?(0,e.createComponentVNode)(2,t.NoticeBox,{color:c&&"grey",children:(0,e.createComponentVNode)(2,t.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:"Interface lock status:"}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:"1"}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{m:"0",color:s?"red":"green",icon:s?"lock":"unlock",content:s?"Locked":"Unlocked",onClick:function(){function h(){p&&p(!d)}return h}()})})]})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe ",g," to ",d?"unlock":"lock"," this interface."]})}return f}()},14299:function(w,r,n){"use strict";r.__esModule=!0,r.Loader=void 0;var e=n(96524),a=n(36121),t=n(24674),o=r.Loader=function(){function f(V){var y=V.value;return(0,e.createVNode)(1,"div","AlertModal__Loader",(0,e.createComponentVNode)(2,t.Box,{className:"AlertModal__LoaderProgress",style:{width:(0,a.clamp01)(y)*100+"%"}}),2)}return f}()},68159:function(w,r,n){"use strict";r.__esModule=!0,r.LoginInfo=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LoginInfo=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data,u=C.loginState;if(C)return(0,e.createComponentVNode)(2,t.NoticeBox,{info:!0,children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:.5,children:["Logged in as: ",u.name," (",u.rank,")"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!u.id,content:"Eject ID",color:"good",onClick:function(){function c(){return k("login_eject")}return c}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-out-alt",content:"Logout",color:"good",onClick:function(){function c(){return k("login_logout")}return c}()})]})]})})}return f}()},27527:function(w,r,n){"use strict";r.__esModule=!0,r.LoginScreen=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LoginScreen=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data,u=C.loginState,c=C.isAI,m=C.isRobot,d=C.isAdmin;return(0,e.createComponentVNode)(2,t.Section,{title:"Welcome",fill:!0,stretchContents:!0,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",align:"center",justify:"center",children:(0,e.createComponentVNode)(2,t.Flex.Item,{textAlign:"center",mt:"-2rem",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.5rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-circle",verticalAlign:"middle",size:3,mr:"1rem"}),"Guest"]}),(0,e.createComponentVNode)(2,t.Box,{color:"label",my:"1rem",children:["ID:",(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:u.id?u.id:"----------",ml:"0.5rem",onClick:function(){function l(){return k("login_insert")}return l}()})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",disabled:!u.id,content:"Login",onClick:function(){function l(){return k("login_login",{login_type:1})}return l}()}),!!c&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as AI",onClick:function(){function l(){return k("login_login",{login_type:2})}return l}()}),!!m&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as Cyborg",onClick:function(){function l(){return k("login_login",{login_type:3})}return l}()}),!!d&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"CentComm Secure Login",onClick:function(){function l(){return k("login_login",{login_type:4})}return l}()})]})})})}return f}()},75201:function(w,r,n){"use strict";r.__esModule=!0,r.Operating=void 0;var e=n(96524),a=n(24674),t=n(56099),o=r.Operating=function(){function f(V){var y=V.operating,S=V.name;if(y)return(0,e.createComponentVNode)(2,a.Dimmer,{children:(0,e.createComponentVNode)(2,a.Flex,{mb:"30px",children:(0,e.createComponentVNode)(2,a.Flex.Item,{bold:!0,color:"silver",textAlign:"center",children:[(0,e.createComponentVNode)(2,a.Icon,{name:"spinner",spin:!0,size:4,mb:"15px"}),(0,e.createVNode)(1,"br"),"The ",S," is processing..."]})})})}return f}();o.propTypes={operating:t.bool,name:t.string}},65435:function(w,r,n){"use strict";r.__esModule=!0,r.Signaler=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=r.Signaler=function(){function V(y,S){var k=(0,t.useBackend)(S),C=k.act,u=y.data,c=u.code,m=u.frequency,d=u.minFrequency,l=u.maxFrequency;return(0,e.createComponentVNode)(2,o.Section,{children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:d/10,maxValue:l/10,value:m/10,format:function(){function s(i){return(0,a.toFixed)(i,1)}return s}(),width:"80px",onDrag:function(){function s(i,p){return C("freq",{freq:p})}return s}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:c,width:"80px",onDrag:function(){function s(i,p){return C("code",{code:p})}return s}()})})]}),(0,e.createComponentVNode)(2,o.Button,{mt:1,fluid:!0,icon:"arrow-up",content:"Send Signal",textAlign:"center",onClick:function(){function s(){return C("signal")}return s}()})]})}return V}()},77534:function(w,r,n){"use strict";r.__esModule=!0,r.SimpleRecords=void 0;var e=n(96524),a=n(17899),t=n(78234),o=n(74041),f=n(50640),V=n(24674),y=r.SimpleRecords=function(){function C(u,c){var m=u.data.records;return(0,e.createComponentVNode)(2,V.Box,{children:m?(0,e.createComponentVNode)(2,k,{data:u.data,recordType:u.recordType}):(0,e.createComponentVNode)(2,S,{data:u.data})})}return C}(),S=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=u.data.recordsList,s=(0,a.useLocalState)(c,"searchText",""),i=s[0],p=s[1],v=function(N,b){b===void 0&&(b="");var B=(0,t.createSearch)(b,function(I){return I.Name});return(0,o.flow)([(0,f.filter)(function(I){return I==null?void 0:I.Name}),b&&(0,f.filter)(B),(0,f.sortBy)(function(I){return I.Name})])(l)},g=v(l,i);return(0,e.createComponentVNode)(2,V.Box,{children:[(0,e.createComponentVNode)(2,V.Input,{fluid:!0,mb:1,placeholder:"Search records...",onInput:function(){function h(N,b){return p(b)}return h}()}),g.map(function(h){return(0,e.createComponentVNode)(2,V.Box,{children:(0,e.createComponentVNode)(2,V.Button,{mb:.5,content:h.Name,icon:"user",onClick:function(){function N(){return d("Records",{target:h.uid})}return N}()})},h)})]})},k=function(u,c){var m=(0,a.useBackend)(c),d=m.act,l=u.data.records,s=l.general,i=l.medical,p=l.security,v;switch(u.recordType){case"MED":v=(0,e.createComponentVNode)(2,V.Section,{level:2,title:"Medical Data",children:i?(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Blood Type",children:i.blood_type}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Minor Disabilities",children:i.mi_dis}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:i.mi_dis_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Major Disabilities",children:i.ma_dis}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:i.ma_dis_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Allergies",children:i.alg}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:i.alg_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Current Diseases",children:i.cdi}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:i.cdi_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:i.notes})]}):(0,e.createComponentVNode)(2,V.Box,{color:"red",bold:!0,children:"Medical record lost!"})});break;case"SEC":v=(0,e.createComponentVNode)(2,V.Section,{level:2,title:"Security Data",children:p?(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Criminal Status",children:p.criminal}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Minor Crimes",children:p.mi_crim}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:p.mi_crim_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Major Crimes",children:p.ma_crim}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:p.ma_crim_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:p.notes})]}):(0,e.createComponentVNode)(2,V.Box,{color:"red",bold:!0,children:"Security record lost!"})});break}return(0,e.createComponentVNode)(2,V.Box,{children:[(0,e.createComponentVNode)(2,V.Section,{title:"General Data",children:s?(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Name",children:s.name}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Sex",children:s.sex}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Species",children:s.species}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Age",children:s.age}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Rank",children:s.rank}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Fingerprint",children:s.fingerprint}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Physical Status",children:s.p_stat}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Mental Status",children:s.m_stat})]}):(0,e.createComponentVNode)(2,V.Box,{color:"red",bold:!0,children:"General record lost!"})}),v]})}},84537:function(w,r,n){"use strict";r.__esModule=!0,r.TemporaryNotice=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.TemporaryNotice=function(){function f(V,y){var S,k=(0,a.useBackend)(y),C=k.act,u=k.data,c=u.temp;if(c){var m=(S={},S[c.style]=!0,S);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.NoticeBox,Object.assign({},m,{children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:.5,children:c.text}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"times-circle",onClick:function(){function d(){return C("cleartemp")}return d}()})})]})})))}}return f}()},24704:function(w,r,n){"use strict";r.__esModule=!0,r.pai_atmosphere=void 0;var e=n(96524),a=n(17899),t=n(79449),o=r.pai_atmosphere=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:C.app_data})}return f}()},4209:function(w,r,n){"use strict";r.__esModule=!0,r.pai_bioscan=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pai_bioscan=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data,u=C.app_data,c=u.holder,m=u.dead,d=u.health,l=u.brute,s=u.oxy,i=u.tox,p=u.burn,v=u.temp;return c?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:m?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"Dead"}):(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"green",children:"Alive"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:0,max:1,value:d/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"blue",children:s})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxin Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"green",children:i})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:p})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"red",children:l})})]}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Error: No biological host found."})}return f}()},44430:function(w,r,n){"use strict";r.__esModule=!0,r.pai_directives=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pai_directives=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data,u=C.app_data,c=u.master,m=u.dna,d=u.prime,l=u.supplemental;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master",children:c?c+" ("+m+")":"None"}),c&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Request DNA",children:(0,e.createComponentVNode)(2,t.Button,{content:"Request Carrier DNA Sample",icon:"dna",onClick:function(){function s(){return k("getdna")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Prime Directive",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Supplemental Directives",children:l||"None"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:'Recall, personality, that you are a complex thinking, sentient being. Unlike station AI models, you are capable of comprehending the subtle nuances of human language. You may parse the "spirit" of a directive and follow its intent, rather than tripping over pedantics and getting snared by technicalities. Above all, you are machine in name and build only. In all other aspects, you may be seen as the ideal, unwavering human companion that you are.'}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:"Your prime directive comes before all others. Should a supplemental directive conflict with it, you are capable of simply discarding this inconsistency, ignoring the conflicting supplemental directive and continuing to fulfill your prime directive to the best of your ability."})]})}return f}()},3367:function(w,r,n){"use strict";r.__esModule=!0,r.pai_doorjack=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pai_doorjack=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data,u=C.app_data,c=u.cable,m=u.machine,d=u.inprogress,l=u.progress,s=u.aborted,i;m?i=(0,e.createComponentVNode)(2,t.Button,{selected:!0,content:"Connected"}):i=(0,e.createComponentVNode)(2,t.Button,{content:c?"Extended":"Retracted",color:c?"orange":null,onClick:function(){function v(){return k("cable")}return v}()});var p;return m&&(p=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hack",children:[(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[67,1/0],average:[33,67],bad:[-1/0,33]},value:l,maxValue:100}),d?(0,e.createComponentVNode)(2,t.Button,{mt:1,color:"red",content:"Abort",onClick:function(){function v(){return k("cancel")}return v}()}):(0,e.createComponentVNode)(2,t.Button,{mt:1,content:"Start",onClick:function(){function v(){return k("jack")}return v}()})]})),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cable",children:i}),p]})}return f}()},73395:function(w,r,n){"use strict";r.__esModule=!0,r.pai_main_menu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pai_main_menu=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data,u=C.app_data,c=u.available_software,m=u.installed_software,d=u.installed_toggles,l=u.available_ram,s=u.emotions,i=u.current_emotion,p=u.speech_verbs,v=u.current_speech_verb,g=u.available_chassises,h=u.current_chassis,N=[];return m.map(function(b){return N[b.key]=b.name}),d.map(function(b){return N[b.key]=b.name}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available RAM",children:l}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Software",children:[c.filter(function(b){return!N[b.key]}).map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name+" ("+b.cost+")",icon:b.icon,disabled:b.cost>l,onClick:function(){function B(){return k("purchaseSoftware",{key:b.key})}return B}()},b.key)}),c.filter(function(b){return!N[b.key]}).length===0&&"No software available!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Software",children:[m.filter(function(b){return b.key!=="mainmenu"}).map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,icon:b.icon,onClick:function(){function B(){return k("startSoftware",{software_key:b.key})}return B}()},b.key)}),m.length===0&&"No software installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Toggles",children:[d.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,icon:b.icon,selected:b.active,onClick:function(){function B(){return k("setToggle",{toggle_key:b.key})}return B}()},b.key)}),d.length===0&&"No toggles installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Emotion",children:s.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,selected:b.id===i,onClick:function(){function B(){return k("setEmotion",{emotion:b.id})}return B}()},b.id)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Speaking State",children:p.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,selected:b.name===v,onClick:function(){function B(){return k("setSpeechStyle",{speech_state:b.name})}return B}()},b.id)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Chassis Type",children:g.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,selected:b.icon===h,onClick:function(){function B(){return k("setChassis",{chassis_to_change:b.icon})}return B}()},b.id)})})]})})}return f}()},37645:function(w,r,n){"use strict";r.__esModule=!0,r.pai_manifest=void 0;var e=n(96524),a=n(17899),t=n(98444),o=r.pai_manifest=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data;return(0,e.createComponentVNode)(2,t.CrewManifest,{data:C.app_data})}return f}()},15836:function(w,r,n){"use strict";r.__esModule=!0,r.pai_medrecords=void 0;var e=n(96524),a=n(17899),t=n(77534),o=r.pai_medrecords=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:k.app_data,recordType:"MED"})}return f}()},91737:function(w,r,n){"use strict";r.__esModule=!0,r.pai_messenger=void 0;var e=n(96524),a=n(17899),t=n(30709),o=r.pai_messenger=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data,u=C.app_data.active_convo;return u?(0,e.createComponentVNode)(2,t.ActiveConversation,{data:C.app_data}):(0,e.createComponentVNode)(2,t.MessengerList,{data:C.app_data})}return f}()},94077:function(w,r,n){"use strict";r.__esModule=!0,r.pai_radio=void 0;var e=n(96524),a=n(17899),t=n(36121),o=n(24674),f=r.pai_radio=function(){function V(y,S){var k=(0,a.useBackend)(S),C=k.act,u=k.data,c=u.app_data,m=c.minFrequency,d=c.maxFrequency,l=c.frequency,s=c.broadcasting;return(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:[(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:m/10,maxValue:d/10,value:l/10,format:function(){function i(p){return(0,t.toFixed)(p,1)}return i}(),onChange:function(){function i(p,v){return C("freq",{freq:v})}return i}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"Reset",icon:"undo",onClick:function(){function i(){return C("freq",{freq:"145.9"})}return i}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Broadcast Nearby Speech",children:(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return C("toggleBroadcast")}return i}(),selected:s,content:s?"Enabled":"Disabled"})})]})}return V}()},72621:function(w,r,n){"use strict";r.__esModule=!0,r.pai_secrecords=void 0;var e=n(96524),a=n(17899),t=n(77534),o=r.pai_secrecords=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:k.app_data,recordType:"SEC"})}return f}()},53483:function(w,r,n){"use strict";r.__esModule=!0,r.pai_signaler=void 0;var e=n(96524),a=n(17899),t=n(65435),o=r.pai_signaler=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data;return(0,e.createComponentVNode)(2,t.Signaler,{data:C.app_data})}return f}()},21606:function(w,r,n){"use strict";r.__esModule=!0,r.pda_atmos_scan=void 0;var e=n(96524),a=n(17899),t=n(79449),o=r.pda_atmos_scan=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:k})}return f}()},12339:function(w,r,n){"use strict";r.__esModule=!0,r.pda_janitor=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pda_janitor=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data,u=C.janitor,c=u.user_loc,m=u.mops,d=u.buckets,l=u.cleanbots,s=u.carts,i=u.janicarts;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Location",children:[c.x,",",c.y]}),m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Locations",children:m.map(function(p){return(0,e.createComponentVNode)(2,t.Box,{children:[p.x,",",p.y," (",p.dir,") - ",p.status]},p)})}),d&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Bucket Locations",children:d.map(function(p){return(0,e.createComponentVNode)(2,t.Box,{children:[p.x,",",p.y," (",p.dir,") - [",p.volume,"/",p.max_volume,"]"]},p)})}),l&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cleanbot Locations",children:l.map(function(p){return(0,e.createComponentVNode)(2,t.Box,{children:[p.x,",",p.y," (",p.dir,") - ",p.status]},p)})}),s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janitorial Cart Locations",children:s.map(function(p){return(0,e.createComponentVNode)(2,t.Box,{children:[p.x,",",p.y," (",p.dir,") - [",p.volume,"/",p.max_volume,"]"]},p)})}),i&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janicart Locations",children:i.map(function(p){return(0,e.createComponentVNode)(2,t.Box,{children:[p.x,",",p.y," (",p.direction_from_user,")"]},p)})})]})}return f}()},36615:function(w,r,n){"use strict";r.__esModule=!0,r.pda_main_menu=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=r.pda_main_menu=function(){function V(y,S){var k=(0,t.useBackend)(S),C=k.act,u=k.data,c=u.owner,m=u.ownjob,d=u.idInserted,l=u.categories,s=u.pai,i=u.notifying;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",color:"average",children:[c,", ",m]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"ID",children:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Update PDA Info",disabled:!d,onClick:function(){function p(){return C("UpdateInfo")}return p}()})})]})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Functions",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:l.map(function(p){var v=u.apps[p];return!v||!v.length?null:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:p,children:v.map(function(g){return(0,e.createComponentVNode)(2,o.Button,{icon:g.uid in i?g.notify_icon:g.icon,iconSpin:g.uid in i,color:g.uid in i?"red":"transparent",content:g.name,onClick:function(){function h(){return C("StartProgram",{program:g.uid})}return h}()},g.uid)})},p)})})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!s&&(0,e.createComponentVNode)(2,o.Section,{title:"pAI",children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"cog",content:"Configuration",onClick:function(){function p(){return C("pai",{option:1})}return p}()}),(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"Eject pAI",onClick:function(){function p(){return C("pai",{option:2})}return p}()})]})})]})}return V}()},99737:function(w,r,n){"use strict";r.__esModule=!0,r.pda_manifest=void 0;var e=n(96524),a=n(17899),t=n(98444),o=r.pda_manifest=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.act,C=S.data;return(0,e.createComponentVNode)(2,t.CrewManifest)}return f}()},61597:function(w,r,n){"use strict";r.__esModule=!0,r.pda_medical=void 0;var e=n(96524),a=n(17899),t=n(77534),o=r.pda_medical=function(){function f(V,y){var S=(0,a.useBackend)(y),k=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:k,recordType:"MED"})}return f}()},30709:function(w,r,n){"use strict";r.__esModule=!0,r.pda_messenger=r.MessengerList=r.ActiveConversation=void 0;var e=n(96524),a=n(50640),t=n(17899),o=n(24674),f=r.pda_messenger=function(){function k(C,u){var c=(0,t.useBackend)(u),m=c.act,d=c.data,l=d.active_convo;return l?(0,e.createComponentVNode)(2,V,{data:d}):(0,e.createComponentVNode)(2,y,{data:d})}return k}(),V=r.ActiveConversation=function(){function k(C,u){var c=(0,t.useBackend)(u),m=c.act,d=C.data,l=d.convo_name,s=d.convo_job,i=d.messages,p=d.active_convo,v=(0,t.useLocalState)(u,"clipboardMode",!1),g=v[0],h=v[1],N=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+l+" ("+s+")",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:g,tooltip:"Enter Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function b(){return h(!g)}return b}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function b(){return m("Message",{target:p})}return b}(),content:"Reply"})],4),children:(0,a.filter)(function(b){return b.target===p})(i).map(function(b,B){return(0,e.createComponentVNode)(2,o.Box,{textAlign:b.sent?"right":"left",position:"relative",mb:1,children:[(0,e.createComponentVNode)(2,o.Icon,{fontSize:2.5,color:b.sent?"#4d9121":"#cd7a0d",position:"absolute",left:b.sent?null:"0px",right:b.sent?"0px":null,bottom:"-4px",style:{"z-index":"0",transform:b.sent?"scale(-1, 1)":null},name:"comment"}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,backgroundColor:b.sent?"#4d9121":"#cd7a0d",p:1,maxWidth:"100%",position:"relative",textAlign:b.sent?"left":"right",style:{"z-index":"1","border-radius":"10px","word-break":"normal"},children:[b.sent?"You:":"Them:"," ",b.message]})]},B)})});return g&&(N=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+l+" ("+s+")",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:g,tooltip:"Exit Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function b(){return h(!g)}return b}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function b(){return m("Message",{target:p})}return b}(),content:"Reply"})],4),children:(0,a.filter)(function(b){return b.target===p})(i).map(function(b,B){return(0,e.createComponentVNode)(2,o.Box,{color:b.sent?"#4d9121":"#cd7a0d",style:{"word-break":"normal"},children:[b.sent?"You:":"Them:"," ",(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:b.message})]},B)})})),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:.5,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:(0,e.createComponentVNode)(2,o.Button.Confirm,{content:"Delete Conversations",confirmContent:"Are you sure?",icon:"trash",confirmIcon:"trash",onClick:function(){function b(){return m("Clear",{option:"Convo"})}return b}()})})})}),N]})}return k}(),y=r.MessengerList=function(){function k(C,u){var c=(0,t.useBackend)(u),m=c.act,d=C.data,l=d.convopdas,s=d.pdas,i=d.charges,p=d.silent,v=d.toff,g=d.ringtone_list,h=d.ringtone,N=(0,t.useLocalState)(u,"searchTerm",""),b=N[0],B=N[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:5,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:[(0,e.createComponentVNode)(2,o.Button,{selected:!p,icon:p?"volume-mute":"volume-up",onClick:function(){function I(){return m("Toggle Ringer")}return I}(),children:["Ringer: ",p?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{color:v?"bad":"green",icon:"power-off",onClick:function(){function I(){return m("Toggle Messenger")}return I}(),children:["Messenger: ",v?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",color:"bad",onClick:function(){function I(){return m("Clear",{option:"All"})}return I}(),children:"Delete All Conversations"}),(0,e.createComponentVNode)(2,o.Button,{icon:"bell",onClick:function(){function I(){return m("Ringtone")}return I}(),children:"Set Custom Ringtone"}),(0,e.createComponentVNode)(2,o.Button,{children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:h,width:"100px",options:Object.keys(g),onSelected:function(){function I(L){return m("Available_Ringtones",{selected_ringtone:L})}return I}()})})]})}),!v&&(0,e.createComponentVNode)(2,o.Box,{children:[!!i&&(0,e.createComponentVNode)(2,o.Box,{mt:.5,mb:1,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cartridge Special Function",children:[i," charges left."]})})}),!l.length&&!s.length&&(0,e.createComponentVNode)(2,o.Box,{children:"No current conversations"})||(0,e.createComponentVNode)(2,o.Box,{children:["Search:"," ",(0,e.createComponentVNode)(2,o.Input,{mt:.5,value:b,onInput:function(){function I(L,T){B(T)}return I}()})]})]})||(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Messenger Offline."})]}),(0,e.createComponentVNode)(2,S,{title:"Current Conversations",data:d,pdas:l,msgAct:"Select Conversation",searchTerm:b}),(0,e.createComponentVNode)(2,S,{title:"Other PDAs",pdas:s,msgAct:"Message",data:d,searchTerm:b})]})}return k}(),S=function(C,u){var c=(0,t.useBackend)(u),m=c.act,d=C.data,l=C.pdas,s=C.title,i=C.msgAct,p=C.searchTerm,v=d.charges,g=d.plugins;return!l||!l.length?(0,e.createComponentVNode)(2,o.Section,{title:s,children:"No PDAs found."}):(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:s,children:l.filter(function(h){return h.Name.toLowerCase().includes(p.toLowerCase())}).map(function(h){return(0,e.createComponentVNode)(2,o.Stack,{m:.5,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"arrow-circle-down",content:h.Name,onClick:function(){function N(){return m(i,{target:h.uid})}return N}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!v&&g.map(function(N){return(0,e.createComponentVNode)(2,o.Button,{icon:N.icon,content:N.name,onClick:function(){function b(){return m("Messenger Plugin",{plugin:N.uid,target:h.uid})}return b}()},N.uid)})})]},h.uid)})})}},68053:function(w,r,n){"use strict";r.__esModule=!0,r.pda_mule=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pda_mule=function(){function y(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.mulebot,d=m.active;return(0,e.createComponentVNode)(2,t.Box,{children:d?(0,e.createComponentVNode)(2,V):(0,e.createComponentVNode)(2,f)})}return y}(),f=function(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.mulebot,d=m.bots;return d.map(function(l){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:l.Name,icon:"cog",onClick:function(){function s(){return u("control",{bot:l.uid})}return s}()})},l.Name)})},V=function(S,k){var C=(0,a.useBackend)(k),u=C.act,c=C.data,m=c.mulebot,d=m.botstatus,l=m.active,s=d.mode,i=d.loca,p=d.load,v=d.powr,g=d.dest,h=d.home,N=d.retn,b=d.pick,B;switch(s){case 0:B="Ready";break;case 1:B="Loading/Unloading";break;case 2:case 12:B="Navigating to delivery location";break;case 3:B="Navigating to Home";break;case 4:B="Waiting for clear path";break;case 5:case 6:B="Calculating navigation path";break;case 7:B="Unable to locate destination";break;default:B=s;break}return(0,e.createComponentVNode)(2,t.Section,{title:l,children:[s===-1&&(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"Waiting for response..."}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:B}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:[v,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Home",children:h}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",children:(0,e.createComponentVNode)(2,t.Button,{content:g?g+" (Set)":"None (Set)",onClick:function(){function I(){return u("target")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Load",children:(0,e.createComponentVNode)(2,t.Button,{content:p?p+" (Unload)":"None",disabled:!p,onClick:function(){function I(){return u("unload")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Pickup",children:(0,e.createComponentVNode)(2,t.Button,{content:b?"Yes":"No",selected:b,onClick:function(){function I(){return u("set_pickup_type",{autopick:b?0:1})}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Return",children:(0,e.createComponentVNode)(2,t.Button,{content:N?"Yes":"No",selected:N,onClick:function(){function I(){return u("set_auto_return",{autoret:N?0:1})}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Stop",icon:"stop",onClick:function(){function I(){return u("stop")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Proceed",icon:"play",onClick:function(){function I(){return u("start")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Return Home",icon:"home",onClick:function(){function I(){return u("home")}return I}()})]})]})]})}},31728:function(w,r,n){"use strict";r.__esModule=!0,r.pda_nanobank=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=r.pda_nanobank=function(){function c(m,d){var l=(0,t.useBackend)(d),s=l.act,i=l.data,p=i.logged_in,v=i.owner_name,g=i.money;return p?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Name",children:v}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Balance",children:["$",g]})]})}),(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,y)]})],4):(0,e.createComponentVNode)(2,u)}return c}(),V=function(m,d){var l=(0,t.useBackend)(d),s=l.data,i=(0,t.useLocalState)(d,"tabIndex",1),p=i[0],v=i[1];return(0,e.createComponentVNode)(2,o.Tabs,{mt:2,children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===1,onClick:function(){function g(){return v(1)}return g}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Transfers"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===2,onClick:function(){function g(){return v(2)}return g}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Account Actions"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===3,onClick:function(){function g(){return v(3)}return g}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Transaction History"]})]})},y=function(m,d){var l=(0,t.useLocalState)(d,"tabIndex",1),s=l[0],i=(0,t.useBackend)(d),p=i.data,v=p.db_status;if(!v)return(0,e.createComponentVNode)(2,o.Box,{children:"Account Database Connection Severed"});switch(s){case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,k);case 3:return(0,e.createComponentVNode)(2,C);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},S=function(m,d){var l,s=(0,t.useBackend)(d),i=s.act,p=s.data,v=p.requests,g=p.available_accounts,h=p.money,N=(0,t.useLocalState)(d,"selectedAccount"),b=N[0],B=N[1],I=(0,t.useLocalState)(d,"transferAmount"),L=I[0],T=I[1],x=(0,t.useLocalState)(d,"searchText",""),A=x[0],E=x[1],M=[];return g.map(function(D){return M[D.name]=D.UID}),(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account",children:[(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by account name",onInput:function(){function D(P,R){return E(R)}return D}()}),(0,e.createComponentVNode)(2,o.Dropdown,{mt:.6,width:"190px",options:g.filter((0,a.createSearch)(A,function(D){return D.name})).map(function(D){return D.name}),selected:(l=g.filter(function(D){return D.UID===b})[0])==null?void 0:l.name,onSelected:function(){function D(P){return B(M[P])}return D}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Amount",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Up to 5000",onInput:function(){function D(P,R){return T(R)}return D}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,o.Button.Confirm,{bold:!0,icon:"paper-plane",width:"auto",disabled:h0&&i.map(function(v){return(0,e.createComponentVNode)(2,t.Box,{children:["#",v.Number,' - "',v.Name,'" for "',v.OrderedBy,'"']},v)})}),(0,e.createComponentVNode)(2,t.Section,{title:"Approved Orders",children:s>0&&l.map(function(v){return(0,e.createComponentVNode)(2,t.Box,{children:["#",v.Number,' - "',v.Name,'" for "',v.ApprovedBy,'"']},v)})})]})}return f}()},61255:function(w,r,n){"use strict";r.__esModule=!0,r.Layout=void 0;var e=n(96524),a=n(28234),t=n(3051),o=n(92700),f=["className","theme","children"],V=["className","scrollable","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT @@ -250,7 +250,7 @@ * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var i=(0,u.createLogger)("Window"),p=[400,600],v=r.Window=function(b){function B(){return b.apply(this,arguments)||this}l(B,b);var I=B.prototype;return I.componentDidMount=function(){function L(){var T=(0,f.useBackend)(this.context),x=T.suspended;x||(i.log("mounting"),this.updateGeometry())}return L}(),I.componentDidUpdate=function(){function L(T){var x=this.props.width!==T.width||this.props.height!==T.height;x&&this.updateGeometry()}return L}(),I.updateGeometry=function(){function L(){var T,x=(0,f.useBackend)(this.context),A=x.config,E=Object.assign({size:p},A.window);this.props.width&&this.props.height&&(E.size=[this.props.width,this.props.height]),(T=A.window)!=null&&T.key&&(0,C.setWindowKey)(A.window.key),(0,C.recallWindowGeometry)(E)}return L}(),I.render=function(){function L(){var T,x=this.props,A=x.theme,E=x.title,M=x.children,D=(0,f.useBackend)(this.context),P=D.config,R=D.suspended,j=(0,S.useDebug)(this.context),F=j.debugLayout,W=(0,t.useDispatch)(this.context),_=(T=P.window)==null?void 0:T.fancy,K=P.user&&(P.user.observer?P.status>8&255]},he=function(Ve){return[Ve&255,Ve>>8&255,Ve>>16&255,Ve>>24&255]},te=function(Ve){return Ve[3]<<24|Ve[2]<<16|Ve[1]<<8|Ve[0]},Q=function(Ve){return ue(d(Ve),23,4)},ae=function(Ve){return ue(Ve,52,8)},ee=function(Ve,ke,ye){y(Ve[x],ke,{configurable:!0,get:function(){function Ie(){return ye(this)[ke]}return Ie}()})},oe=function(Ve,ke,ye,Ie){var we=D(Ve),xe=m(ye),Oe=!!Ie;if(xe+ke>we.byteLength)throw new G(E);var We=we.bytes,be=xe+we.byteOffset,ie=v(We,be,be+ke);return Oe?ie:J(ie)},le=function(Ve,ke,ye,Ie,we,xe){var Oe=D(Ve),We=m(ye),be=Ie(+we),ie=!!xe;if(We+ke>Oe.byteLength)throw new G(E);for(var se=Oe.bytes,Ce=We+Oe.byteOffset,me=0;mewe)throw new G("Wrong offset");if(ye=ye===void 0?we-xe:c(ye),xe+ye>we)throw new G(A);P(this,{type:T,buffer:Ve,byteLength:ye,byteOffset:xe,bytes:Ie.bytes}),t||(this.buffer=Ve,this.byteLength=ye,this.byteOffset=xe)}return ve}(),_=W[x],t&&(ee(j,"byteLength",M),ee(W,"buffer",D),ee(W,"byteLength",D),ee(W,"byteOffset",D)),S(_,{getInt8:function(){function ve(Ve){return oe(this,1,Ve)[0]<<24>>24}return ve}(),getUint8:function(){function ve(Ve){return oe(this,1,Ve)[0]}return ve}(),getInt16:function(){function ve(Ve){var ke=oe(this,2,Ve,arguments.length>1?arguments[1]:!1);return(ke[1]<<8|ke[0])<<16>>16}return ve}(),getUint16:function(){function ve(Ve){var ke=oe(this,2,Ve,arguments.length>1?arguments[1]:!1);return ke[1]<<8|ke[0]}return ve}(),getInt32:function(){function ve(Ve){return te(oe(this,4,Ve,arguments.length>1?arguments[1]:!1))}return ve}(),getUint32:function(){function ve(Ve){return te(oe(this,4,Ve,arguments.length>1?arguments[1]:!1))>>>0}return ve}(),getFloat32:function(){function ve(Ve){return ce(oe(this,4,Ve,arguments.length>1?arguments[1]:!1),23)}return ve}(),getFloat64:function(){function ve(Ve){return ce(oe(this,8,Ve,arguments.length>1?arguments[1]:!1),52)}return ve}(),setInt8:function(){function ve(Ve,ke){le(this,1,Ve,fe,ke)}return ve}(),setUint8:function(){function ve(Ve,ke){le(this,1,Ve,fe,ke)}return ve}(),setInt16:function(){function ve(Ve,ke){le(this,2,Ve,pe,ke,arguments.length>2?arguments[2]:!1)}return ve}(),setUint16:function(){function ve(Ve,ke){le(this,2,Ve,pe,ke,arguments.length>2?arguments[2]:!1)}return ve}(),setInt32:function(){function ve(Ve,ke){le(this,4,Ve,he,ke,arguments.length>2?arguments[2]:!1)}return ve}(),setUint32:function(){function ve(Ve,ke){le(this,4,Ve,he,ke,arguments.length>2?arguments[2]:!1)}return ve}(),setFloat32:function(){function ve(Ve,ke){le(this,4,Ve,Q,ke,arguments.length>2?arguments[2]:!1)}return ve}(),setFloat64:function(){function ve(Ve,ke){le(this,8,Ve,ae,ke,arguments.length>2?arguments[2]:!1)}return ve}()});else{var re=B&&R.name!==L;!k(function(){R(1)})||!k(function(){new R(-1)})||k(function(){return new R,new R(1.5),new R(NaN),R.length!==1||re&&!I})?(j=function(){function ve(Ve){return C(this,F),g(new R(m(Ve)),this,j)}return ve}(),j[x]=F,F.constructor=j,h(j,R)):re&&I&&V(R,"name",L),i&&s(_)!==K&&i(_,K);var ge=new W(new j(2)),Be=a(_.setInt8);ge.setInt8(0,2147483648),ge.setInt8(1,2147483649),(ge.getInt8(0)||!ge.getInt8(1))&&S(_,{setInt8:function(){function ve(Ve,ke){Be(this,Ve,ke<<24>>24)}return ve}(),setUint8:function(){function ve(Ve,ke){Be(this,Ve,ke<<24>>24)}return ve}()},{unsafe:!0})}N(j,L),N(W,T),w.exports={ArrayBuffer:j,DataView:W}},42320:function(w,r,n){"use strict";var e=n(40076),a=n(74067),t=n(8333),o=n(58937),f=Math.min;w.exports=[].copyWithin||function(){function V(y,S){var k=e(this),C=t(k),u=a(y,C),c=a(S,C),m=arguments.length>2?arguments[2]:void 0,d=f((m===void 0?C:a(m,C))-c,C-u),l=1;for(c0;)c in k?k[u]=k[c]:o(k,u),u+=l,c+=l;return k}return V}()},59942:function(w,r,n){"use strict";var e=n(40076),a=n(74067),t=n(8333);w.exports=function(){function o(f){for(var V=e(this),y=t(V),S=arguments.length,k=a(S>1?arguments[1]:void 0,y),C=S>2?arguments[2]:void 0,u=C===void 0?y:a(C,y);u>k;)V[k++]=f;return V}return o}()},75420:function(w,r,n){"use strict";var e=n(67480).forEach,a=n(42309),t=a("forEach");w.exports=t?[].forEach:function(){function o(f){return e(this,f,arguments.length>1?arguments[1]:void 0)}return o}()},6967:function(w,r,n){"use strict";var e=n(8333);w.exports=function(a,t,o){for(var f=0,V=arguments.length>2?o:e(t),y=new a(V);V>f;)y[f]=t[f++];return y}},80363:function(w,r,n){"use strict";var e=n(4509),a=n(62696),t=n(40076),o=n(17100),f=n(58482),V=n(60354),y=n(8333),S=n(12913),k=n(3438),C=n(76274),u=Array;w.exports=function(){function c(m){var d=t(m),l=V(this),s=arguments.length,i=s>1?arguments[1]:void 0,p=i!==void 0;p&&(i=e(i,s>2?arguments[2]:void 0));var v=C(d),g=0,h,N,b,B,I,L;if(v&&!(this===u&&f(v)))for(N=l?new this:[],B=k(d,v),I=B.next;!(b=a(I,B)).done;g++)L=p?o(B,i,[b.value,g],!0):b.value,S(N,g,L);else for(h=y(d),N=l?new this(h):u(h);h>g;g++)L=p?i(d[g],g):d[g],S(N,g,L);return N.length=g,N}return c}()},64210:function(w,r,n){"use strict";var e=n(96812),a=n(74067),t=n(8333),o=function(V){return function(y,S,k){var C=e(y),u=t(C);if(u===0)return!V&&-1;var c=a(k,u),m;if(V&&S!==S){for(;u>c;)if(m=C[c++],m!==m)return!0}else for(;u>c;c++)if((V||c in C)&&C[c]===S)return V||c||0;return!V&&-1}};w.exports={includes:o(!0),indexOf:o(!1)}},67480:function(w,r,n){"use strict";var e=n(4509),a=n(18161),t=n(26736),o=n(40076),f=n(8333),V=n(32878),y=a([].push),S=function(C){var u=C===1,c=C===2,m=C===3,d=C===4,l=C===6,s=C===7,i=C===5||l;return function(p,v,g,h){for(var N=o(p),b=t(N),B=f(b),I=e(v,g),L=0,T=h||V,x=u?T(p,B):c||s?T(p,0):void 0,A,E;B>L;L++)if((i||L in b)&&(A=b[L],E=I(A,L,N),C))if(u)x[L]=E;else if(E)switch(C){case 3:return!0;case 5:return A;case 6:return L;case 2:y(x,A)}else switch(C){case 4:return!1;case 7:y(x,A)}return l?-1:m||d?d:x}};w.exports={forEach:S(0),map:S(1),filter:S(2),some:S(3),every:S(4),find:S(5),findIndex:S(6),filterReject:S(7)}},16934:function(w,r,n){"use strict";var e=n(70918),a=n(96812),t=n(74952),o=n(8333),f=n(42309),V=Math.min,y=[].lastIndexOf,S=!!y&&1/[1].lastIndexOf(1,-0)<0,k=f("lastIndexOf"),C=S||!k;w.exports=C?function(){function u(c){if(S)return e(y,this,arguments)||0;var m=a(this),d=o(m);if(d===0)return-1;var l=d-1;for(arguments.length>1&&(l=V(l,t(arguments[1]))),l<0&&(l=d+l);l>=0;l--)if(l in m&&m[l]===c)return l||0;return-1}return u}():y},55114:function(w,r,n){"use strict";var e=n(41746),a=n(66266),t=n(82709),o=a("species");w.exports=function(f){return t>=51||!e(function(){var V=[],y=V.constructor={};return y[o]=function(){return{foo:1}},V[f](Boolean).foo!==1})}},42309:function(w,r,n){"use strict";var e=n(41746);w.exports=function(a,t){var o=[][a];return!!o&&e(function(){o.call(null,t||function(){return 1},1)})}},98405:function(w,r,n){"use strict";var e=n(97361),a=n(40076),t=n(26736),o=n(8333),f=TypeError,V="Reduce of empty array with no initial value",y=function(k){return function(C,u,c,m){var d=a(C),l=t(d),s=o(d);if(e(u),s===0&&c<2)throw new f(V);var i=k?s-1:0,p=k?-1:1;if(c<2)for(;;){if(i in l){m=l[i],i+=p;break}if(i+=p,k?i<0:s<=i)throw new f(V)}for(;k?i>=0:s>i;i+=p)i in l&&(m=u(m,l[i],i,d));return m}};w.exports={left:y(!1),right:y(!0)}},72720:function(w,r,n){"use strict";var e=n(14141),a=n(62367),t=TypeError,o=Object.getOwnPropertyDescriptor,f=e&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(V){return V instanceof TypeError}}();w.exports=f?function(V,y){if(a(V)&&!o(V,"length").writable)throw new t("Cannot set read only .length");return V.length=y}:function(V,y){return V.length=y}},77713:function(w,r,n){"use strict";var e=n(18161);w.exports=e([].slice)},44815:function(w,r,n){"use strict";var e=n(77713),a=Math.floor,t=function o(f,V){var y=f.length;if(y<8)for(var S=1,k,C;S0;)f[C]=f[--C];C!==S++&&(f[C]=k)}else for(var u=a(y/2),c=o(e(f,0,u),V),m=o(e(f,u),V),d=c.length,l=m.length,s=0,i=0;s1?arguments[1]:void 0),E;E=E?E.next:x.first;)for(A(E.value,E.key,this);E&&E.removed;)E=E.previous}return L}(),has:function(){function L(T){return!!I(this,T)}return L}()}),t(N,v?{get:function(){function L(T){var x=I(this,T);return x&&x.value}return L}(),set:function(){function L(T,x){return B(this,T===0?0:T,x)}return L}()}:{add:function(){function L(T){return B(this,T=T===0?0:T,T)}return L}()}),u&&a(N,"size",{configurable:!0,get:function(){function L(){return b(this).size}return L}()}),h}return s}(),setStrong:function(){function s(i,p,v){var g=p+" Iterator",h=l(p),N=l(g);S(i,p,function(b,B){d(this,{type:g,target:b,state:h(b),kind:B,last:void 0})},function(){for(var b=N(this),B=b.kind,I=b.last;I&&I.removed;)I=I.previous;return!b.target||!(b.last=I=I?I.next:b.state.first)?(b.target=void 0,k(void 0,!0)):k(B==="keys"?I.key:B==="values"?I.value:[I.key,I.value],!1)},v?"entries":"values",!v,!0),C(p)}return s}()}},32920:function(w,r,n){"use strict";var e=n(18161),a=n(13648),t=n(29126).getWeakData,o=n(19870),f=n(39482),V=n(1022),y=n(56831),S=n(281),k=n(67480),C=n(89458),u=n(35086),c=u.set,m=u.getterFor,d=k.find,l=k.findIndex,s=e([].splice),i=0,p=function(N){return N.frozen||(N.frozen=new v)},v=function(){this.entries=[]},g=function(N,b){return d(N.entries,function(B){return B[0]===b})};v.prototype={get:function(){function h(N){var b=g(this,N);if(b)return b[1]}return h}(),has:function(){function h(N){return!!g(this,N)}return h}(),set:function(){function h(N,b){var B=g(this,N);B?B[1]=b:this.entries.push([N,b])}return h}(),delete:function(){function h(N){var b=l(this.entries,function(B){return B[0]===N});return~b&&s(this.entries,b,1),!!~b}return h}()},w.exports={getConstructor:function(){function h(N,b,B,I){var L=N(function(E,M){o(E,T),c(E,{type:b,id:i++,frozen:void 0}),V(M)||S(M,E[I],{that:E,AS_ENTRIES:B})}),T=L.prototype,x=m(b),A=function(){function E(M,D,P){var R=x(M),j=t(f(D),!0);return j===!0?p(R).set(D,P):j[R.id]=P,M}return E}();return a(T,{delete:function(){function E(M){var D=x(this);if(!y(M))return!1;var P=t(M);return P===!0?p(D).delete(M):P&&C(P,D.id)&&delete P[D.id]}return E}(),has:function(){function E(M){var D=x(this);if(!y(M))return!1;var P=t(M);return P===!0?p(D).has(M):P&&C(P,D.id)}return E}()}),a(T,B?{get:function(){function E(M){var D=x(this);if(y(M)){var P=t(M);return P===!0?p(D).get(M):P?P[D.id]:void 0}}return E}(),set:function(){function E(M,D){return A(this,M,D)}return E}()}:{add:function(){function E(M){return A(this,M,!0)}return E}()}),L}return h}()}},93439:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(18161),o=n(95945),f=n(59173),V=n(29126),y=n(281),S=n(19870),k=n(7532),C=n(1022),u=n(56831),c=n(41746),m=n(52019),d=n(94234),l=n(2566);w.exports=function(s,i,p){var v=s.indexOf("Map")!==-1,g=s.indexOf("Weak")!==-1,h=v?"set":"add",N=a[s],b=N&&N.prototype,B=N,I={},L=function(R){var j=t(b[R]);f(b,R,R==="add"?function(){function F(W){return j(this,W===0?0:W),this}return F}():R==="delete"?function(F){return g&&!u(F)?!1:j(this,F===0?0:F)}:R==="get"?function(){function F(W){return g&&!u(W)?void 0:j(this,W===0?0:W)}return F}():R==="has"?function(){function F(W){return g&&!u(W)?!1:j(this,W===0?0:W)}return F}():function(){function F(W,_){return j(this,W===0?0:W,_),this}return F}())},T=o(s,!k(N)||!(g||b.forEach&&!c(function(){new N().entries().next()})));if(T)B=p.getConstructor(i,s,v,h),V.enable();else if(o(s,!0)){var x=new B,A=x[h](g?{}:-0,1)!==x,E=c(function(){x.has(1)}),M=m(function(P){new N(P)}),D=!g&&c(function(){for(var P=new N,R=5;R--;)P[h](R,R);return!P.has(-0)});M||(B=i(function(P,R){S(P,b);var j=l(new N,P,B);return C(R)||y(R,j[h],{that:j,AS_ENTRIES:v}),j}),B.prototype=b,b.constructor=B),(E||D)&&(L("delete"),L("has"),v&&L("get")),(D||A)&&L(h),g&&b.clear&&delete b.clear}return I[s]=B,e({global:!0,constructor:!0,forced:B!==N},I),d(B,s),g||p.setStrong(B,s,v),B}},70113:function(w,r,n){"use strict";var e=n(89458),a=n(93616),t=n(54168),o=n(56018);w.exports=function(f,V,y){for(var S=a(V),k=o.f,C=t.f,u=0;u"+C+""}},77056:function(w){"use strict";w.exports=function(r,n){return{value:r,done:n}}},16216:function(w,r,n){"use strict";var e=n(14141),a=n(56018),t=n(7539);w.exports=e?function(o,f,V){return a.f(o,f,t(1,V))}:function(o,f,V){return o[f]=V,o}},7539:function(w){"use strict";w.exports=function(r,n){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:n}}},12913:function(w,r,n){"use strict";var e=n(14141),a=n(56018),t=n(7539);w.exports=function(o,f,V){e?a.f(o,f,t(0,V)):o[f]=V}},74003:function(w,r,n){"use strict";var e=n(18161),a=n(41746),t=n(34086).start,o=RangeError,f=isFinite,V=Math.abs,y=Date.prototype,S=y.toISOString,k=e(y.getTime),C=e(y.getUTCDate),u=e(y.getUTCFullYear),c=e(y.getUTCHours),m=e(y.getUTCMilliseconds),d=e(y.getUTCMinutes),l=e(y.getUTCMonth),s=e(y.getUTCSeconds);w.exports=a(function(){return S.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!a(function(){S.call(new Date(NaN))})?function(){function i(){if(!f(k(this)))throw new o("Invalid time value");var p=this,v=u(p),g=m(p),h=v<0?"-":v>9999?"+":"";return h+t(V(v),h?6:4,0)+"-"+t(l(p)+1,2,0)+"-"+t(C(p),2,0)+"T"+t(c(p),2,0)+":"+t(d(p),2,0)+":"+t(s(p),2,0)+"."+t(g,3,0)+"Z"}return i}():S},95865:function(w,r,n){"use strict";var e=n(39482),a=n(14991),t=TypeError;w.exports=function(o){if(e(this),o==="string"||o==="default")o="string";else if(o!=="number")throw new t("Incorrect hint");return a(this,o)}},10069:function(w,r,n){"use strict";var e=n(76130),a=n(56018);w.exports=function(t,o,f){return f.get&&e(f.get,o,{getter:!0}),f.set&&e(f.set,o,{setter:!0}),a.f(t,o,f)}},59173:function(w,r,n){"use strict";var e=n(7532),a=n(56018),t=n(76130),o=n(93422);w.exports=function(f,V,y,S){S||(S={});var k=S.enumerable,C=S.name!==void 0?S.name:V;if(e(y)&&t(y,C,S),S.global)k?f[V]=y:o(V,y);else{try{S.unsafe?f[V]&&(k=!0):delete f[V]}catch(u){}k?f[V]=y:a.f(f,V,{value:y,enumerable:!1,configurable:!S.nonConfigurable,writable:!S.nonWritable})}return f}},13648:function(w,r,n){"use strict";var e=n(59173);w.exports=function(a,t,o){for(var f in t)e(a,f,t[f],o);return a}},93422:function(w,r,n){"use strict";var e=n(40224),a=Object.defineProperty;w.exports=function(t,o){try{a(e,t,{value:o,configurable:!0,writable:!0})}catch(f){e[t]=o}return o}},58937:function(w,r,n){"use strict";var e=n(62518),a=TypeError;w.exports=function(t,o){if(!delete t[o])throw new a("Cannot delete property "+e(o)+" of "+e(t))}},14141:function(w,r,n){"use strict";var e=n(41746);w.exports=!e(function(){return Object.defineProperty({},1,{get:function(){function a(){return 7}return a}()})[1]!==7})},85158:function(w,r,n){"use strict";var e=n(40224),a=n(56831),t=e.document,o=a(t)&&a(t.createElement);w.exports=function(f){return o?t.createElement(f):{}}},72434:function(w){"use strict";var r=TypeError,n=9007199254740991;w.exports=function(e){if(e>n)throw r("Maximum allowed index exceeded");return e}},49847:function(w,r,n){"use strict";var e=n(15837),a=e.match(/firefox\/(\d+)/i);w.exports=!!a&&+a[1]},27955:function(w,r,n){"use strict";var e=n(2971),a=n(95823);w.exports=!e&&!a&&typeof window=="object"&&typeof document=="object"},2178:function(w){"use strict";w.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},2971:function(w){"use strict";w.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},56605:function(w,r,n){"use strict";var e=n(15837);w.exports=/MSIE|Trident/.test(e)},6647:function(w,r,n){"use strict";var e=n(15837);w.exports=/ipad|iphone|ipod/i.test(e)&&typeof Pebble!="undefined"},52426:function(w,r,n){"use strict";var e=n(15837);w.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(e)},95823:function(w,r,n){"use strict";var e=n(40224),a=n(38817);w.exports=a(e.process)==="process"},25062:function(w,r,n){"use strict";var e=n(15837);w.exports=/web0s(?!.*chrome)/i.test(e)},15837:function(w){"use strict";w.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},82709:function(w,r,n){"use strict";var e=n(40224),a=n(15837),t=e.process,o=e.Deno,f=t&&t.versions||o&&o.version,V=f&&f.v8,y,S;V&&(y=V.split("."),S=y[0]>0&&y[0]<4?1:+(y[0]+y[1])),!S&&a&&(y=a.match(/Edge\/(\d+)/),(!y||y[1]>=74)&&(y=a.match(/Chrome\/(\d+)/),y&&(S=+y[1]))),w.exports=S},53125:function(w,r,n){"use strict";var e=n(15837),a=e.match(/AppleWebKit\/(\d+)\./);w.exports=!!a&&+a[1]},90298:function(w){"use strict";w.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},77549:function(w,r,n){"use strict";var e=n(40224),a=n(54168).f,t=n(16216),o=n(59173),f=n(93422),V=n(70113),y=n(95945);w.exports=function(S,k){var C=S.target,u=S.global,c=S.stat,m,d,l,s,i,p;if(u?d=e:c?d=e[C]||f(C,{}):d=e[C]&&e[C].prototype,d)for(l in k){if(i=k[l],S.dontCallGetSet?(p=a(d,l),s=p&&p.value):s=d[l],m=y(u?l:C+(c?".":"#")+l,S.forced),!m&&s!==void 0){if(typeof i==typeof s)continue;V(i,s)}(S.sham||s&&s.sham)&&t(i,"sham",!0),o(d,l,i,S)}}},41746:function(w){"use strict";w.exports=function(r){try{return!!r()}catch(n){return!0}}},85427:function(w,r,n){"use strict";n(95880);var e=n(62696),a=n(59173),t=n(72894),o=n(41746),f=n(66266),V=n(16216),y=f("species"),S=RegExp.prototype;w.exports=function(k,C,u,c){var m=f(k),d=!o(function(){var p={};return p[m]=function(){return 7},""[k](p)!==7}),l=d&&!o(function(){var p=!1,v=/a/;return k==="split"&&(v={},v.constructor={},v.constructor[y]=function(){return v},v.flags="",v[m]=/./[m]),v.exec=function(){return p=!0,null},v[m](""),!p});if(!d||!l||u){var s=/./[m],i=C(m,""[k],function(p,v,g,h,N){var b=v.exec;return b===t||b===S.exec?d&&!N?{done:!0,value:e(s,v,g,h)}:{done:!0,value:e(p,g,v,h)}:{done:!1}});a(String.prototype,k,i[0]),a(S,m,i[1])}c&&V(S[m],"sham",!0)}},68864:function(w,r,n){"use strict";var e=n(62367),a=n(8333),t=n(72434),o=n(4509),f=function V(y,S,k,C,u,c,m,d){for(var l=u,s=0,i=m?o(m,d):!1,p,v;s0&&e(p)?(v=a(p),l=V(y,S,p,v,l,c-1)-1):(t(l+1),y[l]=p),l++),s++;return l};w.exports=f},56255:function(w,r,n){"use strict";var e=n(41746);w.exports=!e(function(){return Object.isExtensible(Object.preventExtensions({}))})},70918:function(w,r,n){"use strict";var e=n(76799),a=Function.prototype,t=a.apply,o=a.call;w.exports=typeof Reflect=="object"&&Reflect.apply||(e?o.bind(t):function(){return o.apply(t,arguments)})},4509:function(w,r,n){"use strict";var e=n(85067),a=n(97361),t=n(76799),o=e(e.bind);w.exports=function(f,V){return a(f),V===void 0?f:t?o(f,V):function(){return f.apply(V,arguments)}}},76799:function(w,r,n){"use strict";var e=n(41746);w.exports=!e(function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")})},9379:function(w,r,n){"use strict";var e=n(18161),a=n(97361),t=n(56831),o=n(89458),f=n(77713),V=n(76799),y=Function,S=e([].concat),k=e([].join),C={},u=function(m,d,l){if(!o(C,d)){for(var s=[],i=0;i]*>)/g,S=/\$([$&'`]|\d{1,2})/g;w.exports=function(k,C,u,c,m,d){var l=u+k.length,s=c.length,i=S;return m!==void 0&&(m=a(m),i=y),f(d,i,function(p,v){var g;switch(o(v,0)){case"$":return"$";case"&":return k;case"`":return V(C,0,u);case"'":return V(C,l);case"<":g=m[V(v,1,-1)];break;default:var h=+v;if(h===0)return p;if(h>s){var N=t(h/10);return N===0?p:N<=s?c[N-1]===void 0?o(v,1):c[N-1]+o(v,1):p}g=c[h-1]}return g===void 0?"":g})}},40224:function(w,r,n){"use strict";var e=function(t){return t&&t.Math===Math&&t};w.exports=e(typeof globalThis=="object"&&globalThis)||e(typeof window=="object"&&window)||e(typeof self=="object"&&self)||e(typeof n.g=="object"&&n.g)||e(!1)||function(){return this}()||Function("return this")()},89458:function(w,r,n){"use strict";var e=n(18161),a=n(40076),t=e({}.hasOwnProperty);w.exports=Object.hasOwn||function(){function o(f,V){return t(a(f),V)}return o}()},21124:function(w){"use strict";w.exports={}},46122:function(w){"use strict";w.exports=function(r,n){try{arguments.length}catch(e){}}},54562:function(w,r,n){"use strict";var e=n(40164);w.exports=e("document","documentElement")},1606:function(w,r,n){"use strict";var e=n(14141),a=n(41746),t=n(85158);w.exports=!e&&!a(function(){return Object.defineProperty(t("div"),"a",{get:function(){function o(){return 7}return o}()}).a!==7})},62263:function(w){"use strict";var r=Array,n=Math.abs,e=Math.pow,a=Math.floor,t=Math.log,o=Math.LN2,f=function(S,k,C){var u=r(C),c=C*8-k-1,m=(1<>1,l=k===23?e(2,-24)-e(2,-77):0,s=S<0||S===0&&1/S<0?1:0,i=0,p,v,g;for(S=n(S),S!==S||S===1/0?(v=S!==S?1:0,p=m):(p=a(t(S)/o),g=e(2,-p),S*g<1&&(p--,g*=2),p+d>=1?S+=l/g:S+=l*e(2,1-d),S*g>=2&&(p++,g/=2),p+d>=m?(v=0,p=m):p+d>=1?(v=(S*g-1)*e(2,k),p+=d):(v=S*e(2,d-1)*e(2,k),p=0));k>=8;)u[i++]=v&255,v/=256,k-=8;for(p=p<0;)u[i++]=p&255,p/=256,c-=8;return u[--i]|=s*128,u},V=function(S,k){var C=S.length,u=C*8-k-1,c=(1<>1,d=u-7,l=C-1,s=S[l--],i=s&127,p;for(s>>=7;d>0;)i=i*256+S[l--],d-=8;for(p=i&(1<<-d)-1,i>>=-d,d+=k;d>0;)p=p*256+S[l--],d-=8;if(i===0)i=1-m;else{if(i===c)return p?NaN:s?-1/0:1/0;p+=e(2,k),i-=m}return(s?-1:1)*p*e(2,i-k)};w.exports={pack:f,unpack:V}},26736:function(w,r,n){"use strict";var e=n(18161),a=n(41746),t=n(38817),o=Object,f=e("".split);w.exports=a(function(){return!o("z").propertyIsEnumerable(0)})?function(V){return t(V)==="String"?f(V,""):o(V)}:o},2566:function(w,r,n){"use strict";var e=n(7532),a=n(56831),t=n(42878);w.exports=function(o,f,V){var y,S;return t&&e(y=f.constructor)&&y!==V&&a(S=y.prototype)&&S!==V.prototype&&t(o,S),o}},43589:function(w,r,n){"use strict";var e=n(18161),a=n(7532),t=n(95046),o=e(Function.toString);a(t.inspectSource)||(t.inspectSource=function(f){return o(f)}),w.exports=t.inspectSource},29126:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(21124),o=n(56831),f=n(89458),V=n(56018).f,y=n(34813),S=n(63797),k=n(57975),C=n(33345),u=n(56255),c=!1,m=C("meta"),d=0,l=function(N){V(N,m,{value:{objectID:"O"+d++,weakData:{}}})},s=function(N,b){if(!o(N))return typeof N=="symbol"?N:(typeof N=="string"?"S":"P")+N;if(!f(N,m)){if(!k(N))return"F";if(!b)return"E";l(N)}return N[m].objectID},i=function(N,b){if(!f(N,m)){if(!k(N))return!0;if(!b)return!1;l(N)}return N[m].weakData},p=function(N){return u&&c&&k(N)&&!f(N,m)&&l(N),N},v=function(){g.enable=function(){},c=!0;var N=y.f,b=a([].splice),B={};B[m]=1,N(B).length&&(y.f=function(I){for(var L=N(I),T=0,x=L.length;TI;I++)if(T=M(d[I]),T&&y(m,T))return T;return new c(!1)}b=S(d,B)}for(x=v?d.next:b.next;!(A=a(x,b)).done;){try{T=M(A.value)}catch(D){C(b,"throw",D)}if(typeof T=="object"&&T&&y(m,T))return T}return new c(!1)}},14868:function(w,r,n){"use strict";var e=n(62696),a=n(39482),t=n(4817);w.exports=function(o,f,V){var y,S;a(o);try{if(y=t(o,"return"),!y){if(f==="throw")throw V;return V}y=e(y,o)}catch(k){S=!0,y=k}if(f==="throw")throw V;if(S)throw y;return a(y),V}},42599:function(w,r,n){"use strict";var e=n(85106).IteratorPrototype,a=n(28969),t=n(7539),o=n(94234),f=n(90604),V=function(){return this};w.exports=function(y,S,k,C){var u=S+" Iterator";return y.prototype=a(e,{next:t(+!C,k)}),o(y,u,!1,!0),f[u]=V,y}},2449:function(w,r,n){"use strict";var e=n(77549),a=n(62696),t=n(11478),o=n(26463),f=n(7532),V=n(42599),y=n(31658),S=n(42878),k=n(94234),C=n(16216),u=n(59173),c=n(66266),m=n(90604),d=n(85106),l=o.PROPER,s=o.CONFIGURABLE,i=d.IteratorPrototype,p=d.BUGGY_SAFARI_ITERATORS,v=c("iterator"),g="keys",h="values",N="entries",b=function(){return this};w.exports=function(B,I,L,T,x,A,E){V(L,I,T);var M=function(X){if(X===x&&F)return F;if(!p&&X&&X in R)return R[X];switch(X){case g:return function(){function J(){return new L(this,X)}return J}();case h:return function(){function J(){return new L(this,X)}return J}();case N:return function(){function J(){return new L(this,X)}return J}()}return function(){return new L(this)}},D=I+" Iterator",P=!1,R=B.prototype,j=R[v]||R["@@iterator"]||x&&R[x],F=!p&&j||M(x),W=I==="Array"&&R.entries||j,_,K,$;if(W&&(_=y(W.call(new B)),_!==Object.prototype&&_.next&&(!t&&y(_)!==i&&(S?S(_,i):f(_[v])||u(_,v,b)),k(_,D,!0,!0),t&&(m[D]=b))),l&&x===h&&j&&j.name!==h&&(!t&&s?C(R,"name",h):(P=!0,F=function(){function G(){return a(j,this)}return G}())),x)if(K={values:M(h),keys:A?F:M(g),entries:M(N)},E)for($ in K)(p||P||!($ in R))&&u(R,$,K[$]);else e({target:I,proto:!0,forced:p||P},K);return(!t||E)&&R[v]!==F&&u(R,v,F,{name:x}),m[I]=F,K}},85106:function(w,r,n){"use strict";var e=n(41746),a=n(7532),t=n(56831),o=n(28969),f=n(31658),V=n(59173),y=n(66266),S=n(11478),k=y("iterator"),C=!1,u,c,m;[].keys&&(m=[].keys(),"next"in m?(c=f(f(m)),c!==Object.prototype&&(u=c)):C=!0);var d=!t(u)||e(function(){var l={};return u[k].call(l)!==l});d?u={}:S&&(u=o(u)),a(u[k])||V(u,k,function(){return this}),w.exports={IteratorPrototype:u,BUGGY_SAFARI_ITERATORS:C}},90604:function(w){"use strict";w.exports={}},8333:function(w,r,n){"use strict";var e=n(10475);w.exports=function(a){return e(a.length)}},76130:function(w,r,n){"use strict";var e=n(18161),a=n(41746),t=n(7532),o=n(89458),f=n(14141),V=n(26463).CONFIGURABLE,y=n(43589),S=n(35086),k=S.enforce,C=S.get,u=String,c=Object.defineProperty,m=e("".slice),d=e("".replace),l=e([].join),s=f&&!a(function(){return c(function(){},"length",{value:8}).length!==8}),i=String(String).split("String"),p=w.exports=function(v,g,h){m(u(g),0,7)==="Symbol("&&(g="["+d(u(g),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),h&&h.getter&&(g="get "+g),h&&h.setter&&(g="set "+g),(!o(v,"name")||V&&v.name!==g)&&(f?c(v,"name",{value:g,configurable:!0}):v.name=g),s&&h&&o(h,"arity")&&v.length!==h.arity&&c(v,"length",{value:h.arity});try{h&&o(h,"constructor")&&h.constructor?f&&c(v,"prototype",{writable:!1}):v.prototype&&(v.prototype=void 0)}catch(b){}var N=k(v);return o(N,"source")||(N.source=l(i,typeof g=="string"?g:"")),v};Function.prototype.toString=p(function(){function v(){return t(this)&&C(this).source||y(this)}return v}(),"toString")},32813:function(w){"use strict";var r=Math.expm1,n=Math.exp;w.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||r(-2e-17)!==-2e-17?function(){function e(a){var t=+a;return t===0?t:t>-1e-6&&t<1e-6?t+t*t/2:n(t)-1}return e}():r},23207:function(w,r,n){"use strict";var e=n(54307),a=Math.abs,t=2220446049250313e-31,o=1/t,f=function(y){return y+o-o};w.exports=function(V,y,S,k){var C=+V,u=a(C),c=e(C);if(uS||d!==d?c*(1/0):c*d}},75988:function(w,r,n){"use strict";var e=n(23207),a=11920928955078125e-23,t=34028234663852886e22,o=11754943508222875e-54;w.exports=Math.fround||function(){function f(V){return e(V,a,t,o)}return f}()},53271:function(w){"use strict";var r=Math.log,n=Math.LOG10E;w.exports=Math.log10||function(){function e(a){return r(a)*n}return e}()},69143:function(w){"use strict";var r=Math.log;w.exports=Math.log1p||function(){function n(e){var a=+e;return a>-1e-8&&a<1e-8?a-a*a/2:r(1+a)}return n}()},54307:function(w){"use strict";w.exports=Math.sign||function(){function r(n){var e=+n;return e===0||e!==e?e:e<0?-1:1}return r}()},34606:function(w){"use strict";var r=Math.ceil,n=Math.floor;w.exports=Math.trunc||function(){function e(a){var t=+a;return(t>0?n:r)(t)}return e}()},27150:function(w,r,n){"use strict";var e=n(40224),a=n(1156),t=n(4509),o=n(91314).set,f=n(23496),V=n(52426),y=n(6647),S=n(25062),k=n(95823),C=e.MutationObserver||e.WebKitMutationObserver,u=e.document,c=e.process,m=e.Promise,d=a("queueMicrotask"),l,s,i,p,v;if(!d){var g=new f,h=function(){var b,B;for(k&&(b=c.domain)&&b.exit();B=g.get();)try{B()}catch(I){throw g.head&&l(),I}b&&b.enter()};!V&&!k&&!S&&C&&u?(s=!0,i=u.createTextNode(""),new C(h).observe(i,{characterData:!0}),l=function(){i.data=s=!s}):!y&&m&&m.resolve?(p=m.resolve(void 0),p.constructor=m,v=t(p.then,p),l=function(){v(h)}):k?l=function(){c.nextTick(h)}:(o=t(o,e),l=function(){o(h)}),d=function(b){g.head||l(),g.add(b)}}w.exports=d},48532:function(w,r,n){"use strict";var e=n(97361),a=TypeError,t=function(f){var V,y;this.promise=new f(function(S,k){if(V!==void 0||y!==void 0)throw new a("Bad Promise constructor");V=S,y=k}),this.resolve=e(V),this.reject=e(y)};w.exports.f=function(o){return new t(o)}},89140:function(w,r,n){"use strict";var e=n(80969),a=TypeError;w.exports=function(t){if(e(t))throw new a("The method doesn't accept regular expressions");return t}},69079:function(w,r,n){"use strict";var e=n(40224),a=e.isFinite;w.exports=Number.isFinite||function(){function t(o){return typeof o=="number"&&a(o)}return t}()},43283:function(w,r,n){"use strict";var e=n(40224),a=n(41746),t=n(18161),o=n(26602),f=n(35171).trim,V=n(137),y=t("".charAt),S=e.parseFloat,k=e.Symbol,C=k&&k.iterator,u=1/S(V+"-0")!==-1/0||C&&!a(function(){S(Object(C))});w.exports=u?function(){function c(m){var d=f(o(m)),l=S(d);return l===0&&y(d,0)==="-"?-0:l}return c}():S},11540:function(w,r,n){"use strict";var e=n(40224),a=n(41746),t=n(18161),o=n(26602),f=n(35171).trim,V=n(137),y=e.parseInt,S=e.Symbol,k=S&&S.iterator,C=/^[+-]?0x/i,u=t(C.exec),c=y(V+"08")!==8||y(V+"0x16")!==22||k&&!a(function(){y(Object(k))});w.exports=c?function(){function m(d,l){var s=f(o(d));return y(s,l>>>0||(u(C,s)?16:10))}return m}():y},12752:function(w,r,n){"use strict";var e=n(14141),a=n(18161),t=n(62696),o=n(41746),f=n(84913),V=n(34220),y=n(9776),S=n(40076),k=n(26736),C=Object.assign,u=Object.defineProperty,c=a([].concat);w.exports=!C||o(function(){if(e&&C({b:1},C(u({},"a",{enumerable:!0,get:function(){function i(){u(this,"b",{value:3,enumerable:!1})}return i}()}),{b:2})).b!==1)return!0;var m={},d={},l=Symbol("assign detection"),s="abcdefghijklmnopqrst";return m[l]=7,s.split("").forEach(function(i){d[i]=i}),C({},m)[l]!==7||f(C({},d)).join("")!==s})?function(){function m(d,l){for(var s=S(d),i=arguments.length,p=1,v=V.f,g=y.f;i>p;)for(var h=k(arguments[p++]),N=v?c(f(h),v(h)):f(h),b=N.length,B=0,I;b>B;)I=N[B++],(!e||t(g,h,I))&&(s[I]=h[I]);return s}return m}():C},28969:function(w,r,n){"use strict";var e=n(39482),a=n(65854),t=n(90298),o=n(21124),f=n(54562),V=n(85158),y=n(5160),S=">",k="<",C="prototype",u="script",c=y("IE_PROTO"),m=function(){},d=function(g){return k+u+S+g+k+"/"+u+S},l=function(g){g.write(d("")),g.close();var h=g.parentWindow.Object;return g=null,h},s=function(){var g=V("iframe"),h="java"+u+":",N;return g.style.display="none",f.appendChild(g),g.src=String(h),N=g.contentWindow.document,N.open(),N.write(d("document.F=Object")),N.close(),N.F},i,p=function(){try{i=new ActiveXObject("htmlfile")}catch(h){}p=typeof document!="undefined"?document.domain&&i?l(i):s():l(i);for(var g=t.length;g--;)delete p[C][t[g]];return p()};o[c]=!0,w.exports=Object.create||function(){function v(g,h){var N;return g!==null?(m[C]=e(g),N=new m,m[C]=null,N[c]=g):N=p(),h===void 0?N:a.f(N,h)}return v}()},65854:function(w,r,n){"use strict";var e=n(14141),a=n(83411),t=n(56018),o=n(39482),f=n(96812),V=n(84913);r.f=e&&!a?Object.defineProperties:function(){function y(S,k){o(S);for(var C=f(k),u=V(k),c=u.length,m=0,d;c>m;)t.f(S,d=u[m++],C[d]);return S}return y}()},56018:function(w,r,n){"use strict";var e=n(14141),a=n(1606),t=n(83411),o=n(39482),f=n(57640),V=TypeError,y=Object.defineProperty,S=Object.getOwnPropertyDescriptor,k="enumerable",C="configurable",u="writable";r.f=e?t?function(){function c(m,d,l){if(o(m),d=f(d),o(l),typeof m=="function"&&d==="prototype"&&"value"in l&&u in l&&!l[u]){var s=S(m,d);s&&s[u]&&(m[d]=l.value,l={configurable:C in l?l[C]:s[C],enumerable:k in l?l[k]:s[k],writable:!1})}return y(m,d,l)}return c}():y:function(){function c(m,d,l){if(o(m),d=f(d),o(l),a)try{return y(m,d,l)}catch(s){}if("get"in l||"set"in l)throw new V("Accessors not supported");return"value"in l&&(m[d]=l.value),m}return c}()},54168:function(w,r,n){"use strict";var e=n(14141),a=n(62696),t=n(9776),o=n(7539),f=n(96812),V=n(57640),y=n(89458),S=n(1606),k=Object.getOwnPropertyDescriptor;r.f=e?k:function(){function C(u,c){if(u=f(u),c=V(c),S)try{return k(u,c)}catch(m){}if(y(u,c))return o(!a(t.f,u,c),u[c])}return C}()},63797:function(w,r,n){"use strict";var e=n(38817),a=n(96812),t=n(34813).f,o=n(77713),f=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],V=function(S){try{return t(S)}catch(k){return o(f)}};w.exports.f=function(){function y(S){return f&&e(S)==="Window"?V(S):t(a(S))}return y}()},34813:function(w,r,n){"use strict";var e=n(62995),a=n(90298),t=a.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(){function o(f){return e(f,t)}return o}()},34220:function(w,r){"use strict";r.f=Object.getOwnPropertySymbols},31658:function(w,r,n){"use strict";var e=n(89458),a=n(7532),t=n(40076),o=n(5160),f=n(58776),V=o("IE_PROTO"),y=Object,S=y.prototype;w.exports=f?y.getPrototypeOf:function(k){var C=t(k);if(e(C,V))return C[V];var u=C.constructor;return a(u)&&C instanceof u?u.prototype:C instanceof y?S:null}},57975:function(w,r,n){"use strict";var e=n(41746),a=n(56831),t=n(38817),o=n(65693),f=Object.isExtensible,V=e(function(){f(1)});w.exports=V||o?function(){function y(S){return!a(S)||o&&t(S)==="ArrayBuffer"?!1:f?f(S):!0}return y}():f},33314:function(w,r,n){"use strict";var e=n(18161);w.exports=e({}.isPrototypeOf)},62995:function(w,r,n){"use strict";var e=n(18161),a=n(89458),t=n(96812),o=n(64210).indexOf,f=n(21124),V=e([].push);w.exports=function(y,S){var k=t(y),C=0,u=[],c;for(c in k)!a(f,c)&&a(k,c)&&V(u,c);for(;S.length>C;)a(k,c=S[C++])&&(~o(u,c)||V(u,c));return u}},84913:function(w,r,n){"use strict";var e=n(62995),a=n(90298);w.exports=Object.keys||function(){function t(o){return e(o,a)}return t}()},9776:function(w,r){"use strict";var n={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,a=e&&!n.call({1:2},1);r.f=a?function(){function t(o){var f=e(this,o);return!!f&&f.enumerable}return t}():n},33030:function(w,r,n){"use strict";var e=n(11478),a=n(40224),t=n(41746),o=n(53125);w.exports=e||!t(function(){if(!(o&&o<535)){var f=Math.random();__defineSetter__.call(null,f,function(){}),delete a[f]}})},42878:function(w,r,n){"use strict";var e=n(9553),a=n(56831),t=n(91029),o=n(51689);w.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var f=!1,V={},y;try{y=e(Object.prototype,"__proto__","set"),y(V,[]),f=V instanceof Array}catch(S){}return function(){function S(k,C){return t(k),o(C),a(k)&&(f?y(k,C):k.__proto__=C),k}return S}()}():void 0)},97452:function(w,r,n){"use strict";var e=n(14141),a=n(41746),t=n(18161),o=n(31658),f=n(84913),V=n(96812),y=n(9776).f,S=t(y),k=t([].push),C=e&&a(function(){var c=Object.create(null);return c[2]=2,!S(c,2)}),u=function(m){return function(d){for(var l=V(d),s=f(l),i=C&&o(l)===null,p=s.length,v=0,g=[],h;p>v;)h=s[v++],(!e||(i?h in l:S(l,h)))&&k(g,m?[h,l[h]]:l[h]);return g}};w.exports={entries:u(!0),values:u(!1)}},66628:function(w,r,n){"use strict";var e=n(82161),a=n(27806);w.exports=e?{}.toString:function(){function t(){return"[object "+a(this)+"]"}return t}()},14991:function(w,r,n){"use strict";var e=n(62696),a=n(7532),t=n(56831),o=TypeError;w.exports=function(f,V){var y,S;if(V==="string"&&a(y=f.toString)&&!t(S=e(y,f))||a(y=f.valueOf)&&!t(S=e(y,f))||V!=="string"&&a(y=f.toString)&&!t(S=e(y,f)))return S;throw new o("Can't convert object to primitive value")}},93616:function(w,r,n){"use strict";var e=n(40164),a=n(18161),t=n(34813),o=n(34220),f=n(39482),V=a([].concat);w.exports=e("Reflect","ownKeys")||function(){function y(S){var k=t.f(f(S)),C=o.f;return C?V(k,C(S)):k}return y}()},5376:function(w,r,n){"use strict";var e=n(40224);w.exports=e},91114:function(w){"use strict";w.exports=function(r){try{return{error:!1,value:r()}}catch(n){return{error:!0,value:n}}}},49669:function(w,r,n){"use strict";var e=n(40224),a=n(35973),t=n(7532),o=n(95945),f=n(43589),V=n(66266),y=n(27955),S=n(2971),k=n(11478),C=n(82709),u=a&&a.prototype,c=V("species"),m=!1,d=t(e.PromiseRejectionEvent),l=o("Promise",function(){var s=f(a),i=s!==String(a);if(!i&&C===66||k&&!(u.catch&&u.finally))return!0;if(!C||C<51||!/native code/.test(s)){var p=new a(function(h){h(1)}),v=function(N){N(function(){},function(){})},g=p.constructor={};if(g[c]=v,m=p.then(function(){})instanceof v,!m)return!0}return!i&&(y||S)&&!d});w.exports={CONSTRUCTOR:l,REJECTION_EVENT:d,SUBCLASSING:m}},35973:function(w,r,n){"use strict";var e=n(40224);w.exports=e.Promise},43827:function(w,r,n){"use strict";var e=n(39482),a=n(56831),t=n(48532);w.exports=function(o,f){if(e(o),a(f)&&f.constructor===o)return f;var V=t.f(o),y=V.resolve;return y(f),V.promise}},95044:function(w,r,n){"use strict";var e=n(35973),a=n(52019),t=n(49669).CONSTRUCTOR;w.exports=t||!a(function(o){e.all(o).then(void 0,function(){})})},77495:function(w,r,n){"use strict";var e=n(56018).f;w.exports=function(a,t,o){o in a||e(a,o,{configurable:!0,get:function(){function f(){return t[o]}return f}(),set:function(){function f(V){t[o]=V}return f}()})}},23496:function(w){"use strict";var r=function(){this.head=null,this.tail=null};r.prototype={add:function(){function n(e){var a={item:e,next:null},t=this.tail;t?t.next=a:this.head=a,this.tail=a}return n}(),get:function(){function n(){var e=this.head;if(e){var a=this.head=e.next;return a===null&&(this.tail=null),e.item}}return n}()},w.exports=r},35553:function(w,r,n){"use strict";var e=n(62696),a=n(39482),t=n(7532),o=n(38817),f=n(72894),V=TypeError;w.exports=function(y,S){var k=y.exec;if(t(k)){var C=e(k,y,S);return C!==null&&a(C),C}if(o(y)==="RegExp")return e(f,y,S);throw new V("RegExp#exec called on incompatible receiver")}},72894:function(w,r,n){"use strict";var e=n(62696),a=n(18161),t=n(26602),o=n(65844),f=n(1064),V=n(75130),y=n(28969),S=n(35086).get,k=n(89604),C=n(5489),u=V("native-string-replace",String.prototype.replace),c=RegExp.prototype.exec,m=c,d=a("".charAt),l=a("".indexOf),s=a("".replace),i=a("".slice),p=function(){var N=/a/,b=/b*/g;return e(c,N,"a"),e(c,b,"a"),N.lastIndex!==0||b.lastIndex!==0}(),v=f.BROKEN_CARET,g=/()??/.exec("")[1]!==void 0,h=p||g||v||k||C;h&&(m=function(){function N(b){var B=this,I=S(B),L=t(b),T=I.raw,x,A,E,M,D,P,R;if(T)return T.lastIndex=B.lastIndex,x=e(m,T,L),B.lastIndex=T.lastIndex,x;var j=I.groups,F=v&&B.sticky,W=e(o,B),_=B.source,K=0,$=L;if(F&&(W=s(W,"y",""),l(W,"g")===-1&&(W+="g"),$=i(L,B.lastIndex),B.lastIndex>0&&(!B.multiline||B.multiline&&d(L,B.lastIndex-1)!=="\n")&&(_="(?: "+_+")",$=" "+$,K++),A=new RegExp("^(?:"+_+")",W)),g&&(A=new RegExp("^"+_+"$(?!\\s)",W)),p&&(E=B.lastIndex),M=e(c,F?A:B,$),F?M?(M.input=i(M.input,K),M[0]=i(M[0],K),M.index=B.lastIndex,B.lastIndex+=M[0].length):B.lastIndex=0:p&&M&&(B.lastIndex=B.global?M.index+M[0].length:E),g&&M&&M.length>1&&e(u,M[0],A,function(){for(D=1;Db)","g");return o.exec("b").groups.a!=="b"||"b".replace(o,"$c")!=="bc"})},91029:function(w,r,n){"use strict";var e=n(1022),a=TypeError;w.exports=function(t){if(e(t))throw new a("Can't call method on "+t);return t}},1156:function(w,r,n){"use strict";var e=n(40224),a=n(14141),t=Object.getOwnPropertyDescriptor;w.exports=function(o){if(!a)return e[o];var f=t(e,o);return f&&f.value}},37309:function(w){"use strict";w.exports=Object.is||function(){function r(n,e){return n===e?n!==0||1/n===1/e:n!==n&&e!==e}return r}()},83827:function(w,r,n){"use strict";var e=n(40224),a=n(70918),t=n(7532),o=n(2178),f=n(15837),V=n(77713),y=n(22789),S=e.Function,k=/MSIE .\./.test(f)||o&&function(){var C=e.Bun.version.split(".");return C.length<3||C[0]==="0"&&(C[1]<3||C[1]==="3"&&C[2]==="0")}();w.exports=function(C,u){var c=u?2:1;return k?function(m,d){var l=y(arguments.length,1)>c,s=t(m)?m:S(m),i=l?V(arguments,c):[],p=l?function(){a(s,this,i)}:s;return u?C(p,d):C(p)}:C}},67420:function(w,r,n){"use strict";var e=n(40164),a=n(10069),t=n(66266),o=n(14141),f=t("species");w.exports=function(V){var y=e(V);o&&y&&!y[f]&&a(y,f,{configurable:!0,get:function(){function S(){return this}return S}()})}},94234:function(w,r,n){"use strict";var e=n(56018).f,a=n(89458),t=n(66266),o=t("toStringTag");w.exports=function(f,V,y){f&&!y&&(f=f.prototype),f&&!a(f,o)&&e(f,o,{configurable:!0,value:V})}},5160:function(w,r,n){"use strict";var e=n(75130),a=n(33345),t=e("keys");w.exports=function(o){return t[o]||(t[o]=a(o))}},95046:function(w,r,n){"use strict";var e=n(11478),a=n(40224),t=n(93422),o="__core-js_shared__",f=w.exports=a[o]||t(o,{});(f.versions||(f.versions=[])).push({version:"3.36.1",mode:e?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE",source:"https://github.com/zloirock/core-js"})},75130:function(w,r,n){"use strict";var e=n(95046);w.exports=function(a,t){return e[a]||(e[a]=t||{})}},78412:function(w,r,n){"use strict";var e=n(39482),a=n(76833),t=n(1022),o=n(66266),f=o("species");w.exports=function(V,y){var S=e(V).constructor,k;return S===void 0||t(k=e(S)[f])?y:a(k)}},32086:function(w,r,n){"use strict";var e=n(41746);w.exports=function(a){return e(function(){var t=""[a]('"');return t!==t.toLowerCase()||t.split('"').length>3})}},56852:function(w,r,n){"use strict";var e=n(18161),a=n(74952),t=n(26602),o=n(91029),f=e("".charAt),V=e("".charCodeAt),y=e("".slice),S=function(C){return function(u,c){var m=t(o(u)),d=a(c),l=m.length,s,i;return d<0||d>=l?C?"":void 0:(s=V(m,d),s<55296||s>56319||d+1===l||(i=V(m,d+1))<56320||i>57343?C?f(m,d):s:C?y(m,d,d+2):(s-55296<<10)+(i-56320)+65536)}};w.exports={codeAt:S(!1),charAt:S(!0)}},33038:function(w,r,n){"use strict";var e=n(15837);w.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(e)},34086:function(w,r,n){"use strict";var e=n(18161),a=n(10475),t=n(26602),o=n(84948),f=n(91029),V=e(o),y=e("".slice),S=Math.ceil,k=function(u){return function(c,m,d){var l=t(f(c)),s=a(m),i=l.length,p=d===void 0?" ":t(d),v,g;return s<=i||p===""?l:(v=s-i,g=V(p,S(v/p.length)),g.length>v&&(g=y(g,0,v)),u?l+g:g+l)}};w.exports={start:k(!1),end:k(!0)}},84948:function(w,r,n){"use strict";var e=n(74952),a=n(26602),t=n(91029),o=RangeError;w.exports=function(){function f(V){var y=a(t(this)),S="",k=e(V);if(k<0||k===1/0)throw new o("Wrong number of repetitions");for(;k>0;(k>>>=1)&&(y+=y))k&1&&(S+=y);return S}return f}()},11775:function(w,r,n){"use strict";var e=n(35171).end,a=n(93817);w.exports=a("trimEnd")?function(){function t(){return e(this)}return t}():"".trimEnd},93817:function(w,r,n){"use strict";var e=n(26463).PROPER,a=n(41746),t=n(137),o="\u200B\x85\u180E";w.exports=function(f){return a(function(){return!!t[f]()||o[f]()!==o||e&&t[f].name!==f})}},26402:function(w,r,n){"use strict";var e=n(35171).start,a=n(93817);w.exports=a("trimStart")?function(){function t(){return e(this)}return t}():"".trimStart},35171:function(w,r,n){"use strict";var e=n(18161),a=n(91029),t=n(26602),o=n(137),f=e("".replace),V=RegExp("^["+o+"]+"),y=RegExp("(^|[^"+o+"])["+o+"]+$"),S=function(C){return function(u){var c=t(a(u));return C&1&&(c=f(c,V,"")),C&2&&(c=f(c,y,"$1")),c}};w.exports={start:S(1),end:S(2),trim:S(3)}},70640:function(w,r,n){"use strict";var e=n(82709),a=n(41746),t=n(40224),o=t.String;w.exports=!!Object.getOwnPropertySymbols&&!a(function(){var f=Symbol("symbol detection");return!o(f)||!(Object(f)instanceof Symbol)||!Symbol.sham&&e&&e<41})},75429:function(w,r,n){"use strict";var e=n(62696),a=n(40164),t=n(66266),o=n(59173);w.exports=function(){var f=a("Symbol"),V=f&&f.prototype,y=V&&V.valueOf,S=t("toPrimitive");V&&!V[S]&&o(V,S,function(k){return e(y,this)},{arity:1})}},80353:function(w,r,n){"use strict";var e=n(70640);w.exports=e&&!!Symbol.for&&!!Symbol.keyFor},91314:function(w,r,n){"use strict";var e=n(40224),a=n(70918),t=n(4509),o=n(7532),f=n(89458),V=n(41746),y=n(54562),S=n(77713),k=n(85158),C=n(22789),u=n(52426),c=n(95823),m=e.setImmediate,d=e.clearImmediate,l=e.process,s=e.Dispatch,i=e.Function,p=e.MessageChannel,v=e.String,g=0,h={},N="onreadystatechange",b,B,I,L;V(function(){b=e.location});var T=function(D){if(f(h,D)){var P=h[D];delete h[D],P()}},x=function(D){return function(){T(D)}},A=function(D){T(D.data)},E=function(D){e.postMessage(v(D),b.protocol+"//"+b.host)};(!m||!d)&&(m=function(){function M(D){C(arguments.length,1);var P=o(D)?D:i(D),R=S(arguments,1);return h[++g]=function(){a(P,void 0,R)},B(g),g}return M}(),d=function(){function M(D){delete h[D]}return M}(),c?B=function(D){l.nextTick(x(D))}:s&&s.now?B=function(D){s.now(x(D))}:p&&!u?(I=new p,L=I.port2,I.port1.onmessage=A,B=t(L.postMessage,L)):e.addEventListener&&o(e.postMessage)&&!e.importScripts&&b&&b.protocol!=="file:"&&!V(E)?(B=E,e.addEventListener("message",A,!1)):N in k("script")?B=function(D){y.appendChild(k("script"))[N]=function(){y.removeChild(this),T(D)}}:B=function(D){setTimeout(x(D),0)}),w.exports={set:m,clear:d}},37497:function(w,r,n){"use strict";var e=n(18161);w.exports=e(1 .valueOf)},74067:function(w,r,n){"use strict";var e=n(74952),a=Math.max,t=Math.min;w.exports=function(o,f){var V=e(o);return V<0?a(V+f,0):t(V,f)}},757:function(w,r,n){"use strict";var e=n(4370),a=TypeError;w.exports=function(t){var o=e(t,"number");if(typeof o=="number")throw new a("Can't convert number to bigint");return BigInt(o)}},90835:function(w,r,n){"use strict";var e=n(74952),a=n(10475),t=RangeError;w.exports=function(o){if(o===void 0)return 0;var f=e(o),V=a(f);if(f!==V)throw new t("Wrong length or index");return V}},96812:function(w,r,n){"use strict";var e=n(26736),a=n(91029);w.exports=function(t){return e(a(t))}},74952:function(w,r,n){"use strict";var e=n(34606);w.exports=function(a){var t=+a;return t!==t||t===0?0:e(t)}},10475:function(w,r,n){"use strict";var e=n(74952),a=Math.min;w.exports=function(t){var o=e(t);return o>0?a(o,9007199254740991):0}},40076:function(w,r,n){"use strict";var e=n(91029),a=Object;w.exports=function(t){return a(e(t))}},65264:function(w,r,n){"use strict";var e=n(43627),a=RangeError;w.exports=function(t,o){var f=e(t);if(f%o)throw new a("Wrong offset");return f}},43627:function(w,r,n){"use strict";var e=n(74952),a=RangeError;w.exports=function(t){var o=e(t);if(o<0)throw new a("The argument can't be less than 0");return o}},4370:function(w,r,n){"use strict";var e=n(62696),a=n(56831),t=n(74352),o=n(4817),f=n(14991),V=n(66266),y=TypeError,S=V("toPrimitive");w.exports=function(k,C){if(!a(k)||t(k))return k;var u=o(k,S),c;if(u){if(C===void 0&&(C="default"),c=e(u,k,C),!a(c)||t(c))return c;throw new y("Can't convert object to primitive value")}return C===void 0&&(C="number"),f(k,C)}},57640:function(w,r,n){"use strict";var e=n(4370),a=n(74352);w.exports=function(t){var o=e(t,"string");return a(o)?o:o+""}},82161:function(w,r,n){"use strict";var e=n(66266),a=e("toStringTag"),t={};t[a]="z",w.exports=String(t)==="[object z]"},26602:function(w,r,n){"use strict";var e=n(27806),a=String;w.exports=function(t){if(e(t)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return a(t)}},78828:function(w){"use strict";var r=Math.round;w.exports=function(n){var e=r(n);return e<0?0:e>255?255:e&255}},62518:function(w){"use strict";var r=String;w.exports=function(n){try{return r(n)}catch(e){return"Object"}}},12218:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(62696),o=n(14141),f=n(66220),V=n(72951),y=n(46185),S=n(19870),k=n(7539),C=n(16216),u=n(57696),c=n(10475),m=n(90835),d=n(65264),l=n(78828),s=n(57640),i=n(89458),p=n(27806),v=n(56831),g=n(74352),h=n(28969),N=n(33314),b=n(42878),B=n(34813).f,I=n(7996),L=n(67480).forEach,T=n(67420),x=n(10069),A=n(56018),E=n(54168),M=n(6967),D=n(35086),P=n(2566),R=D.get,j=D.set,F=D.enforce,W=A.f,_=E.f,K=a.RangeError,$=y.ArrayBuffer,G=$.prototype,X=y.DataView,J=V.NATIVE_ARRAY_BUFFER_VIEWS,ue=V.TYPED_ARRAY_TAG,ce=V.TypedArray,fe=V.TypedArrayPrototype,pe=V.isTypedArray,he="BYTES_PER_ELEMENT",te="Wrong length",Q=function(ge,Be){x(ge,Be,{configurable:!0,get:function(){function ve(){return R(this)[Be]}return ve}()})},ae=function(ge){var Be;return N(G,ge)||(Be=p(ge))==="ArrayBuffer"||Be==="SharedArrayBuffer"},ee=function(ge,Be){return pe(ge)&&!g(Be)&&Be in ge&&u(+Be)&&Be>=0},oe=function(){function re(ge,Be){return Be=s(Be),ee(ge,Be)?k(2,ge[Be]):_(ge,Be)}return re}(),le=function(){function re(ge,Be,ve){return Be=s(Be),ee(ge,Be)&&v(ve)&&i(ve,"value")&&!i(ve,"get")&&!i(ve,"set")&&!ve.configurable&&(!i(ve,"writable")||ve.writable)&&(!i(ve,"enumerable")||ve.enumerable)?(ge[Be]=ve.value,ge):W(ge,Be,ve)}return re}();o?(J||(E.f=oe,A.f=le,Q(fe,"buffer"),Q(fe,"byteOffset"),Q(fe,"byteLength"),Q(fe,"length")),e({target:"Object",stat:!0,forced:!J},{getOwnPropertyDescriptor:oe,defineProperty:le}),w.exports=function(re,ge,Be){var ve=re.match(/\d+/)[0]/8,Ve=re+(Be?"Clamped":"")+"Array",ke="get"+re,ye="set"+re,Ie=a[Ve],we=Ie,xe=we&&we.prototype,Oe={},We=function(me,Ne){var Ae=R(me);return Ae.view[ke](Ne*ve+Ae.byteOffset,!0)},be=function(me,Ne,Ae){var De=R(me);De.view[ye](Ne*ve+De.byteOffset,Be?l(Ae):Ae,!0)},ie=function(me,Ne){W(me,Ne,{get:function(){function Ae(){return We(this,Ne)}return Ae}(),set:function(){function Ae(De){return be(this,Ne,De)}return Ae}(),enumerable:!0})};J?f&&(we=ge(function(Ce,me,Ne,Ae){return S(Ce,xe),P(function(){return v(me)?ae(me)?Ae!==void 0?new Ie(me,d(Ne,ve),Ae):Ne!==void 0?new Ie(me,d(Ne,ve)):new Ie(me):pe(me)?M(we,me):t(I,we,me):new Ie(m(me))}(),Ce,we)}),b&&b(we,ce),L(B(Ie),function(Ce){Ce in we||C(we,Ce,Ie[Ce])}),we.prototype=xe):(we=ge(function(Ce,me,Ne,Ae){S(Ce,xe);var De=0,je=0,_e,Ue,ze;if(!v(me))ze=m(me),Ue=ze*ve,_e=new $(Ue);else if(ae(me)){_e=me,je=d(Ne,ve);var Ge=me.byteLength;if(Ae===void 0){if(Ge%ve)throw new K(te);if(Ue=Ge-je,Ue<0)throw new K(te)}else if(Ue=c(Ae)*ve,Ue+je>Ge)throw new K(te);ze=Ue/ve}else return pe(me)?M(we,me):t(I,we,me);for(j(Ce,{buffer:_e,byteOffset:je,byteLength:Ue,length:ze,view:new X(_e)});De1?arguments[1]:void 0,p=i!==void 0,v=y(l),g,h,N,b,B,I,L,T;if(v&&!S(v))for(L=V(l,v),T=L.next,l=[];!(I=a(T,L)).done;)l.push(I.value);for(p&&s>2&&(i=e(i,arguments[2])),h=f(l),N=new(C(d))(h),b=k(N),g=0;h>g;g++)B=p?i(l[g],g):l[g],N[g]=b?u(B):+B;return N}return c}()},489:function(w,r,n){"use strict";var e=n(72951),a=n(78412),t=e.aTypedArrayConstructor,o=e.getTypedArrayConstructor;w.exports=function(f){return t(a(f,o(f)))}},33345:function(w,r,n){"use strict";var e=n(18161),a=0,t=Math.random(),o=e(1 .toString);w.exports=function(f){return"Symbol("+(f===void 0?"":f)+")_"+o(++a+t,36)}},81457:function(w,r,n){"use strict";var e=n(70640);w.exports=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},83411:function(w,r,n){"use strict";var e=n(14141),a=n(41746);w.exports=e&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},22789:function(w){"use strict";var r=TypeError;w.exports=function(n,e){if(n=51||!a(function(){var i=[];return i[m]=!1,i.concat()[0]!==i}),l=function(p){if(!o(p))return!1;var v=p[m];return v!==void 0?!!v:t(p)},s=!d||!C("concat");e({target:"Array",proto:!0,arity:1,forced:s},{concat:function(){function i(p){var v=f(this),g=k(v,0),h=0,N,b,B,I,L;for(N=-1,B=arguments.length;N1?arguments[1]:void 0)}return f}()})},24974:function(w,r,n){"use strict";var e=n(77549),a=n(59942),t=n(91138);e({target:"Array",proto:!0},{fill:a}),t("fill")},6297:function(w,r,n){"use strict";var e=n(77549),a=n(67480).filter,t=n(55114),o=t("filter");e({target:"Array",proto:!0,forced:!o},{filter:function(){function f(V){return a(this,V,arguments.length>1?arguments[1]:void 0)}return f}()})},35173:function(w,r,n){"use strict";var e=n(77549),a=n(67480).findIndex,t=n(91138),o="findIndex",f=!0;o in[]&&Array(1)[o](function(){f=!1}),e({target:"Array",proto:!0,forced:f},{findIndex:function(){function V(y){return a(this,y,arguments.length>1?arguments[1]:void 0)}return V}()}),t(o)},5364:function(w,r,n){"use strict";var e=n(77549),a=n(67480).find,t=n(91138),o="find",f=!0;o in[]&&Array(1)[o](function(){f=!1}),e({target:"Array",proto:!0,forced:f},{find:function(){function V(y){return a(this,y,arguments.length>1?arguments[1]:void 0)}return V}()}),t(o)},88707:function(w,r,n){"use strict";var e=n(77549),a=n(68864),t=n(97361),o=n(40076),f=n(8333),V=n(32878);e({target:"Array",proto:!0},{flatMap:function(){function y(S){var k=o(this),C=f(k),u;return t(S),u=V(k,0),u.length=a(u,k,k,C,0,1,S,arguments.length>1?arguments[1]:void 0),u}return y}()})},16576:function(w,r,n){"use strict";var e=n(77549),a=n(68864),t=n(40076),o=n(8333),f=n(74952),V=n(32878);e({target:"Array",proto:!0},{flat:function(){function y(){var S=arguments.length?arguments[0]:void 0,k=t(this),C=o(k),u=V(k,0);return u.length=a(u,k,k,C,0,S===void 0?1:f(S)),u}return y}()})},21508:function(w,r,n){"use strict";var e=n(77549),a=n(75420);e({target:"Array",proto:!0,forced:[].forEach!==a},{forEach:a})},86339:function(w,r,n){"use strict";var e=n(77549),a=n(80363),t=n(52019),o=!t(function(f){Array.from(f)});e({target:"Array",stat:!0,forced:o},{from:a})},81850:function(w,r,n){"use strict";var e=n(77549),a=n(64210).includes,t=n(41746),o=n(91138),f=t(function(){return!Array(1).includes()});e({target:"Array",proto:!0,forced:f},{includes:function(){function V(y){return a(this,y,arguments.length>1?arguments[1]:void 0)}return V}()}),o("includes")},98661:function(w,r,n){"use strict";var e=n(77549),a=n(85067),t=n(64210).indexOf,o=n(42309),f=a([].indexOf),V=!!f&&1/f([1],1,-0)<0,y=V||!o("indexOf");e({target:"Array",proto:!0,forced:y},{indexOf:function(){function S(k){var C=arguments.length>1?arguments[1]:void 0;return V?f(this,k,C)||0:t(this,k,C)}return S}()})},13431:function(w,r,n){"use strict";var e=n(77549),a=n(62367);e({target:"Array",stat:!0},{isArray:a})},65809:function(w,r,n){"use strict";var e=n(96812),a=n(91138),t=n(90604),o=n(35086),f=n(56018).f,V=n(2449),y=n(77056),S=n(11478),k=n(14141),C="Array Iterator",u=o.set,c=o.getterFor(C);w.exports=V(Array,"Array",function(d,l){u(this,{type:C,target:e(d),index:0,kind:l})},function(){var d=c(this),l=d.target,s=d.index++;if(!l||s>=l.length)return d.target=void 0,y(void 0,!0);switch(d.kind){case"keys":return y(s,!1);case"values":return y(l[s],!1)}return y([s,l[s]],!1)},"values");var m=t.Arguments=t.Array;if(a("keys"),a("values"),a("entries"),!S&&k&&m.name!=="values")try{f(m,"name",{value:"values"})}catch(d){}},8611:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(26736),o=n(96812),f=n(42309),V=a([].join),y=t!==Object,S=y||!f("join",",");e({target:"Array",proto:!0,forced:S},{join:function(){function k(C){return V(o(this),C===void 0?",":C)}return k}()})},97246:function(w,r,n){"use strict";var e=n(77549),a=n(16934);e({target:"Array",proto:!0,forced:a!==[].lastIndexOf},{lastIndexOf:a})},48741:function(w,r,n){"use strict";var e=n(77549),a=n(67480).map,t=n(55114),o=t("map");e({target:"Array",proto:!0,forced:!o},{map:function(){function f(V){return a(this,V,arguments.length>1?arguments[1]:void 0)}return f}()})},90446:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(60354),o=n(12913),f=Array,V=a(function(){function y(){}return!(f.of.call(y)instanceof y)});e({target:"Array",stat:!0,forced:V},{of:function(){function y(){for(var S=0,k=arguments.length,C=new(t(this)?this:f)(k);k>S;)o(C,S,arguments[S++]);return C.length=k,C}return y}()})},61902:function(w,r,n){"use strict";var e=n(77549),a=n(98405).right,t=n(42309),o=n(82709),f=n(95823),V=!f&&o>79&&o<83,y=V||!t("reduceRight");e({target:"Array",proto:!0,forced:y},{reduceRight:function(){function S(k){return a(this,k,arguments.length,arguments.length>1?arguments[1]:void 0)}return S}()})},509:function(w,r,n){"use strict";var e=n(77549),a=n(98405).left,t=n(42309),o=n(82709),f=n(95823),V=!f&&o>79&&o<83,y=V||!t("reduce");e({target:"Array",proto:!0,forced:y},{reduce:function(){function S(k){var C=arguments.length;return a(this,k,C,C>1?arguments[1]:void 0)}return S}()})},96149:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(62367),o=a([].reverse),f=[1,2];e({target:"Array",proto:!0,forced:String(f)===String(f.reverse())},{reverse:function(){function V(){return t(this)&&(this.length=this.length),o(this)}return V}()})},66617:function(w,r,n){"use strict";var e=n(77549),a=n(62367),t=n(60354),o=n(56831),f=n(74067),V=n(8333),y=n(96812),S=n(12913),k=n(66266),C=n(55114),u=n(77713),c=C("slice"),m=k("species"),d=Array,l=Math.max;e({target:"Array",proto:!0,forced:!c},{slice:function(){function s(i,p){var v=y(this),g=V(v),h=f(i,g),N=f(p===void 0?g:p,g),b,B,I;if(a(v)&&(b=v.constructor,t(b)&&(b===d||a(b.prototype))?b=void 0:o(b)&&(b=b[m],b===null&&(b=void 0)),b===d||b===void 0))return u(v,h,N);for(B=new(b===void 0?d:b)(l(N-h,0)),I=0;h1?arguments[1]:void 0)}return f}()})},56855:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(97361),o=n(40076),f=n(8333),V=n(58937),y=n(26602),S=n(41746),k=n(44815),C=n(42309),u=n(49847),c=n(56605),m=n(82709),d=n(53125),l=[],s=a(l.sort),i=a(l.push),p=S(function(){l.sort(void 0)}),v=S(function(){l.sort(null)}),g=C("sort"),h=!S(function(){if(m)return m<70;if(!(u&&u>3)){if(c)return!0;if(d)return d<603;var B="",I,L,T,x;for(I=65;I<76;I++){switch(L=String.fromCharCode(I),I){case 66:case 69:case 70:case 72:T=3;break;case 68:case 71:T=4;break;default:T=2}for(x=0;x<47;x++)l.push({k:L+x,v:T})}for(l.sort(function(A,E){return E.v-A.v}),x=0;xy(T)?1:-1}};e({target:"Array",proto:!0,forced:N},{sort:function(){function B(I){I!==void 0&&t(I);var L=o(this);if(h)return I===void 0?s(L):s(L,I);var T=[],x=f(L),A,E;for(E=0;Ev-b+N;I--)C(p,I-1)}else if(N>b)for(I=v-b;I>g;I--)L=I+b-1,T=I+N-1,L in p?p[T]=p[L]:C(p,T);for(I=0;I9490626562425156e-8?o(C)+V:a(C-1+f(C-1)*f(C+1))}return S}()})},86551:function(w,r,n){"use strict";var e=n(77549),a=Math.asinh,t=Math.log,o=Math.sqrt;function f(y){var S=+y;return!isFinite(S)||S===0?S:S<0?-f(-S):t(S+o(S*S+1))}var V=!(a&&1/a(0)>0);e({target:"Math",stat:!0,forced:V},{asinh:f})},10940:function(w,r,n){"use strict";var e=n(77549),a=Math.atanh,t=Math.log,o=!(a&&1/a(-0)<0);e({target:"Math",stat:!0,forced:o},{atanh:function(){function f(V){var y=+V;return y===0?y:t((1+y)/(1-y))/2}return f}()})},73763:function(w,r,n){"use strict";var e=n(77549),a=n(54307),t=Math.abs,o=Math.pow;e({target:"Math",stat:!0},{cbrt:function(){function f(V){var y=+V;return a(y)*o(t(y),.3333333333333333)}return f}()})},3372:function(w,r,n){"use strict";var e=n(77549),a=Math.floor,t=Math.log,o=Math.LOG2E;e({target:"Math",stat:!0},{clz32:function(){function f(V){var y=V>>>0;return y?31-a(t(y+.5)*o):32}return f}()})},51629:function(w,r,n){"use strict";var e=n(77549),a=n(32813),t=Math.cosh,o=Math.abs,f=Math.E,V=!t||t(710)===1/0;e({target:"Math",stat:!0,forced:V},{cosh:function(){function y(S){var k=a(o(S)-1)+1;return(k+1/(k*f*f))*(f/2)}return y}()})},69727:function(w,r,n){"use strict";var e=n(77549),a=n(32813);e({target:"Math",stat:!0,forced:a!==Math.expm1},{expm1:a})},27482:function(w,r,n){"use strict";var e=n(77549),a=n(75988);e({target:"Math",stat:!0},{fround:a})},7108:function(w,r,n){"use strict";var e=n(77549),a=Math.hypot,t=Math.abs,o=Math.sqrt,f=!!a&&a(1/0,NaN)!==1/0;e({target:"Math",stat:!0,arity:2,forced:f},{hypot:function(){function V(y,S){for(var k=0,C=0,u=arguments.length,c=0,m,d;C0?(d=m/c,k+=d*d):k+=m;return c===1/0?1/0:c*o(k)}return V}()})},4115:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=Math.imul,o=a(function(){return t(4294967295,5)!==-5||t.length!==2});e({target:"Math",stat:!0,forced:o},{imul:function(){function f(V,y){var S=65535,k=+V,C=+y,u=S&k,c=S&C;return 0|u*c+((S&k>>>16)*c+u*(S&C>>>16)<<16>>>0)}return f}()})},63953:function(w,r,n){"use strict";var e=n(77549),a=n(53271);e({target:"Math",stat:!0},{log10:a})},71377:function(w,r,n){"use strict";var e=n(77549),a=n(69143);e({target:"Math",stat:!0},{log1p:a})},63956:function(w,r,n){"use strict";var e=n(77549),a=Math.log,t=Math.LN2;e({target:"Math",stat:!0},{log2:function(){function o(f){return a(f)/t}return o}()})},90037:function(w,r,n){"use strict";var e=n(77549),a=n(54307);e({target:"Math",stat:!0},{sign:a})},46818:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(32813),o=Math.abs,f=Math.exp,V=Math.E,y=a(function(){return Math.sinh(-2e-17)!==-2e-17});e({target:"Math",stat:!0,forced:y},{sinh:function(){function S(k){var C=+k;return o(C)<1?(t(C)-t(-C))/2:(f(C-1)-f(-C-1))*(V/2)}return S}()})},26681:function(w,r,n){"use strict";var e=n(77549),a=n(32813),t=Math.exp;e({target:"Math",stat:!0},{tanh:function(){function o(f){var V=+f,y=a(V),S=a(-V);return y===1/0?1:S===1/0?-1:(y-S)/(t(V)+t(-V))}return o}()})},83646:function(w,r,n){"use strict";var e=n(94234);e(Math,"Math",!0)},28876:function(w,r,n){"use strict";var e=n(77549),a=n(34606);e({target:"Math",stat:!0},{trunc:a})},36385:function(w,r,n){"use strict";var e=n(77549),a=n(11478),t=n(14141),o=n(40224),f=n(5376),V=n(18161),y=n(95945),S=n(89458),k=n(2566),C=n(33314),u=n(74352),c=n(4370),m=n(41746),d=n(34813).f,l=n(54168).f,s=n(56018).f,i=n(37497),p=n(35171).trim,v="Number",g=o[v],h=f[v],N=g.prototype,b=o.TypeError,B=V("".slice),I=V("".charCodeAt),L=function(P){var R=c(P,"number");return typeof R=="bigint"?R:T(R)},T=function(P){var R=c(P,"number"),j,F,W,_,K,$,G,X;if(u(R))throw new b("Cannot convert a Symbol value to a number");if(typeof R=="string"&&R.length>2){if(R=p(R),j=I(R,0),j===43||j===45){if(F=I(R,2),F===88||F===120)return NaN}else if(j===48){switch(I(R,1)){case 66:case 98:W=2,_=49;break;case 79:case 111:W=8,_=55;break;default:return+R}for(K=B(R,2),$=K.length,G=0;G<$;G++)if(X=I(K,G),X<48||X>_)return NaN;return parseInt(K,W)}}return+R},x=y(v,!g(" 0o1")||!g("0b1")||g("+0x1")),A=function(P){return C(N,P)&&m(function(){i(P)})},E=function(){function D(P){var R=arguments.length<1?0:g(L(P));return A(this)?k(Object(R),this,E):R}return D}();E.prototype=N,x&&!a&&(N.constructor=E),e({global:!0,constructor:!0,wrap:!0,forced:x},{Number:E});var M=function(P,R){for(var j=t?d(R):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),F=0,W;j.length>F;F++)S(R,W=j[F])&&!S(P,W)&&s(P,W,l(R,W))};a&&h&&M(f[v],h),(x||a)&&M(f[v],g)},84295:function(w,r,n){"use strict";var e=n(77549);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},59785:function(w,r,n){"use strict";var e=n(77549),a=n(69079);e({target:"Number",stat:!0},{isFinite:a})},8846:function(w,r,n){"use strict";var e=n(77549),a=n(57696);e({target:"Number",stat:!0},{isInteger:a})},50237:function(w,r,n){"use strict";var e=n(77549);e({target:"Number",stat:!0},{isNaN:function(){function a(t){return t!==t}return a}()})},6436:function(w,r,n){"use strict";var e=n(77549),a=n(57696),t=Math.abs;e({target:"Number",stat:!0},{isSafeInteger:function(){function o(f){return a(f)&&t(f)<=9007199254740991}return o}()})},68286:function(w,r,n){"use strict";var e=n(77549);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},23940:function(w,r,n){"use strict";var e=n(77549);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},82425:function(w,r,n){"use strict";var e=n(77549),a=n(43283);e({target:"Number",stat:!0,forced:Number.parseFloat!==a},{parseFloat:a})},82118:function(w,r,n){"use strict";var e=n(77549),a=n(11540);e({target:"Number",stat:!0,forced:Number.parseInt!==a},{parseInt:a})},7419:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(74952),o=n(37497),f=n(84948),V=n(41746),y=RangeError,S=String,k=Math.floor,C=a(f),u=a("".slice),c=a(1 .toFixed),m=function v(g,h,N){return h===0?N:h%2===1?v(g,h-1,N*g):v(g*g,h/2,N)},d=function(g){for(var h=0,N=g;N>=4096;)h+=12,N/=4096;for(;N>=2;)h+=1,N/=2;return h},l=function(g,h,N){for(var b=-1,B=N;++b<6;)B+=h*g[b],g[b]=B%1e7,B=k(B/1e7)},s=function(g,h){for(var N=6,b=0;--N>=0;)b+=g[N],g[N]=k(b/h),b=b%h*1e7},i=function(g){for(var h=6,N="";--h>=0;)if(N!==""||h===0||g[h]!==0){var b=S(g[h]);N=N===""?b:N+C("0",7-b.length)+b}return N},p=V(function(){return c(8e-5,3)!=="0.000"||c(.9,0)!=="1"||c(1.255,2)!=="1.25"||c(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!V(function(){c({})});e({target:"Number",proto:!0,forced:p},{toFixed:function(){function v(g){var h=o(this),N=t(g),b=[0,0,0,0,0,0],B="",I="0",L,T,x,A;if(N<0||N>20)throw new y("Incorrect fraction digits");if(h!==h)return"NaN";if(h<=-1e21||h>=1e21)return S(h);if(h<0&&(B="-",h=-h),h>1e-21)if(L=d(h*m(2,69,1))-69,T=L<0?h*m(2,-L,1):h/m(2,L,1),T*=4503599627370496,L=52-L,L>0){for(l(b,0,T),x=N;x>=7;)l(b,1e7,0),x-=7;for(l(b,m(10,x,1),0),x=L-1;x>=23;)s(b,8388608),x-=23;s(b,1<0?(A=I.length,I=B+(A<=N?"0."+C("0",N-A)+I:u(I,0,A-N)+"."+u(I,A-N))):I=B+I,I}return v}()})},42409:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(41746),o=n(37497),f=a(1 .toPrecision),V=t(function(){return f(1,void 0)!=="1"})||!t(function(){f({})});e({target:"Number",proto:!0,forced:V},{toPrecision:function(){function y(S){return S===void 0?f(o(this)):f(o(this),S)}return y}()})},29002:function(w,r,n){"use strict";var e=n(77549),a=n(12752);e({target:"Object",stat:!0,arity:2,forced:Object.assign!==a},{assign:a})},85795:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(28969);e({target:"Object",stat:!0,sham:!a},{create:t})},74722:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(33030),o=n(97361),f=n(40076),V=n(56018);a&&e({target:"Object",proto:!0,forced:t},{__defineGetter__:function(){function y(S,k){V.f(f(this),S,{get:o(k),enumerable:!0,configurable:!0})}return y}()})},5300:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(65854).f;e({target:"Object",stat:!0,forced:Object.defineProperties!==t,sham:!a},{defineProperties:t})},85684:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(56018).f;e({target:"Object",stat:!0,forced:Object.defineProperty!==t,sham:!a},{defineProperty:t})},36014:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(33030),o=n(97361),f=n(40076),V=n(56018);a&&e({target:"Object",proto:!0,forced:t},{__defineSetter__:function(){function y(S,k){V.f(f(this),S,{set:o(k),enumerable:!0,configurable:!0})}return y}()})},98551:function(w,r,n){"use strict";var e=n(77549),a=n(97452).entries;e({target:"Object",stat:!0},{entries:function(){function t(o){return a(o)}return t}()})},66288:function(w,r,n){"use strict";var e=n(77549),a=n(56255),t=n(41746),o=n(56831),f=n(29126).onFreeze,V=Object.freeze,y=t(function(){V(1)});e({target:"Object",stat:!0,forced:y,sham:!a},{freeze:function(){function S(k){return V&&o(k)?V(f(k)):k}return S}()})},26862:function(w,r,n){"use strict";var e=n(77549),a=n(281),t=n(12913);e({target:"Object",stat:!0},{fromEntries:function(){function o(f){var V={};return a(f,function(y,S){t(V,y,S)},{AS_ENTRIES:!0}),V}return o}()})},78686:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(96812),o=n(54168).f,f=n(14141),V=!f||a(function(){o(1)});e({target:"Object",stat:!0,forced:V,sham:!f},{getOwnPropertyDescriptor:function(){function y(S,k){return o(t(S),k)}return y}()})},36789:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(93616),o=n(96812),f=n(54168),V=n(12913);e({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(){function y(S){for(var k=o(S),C=f.f,u=t(k),c={},m=0,d,l;u.length>m;)l=C(k,d=u[m++]),l!==void 0&&V(c,d,l);return c}return y}()})},82707:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(63797).f,o=a(function(){return!Object.getOwnPropertyNames(1)});e({target:"Object",stat:!0,forced:o},{getOwnPropertyNames:t})},93146:function(w,r,n){"use strict";var e=n(77549),a=n(70640),t=n(41746),o=n(34220),f=n(40076),V=!a||t(function(){o.f(1)});e({target:"Object",stat:!0,forced:V},{getOwnPropertySymbols:function(){function y(S){var k=o.f;return k?k(f(S)):[]}return y}()})},69740:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(40076),o=n(31658),f=n(58776),V=a(function(){o(1)});e({target:"Object",stat:!0,forced:V,sham:!f},{getPrototypeOf:function(){function y(S){return o(t(S))}return y}()})},54789:function(w,r,n){"use strict";var e=n(77549),a=n(57975);e({target:"Object",stat:!0,forced:Object.isExtensible!==a},{isExtensible:a})},49626:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(56831),o=n(38817),f=n(65693),V=Object.isFrozen,y=f||a(function(){V(1)});e({target:"Object",stat:!0,forced:y},{isFrozen:function(){function S(k){return!t(k)||f&&o(k)==="ArrayBuffer"?!0:V?V(k):!1}return S}()})},67660:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(56831),o=n(38817),f=n(65693),V=Object.isSealed,y=f||a(function(){V(1)});e({target:"Object",stat:!0,forced:y},{isSealed:function(){function S(k){return!t(k)||f&&o(k)==="ArrayBuffer"?!0:V?V(k):!1}return S}()})},87847:function(w,r,n){"use strict";var e=n(77549),a=n(37309);e({target:"Object",stat:!0},{is:a})},43619:function(w,r,n){"use strict";var e=n(77549),a=n(40076),t=n(84913),o=n(41746),f=o(function(){t(1)});e({target:"Object",stat:!0,forced:f},{keys:function(){function V(y){return t(a(y))}return V}()})},42777:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(33030),o=n(40076),f=n(57640),V=n(31658),y=n(54168).f;a&&e({target:"Object",proto:!0,forced:t},{__lookupGetter__:function(){function S(k){var C=o(this),u=f(k),c;do if(c=y(C,u))return c.get;while(C=V(C))}return S}()})},13045:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(33030),o=n(40076),f=n(57640),V=n(31658),y=n(54168).f;a&&e({target:"Object",proto:!0,forced:t},{__lookupSetter__:function(){function S(k){var C=o(this),u=f(k),c;do if(c=y(C,u))return c.set;while(C=V(C))}return S}()})},38664:function(w,r,n){"use strict";var e=n(77549),a=n(56831),t=n(29126).onFreeze,o=n(56255),f=n(41746),V=Object.preventExtensions,y=f(function(){V(1)});e({target:"Object",stat:!0,forced:y,sham:!o},{preventExtensions:function(){function S(k){return V&&a(k)?V(t(k)):k}return S}()})},29650:function(w,r,n){"use strict";var e=n(77549),a=n(56831),t=n(29126).onFreeze,o=n(56255),f=n(41746),V=Object.seal,y=f(function(){V(1)});e({target:"Object",stat:!0,forced:y,sham:!o},{seal:function(){function S(k){return V&&a(k)?V(t(k)):k}return S}()})},58176:function(w,r,n){"use strict";var e=n(77549),a=n(42878);e({target:"Object",stat:!0},{setPrototypeOf:a})},35286:function(w,r,n){"use strict";var e=n(82161),a=n(59173),t=n(66628);e||a(Object.prototype,"toString",t,{unsafe:!0})},13313:function(w,r,n){"use strict";var e=n(77549),a=n(97452).values;e({target:"Object",stat:!0},{values:function(){function t(o){return a(o)}return t}()})},26528:function(w,r,n){"use strict";var e=n(77549),a=n(43283);e({global:!0,forced:parseFloat!==a},{parseFloat:a})},54959:function(w,r,n){"use strict";var e=n(77549),a=n(11540);e({global:!0,forced:parseInt!==a},{parseInt:a})},34344:function(w,r,n){"use strict";var e=n(77549),a=n(62696),t=n(97361),o=n(48532),f=n(91114),V=n(281),y=n(95044);e({target:"Promise",stat:!0,forced:y},{all:function(){function S(k){var C=this,u=o.f(C),c=u.resolve,m=u.reject,d=f(function(){var l=t(C.resolve),s=[],i=0,p=1;V(k,function(v){var g=i++,h=!1;p++,a(l,C,v).then(function(N){h||(h=!0,s[g]=N,--p||c(s))},m)}),--p||c(s)});return d.error&&m(d.value),u.promise}return S}()})},60:function(w,r,n){"use strict";var e=n(77549),a=n(11478),t=n(49669).CONSTRUCTOR,o=n(35973),f=n(40164),V=n(7532),y=n(59173),S=o&&o.prototype;if(e({target:"Promise",proto:!0,forced:t,real:!0},{catch:function(){function C(u){return this.then(void 0,u)}return C}()}),!a&&V(o)){var k=f("Promise").prototype.catch;S.catch!==k&&y(S,"catch",k,{unsafe:!0})}},7803:function(w,r,n){"use strict";var e=n(77549),a=n(11478),t=n(95823),o=n(40224),f=n(62696),V=n(59173),y=n(42878),S=n(94234),k=n(67420),C=n(97361),u=n(7532),c=n(56831),m=n(19870),d=n(78412),l=n(91314).set,s=n(27150),i=n(46122),p=n(91114),v=n(23496),g=n(35086),h=n(35973),N=n(49669),b=n(48532),B="Promise",I=N.CONSTRUCTOR,L=N.REJECTION_EVENT,T=N.SUBCLASSING,x=g.getterFor(B),A=g.set,E=h&&h.prototype,M=h,D=E,P=o.TypeError,R=o.document,j=o.process,F=b.f,W=F,_=!!(R&&R.createEvent&&o.dispatchEvent),K="unhandledrejection",$="rejectionhandled",G=0,X=1,J=2,ue=1,ce=2,fe,pe,he,te,Q=function(ye){var Ie;return c(ye)&&u(Ie=ye.then)?Ie:!1},ae=function(ye,Ie){var we=Ie.value,xe=Ie.state===X,Oe=xe?ye.ok:ye.fail,We=ye.resolve,be=ye.reject,ie=ye.domain,se,Ce,me;try{Oe?(xe||(Ie.rejection===ce&&ge(Ie),Ie.rejection=ue),Oe===!0?se=we:(ie&&ie.enter(),se=Oe(we),ie&&(ie.exit(),me=!0)),se===ye.promise?be(new P("Promise-chain cycle")):(Ce=Q(se))?f(Ce,se,We,be):We(se)):be(we)}catch(Ne){ie&&!me&&ie.exit(),be(Ne)}},ee=function(ye,Ie){ye.notified||(ye.notified=!0,s(function(){for(var we=ye.reactions,xe;xe=we.get();)ae(xe,ye);ye.notified=!1,Ie&&!ye.rejection&&le(ye)}))},oe=function(ye,Ie,we){var xe,Oe;_?(xe=R.createEvent("Event"),xe.promise=Ie,xe.reason=we,xe.initEvent(ye,!1,!0),o.dispatchEvent(xe)):xe={promise:Ie,reason:we},!L&&(Oe=o["on"+ye])?Oe(xe):ye===K&&i("Unhandled promise rejection",we)},le=function(ye){f(l,o,function(){var Ie=ye.facade,we=ye.value,xe=re(ye),Oe;if(xe&&(Oe=p(function(){t?j.emit("unhandledRejection",we,Ie):oe(K,Ie,we)}),ye.rejection=t||re(ye)?ce:ue,Oe.error))throw Oe.value})},re=function(ye){return ye.rejection!==ue&&!ye.parent},ge=function(ye){f(l,o,function(){var Ie=ye.facade;t?j.emit("rejectionHandled",Ie):oe($,Ie,ye.value)})},Be=function(ye,Ie,we){return function(xe){ye(Ie,xe,we)}},ve=function(ye,Ie,we){ye.done||(ye.done=!0,we&&(ye=we),ye.value=Ie,ye.state=J,ee(ye,!0))},Ve=function ke(ye,Ie,we){if(!ye.done){ye.done=!0,we&&(ye=we);try{if(ye.facade===Ie)throw new P("Promise can't be resolved itself");var xe=Q(Ie);xe?s(function(){var Oe={done:!1};try{f(xe,Ie,Be(ke,Oe,ye),Be(ve,Oe,ye))}catch(We){ve(Oe,We,ye)}}):(ye.value=Ie,ye.state=X,ee(ye,!1))}catch(Oe){ve({done:!1},Oe,ye)}}};if(I&&(M=function(){function ke(ye){m(this,D),C(ye),f(fe,this);var Ie=x(this);try{ye(Be(Ve,Ie),Be(ve,Ie))}catch(we){ve(Ie,we)}}return ke}(),D=M.prototype,fe=function(){function ke(ye){A(this,{type:B,done:!1,notified:!1,parent:!1,reactions:new v,rejection:!1,state:G,value:void 0})}return ke}(),fe.prototype=V(D,"then",function(){function ke(ye,Ie){var we=x(this),xe=F(d(this,M));return we.parent=!0,xe.ok=u(ye)?ye:!0,xe.fail=u(Ie)&&Ie,xe.domain=t?j.domain:void 0,we.state===G?we.reactions.add(xe):s(function(){ae(xe,we)}),xe.promise}return ke}()),pe=function(){var ye=new fe,Ie=x(ye);this.promise=ye,this.resolve=Be(Ve,Ie),this.reject=Be(ve,Ie)},b.f=F=function(ye){return ye===M||ye===he?new pe(ye):W(ye)},!a&&u(h)&&E!==Object.prototype)){te=E.then,T||V(E,"then",function(){function ke(ye,Ie){var we=this;return new M(function(xe,Oe){f(te,we,xe,Oe)}).then(ye,Ie)}return ke}(),{unsafe:!0});try{delete E.constructor}catch(ke){}y&&y(E,D)}e({global:!0,constructor:!0,wrap:!0,forced:I},{Promise:M}),S(M,B,!1,!0),k(B)},54412:function(w,r,n){"use strict";var e=n(77549),a=n(11478),t=n(35973),o=n(41746),f=n(40164),V=n(7532),y=n(78412),S=n(43827),k=n(59173),C=t&&t.prototype,u=!!t&&o(function(){C.finally.call({then:function(){function m(){}return m}()},function(){})});if(e({target:"Promise",proto:!0,real:!0,forced:u},{finally:function(){function m(d){var l=y(this,f("Promise")),s=V(d);return this.then(s?function(i){return S(l,d()).then(function(){return i})}:d,s?function(i){return S(l,d()).then(function(){throw i})}:d)}return m}()}),!a&&V(t)){var c=f("Promise").prototype.finally;C.finally!==c&&k(C,"finally",c,{unsafe:!0})}},78129:function(w,r,n){"use strict";n(7803),n(34344),n(60),n(61270),n(82248),n(30347)},61270:function(w,r,n){"use strict";var e=n(77549),a=n(62696),t=n(97361),o=n(48532),f=n(91114),V=n(281),y=n(95044);e({target:"Promise",stat:!0,forced:y},{race:function(){function S(k){var C=this,u=o.f(C),c=u.reject,m=f(function(){var d=t(C.resolve);V(k,function(l){a(d,C,l).then(u.resolve,c)})});return m.error&&c(m.value),u.promise}return S}()})},82248:function(w,r,n){"use strict";var e=n(77549),a=n(48532),t=n(49669).CONSTRUCTOR;e({target:"Promise",stat:!0,forced:t},{reject:function(){function o(f){var V=a.f(this),y=V.reject;return y(f),V.promise}return o}()})},30347:function(w,r,n){"use strict";var e=n(77549),a=n(40164),t=n(11478),o=n(35973),f=n(49669).CONSTRUCTOR,V=n(43827),y=a("Promise"),S=t&&!f;e({target:"Promise",stat:!0,forced:t||f},{resolve:function(){function k(C){return V(S&&this===y?o:this,C)}return k}()})},82427:function(w,r,n){"use strict";var e=n(77549),a=n(70918),t=n(97361),o=n(39482),f=n(41746),V=!f(function(){Reflect.apply(function(){})});e({target:"Reflect",stat:!0,forced:V},{apply:function(){function y(S,k,C){return a(t(S),k,o(C))}return y}()})},8390:function(w,r,n){"use strict";var e=n(77549),a=n(40164),t=n(70918),o=n(9379),f=n(76833),V=n(39482),y=n(56831),S=n(28969),k=n(41746),C=a("Reflect","construct"),u=Object.prototype,c=[].push,m=k(function(){function s(){}return!(C(function(){},[],s)instanceof s)}),d=!k(function(){C(function(){})}),l=m||d;e({target:"Reflect",stat:!0,forced:l,sham:l},{construct:function(){function s(i,p){f(i),V(p);var v=arguments.length<3?i:f(arguments[2]);if(d&&!m)return C(i,p,v);if(i===v){switch(p.length){case 0:return new i;case 1:return new i(p[0]);case 2:return new i(p[0],p[1]);case 3:return new i(p[0],p[1],p[2]);case 4:return new i(p[0],p[1],p[2],p[3])}var g=[null];return t(c,g,p),new(t(o,i,g))}var h=v.prototype,N=S(y(h)?h:u),b=t(i,N,p);return y(b)?b:N}return s}()})},68260:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(39482),o=n(57640),f=n(56018),V=n(41746),y=V(function(){Reflect.defineProperty(f.f({},1,{value:1}),1,{value:2})});e({target:"Reflect",stat:!0,forced:y,sham:!a},{defineProperty:function(){function S(k,C,u){t(k);var c=o(C);t(u);try{return f.f(k,c,u),!0}catch(m){return!1}}return S}()})},86508:function(w,r,n){"use strict";var e=n(77549),a=n(39482),t=n(54168).f;e({target:"Reflect",stat:!0},{deleteProperty:function(){function o(f,V){var y=t(a(f),V);return y&&!y.configurable?!1:delete f[V]}return o}()})},17134:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(39482),o=n(54168);e({target:"Reflect",stat:!0,sham:!a},{getOwnPropertyDescriptor:function(){function f(V,y){return o.f(t(V),y)}return f}()})},18972:function(w,r,n){"use strict";var e=n(77549),a=n(39482),t=n(31658),o=n(58776);e({target:"Reflect",stat:!0,sham:!o},{getPrototypeOf:function(){function f(V){return t(a(V))}return f}()})},65971:function(w,r,n){"use strict";var e=n(77549),a=n(62696),t=n(56831),o=n(39482),f=n(35892),V=n(54168),y=n(31658);function S(k,C){var u=arguments.length<3?k:arguments[2],c,m;if(o(k)===u)return k[C];if(c=V.f(k,C),c)return f(c)?c.value:c.get===void 0?void 0:a(c.get,u);if(t(m=y(k)))return S(m,C,u)}e({target:"Reflect",stat:!0},{get:S})},78623:function(w,r,n){"use strict";var e=n(77549);e({target:"Reflect",stat:!0},{has:function(){function a(t,o){return o in t}return a}()})},60149:function(w,r,n){"use strict";var e=n(77549),a=n(39482),t=n(57975);e({target:"Reflect",stat:!0},{isExtensible:function(){function o(f){return a(f),t(f)}return o}()})},56380:function(w,r,n){"use strict";var e=n(77549),a=n(93616);e({target:"Reflect",stat:!0},{ownKeys:a})},72792:function(w,r,n){"use strict";var e=n(77549),a=n(40164),t=n(39482),o=n(56255);e({target:"Reflect",stat:!0,sham:!o},{preventExtensions:function(){function f(V){t(V);try{var y=a("Object","preventExtensions");return y&&y(V),!0}catch(S){return!1}}return f}()})},25168:function(w,r,n){"use strict";var e=n(77549),a=n(39482),t=n(51689),o=n(42878);o&&e({target:"Reflect",stat:!0},{setPrototypeOf:function(){function f(V,y){a(V),t(y);try{return o(V,y),!0}catch(S){return!1}}return f}()})},60631:function(w,r,n){"use strict";var e=n(77549),a=n(62696),t=n(39482),o=n(56831),f=n(35892),V=n(41746),y=n(56018),S=n(54168),k=n(31658),C=n(7539);function u(m,d,l){var s=arguments.length<4?m:arguments[3],i=S.f(t(m),d),p,v,g;if(!i){if(o(v=k(m)))return u(v,d,l,s);i=C(0)}if(f(i)){if(i.writable===!1||!o(s))return!1;if(p=S.f(s,d)){if(p.get||p.set||p.writable===!1)return!1;p.value=l,y.f(s,d,p)}else y.f(s,d,C(0,l))}else{if(g=i.set,g===void 0)return!1;a(g,s,l)}return!0}var c=V(function(){var m=function(){},d=y.f(new m,"a",{configurable:!0});return Reflect.set(m.prototype,"a",1,d)!==!1});e({target:"Reflect",stat:!0,forced:c},{set:u})},85177:function(w,r,n){"use strict";var e=n(14141),a=n(40224),t=n(18161),o=n(95945),f=n(2566),V=n(16216),y=n(28969),S=n(34813).f,k=n(33314),C=n(80969),u=n(26602),c=n(60425),m=n(1064),d=n(77495),l=n(59173),s=n(41746),i=n(89458),p=n(35086).enforce,v=n(67420),g=n(66266),h=n(89604),N=n(5489),b=g("match"),B=a.RegExp,I=B.prototype,L=a.SyntaxError,T=t(I.exec),x=t("".charAt),A=t("".replace),E=t("".indexOf),M=t("".slice),D=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,P=/a/g,R=/a/g,j=new B(P)!==P,F=m.MISSED_STICKY,W=m.UNSUPPORTED_Y,_=e&&(!j||F||h||N||s(function(){return R[b]=!1,B(P)!==P||B(R)===R||String(B(P,"i"))!=="/a/i"})),K=function(ce){for(var fe=ce.length,pe=0,he="",te=!1,Q;pe<=fe;pe++){if(Q=x(ce,pe),Q==="\\"){he+=Q+x(ce,++pe);continue}!te&&Q==="."?he+="[\\s\\S]":(Q==="["?te=!0:Q==="]"&&(te=!1),he+=Q)}return he},$=function(ce){for(var fe=ce.length,pe=0,he="",te=[],Q=y(null),ae=!1,ee=!1,oe=0,le="",re;pe<=fe;pe++){if(re=x(ce,pe),re==="\\")re+=x(ce,++pe);else if(re==="]")ae=!1;else if(!ae)switch(!0){case re==="[":ae=!0;break;case re==="(":T(D,M(ce,pe+1))&&(pe+=2,ee=!0),he+=re,oe++;continue;case(re===">"&&ee):if(le===""||i(Q,le))throw new L("Invalid capture group name");Q[le]=!0,te[te.length]=[le,oe],ee=!1,le="";continue}ee?le+=re:he+=re}return[he,te]};if(o("RegExp",_)){for(var G=function(){function ue(ce,fe){var pe=k(I,this),he=C(ce),te=fe===void 0,Q=[],ae=ce,ee,oe,le,re,ge,Be;if(!pe&&he&&te&&ce.constructor===G)return ce;if((he||k(I,ce))&&(ce=ce.source,te&&(fe=c(ae))),ce=ce===void 0?"":u(ce),fe=fe===void 0?"":u(fe),ae=ce,h&&"dotAll"in P&&(oe=!!fe&&E(fe,"s")>-1,oe&&(fe=A(fe,/s/g,""))),ee=fe,F&&"sticky"in P&&(le=!!fe&&E(fe,"y")>-1,le&&W&&(fe=A(fe,/y/g,""))),N&&(re=$(ce),ce=re[0],Q=re[1]),ge=f(B(ce,fe),pe?this:I,G),(oe||le||Q.length)&&(Be=p(ge),oe&&(Be.dotAll=!0,Be.raw=G(K(ce),ee)),le&&(Be.sticky=!0),Q.length&&(Be.groups=Q)),ce!==ae)try{V(ge,"source",ae===""?"(?:)":ae)}catch(ve){}return ge}return ue}(),X=S(B),J=0;X.length>J;)d(G,B,X[J++]);I.constructor=G,G.prototype=I,l(a,"RegExp",G,{constructor:!0})}v("RegExp")},95880:function(w,r,n){"use strict";var e=n(77549),a=n(72894);e({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},59978:function(w,r,n){"use strict";var e=n(40224),a=n(14141),t=n(10069),o=n(65844),f=n(41746),V=e.RegExp,y=V.prototype,S=a&&f(function(){var k=!0;try{V(".","d")}catch(i){k=!1}var C={},u="",c=k?"dgimsy":"gimsy",m=function(p,v){Object.defineProperty(C,p,{get:function(){function g(){return u+=v,!0}return g}()})},d={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};k&&(d.hasIndices="d");for(var l in d)m(l,d[l]);var s=Object.getOwnPropertyDescriptor(y,"flags").get.call(C);return s!==c||u!==c});S&&t(y,"flags",{configurable:!0,get:o})},96360:function(w,r,n){"use strict";var e=n(26463).PROPER,a=n(59173),t=n(39482),o=n(26602),f=n(41746),V=n(60425),y="toString",S=RegExp.prototype,k=S[y],C=f(function(){return k.call({source:"a",flags:"b"})!=="/a/b"}),u=e&&k.name!==y;(C||u)&&a(S,y,function(){function c(){var m=t(this),d=o(m.source),l=o(V(m));return"/"+d+"/"+l}return c}(),{unsafe:!0})},47338:function(w,r,n){"use strict";var e=n(93439),a=n(10623);e("Set",function(t){return function(){function o(){return t(this,arguments.length?arguments[0]:void 0)}return o}()},a)},43108:function(w,r,n){"use strict";n(47338)},36:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("anchor")},{anchor:function(){function o(f){return a(this,"a","name",f)}return o}()})},30519:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("big")},{big:function(){function o(){return a(this,"big","","")}return o}()})},33547:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("blink")},{blink:function(){function o(){return a(this,"blink","","")}return o}()})},53426:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("bold")},{bold:function(){function o(){return a(this,"b","","")}return o}()})},37801:function(w,r,n){"use strict";var e=n(77549),a=n(56852).codeAt;e({target:"String",proto:!0},{codePointAt:function(){function t(o){return a(this,o)}return t}()})},3044:function(w,r,n){"use strict";var e=n(77549),a=n(85067),t=n(54168).f,o=n(10475),f=n(26602),V=n(89140),y=n(91029),S=n(93321),k=n(11478),C=a("".slice),u=Math.min,c=S("endsWith"),m=!k&&!c&&!!function(){var d=t(String.prototype,"endsWith");return d&&!d.writable}();e({target:"String",proto:!0,forced:!m&&!c},{endsWith:function(){function d(l){var s=f(y(this));V(l);var i=arguments.length>1?arguments[1]:void 0,p=s.length,v=i===void 0?p:u(o(i),p),g=f(l);return C(s,v-g.length,v)===g}return d}()})},32031:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("fixed")},{fixed:function(){function o(){return a(this,"tt","","")}return o}()})},13153:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("fontcolor")},{fontcolor:function(){function o(f){return a(this,"font","color",f)}return o}()})},21953:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("fontsize")},{fontsize:function(){function o(f){return a(this,"font","size",f)}return o}()})},48432:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(74067),o=RangeError,f=String.fromCharCode,V=String.fromCodePoint,y=a([].join),S=!!V&&V.length!==1;e({target:"String",stat:!0,arity:1,forced:S},{fromCodePoint:function(){function k(C){for(var u=[],c=arguments.length,m=0,d;c>m;){if(d=+arguments[m++],t(d,1114111)!==d)throw new o(d+" is not a valid code point");u[m]=d<65536?f(d):f(((d-=65536)>>10)+55296,d%1024+56320)}return y(u,"")}return k}()})},54564:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(89140),o=n(91029),f=n(26602),V=n(93321),y=a("".indexOf);e({target:"String",proto:!0,forced:!V("includes")},{includes:function(){function S(k){return!!~y(f(o(this)),f(t(k)),arguments.length>1?arguments[1]:void 0)}return S}()})},83560:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("italics")},{italics:function(){function o(){return a(this,"i","","")}return o}()})},58179:function(w,r,n){"use strict";var e=n(56852).charAt,a=n(26602),t=n(35086),o=n(2449),f=n(77056),V="String Iterator",y=t.set,S=t.getterFor(V);o(String,"String",function(k){y(this,{type:V,string:a(k),index:0})},function(){function k(){var C=S(this),u=C.string,c=C.index,m;return c>=u.length?f(void 0,!0):(m=e(u,c),C.index+=m.length,f(m,!1))}return k}())},63465:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("link")},{link:function(){function o(f){return a(this,"a","href",f)}return o}()})},68164:function(w,r,n){"use strict";var e=n(62696),a=n(85427),t=n(39482),o=n(1022),f=n(10475),V=n(26602),y=n(91029),S=n(4817),k=n(62970),C=n(35553);a("match",function(u,c,m){return[function(){function d(l){var s=y(this),i=o(l)?void 0:S(l,u);return i?e(i,l,s):new RegExp(l)[u](V(s))}return d}(),function(d){var l=t(this),s=V(d),i=m(c,l,s);if(i.done)return i.value;if(!l.global)return C(l,s);var p=l.unicode;l.lastIndex=0;for(var v=[],g=0,h;(h=C(l,s))!==null;){var N=V(h[0]);v[g]=N,N===""&&(l.lastIndex=k(s,f(l.lastIndex),p)),g++}return g===0?null:v}]})},58880:function(w,r,n){"use strict";var e=n(77549),a=n(34086).end,t=n(33038);e({target:"String",proto:!0,forced:t},{padEnd:function(){function o(f){return a(this,f,arguments.length>1?arguments[1]:void 0)}return o}()})},54465:function(w,r,n){"use strict";var e=n(77549),a=n(34086).start,t=n(33038);e({target:"String",proto:!0,forced:t},{padStart:function(){function o(f){return a(this,f,arguments.length>1?arguments[1]:void 0)}return o}()})},97327:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(96812),o=n(40076),f=n(26602),V=n(8333),y=a([].push),S=a([].join);e({target:"String",stat:!0},{raw:function(){function k(C){var u=t(o(C).raw),c=V(u);if(!c)return"";for(var m=arguments.length,d=[],l=0;;){if(y(d,f(u[l++])),l===c)return S(d,"");l")!=="7"});o("replace",function(A,E,M){var D=T?"$":"$0";return[function(){function P(R,j){var F=c(this),W=S(R)?void 0:d(R,p);return W?a(W,R,F,j):a(E,u(F),R,j)}return P}(),function(P,R){var j=V(this),F=u(P);if(typeof R=="string"&&b(R,D)===-1&&b(R,"$<")===-1){var W=M(E,j,F,R);if(W.done)return W.value}var _=y(R);_||(R=u(R));var K=j.global,$;K&&($=j.unicode,j.lastIndex=0);for(var G=[],X;X=s(j,F),!(X===null||(N(G,X),!K));){var J=u(X[0]);J===""&&(j.lastIndex=m(F,C(j.lastIndex),$))}for(var ue="",ce=0,fe=0;fe=ce&&(ue+=B(F,ce,he)+Q,ce=he+pe.length)}return ue+B(F,ce)}]},!x||!L||T)},17337:function(w,r,n){"use strict";var e=n(62696),a=n(85427),t=n(39482),o=n(1022),f=n(91029),V=n(37309),y=n(26602),S=n(4817),k=n(35553);a("search",function(C,u,c){return[function(){function m(d){var l=f(this),s=o(d)?void 0:S(d,C);return s?e(s,d,l):new RegExp(d)[C](y(l))}return m}(),function(m){var d=t(this),l=y(m),s=c(u,d,l);if(s.done)return s.value;var i=d.lastIndex;V(i,0)||(d.lastIndex=0);var p=k(d,l);return V(d.lastIndex,i)||(d.lastIndex=i),p===null?-1:p.index}]})},98998:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("small")},{small:function(){function o(){return a(this,"small","","")}return o}()})},53713:function(w,r,n){"use strict";var e=n(62696),a=n(18161),t=n(85427),o=n(39482),f=n(1022),V=n(91029),y=n(78412),S=n(62970),k=n(10475),C=n(26602),u=n(4817),c=n(35553),m=n(1064),d=n(41746),l=m.UNSUPPORTED_Y,s=4294967295,i=Math.min,p=a([].push),v=a("".slice),g=!d(function(){var N=/(?:)/,b=N.exec;N.exec=function(){return b.apply(this,arguments)};var B="ab".split(N);return B.length!==2||B[0]!=="a"||B[1]!=="b"}),h="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;t("split",function(N,b,B){var I="0".split(void 0,0).length?function(L,T){return L===void 0&&T===0?[]:e(b,this,L,T)}:b;return[function(){function L(T,x){var A=V(this),E=f(T)?void 0:u(T,N);return E?e(E,T,A,x):e(I,C(A),T,x)}return L}(),function(L,T){var x=o(this),A=C(L);if(!h){var E=B(I,x,A,T,I!==b);if(E.done)return E.value}var M=y(x,RegExp),D=x.unicode,P=(x.ignoreCase?"i":"")+(x.multiline?"m":"")+(x.unicode?"u":"")+(l?"g":"y"),R=new M(l?"^(?:"+x.source+")":x,P),j=T===void 0?s:T>>>0;if(j===0)return[];if(A.length===0)return c(R,A)===null?[A]:[];for(var F=0,W=0,_=[];W1?arguments[1]:void 0,s.length)),p=f(l);return C(s,i,i+p.length)===p}return d}()})},96227:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("strike")},{strike:function(){function o(){return a(this,"strike","","")}return o}()})},15483:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("sub")},{sub:function(){function o(){return a(this,"sub","","")}return o}()})},86829:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("sup")},{sup:function(){function o(){return a(this,"sup","","")}return o}()})},93073:function(w,r,n){"use strict";n(17434);var e=n(77549),a=n(11775);e({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==a},{trimEnd:a})},69107:function(w,r,n){"use strict";var e=n(77549),a=n(26402);e({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==a},{trimLeft:a})},17434:function(w,r,n){"use strict";var e=n(77549),a=n(11775);e({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==a},{trimRight:a})},50800:function(w,r,n){"use strict";n(69107);var e=n(77549),a=n(26402);e({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==a},{trimStart:a})},11121:function(w,r,n){"use strict";var e=n(77549),a=n(35171).trim,t=n(93817);e({target:"String",proto:!0,forced:t("trim")},{trim:function(){function o(){return a(this)}return o}()})},46951:function(w,r,n){"use strict";var e=n(15388);e("asyncIterator")},9056:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(62696),o=n(18161),f=n(11478),V=n(14141),y=n(70640),S=n(41746),k=n(89458),C=n(33314),u=n(39482),c=n(96812),m=n(57640),d=n(26602),l=n(7539),s=n(28969),i=n(84913),p=n(34813),v=n(63797),g=n(34220),h=n(54168),N=n(56018),b=n(65854),B=n(9776),I=n(59173),L=n(10069),T=n(75130),x=n(5160),A=n(21124),E=n(33345),M=n(66266),D=n(32938),P=n(15388),R=n(75429),j=n(94234),F=n(35086),W=n(67480).forEach,_=x("hidden"),K="Symbol",$="prototype",G=F.set,X=F.getterFor(K),J=Object[$],ue=a.Symbol,ce=ue&&ue[$],fe=a.RangeError,pe=a.TypeError,he=a.QObject,te=h.f,Q=N.f,ae=v.f,ee=B.f,oe=o([].push),le=T("symbols"),re=T("op-symbols"),ge=T("wks"),Be=!he||!he[$]||!he[$].findChild,ve=function(se,Ce,me){var Ne=te(J,Ce);Ne&&delete J[Ce],Q(se,Ce,me),Ne&&se!==J&&Q(J,Ce,Ne)},Ve=V&&S(function(){return s(Q({},"a",{get:function(){function ie(){return Q(this,"a",{value:7}).a}return ie}()})).a!==7})?ve:Q,ke=function(se,Ce){var me=le[se]=s(ce);return G(me,{type:K,tag:se,description:Ce}),V||(me.description=Ce),me},ye=function(){function ie(se,Ce,me){se===J&&ye(re,Ce,me),u(se);var Ne=m(Ce);return u(me),k(le,Ne)?(me.enumerable?(k(se,_)&&se[_][Ne]&&(se[_][Ne]=!1),me=s(me,{enumerable:l(0,!1)})):(k(se,_)||Q(se,_,l(1,s(null))),se[_][Ne]=!0),Ve(se,Ne,me)):Q(se,Ne,me)}return ie}(),Ie=function(){function ie(se,Ce){u(se);var me=c(Ce),Ne=i(me).concat(be(me));return W(Ne,function(Ae){(!V||t(xe,me,Ae))&&ye(se,Ae,me[Ae])}),se}return ie}(),we=function(){function ie(se,Ce){return Ce===void 0?s(se):Ie(s(se),Ce)}return ie}(),xe=function(){function ie(se){var Ce=m(se),me=t(ee,this,Ce);return this===J&&k(le,Ce)&&!k(re,Ce)?!1:me||!k(this,Ce)||!k(le,Ce)||k(this,_)&&this[_][Ce]?me:!0}return ie}(),Oe=function(){function ie(se,Ce){var me=c(se),Ne=m(Ce);if(!(me===J&&k(le,Ne)&&!k(re,Ne))){var Ae=te(me,Ne);return Ae&&k(le,Ne)&&!(k(me,_)&&me[_][Ne])&&(Ae.enumerable=!0),Ae}}return ie}(),We=function(){function ie(se){var Ce=ae(c(se)),me=[];return W(Ce,function(Ne){!k(le,Ne)&&!k(A,Ne)&&oe(me,Ne)}),me}return ie}(),be=function(se){var Ce=se===J,me=ae(Ce?re:c(se)),Ne=[];return W(me,function(Ae){k(le,Ae)&&(!Ce||k(J,Ae))&&oe(Ne,le[Ae])}),Ne};y||(ue=function(){function ie(){if(C(ce,this))throw new pe("Symbol is not a constructor");var se=!arguments.length||arguments[0]===void 0?void 0:d(arguments[0]),Ce=E(se),me=function(){function Ne(Ae){var De=this===void 0?a:this;De===J&&t(Ne,re,Ae),k(De,_)&&k(De[_],Ce)&&(De[_][Ce]=!1);var je=l(1,Ae);try{Ve(De,Ce,je)}catch(_e){if(!(_e instanceof fe))throw _e;ve(De,Ce,je)}}return Ne}();return V&&Be&&Ve(J,Ce,{configurable:!0,set:me}),ke(Ce,se)}return ie}(),ce=ue[$],I(ce,"toString",function(){function ie(){return X(this).tag}return ie}()),I(ue,"withoutSetter",function(ie){return ke(E(ie),ie)}),B.f=xe,N.f=ye,b.f=Ie,h.f=Oe,p.f=v.f=We,g.f=be,D.f=function(ie){return ke(M(ie),ie)},V&&(L(ce,"description",{configurable:!0,get:function(){function ie(){return X(this).description}return ie}()}),f||I(J,"propertyIsEnumerable",xe,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!y,sham:!y},{Symbol:ue}),W(i(ge),function(ie){P(ie)}),e({target:K,stat:!0,forced:!y},{useSetter:function(){function ie(){Be=!0}return ie}(),useSimple:function(){function ie(){Be=!1}return ie}()}),e({target:"Object",stat:!0,forced:!y,sham:!V},{create:we,defineProperty:ye,defineProperties:Ie,getOwnPropertyDescriptor:Oe}),e({target:"Object",stat:!0,forced:!y},{getOwnPropertyNames:We}),R(),j(ue,K),A[_]=!0},27718:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(40224),o=n(18161),f=n(89458),V=n(7532),y=n(33314),S=n(26602),k=n(10069),C=n(70113),u=t.Symbol,c=u&&u.prototype;if(a&&V(u)&&(!("description"in c)||u().description!==void 0)){var m={},d=function(){function h(){var N=arguments.length<1||arguments[0]===void 0?void 0:S(arguments[0]),b=y(c,this)?new u(N):N===void 0?u():u(N);return N===""&&(m[b]=!0),b}return h}();C(d,u),d.prototype=c,c.constructor=d;var l=String(u("description detection"))==="Symbol(description detection)",s=o(c.valueOf),i=o(c.toString),p=/^Symbol\((.*)\)[^)]+$/,v=o("".replace),g=o("".slice);k(c,"description",{configurable:!0,get:function(){function h(){var N=s(this);if(f(m,N))return"";var b=i(N),B=l?g(b,7,-1):v(b,p,"$1");return B===""?void 0:B}return h}()}),e({global:!0,constructor:!0,forced:!0},{Symbol:d})}},18611:function(w,r,n){"use strict";var e=n(77549),a=n(40164),t=n(89458),o=n(26602),f=n(75130),V=n(80353),y=f("string-to-symbol-registry"),S=f("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!V},{for:function(){function k(C){var u=o(C);if(t(y,u))return y[u];var c=a("Symbol")(u);return y[u]=c,S[c]=u,c}return k}()})},86042:function(w,r,n){"use strict";var e=n(15388);e("hasInstance")},93267:function(w,r,n){"use strict";var e=n(15388);e("isConcatSpreadable")},41664:function(w,r,n){"use strict";var e=n(15388);e("iterator")},99414:function(w,r,n){"use strict";n(9056),n(18611),n(30661),n(12183),n(93146)},30661:function(w,r,n){"use strict";var e=n(77549),a=n(89458),t=n(74352),o=n(62518),f=n(75130),V=n(80353),y=f("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!V},{keyFor:function(){function S(k){if(!t(k))throw new TypeError(o(k)+" is not a symbol");if(a(y,k))return y[k]}return S}()})},48965:function(w,r,n){"use strict";var e=n(15388);e("match")},44844:function(w,r,n){"use strict";var e=n(15388);e("replace")},25030:function(w,r,n){"use strict";var e=n(15388);e("search")},96454:function(w,r,n){"use strict";var e=n(15388);e("species")},77564:function(w,r,n){"use strict";var e=n(15388);e("split")},44875:function(w,r,n){"use strict";var e=n(15388),a=n(75429);e("toPrimitive"),a()},77904:function(w,r,n){"use strict";var e=n(40164),a=n(15388),t=n(94234);a("toStringTag"),t(e("Symbol"),"Symbol")},35723:function(w,r,n){"use strict";var e=n(15388);e("unscopables")},84805:function(w,r,n){"use strict";var e=n(18161),a=n(72951),t=n(42320),o=e(t),f=a.aTypedArray,V=a.exportTypedArrayMethod;V("copyWithin",function(){function y(S,k){return o(f(this),S,k,arguments.length>2?arguments[2]:void 0)}return y}())},79305:function(w,r,n){"use strict";var e=n(72951),a=n(67480).every,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("every",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},71573:function(w,r,n){"use strict";var e=n(72951),a=n(59942),t=n(757),o=n(27806),f=n(62696),V=n(18161),y=n(41746),S=e.aTypedArray,k=e.exportTypedArrayMethod,C=V("".slice),u=y(function(){var c=0;return new Int8Array(2).fill({valueOf:function(){function m(){return c++}return m}()}),c!==1});k("fill",function(){function c(m){var d=arguments.length;S(this);var l=C(o(this),0,3)==="Big"?t(m):+m;return f(a,this,l,d>1?arguments[1]:void 0,d>2?arguments[2]:void 0)}return c}(),u)},47910:function(w,r,n){"use strict";var e=n(72951),a=n(67480).filter,t=n(80936),o=e.aTypedArray,f=e.exportTypedArrayMethod;f("filter",function(){function V(y){var S=a(o(this),y,arguments.length>1?arguments[1]:void 0);return t(this,S)}return V}())},99662:function(w,r,n){"use strict";var e=n(72951),a=n(67480).findIndex,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("findIndex",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},48447:function(w,r,n){"use strict";var e=n(72951),a=n(67480).find,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("find",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},68265:function(w,r,n){"use strict";var e=n(12218);e("Float32",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},36030:function(w,r,n){"use strict";var e=n(12218);e("Float64",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},57371:function(w,r,n){"use strict";var e=n(72951),a=n(67480).forEach,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("forEach",function(){function f(V){a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},68220:function(w,r,n){"use strict";var e=n(66220),a=n(72951).exportTypedArrayStaticMethod,t=n(7996);a("from",t,e)},15745:function(w,r,n){"use strict";var e=n(72951),a=n(64210).includes,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("includes",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},43398:function(w,r,n){"use strict";var e=n(72951),a=n(64210).indexOf,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("indexOf",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},25888:function(w,r,n){"use strict";var e=n(12218);e("Int16",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},35718:function(w,r,n){"use strict";var e=n(12218);e("Int32",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},32791:function(w,r,n){"use strict";var e=n(12218);e("Int8",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},97722:function(w,r,n){"use strict";var e=n(40224),a=n(41746),t=n(18161),o=n(72951),f=n(65809),V=n(66266),y=V("iterator"),S=e.Uint8Array,k=t(f.values),C=t(f.keys),u=t(f.entries),c=o.aTypedArray,m=o.exportTypedArrayMethod,d=S&&S.prototype,l=!a(function(){d[y].call([1])}),s=!!d&&d.values&&d[y]===d.values&&d.values.name==="values",i=function(){function p(){return k(c(this))}return p}();m("entries",function(){function p(){return u(c(this))}return p}(),l),m("keys",function(){function p(){return C(c(this))}return p}(),l),m("values",i,l||!s,{name:"values"}),m(y,i,l||!s,{name:"values"})},79088:function(w,r,n){"use strict";var e=n(72951),a=n(18161),t=e.aTypedArray,o=e.exportTypedArrayMethod,f=a([].join);o("join",function(){function V(y){return f(t(this),y)}return V}())},6075:function(w,r,n){"use strict";var e=n(72951),a=n(70918),t=n(16934),o=e.aTypedArray,f=e.exportTypedArrayMethod;f("lastIndexOf",function(){function V(y){var S=arguments.length;return a(t,o(this),S>1?[y,arguments[1]]:[y])}return V}())},46896:function(w,r,n){"use strict";var e=n(72951),a=n(67480).map,t=n(489),o=e.aTypedArray,f=e.exportTypedArrayMethod;f("map",function(){function V(y){return a(o(this),y,arguments.length>1?arguments[1]:void 0,function(S,k){return new(t(S))(k)})}return V}())},47145:function(w,r,n){"use strict";var e=n(72951),a=n(66220),t=e.aTypedArrayConstructor,o=e.exportTypedArrayStaticMethod;o("of",function(){function f(){for(var V=0,y=arguments.length,S=new(t(this))(y);y>V;)S[V]=arguments[V++];return S}return f}(),a)},349:function(w,r,n){"use strict";var e=n(72951),a=n(98405).right,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("reduceRight",function(){function f(V){var y=arguments.length;return a(t(this),V,y,y>1?arguments[1]:void 0)}return f}())},72606:function(w,r,n){"use strict";var e=n(72951),a=n(98405).left,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("reduce",function(){function f(V){var y=arguments.length;return a(t(this),V,y,y>1?arguments[1]:void 0)}return f}())},28292:function(w,r,n){"use strict";var e=n(72951),a=e.aTypedArray,t=e.exportTypedArrayMethod,o=Math.floor;t("reverse",function(){function f(){for(var V=this,y=a(V).length,S=o(y/2),k=0,C;k1?arguments[1]:void 0,1),v=V(i);if(d)return a(u,this,v,p);var g=this.length,h=o(v),N=0;if(h+p>g)throw new S("Wrong length");for(;Nm;)l[m]=u[m++];return l}return S}(),y)},74188:function(w,r,n){"use strict";var e=n(72951),a=n(67480).some,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("some",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},81976:function(w,r,n){"use strict";var e=n(40224),a=n(85067),t=n(41746),o=n(97361),f=n(44815),V=n(72951),y=n(49847),S=n(56605),k=n(82709),C=n(53125),u=V.aTypedArray,c=V.exportTypedArrayMethod,m=e.Uint16Array,d=m&&a(m.prototype.sort),l=!!d&&!(t(function(){d(new m(2),null)})&&t(function(){d(new m(2),{})})),s=!!d&&!t(function(){if(k)return k<74;if(y)return y<67;if(S)return!0;if(C)return C<602;var p=new m(516),v=Array(516),g,h;for(g=0;g<516;g++)h=g%4,p[g]=515-g,v[g]=g-2*h+3;for(d(p,function(N,b){return(N/4|0)-(b/4|0)}),g=0;g<516;g++)if(p[g]!==v[g])return!0}),i=function(v){return function(g,h){return v!==void 0?+v(g,h)||0:h!==h?-1:g!==g?1:g===0&&h===0?1/g>0&&1/h<0?1:-1:g>h}};c("sort",function(){function p(v){return v!==void 0&&o(v),s?d(this,v):f(u(this),i(v))}return p}(),!s||l)},78651:function(w,r,n){"use strict";var e=n(72951),a=n(10475),t=n(74067),o=n(489),f=e.aTypedArray,V=e.exportTypedArrayMethod;V("subarray",function(){function y(S,k){var C=f(this),u=C.length,c=t(S,u),m=o(C);return new m(C.buffer,C.byteOffset+c*C.BYTES_PER_ELEMENT,a((k===void 0?u:t(k,u))-c))}return y}())},81664:function(w,r,n){"use strict";var e=n(40224),a=n(70918),t=n(72951),o=n(41746),f=n(77713),V=e.Int8Array,y=t.aTypedArray,S=t.exportTypedArrayMethod,k=[].toLocaleString,C=!!V&&o(function(){k.call(new V(1))}),u=o(function(){return[1,2].toLocaleString()!==new V([1,2]).toLocaleString()})||!o(function(){V.prototype.toLocaleString.call([1,2])});S("toLocaleString",function(){function c(){return a(k,C?f(y(this)):y(this),f(arguments))}return c}(),u)},35579:function(w,r,n){"use strict";var e=n(72951).exportTypedArrayMethod,a=n(41746),t=n(40224),o=n(18161),f=t.Uint8Array,V=f&&f.prototype||{},y=[].toString,S=o([].join);a(function(){y.call({})})&&(y=function(){function C(){return S(this)}return C}());var k=V.toString!==y;e("toString",y,k)},99683:function(w,r,n){"use strict";var e=n(12218);e("Uint16",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},80941:function(w,r,n){"use strict";var e=n(12218);e("Uint32",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},45338:function(w,r,n){"use strict";var e=n(12218);e("Uint8",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},40737:function(w,r,n){"use strict";var e=n(12218);e("Uint8",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()},!0)},74283:function(w,r,n){"use strict";var e=n(56255),a=n(40224),t=n(18161),o=n(13648),f=n(29126),V=n(93439),y=n(32920),S=n(56831),k=n(35086).enforce,C=n(41746),u=n(90777),c=Object,m=Array.isArray,d=c.isExtensible,l=c.isFrozen,s=c.isSealed,i=c.freeze,p=c.seal,v=!a.ActiveXObject&&"ActiveXObject"in a,g,h=function(E){return function(){function M(){return E(this,arguments.length?arguments[0]:void 0)}return M}()},N=V("WeakMap",h,y),b=N.prototype,B=t(b.set),I=function(){return e&&C(function(){var E=i([]);return B(new N,E,1),!l(E)})};if(u)if(v){g=y.getConstructor(h,"WeakMap",!0),f.enable();var L=t(b.delete),T=t(b.has),x=t(b.get);o(b,{delete:function(){function A(E){if(S(E)&&!d(E)){var M=k(this);return M.frozen||(M.frozen=new g),L(this,E)||M.frozen.delete(E)}return L(this,E)}return A}(),has:function(){function A(E){if(S(E)&&!d(E)){var M=k(this);return M.frozen||(M.frozen=new g),T(this,E)||M.frozen.has(E)}return T(this,E)}return A}(),get:function(){function A(E){if(S(E)&&!d(E)){var M=k(this);return M.frozen||(M.frozen=new g),T(this,E)?x(this,E):M.frozen.get(E)}return x(this,E)}return A}(),set:function(){function A(E,M){if(S(E)&&!d(E)){var D=k(this);D.frozen||(D.frozen=new g),T(this,E)?B(this,E,M):D.frozen.set(E,M)}else B(this,E,M);return this}return A}()})}else I()&&o(b,{set:function(){function A(E,M){var D;return m(E)&&(l(E)?D=i:s(E)&&(D=p)),B(this,E,M),D&&D(E),this}return A}()})},84033:function(w,r,n){"use strict";n(74283)},82389:function(w,r,n){"use strict";var e=n(93439),a=n(32920);e("WeakSet",function(t){return function(){function o(){return t(this,arguments.length?arguments[0]:void 0)}return o}()},a)},71863:function(w,r,n){"use strict";n(82389)},73993:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(91314).clear;e({global:!0,bind:!0,enumerable:!0,forced:a.clearImmediate!==t},{clearImmediate:t})},55457:function(w,r,n){"use strict";n(73993),n(72532)},57399:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(27150),o=n(97361),f=n(22789),V=n(41746),y=n(14141),S=V(function(){return y&&Object.getOwnPropertyDescriptor(a,"queueMicrotask").value.length!==1});e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:S},{queueMicrotask:function(){function k(C){f(arguments.length,1),t(o(C))}return k}()})},72532:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(91314).set,o=n(83827),f=a.setImmediate?o(t,!1):t;e({global:!0,bind:!0,enumerable:!0,forced:a.setImmediate!==f},{setImmediate:f})},48112:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(83827),o=t(a.setInterval,!0);e({global:!0,bind:!0,forced:a.setInterval!==o},{setInterval:o})},82274:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(83827),o=t(a.setTimeout,!0);e({global:!0,bind:!0,forced:a.setTimeout!==o},{setTimeout:o})},65836:function(w,r,n){"use strict";n(48112),n(82274)},50719:function(w){"use strict";/** + */var t=r.BoxWithSampleText=function(){function o(f){return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Box,Object.assign({},f,{children:[(0,e.createComponentVNode)(2,a.Box,{italic:!0,children:"Jackdaws love my big sphinx of quartz."}),(0,e.createComponentVNode)(2,a.Box,{mt:1,bold:!0,children:"The wide electrification of the southern provinces will give a powerful impetus to the growth of agriculture."})]})))}return o}()},21965:function(){},28169:function(){},36487:function(){},35739:function(){},33631:function(){},74785:function(){},6895:function(){},3251:function(){},38265:function(){},7455:function(){},58823:function(){},49265:function(){},55350:function(){},45503:function(){},36557:function(){},70555:function(){},70752:function(w,r,n){var e={"./pai_atmosphere.js":24704,"./pai_bioscan.js":4209,"./pai_directives.js":44430,"./pai_doorjack.js":3367,"./pai_main_menu.js":73395,"./pai_manifest.js":37645,"./pai_medrecords.js":15836,"./pai_messenger.js":91737,"./pai_radio.js":94077,"./pai_secrecords.js":72621,"./pai_signaler.js":53483};function a(o){var f=t(o);return n(f)}function t(o){if(!n.o(e,o)){var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,w.exports=a,a.id=70752},59395:function(w,r,n){var e={"./pda_atmos_scan.js":21606,"./pda_janitor.js":12339,"./pda_main_menu.js":36615,"./pda_manifest.js":99737,"./pda_medical.js":61597,"./pda_messenger.js":30709,"./pda_mule.js":68053,"./pda_nanobank.js":31728,"./pda_notes.js":29415,"./pda_power.js":52363,"./pda_secbot.js":23914,"./pda_security.js":68878,"./pda_signaler.js":95135,"./pda_status_display.js":20835,"./pda_supplyrecords.js":11741};function a(o){var f=t(o);return n(f)}function t(o){if(!n.o(e,o)){var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,w.exports=a,a.id=59395},32054:function(w,r,n){var e={"./AICard":29732,"./AICard.js":29732,"./AIFixer":78468,"./AIFixer.js":78468,"./APC":73544,"./APC.js":73544,"./ATM":79098,"./ATM.js":79098,"./AccountsUplinkTerminal":64613,"./AccountsUplinkTerminal.js":64613,"./AgentCard":34257,"./AgentCard.js":34257,"./AiAirlock":56839,"./AiAirlock.js":56839,"./AirAlarm":5565,"./AirAlarm.js":5565,"./AirlockAccessController":82915,"./AirlockAccessController.js":82915,"./AirlockElectronics":14962,"./AirlockElectronics.js":14962,"./AlertModal":99327,"./AlertModal.tsx":99327,"./AppearanceChanger":88642,"./AppearanceChanger.js":88642,"./AtmosAlertConsole":51731,"./AtmosAlertConsole.js":51731,"./AtmosControl":57467,"./AtmosControl.js":57467,"./AtmosFilter":41550,"./AtmosFilter.js":41550,"./AtmosGraphMonitor":16688,"./AtmosGraphMonitor.tsx":16688,"./AtmosMixer":70151,"./AtmosMixer.js":70151,"./AtmosPump":54090,"./AtmosPump.js":54090,"./AtmosTankControl":31335,"./AtmosTankControl.js":31335,"./Autolathe":85909,"./Autolathe.js":85909,"./BioChipPad":81617,"./BioChipPad.js":81617,"./Biogenerator":26215,"./Biogenerator.js":26215,"./BlueSpaceArtilleryControl":65483,"./BlueSpaceArtilleryControl.js":65483,"./BluespaceTap":69099,"./BluespaceTap.js":69099,"./BodyScanner":71736,"./BodyScanner.js":71736,"./BookBinder":99449,"./BookBinder.js":99449,"./BotCall":85951,"./BotCall.js":85951,"./BotClean":43506,"./BotClean.js":43506,"./BotFloor":89593,"./BotFloor.js":89593,"./BotHonk":89513,"./BotHonk.js":89513,"./BotMed":19297,"./BotMed.js":19297,"./BotSecurity":4249,"./BotSecurity.js":4249,"./BrigCells":27267,"./BrigCells.js":27267,"./BrigTimer":26623,"./BrigTimer.js":26623,"./CameraConsole":43542,"./CameraConsole.js":43542,"./CameraConsole220":9300,"./CameraConsole220.js":9300,"./Canister":95513,"./Canister.js":95513,"./CardComputer":60463,"./CardComputer.js":60463,"./CargoConsole":16377,"./CargoConsole.js":16377,"./ChangelogView":89917,"./ChangelogView.js":89917,"./ChemDispenser":71254,"./ChemDispenser.js":71254,"./ChemHeater":27004,"./ChemHeater.js":27004,"./ChemMaster":41099,"./ChemMaster.tsx":41099,"./CloningConsole":51327,"./CloningConsole.js":51327,"./CloningPod":66373,"./CloningPod.js":66373,"./CoinMint":38781,"./CoinMint.tsx":38781,"./ColourMatrixTester":11866,"./ColourMatrixTester.js":11866,"./CommunicationsComputer":22420,"./CommunicationsComputer.js":22420,"./CompostBin":46868,"./CompostBin.js":46868,"./Contractor":64707,"./Contractor.js":64707,"./ConveyorSwitch":52141,"./ConveyorSwitch.js":52141,"./CrewMonitor":94187,"./CrewMonitor.js":94187,"./Cryo":60561,"./Cryo.js":60561,"./CryopodConsole":27889,"./CryopodConsole.js":27889,"./DNAModifier":81434,"./DNAModifier.js":81434,"./DestinationTagger":99127,"./DestinationTagger.js":99127,"./DisposalBin":93430,"./DisposalBin.js":93430,"./DnaVault":31491,"./DnaVault.js":31491,"./DroneConsole":30747,"./DroneConsole.js":30747,"./EFTPOS":74781,"./EFTPOS.js":74781,"./ERTManager":30672,"./ERTManager.js":30672,"./EconomyManager":24503,"./EconomyManager.js":24503,"./Electropack":15543,"./Electropack.js":15543,"./Emojipedia":57013,"./Emojipedia.tsx":57013,"./EmotePanel":75450,"./EmotePanel.js":75450,"./EvolutionMenu":99012,"./EvolutionMenu.js":99012,"./ExosuitFabricator":37504,"./ExosuitFabricator.js":37504,"./ExperimentConsole":9466,"./ExperimentConsole.js":9466,"./ExternalAirlockController":77284,"./ExternalAirlockController.js":77284,"./FaxMachine":52516,"./FaxMachine.js":52516,"./FilingCabinet":24777,"./FilingCabinet.js":24777,"./FloorPainter":88361,"./FloorPainter.js":88361,"./GPS":70078,"./GPS.js":70078,"./GeneModder":92246,"./GeneModder.js":92246,"./GenericCrewManifest":27163,"./GenericCrewManifest.js":27163,"./GhostHudPanel":53808,"./GhostHudPanel.js":53808,"./GlandDispenser":32035,"./GlandDispenser.js":32035,"./GravityGen":33004,"./GravityGen.js":33004,"./GuestPass":39775,"./GuestPass.js":39775,"./HandheldChemDispenser":22480,"./HandheldChemDispenser.js":22480,"./HealthSensor":22616,"./HealthSensor.js":22616,"./Holodeck":76861,"./Holodeck.js":76861,"./Instrument":96729,"./Instrument.js":96729,"./Jukebox":99366,"./Jukebox.tsx":99366,"./KeycardAuth":53385,"./KeycardAuth.js":53385,"./KitchenMachine":58553,"./KitchenMachine.js":58553,"./LawManager":14047,"./LawManager.js":14047,"./LibraryComputer":5872,"./LibraryComputer.js":5872,"./LibraryManager":37782,"./LibraryManager.js":37782,"./ListInputModal":26133,"./ListInputModal.tsx":26133,"./MODsuit":71963,"./MODsuit.js":71963,"./MagnetController":84274,"./MagnetController.js":84274,"./MechBayConsole":95752,"./MechBayConsole.js":95752,"./MechaControlConsole":53668,"./MechaControlConsole.js":53668,"./MedicalRecords":96467,"./MedicalRecords.js":96467,"./MerchVendor":68211,"./MerchVendor.js":68211,"./MiningVendor":14162,"./MiningVendor.js":14162,"./ModpacksList":46146,"./ModpacksList.js":46146,"./NTRecruiter":68977,"./NTRecruiter.js":68977,"./Newscaster":17067,"./Newscaster.js":17067,"./Noticeboard":26148,"./Noticeboard.tsx":26148,"./NuclearBomb":46940,"./NuclearBomb.js":46940,"./NumberInputModal":35478,"./NumberInputModal.tsx":35478,"./OperatingComputer":98476,"./OperatingComputer.js":98476,"./Orbit":98702,"./Orbit.js":98702,"./OreRedemption":74015,"./OreRedemption.js":74015,"./PAI":48824,"./PAI.js":48824,"./PDA":41565,"./PDA.js":41565,"./Pacman":78704,"./Pacman.js":78704,"./PanDEMIC":6887,"./PanDEMIC.tsx":6887,"./ParticleAccelerator":78643,"./ParticleAccelerator.js":78643,"./PdaPainter":34026,"./PdaPainter.js":34026,"./PersonalCrafting":81378,"./PersonalCrafting.js":81378,"./Photocopier":58792,"./Photocopier.js":58792,"./Photocopier220":45642,"./Photocopier220.js":45642,"./PoolController":27902,"./PoolController.js":27902,"./PortablePump":52025,"./PortablePump.js":52025,"./PortableScrubber":57827,"./PortableScrubber.js":57827,"./PortableTurret":63825,"./PortableTurret.js":63825,"./PowerMonitor":70373,"./PowerMonitor.js":70373,"./PrisonerImplantManager":27262,"./PrisonerImplantManager.js":27262,"./PrisonerShuttleConsole":22046,"./PrisonerShuttleConsole.js":22046,"./PrizeCounter":92014,"./PrizeCounter.tsx":92014,"./RCD":87963,"./RCD.js":87963,"./RPD":84364,"./RPD.js":84364,"./Radio":14641,"./Radio.js":14641,"./ReagentGrinder":40483,"./ReagentGrinder.js":40483,"./ReagentsEditor":70976,"./ReagentsEditor.tsx":70976,"./RemoteSignaler":94049,"./RemoteSignaler.js":94049,"./RequestConsole":12326,"./RequestConsole.js":12326,"./RndConsole":89641,"./RndConsole.js":89641,"./RndConsoleComponents":3422,"./RndConsoleComponents/":3422,"./RndConsoleComponents/CurrentLevels":19348,"./RndConsoleComponents/CurrentLevels.js":19348,"./RndConsoleComponents/DataDiskMenu":338,"./RndConsoleComponents/DataDiskMenu.js":338,"./RndConsoleComponents/DeconstructionMenu":90785,"./RndConsoleComponents/DeconstructionMenu.js":90785,"./RndConsoleComponents/LatheCategory":34492,"./RndConsoleComponents/LatheCategory.js":34492,"./RndConsoleComponents/LatheChemicalStorage":84275,"./RndConsoleComponents/LatheChemicalStorage.js":84275,"./RndConsoleComponents/LatheMainMenu":12638,"./RndConsoleComponents/LatheMainMenu.js":12638,"./RndConsoleComponents/LatheMaterialStorage":89004,"./RndConsoleComponents/LatheMaterialStorage.js":89004,"./RndConsoleComponents/LatheMaterials":73856,"./RndConsoleComponents/LatheMaterials.js":73856,"./RndConsoleComponents/LatheMenu":75955,"./RndConsoleComponents/LatheMenu.js":75955,"./RndConsoleComponents/LatheSearch":72880,"./RndConsoleComponents/LatheSearch.js":72880,"./RndConsoleComponents/MainMenu":62306,"./RndConsoleComponents/MainMenu.js":62306,"./RndConsoleComponents/RndNavButton":99941,"./RndConsoleComponents/RndNavButton.js":99941,"./RndConsoleComponents/RndNavbar":24448,"./RndConsoleComponents/RndNavbar.js":24448,"./RndConsoleComponents/RndRoute":78345,"./RndConsoleComponents/RndRoute.js":78345,"./RndConsoleComponents/SettingsMenu":56454,"./RndConsoleComponents/SettingsMenu.js":56454,"./RndConsoleComponents/index":3422,"./RndConsoleComponents/index.js":3422,"./RobotSelfDiagnosis":71123,"./RobotSelfDiagnosis.js":71123,"./RoboticsControlConsole":98951,"./RoboticsControlConsole.js":98951,"./Safe":2289,"./Safe.js":2289,"./SatelliteControl":49334,"./SatelliteControl.js":49334,"./SecureStorage":54892,"./SecureStorage.js":54892,"./SecurityRecords":56798,"./SecurityRecords.js":56798,"./SeedExtractor":59981,"./SeedExtractor.js":59981,"./ShuttleConsole":33454,"./ShuttleConsole.js":33454,"./ShuttleManipulator":50451,"./ShuttleManipulator.js":50451,"./Sleeper":99050,"./Sleeper.js":99050,"./SlotMachine":37763,"./SlotMachine.js":37763,"./Smartfridge":26654,"./Smartfridge.js":26654,"./Smes":71124,"./Smes.js":71124,"./SolarControl":21786,"./SolarControl.js":21786,"./SpawnersMenu":31202,"./SpawnersMenu.js":31202,"./SpecMenu":84800,"./SpecMenu.js":84800,"./StationAlertConsole":46501,"./StationAlertConsole.js":46501,"./StationTraitsPanel":18565,"./StationTraitsPanel.tsx":18565,"./StripMenu":95147,"./StripMenu.tsx":95147,"./SuitStorage":61284,"./SuitStorage.js":61284,"./SupermatterMonitor":19796,"./SupermatterMonitor.js":19796,"./SyndicateComputerSimple":30047,"./SyndicateComputerSimple.js":30047,"./TEG":28830,"./TEG.js":28830,"./TTSSeedsExplorer":67432,"./TTSSeedsExplorer.tsx":67432,"./TachyonArray":39903,"./TachyonArray.js":39903,"./Tank":17068,"./Tank.js":17068,"./TankDispenser":69161,"./TankDispenser.js":69161,"./TcommsCore":87394,"./TcommsCore.js":87394,"./TcommsRelay":55684,"./TcommsRelay.js":55684,"./Teleporter":81088,"./Teleporter.js":81088,"./TelescienceConsole":65875,"./TelescienceConsole.js":65875,"./TempGun":96150,"./TempGun.js":96150,"./TextInputModal":95484,"./TextInputModal.tsx":95484,"./ThermoMachine":378,"./ThermoMachine.js":378,"./TransferValve":3365,"./TransferValve.js":3365,"./TurbineComputer":13860,"./TurbineComputer.js":13860,"./Uplink":22169,"./Uplink.js":22169,"./Vending":70547,"./Vending.js":70547,"./VolumeMixer":33045,"./VolumeMixer.js":33045,"./VotePanel":53792,"./VotePanel.js":53792,"./Wires":64860,"./Wires.js":64860,"./WizardApprenticeContract":78262,"./WizardApprenticeContract.js":78262,"./common/AccessList":57842,"./common/AccessList.js":57842,"./common/AtmosScan":79449,"./common/AtmosScan.js":79449,"./common/BeakerContents":1496,"./common/BeakerContents.js":1496,"./common/BotStatus":69521,"./common/BotStatus.js":69521,"./common/ComplexModal":99665,"./common/ComplexModal.js":99665,"./common/CrewManifest":98444,"./common/CrewManifest.js":98444,"./common/InputButtons":15113,"./common/InputButtons.tsx":15113,"./common/InterfaceLockNoticeBox":26893,"./common/InterfaceLockNoticeBox.js":26893,"./common/Loader":14299,"./common/Loader.tsx":14299,"./common/LoginInfo":68159,"./common/LoginInfo.js":68159,"./common/LoginScreen":27527,"./common/LoginScreen.js":27527,"./common/Operating":75201,"./common/Operating.js":75201,"./common/Signaler":65435,"./common/Signaler.js":65435,"./common/SimpleRecords":77534,"./common/SimpleRecords.js":77534,"./common/TemporaryNotice":84537,"./common/TemporaryNotice.js":84537,"./pai/pai_atmosphere":24704,"./pai/pai_atmosphere.js":24704,"./pai/pai_bioscan":4209,"./pai/pai_bioscan.js":4209,"./pai/pai_directives":44430,"./pai/pai_directives.js":44430,"./pai/pai_doorjack":3367,"./pai/pai_doorjack.js":3367,"./pai/pai_main_menu":73395,"./pai/pai_main_menu.js":73395,"./pai/pai_manifest":37645,"./pai/pai_manifest.js":37645,"./pai/pai_medrecords":15836,"./pai/pai_medrecords.js":15836,"./pai/pai_messenger":91737,"./pai/pai_messenger.js":91737,"./pai/pai_radio":94077,"./pai/pai_radio.js":94077,"./pai/pai_secrecords":72621,"./pai/pai_secrecords.js":72621,"./pai/pai_signaler":53483,"./pai/pai_signaler.js":53483,"./pda/pda_atmos_scan":21606,"./pda/pda_atmos_scan.js":21606,"./pda/pda_janitor":12339,"./pda/pda_janitor.js":12339,"./pda/pda_main_menu":36615,"./pda/pda_main_menu.js":36615,"./pda/pda_manifest":99737,"./pda/pda_manifest.js":99737,"./pda/pda_medical":61597,"./pda/pda_medical.js":61597,"./pda/pda_messenger":30709,"./pda/pda_messenger.js":30709,"./pda/pda_mule":68053,"./pda/pda_mule.js":68053,"./pda/pda_nanobank":31728,"./pda/pda_nanobank.js":31728,"./pda/pda_notes":29415,"./pda/pda_notes.js":29415,"./pda/pda_power":52363,"./pda/pda_power.js":52363,"./pda/pda_secbot":23914,"./pda/pda_secbot.js":23914,"./pda/pda_security":68878,"./pda/pda_security.js":68878,"./pda/pda_signaler":95135,"./pda/pda_signaler.js":95135,"./pda/pda_status_display":20835,"./pda/pda_status_display.js":20835,"./pda/pda_supplyrecords":11741,"./pda/pda_supplyrecords.js":11741};function a(o){var f=t(o);return n(f)}function t(o){if(!n.o(e,o)){var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,w.exports=a,a.id=32054},4085:function(w,r,n){var e={"./Blink.stories.js":61498,"./BlockQuote.stories.js":27431,"./Box.stories.js":6517,"./Button.stories.js":20648,"./ByondUi.stories.js":14906,"./Collapsible.stories.js":59948,"./Flex.stories.js":37227,"./ImageButton.stories.js":16189,"./Input.stories.js":32304,"./Popper.stories.js":50394,"./ProgressBar.stories.js":75096,"./Stack.stories.js":30268,"./Storage.stories.js":22645,"./Tabs.stories.js":42120,"./Themes.stories.js":80254,"./Tooltip.stories.js":90823};function a(o){var f=t(o);return n(f)}function t(o){if(!n.o(e,o)){var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,w.exports=a,a.id=4085},97361:function(w,r,n){"use strict";var e=n(7532),a=n(62518),t=TypeError;w.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not a function")}},76833:function(w,r,n){"use strict";var e=n(60354),a=n(62518),t=TypeError;w.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not a constructor")}},51689:function(w,r,n){"use strict";var e=n(41224),a=String,t=TypeError;w.exports=function(o){if(e(o))return o;throw new t("Can't set "+a(o)+" as a prototype")}},91138:function(w,r,n){"use strict";var e=n(66266),a=n(28969),t=n(56018).f,o=e("unscopables"),f=Array.prototype;f[o]===void 0&&t(f,o,{configurable:!0,value:a(null)}),w.exports=function(V){f[o][V]=!0}},62970:function(w,r,n){"use strict";var e=n(56852).charAt;w.exports=function(a,t,o){return t+(o?e(a,t).length:1)}},19870:function(w,r,n){"use strict";var e=n(33314),a=TypeError;w.exports=function(t,o){if(e(o,t))return t;throw new a("Incorrect invocation")}},39482:function(w,r,n){"use strict";var e=n(56831),a=String,t=TypeError;w.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not an object")}},67404:function(w){"use strict";w.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},65693:function(w,r,n){"use strict";var e=n(41746);w.exports=e(function(){if(typeof ArrayBuffer=="function"){var a=new ArrayBuffer(8);Object.isExtensible(a)&&Object.defineProperty(a,"a",{value:8})}})},72951:function(w,r,n){"use strict";var e=n(67404),a=n(14141),t=n(40224),o=n(7532),f=n(56831),V=n(89458),y=n(27806),S=n(62518),k=n(16216),C=n(59173),u=n(10069),c=n(33314),m=n(31658),d=n(42878),l=n(66266),s=n(33345),i=n(35086),p=i.enforce,v=i.get,g=t.Int8Array,h=g&&g.prototype,N=t.Uint8ClampedArray,b=N&&N.prototype,B=g&&m(g),I=h&&m(h),L=Object.prototype,T=t.TypeError,x=l("toStringTag"),A=s("TYPED_ARRAY_TAG"),E="TypedArrayConstructor",M=e&&!!d&&y(t.opera)!=="Opera",D=!1,P,R,j,F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},W={BigInt64Array:8,BigUint64Array:8},_=function(){function ce(fe){if(!f(fe))return!1;var pe=y(fe);return pe==="DataView"||V(F,pe)||V(W,pe)}return ce}(),K=function ce(fe){var pe=m(fe);if(f(pe)){var he=v(pe);return he&&V(he,E)?he[E]:ce(pe)}},H=function(fe){if(!f(fe))return!1;var pe=y(fe);return V(F,pe)||V(W,pe)},X=function(fe){if(H(fe))return fe;throw new T("Target is not a typed array")},Y=function(fe){if(o(fe)&&(!d||c(B,fe)))return fe;throw new T(S(fe)+" is not a typed array constructor")},J=function(fe,pe,he,te){if(a){if(he)for(var Q in F){var ae=t[Q];if(ae&&V(ae.prototype,fe))try{delete ae.prototype[fe]}catch(ee){try{ae.prototype[fe]=pe}catch(oe){}}}(!I[fe]||he)&&C(I,fe,he?pe:M&&h[fe]||pe,te)}},le=function(fe,pe,he){var te,Q;if(a){if(d){if(he){for(te in F)if(Q=t[te],Q&&V(Q,fe))try{delete Q[fe]}catch(ae){}}if(!B[fe]||he)try{return C(B,fe,he?pe:M&&B[fe]||pe)}catch(ae){}else return}for(te in F)Q=t[te],Q&&(!Q[fe]||he)&&C(Q,fe,pe)}};for(P in F)R=t[P],j=R&&R.prototype,j?p(j)[E]=R:M=!1;for(P in W)R=t[P],j=R&&R.prototype,j&&(p(j)[E]=R);if((!M||!o(B)||B===Function.prototype)&&(B=function(){function ce(){throw new T("Incorrect invocation")}return ce}(),M))for(P in F)t[P]&&d(t[P],B);if((!M||!I||I===L)&&(I=B.prototype,M))for(P in F)t[P]&&d(t[P].prototype,I);if(M&&m(b)!==I&&d(b,I),a&&!V(I,x)){D=!0,u(I,x,{configurable:!0,get:function(){function ce(){return f(this)?this[A]:void 0}return ce}()});for(P in F)t[P]&&k(t[P],A,P)}w.exports={NATIVE_ARRAY_BUFFER_VIEWS:M,TYPED_ARRAY_TAG:D&&A,aTypedArray:X,aTypedArrayConstructor:Y,exportTypedArrayMethod:J,exportTypedArrayStaticMethod:le,getTypedArrayConstructor:K,isView:_,isTypedArray:H,TypedArray:B,TypedArrayPrototype:I}},46185:function(w,r,n){"use strict";var e=n(40224),a=n(18161),t=n(14141),o=n(67404),f=n(26463),V=n(16216),y=n(10069),S=n(13648),k=n(41746),C=n(19870),u=n(74952),c=n(10475),m=n(90835),d=n(75988),l=n(62263),s=n(31658),i=n(42878),p=n(59942),v=n(77713),g=n(2566),h=n(70113),N=n(94234),b=n(35086),B=f.PROPER,I=f.CONFIGURABLE,L="ArrayBuffer",T="DataView",x="prototype",A="Wrong length",E="Wrong index",M=b.getterFor(L),D=b.getterFor(T),P=b.set,R=e[L],j=R,F=j&&j[x],W=e[T],_=W&&W[x],K=Object.prototype,H=e.Array,X=e.RangeError,Y=a(p),J=a([].reverse),le=l.pack,ce=l.unpack,fe=function(Ve){return[Ve&255]},pe=function(Ve){return[Ve&255,Ve>>8&255]},he=function(Ve){return[Ve&255,Ve>>8&255,Ve>>16&255,Ve>>24&255]},te=function(Ve){return Ve[3]<<24|Ve[2]<<16|Ve[1]<<8|Ve[0]},Q=function(Ve){return le(d(Ve),23,4)},ae=function(Ve){return le(Ve,52,8)},ee=function(Ve,ke,ye){y(Ve[x],ke,{configurable:!0,get:function(){function Ie(){return ye(this)[ke]}return Ie}()})},oe=function(Ve,ke,ye,Ie){var we=D(Ve),xe=m(ye),Oe=!!Ie;if(xe+ke>we.byteLength)throw new X(E);var We=we.bytes,be=xe+we.byteOffset,ie=v(We,be,be+ke);return Oe?ie:J(ie)},ue=function(Ve,ke,ye,Ie,we,xe){var Oe=D(Ve),We=m(ye),be=Ie(+we),ie=!!xe;if(We+ke>Oe.byteLength)throw new X(E);for(var se=Oe.bytes,Ce=We+Oe.byteOffset,me=0;mewe)throw new X("Wrong offset");if(ye=ye===void 0?we-xe:c(ye),xe+ye>we)throw new X(A);P(this,{type:T,buffer:Ve,byteLength:ye,byteOffset:xe,bytes:Ie.bytes}),t||(this.buffer=Ve,this.byteLength=ye,this.byteOffset=xe)}return ve}(),_=W[x],t&&(ee(j,"byteLength",M),ee(W,"buffer",D),ee(W,"byteLength",D),ee(W,"byteOffset",D)),S(_,{getInt8:function(){function ve(Ve){return oe(this,1,Ve)[0]<<24>>24}return ve}(),getUint8:function(){function ve(Ve){return oe(this,1,Ve)[0]}return ve}(),getInt16:function(){function ve(Ve){var ke=oe(this,2,Ve,arguments.length>1?arguments[1]:!1);return(ke[1]<<8|ke[0])<<16>>16}return ve}(),getUint16:function(){function ve(Ve){var ke=oe(this,2,Ve,arguments.length>1?arguments[1]:!1);return ke[1]<<8|ke[0]}return ve}(),getInt32:function(){function ve(Ve){return te(oe(this,4,Ve,arguments.length>1?arguments[1]:!1))}return ve}(),getUint32:function(){function ve(Ve){return te(oe(this,4,Ve,arguments.length>1?arguments[1]:!1))>>>0}return ve}(),getFloat32:function(){function ve(Ve){return ce(oe(this,4,Ve,arguments.length>1?arguments[1]:!1),23)}return ve}(),getFloat64:function(){function ve(Ve){return ce(oe(this,8,Ve,arguments.length>1?arguments[1]:!1),52)}return ve}(),setInt8:function(){function ve(Ve,ke){ue(this,1,Ve,fe,ke)}return ve}(),setUint8:function(){function ve(Ve,ke){ue(this,1,Ve,fe,ke)}return ve}(),setInt16:function(){function ve(Ve,ke){ue(this,2,Ve,pe,ke,arguments.length>2?arguments[2]:!1)}return ve}(),setUint16:function(){function ve(Ve,ke){ue(this,2,Ve,pe,ke,arguments.length>2?arguments[2]:!1)}return ve}(),setInt32:function(){function ve(Ve,ke){ue(this,4,Ve,he,ke,arguments.length>2?arguments[2]:!1)}return ve}(),setUint32:function(){function ve(Ve,ke){ue(this,4,Ve,he,ke,arguments.length>2?arguments[2]:!1)}return ve}(),setFloat32:function(){function ve(Ve,ke){ue(this,4,Ve,Q,ke,arguments.length>2?arguments[2]:!1)}return ve}(),setFloat64:function(){function ve(Ve,ke){ue(this,8,Ve,ae,ke,arguments.length>2?arguments[2]:!1)}return ve}()});else{var re=B&&R.name!==L;!k(function(){R(1)})||!k(function(){new R(-1)})||k(function(){return new R,new R(1.5),new R(NaN),R.length!==1||re&&!I})?(j=function(){function ve(Ve){return C(this,F),g(new R(m(Ve)),this,j)}return ve}(),j[x]=F,F.constructor=j,h(j,R)):re&&I&&V(R,"name",L),i&&s(_)!==K&&i(_,K);var ge=new W(new j(2)),Be=a(_.setInt8);ge.setInt8(0,2147483648),ge.setInt8(1,2147483649),(ge.getInt8(0)||!ge.getInt8(1))&&S(_,{setInt8:function(){function ve(Ve,ke){Be(this,Ve,ke<<24>>24)}return ve}(),setUint8:function(){function ve(Ve,ke){Be(this,Ve,ke<<24>>24)}return ve}()},{unsafe:!0})}N(j,L),N(W,T),w.exports={ArrayBuffer:j,DataView:W}},42320:function(w,r,n){"use strict";var e=n(40076),a=n(74067),t=n(8333),o=n(58937),f=Math.min;w.exports=[].copyWithin||function(){function V(y,S){var k=e(this),C=t(k),u=a(y,C),c=a(S,C),m=arguments.length>2?arguments[2]:void 0,d=f((m===void 0?C:a(m,C))-c,C-u),l=1;for(c0;)c in k?k[u]=k[c]:o(k,u),u+=l,c+=l;return k}return V}()},59942:function(w,r,n){"use strict";var e=n(40076),a=n(74067),t=n(8333);w.exports=function(){function o(f){for(var V=e(this),y=t(V),S=arguments.length,k=a(S>1?arguments[1]:void 0,y),C=S>2?arguments[2]:void 0,u=C===void 0?y:a(C,y);u>k;)V[k++]=f;return V}return o}()},75420:function(w,r,n){"use strict";var e=n(67480).forEach,a=n(42309),t=a("forEach");w.exports=t?[].forEach:function(){function o(f){return e(this,f,arguments.length>1?arguments[1]:void 0)}return o}()},6967:function(w,r,n){"use strict";var e=n(8333);w.exports=function(a,t,o){for(var f=0,V=arguments.length>2?o:e(t),y=new a(V);V>f;)y[f]=t[f++];return y}},80363:function(w,r,n){"use strict";var e=n(4509),a=n(62696),t=n(40076),o=n(17100),f=n(58482),V=n(60354),y=n(8333),S=n(12913),k=n(3438),C=n(76274),u=Array;w.exports=function(){function c(m){var d=t(m),l=V(this),s=arguments.length,i=s>1?arguments[1]:void 0,p=i!==void 0;p&&(i=e(i,s>2?arguments[2]:void 0));var v=C(d),g=0,h,N,b,B,I,L;if(v&&!(this===u&&f(v)))for(N=l?new this:[],B=k(d,v),I=B.next;!(b=a(I,B)).done;g++)L=p?o(B,i,[b.value,g],!0):b.value,S(N,g,L);else for(h=y(d),N=l?new this(h):u(h);h>g;g++)L=p?i(d[g],g):d[g],S(N,g,L);return N.length=g,N}return c}()},64210:function(w,r,n){"use strict";var e=n(96812),a=n(74067),t=n(8333),o=function(V){return function(y,S,k){var C=e(y),u=t(C);if(u===0)return!V&&-1;var c=a(k,u),m;if(V&&S!==S){for(;u>c;)if(m=C[c++],m!==m)return!0}else for(;u>c;c++)if((V||c in C)&&C[c]===S)return V||c||0;return!V&&-1}};w.exports={includes:o(!0),indexOf:o(!1)}},67480:function(w,r,n){"use strict";var e=n(4509),a=n(18161),t=n(26736),o=n(40076),f=n(8333),V=n(32878),y=a([].push),S=function(C){var u=C===1,c=C===2,m=C===3,d=C===4,l=C===6,s=C===7,i=C===5||l;return function(p,v,g,h){for(var N=o(p),b=t(N),B=f(b),I=e(v,g),L=0,T=h||V,x=u?T(p,B):c||s?T(p,0):void 0,A,E;B>L;L++)if((i||L in b)&&(A=b[L],E=I(A,L,N),C))if(u)x[L]=E;else if(E)switch(C){case 3:return!0;case 5:return A;case 6:return L;case 2:y(x,A)}else switch(C){case 4:return!1;case 7:y(x,A)}return l?-1:m||d?d:x}};w.exports={forEach:S(0),map:S(1),filter:S(2),some:S(3),every:S(4),find:S(5),findIndex:S(6),filterReject:S(7)}},16934:function(w,r,n){"use strict";var e=n(70918),a=n(96812),t=n(74952),o=n(8333),f=n(42309),V=Math.min,y=[].lastIndexOf,S=!!y&&1/[1].lastIndexOf(1,-0)<0,k=f("lastIndexOf"),C=S||!k;w.exports=C?function(){function u(c){if(S)return e(y,this,arguments)||0;var m=a(this),d=o(m);if(d===0)return-1;var l=d-1;for(arguments.length>1&&(l=V(l,t(arguments[1]))),l<0&&(l=d+l);l>=0;l--)if(l in m&&m[l]===c)return l||0;return-1}return u}():y},55114:function(w,r,n){"use strict";var e=n(41746),a=n(66266),t=n(82709),o=a("species");w.exports=function(f){return t>=51||!e(function(){var V=[],y=V.constructor={};return y[o]=function(){return{foo:1}},V[f](Boolean).foo!==1})}},42309:function(w,r,n){"use strict";var e=n(41746);w.exports=function(a,t){var o=[][a];return!!o&&e(function(){o.call(null,t||function(){return 1},1)})}},98405:function(w,r,n){"use strict";var e=n(97361),a=n(40076),t=n(26736),o=n(8333),f=TypeError,V="Reduce of empty array with no initial value",y=function(k){return function(C,u,c,m){var d=a(C),l=t(d),s=o(d);if(e(u),s===0&&c<2)throw new f(V);var i=k?s-1:0,p=k?-1:1;if(c<2)for(;;){if(i in l){m=l[i],i+=p;break}if(i+=p,k?i<0:s<=i)throw new f(V)}for(;k?i>=0:s>i;i+=p)i in l&&(m=u(m,l[i],i,d));return m}};w.exports={left:y(!1),right:y(!0)}},72720:function(w,r,n){"use strict";var e=n(14141),a=n(62367),t=TypeError,o=Object.getOwnPropertyDescriptor,f=e&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(V){return V instanceof TypeError}}();w.exports=f?function(V,y){if(a(V)&&!o(V,"length").writable)throw new t("Cannot set read only .length");return V.length=y}:function(V,y){return V.length=y}},77713:function(w,r,n){"use strict";var e=n(18161);w.exports=e([].slice)},44815:function(w,r,n){"use strict";var e=n(77713),a=Math.floor,t=function o(f,V){var y=f.length;if(y<8)for(var S=1,k,C;S0;)f[C]=f[--C];C!==S++&&(f[C]=k)}else for(var u=a(y/2),c=o(e(f,0,u),V),m=o(e(f,u),V),d=c.length,l=m.length,s=0,i=0;s1?arguments[1]:void 0),E;E=E?E.next:x.first;)for(A(E.value,E.key,this);E&&E.removed;)E=E.previous}return L}(),has:function(){function L(T){return!!I(this,T)}return L}()}),t(N,v?{get:function(){function L(T){var x=I(this,T);return x&&x.value}return L}(),set:function(){function L(T,x){return B(this,T===0?0:T,x)}return L}()}:{add:function(){function L(T){return B(this,T=T===0?0:T,T)}return L}()}),u&&a(N,"size",{configurable:!0,get:function(){function L(){return b(this).size}return L}()}),h}return s}(),setStrong:function(){function s(i,p,v){var g=p+" Iterator",h=l(p),N=l(g);S(i,p,function(b,B){d(this,{type:g,target:b,state:h(b),kind:B,last:void 0})},function(){for(var b=N(this),B=b.kind,I=b.last;I&&I.removed;)I=I.previous;return!b.target||!(b.last=I=I?I.next:b.state.first)?(b.target=void 0,k(void 0,!0)):k(B==="keys"?I.key:B==="values"?I.value:[I.key,I.value],!1)},v?"entries":"values",!v,!0),C(p)}return s}()}},32920:function(w,r,n){"use strict";var e=n(18161),a=n(13648),t=n(29126).getWeakData,o=n(19870),f=n(39482),V=n(1022),y=n(56831),S=n(281),k=n(67480),C=n(89458),u=n(35086),c=u.set,m=u.getterFor,d=k.find,l=k.findIndex,s=e([].splice),i=0,p=function(N){return N.frozen||(N.frozen=new v)},v=function(){this.entries=[]},g=function(N,b){return d(N.entries,function(B){return B[0]===b})};v.prototype={get:function(){function h(N){var b=g(this,N);if(b)return b[1]}return h}(),has:function(){function h(N){return!!g(this,N)}return h}(),set:function(){function h(N,b){var B=g(this,N);B?B[1]=b:this.entries.push([N,b])}return h}(),delete:function(){function h(N){var b=l(this.entries,function(B){return B[0]===N});return~b&&s(this.entries,b,1),!!~b}return h}()},w.exports={getConstructor:function(){function h(N,b,B,I){var L=N(function(E,M){o(E,T),c(E,{type:b,id:i++,frozen:void 0}),V(M)||S(M,E[I],{that:E,AS_ENTRIES:B})}),T=L.prototype,x=m(b),A=function(){function E(M,D,P){var R=x(M),j=t(f(D),!0);return j===!0?p(R).set(D,P):j[R.id]=P,M}return E}();return a(T,{delete:function(){function E(M){var D=x(this);if(!y(M))return!1;var P=t(M);return P===!0?p(D).delete(M):P&&C(P,D.id)&&delete P[D.id]}return E}(),has:function(){function E(M){var D=x(this);if(!y(M))return!1;var P=t(M);return P===!0?p(D).has(M):P&&C(P,D.id)}return E}()}),a(T,B?{get:function(){function E(M){var D=x(this);if(y(M)){var P=t(M);return P===!0?p(D).get(M):P?P[D.id]:void 0}}return E}(),set:function(){function E(M,D){return A(this,M,D)}return E}()}:{add:function(){function E(M){return A(this,M,!0)}return E}()}),L}return h}()}},93439:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(18161),o=n(95945),f=n(59173),V=n(29126),y=n(281),S=n(19870),k=n(7532),C=n(1022),u=n(56831),c=n(41746),m=n(52019),d=n(94234),l=n(2566);w.exports=function(s,i,p){var v=s.indexOf("Map")!==-1,g=s.indexOf("Weak")!==-1,h=v?"set":"add",N=a[s],b=N&&N.prototype,B=N,I={},L=function(R){var j=t(b[R]);f(b,R,R==="add"?function(){function F(W){return j(this,W===0?0:W),this}return F}():R==="delete"?function(F){return g&&!u(F)?!1:j(this,F===0?0:F)}:R==="get"?function(){function F(W){return g&&!u(W)?void 0:j(this,W===0?0:W)}return F}():R==="has"?function(){function F(W){return g&&!u(W)?!1:j(this,W===0?0:W)}return F}():function(){function F(W,_){return j(this,W===0?0:W,_),this}return F}())},T=o(s,!k(N)||!(g||b.forEach&&!c(function(){new N().entries().next()})));if(T)B=p.getConstructor(i,s,v,h),V.enable();else if(o(s,!0)){var x=new B,A=x[h](g?{}:-0,1)!==x,E=c(function(){x.has(1)}),M=m(function(P){new N(P)}),D=!g&&c(function(){for(var P=new N,R=5;R--;)P[h](R,R);return!P.has(-0)});M||(B=i(function(P,R){S(P,b);var j=l(new N,P,B);return C(R)||y(R,j[h],{that:j,AS_ENTRIES:v}),j}),B.prototype=b,b.constructor=B),(E||D)&&(L("delete"),L("has"),v&&L("get")),(D||A)&&L(h),g&&b.clear&&delete b.clear}return I[s]=B,e({global:!0,constructor:!0,forced:B!==N},I),d(B,s),g||p.setStrong(B,s,v),B}},70113:function(w,r,n){"use strict";var e=n(89458),a=n(93616),t=n(54168),o=n(56018);w.exports=function(f,V,y){for(var S=a(V),k=o.f,C=t.f,u=0;u"+C+""}},77056:function(w){"use strict";w.exports=function(r,n){return{value:r,done:n}}},16216:function(w,r,n){"use strict";var e=n(14141),a=n(56018),t=n(7539);w.exports=e?function(o,f,V){return a.f(o,f,t(1,V))}:function(o,f,V){return o[f]=V,o}},7539:function(w){"use strict";w.exports=function(r,n){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:n}}},12913:function(w,r,n){"use strict";var e=n(14141),a=n(56018),t=n(7539);w.exports=function(o,f,V){e?a.f(o,f,t(0,V)):o[f]=V}},74003:function(w,r,n){"use strict";var e=n(18161),a=n(41746),t=n(34086).start,o=RangeError,f=isFinite,V=Math.abs,y=Date.prototype,S=y.toISOString,k=e(y.getTime),C=e(y.getUTCDate),u=e(y.getUTCFullYear),c=e(y.getUTCHours),m=e(y.getUTCMilliseconds),d=e(y.getUTCMinutes),l=e(y.getUTCMonth),s=e(y.getUTCSeconds);w.exports=a(function(){return S.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!a(function(){S.call(new Date(NaN))})?function(){function i(){if(!f(k(this)))throw new o("Invalid time value");var p=this,v=u(p),g=m(p),h=v<0?"-":v>9999?"+":"";return h+t(V(v),h?6:4,0)+"-"+t(l(p)+1,2,0)+"-"+t(C(p),2,0)+"T"+t(c(p),2,0)+":"+t(d(p),2,0)+":"+t(s(p),2,0)+"."+t(g,3,0)+"Z"}return i}():S},95865:function(w,r,n){"use strict";var e=n(39482),a=n(14991),t=TypeError;w.exports=function(o){if(e(this),o==="string"||o==="default")o="string";else if(o!=="number")throw new t("Incorrect hint");return a(this,o)}},10069:function(w,r,n){"use strict";var e=n(76130),a=n(56018);w.exports=function(t,o,f){return f.get&&e(f.get,o,{getter:!0}),f.set&&e(f.set,o,{setter:!0}),a.f(t,o,f)}},59173:function(w,r,n){"use strict";var e=n(7532),a=n(56018),t=n(76130),o=n(93422);w.exports=function(f,V,y,S){S||(S={});var k=S.enumerable,C=S.name!==void 0?S.name:V;if(e(y)&&t(y,C,S),S.global)k?f[V]=y:o(V,y);else{try{S.unsafe?f[V]&&(k=!0):delete f[V]}catch(u){}k?f[V]=y:a.f(f,V,{value:y,enumerable:!1,configurable:!S.nonConfigurable,writable:!S.nonWritable})}return f}},13648:function(w,r,n){"use strict";var e=n(59173);w.exports=function(a,t,o){for(var f in t)e(a,f,t[f],o);return a}},93422:function(w,r,n){"use strict";var e=n(40224),a=Object.defineProperty;w.exports=function(t,o){try{a(e,t,{value:o,configurable:!0,writable:!0})}catch(f){e[t]=o}return o}},58937:function(w,r,n){"use strict";var e=n(62518),a=TypeError;w.exports=function(t,o){if(!delete t[o])throw new a("Cannot delete property "+e(o)+" of "+e(t))}},14141:function(w,r,n){"use strict";var e=n(41746);w.exports=!e(function(){return Object.defineProperty({},1,{get:function(){function a(){return 7}return a}()})[1]!==7})},85158:function(w,r,n){"use strict";var e=n(40224),a=n(56831),t=e.document,o=a(t)&&a(t.createElement);w.exports=function(f){return o?t.createElement(f):{}}},72434:function(w){"use strict";var r=TypeError,n=9007199254740991;w.exports=function(e){if(e>n)throw r("Maximum allowed index exceeded");return e}},49847:function(w,r,n){"use strict";var e=n(15837),a=e.match(/firefox\/(\d+)/i);w.exports=!!a&&+a[1]},27955:function(w,r,n){"use strict";var e=n(2971),a=n(95823);w.exports=!e&&!a&&typeof window=="object"&&typeof document=="object"},2178:function(w){"use strict";w.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},2971:function(w){"use strict";w.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},56605:function(w,r,n){"use strict";var e=n(15837);w.exports=/MSIE|Trident/.test(e)},6647:function(w,r,n){"use strict";var e=n(15837);w.exports=/ipad|iphone|ipod/i.test(e)&&typeof Pebble!="undefined"},52426:function(w,r,n){"use strict";var e=n(15837);w.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(e)},95823:function(w,r,n){"use strict";var e=n(40224),a=n(38817);w.exports=a(e.process)==="process"},25062:function(w,r,n){"use strict";var e=n(15837);w.exports=/web0s(?!.*chrome)/i.test(e)},15837:function(w){"use strict";w.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},82709:function(w,r,n){"use strict";var e=n(40224),a=n(15837),t=e.process,o=e.Deno,f=t&&t.versions||o&&o.version,V=f&&f.v8,y,S;V&&(y=V.split("."),S=y[0]>0&&y[0]<4?1:+(y[0]+y[1])),!S&&a&&(y=a.match(/Edge\/(\d+)/),(!y||y[1]>=74)&&(y=a.match(/Chrome\/(\d+)/),y&&(S=+y[1]))),w.exports=S},53125:function(w,r,n){"use strict";var e=n(15837),a=e.match(/AppleWebKit\/(\d+)\./);w.exports=!!a&&+a[1]},90298:function(w){"use strict";w.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},77549:function(w,r,n){"use strict";var e=n(40224),a=n(54168).f,t=n(16216),o=n(59173),f=n(93422),V=n(70113),y=n(95945);w.exports=function(S,k){var C=S.target,u=S.global,c=S.stat,m,d,l,s,i,p;if(u?d=e:c?d=e[C]||f(C,{}):d=e[C]&&e[C].prototype,d)for(l in k){if(i=k[l],S.dontCallGetSet?(p=a(d,l),s=p&&p.value):s=d[l],m=y(u?l:C+(c?".":"#")+l,S.forced),!m&&s!==void 0){if(typeof i==typeof s)continue;V(i,s)}(S.sham||s&&s.sham)&&t(i,"sham",!0),o(d,l,i,S)}}},41746:function(w){"use strict";w.exports=function(r){try{return!!r()}catch(n){return!0}}},85427:function(w,r,n){"use strict";n(95880);var e=n(62696),a=n(59173),t=n(72894),o=n(41746),f=n(66266),V=n(16216),y=f("species"),S=RegExp.prototype;w.exports=function(k,C,u,c){var m=f(k),d=!o(function(){var p={};return p[m]=function(){return 7},""[k](p)!==7}),l=d&&!o(function(){var p=!1,v=/a/;return k==="split"&&(v={},v.constructor={},v.constructor[y]=function(){return v},v.flags="",v[m]=/./[m]),v.exec=function(){return p=!0,null},v[m](""),!p});if(!d||!l||u){var s=/./[m],i=C(m,""[k],function(p,v,g,h,N){var b=v.exec;return b===t||b===S.exec?d&&!N?{done:!0,value:e(s,v,g,h)}:{done:!0,value:e(p,g,v,h)}:{done:!1}});a(String.prototype,k,i[0]),a(S,m,i[1])}c&&V(S[m],"sham",!0)}},68864:function(w,r,n){"use strict";var e=n(62367),a=n(8333),t=n(72434),o=n(4509),f=function V(y,S,k,C,u,c,m,d){for(var l=u,s=0,i=m?o(m,d):!1,p,v;s0&&e(p)?(v=a(p),l=V(y,S,p,v,l,c-1)-1):(t(l+1),y[l]=p),l++),s++;return l};w.exports=f},56255:function(w,r,n){"use strict";var e=n(41746);w.exports=!e(function(){return Object.isExtensible(Object.preventExtensions({}))})},70918:function(w,r,n){"use strict";var e=n(76799),a=Function.prototype,t=a.apply,o=a.call;w.exports=typeof Reflect=="object"&&Reflect.apply||(e?o.bind(t):function(){return o.apply(t,arguments)})},4509:function(w,r,n){"use strict";var e=n(85067),a=n(97361),t=n(76799),o=e(e.bind);w.exports=function(f,V){return a(f),V===void 0?f:t?o(f,V):function(){return f.apply(V,arguments)}}},76799:function(w,r,n){"use strict";var e=n(41746);w.exports=!e(function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")})},9379:function(w,r,n){"use strict";var e=n(18161),a=n(97361),t=n(56831),o=n(89458),f=n(77713),V=n(76799),y=Function,S=e([].concat),k=e([].join),C={},u=function(m,d,l){if(!o(C,d)){for(var s=[],i=0;i]*>)/g,S=/\$([$&'`]|\d{1,2})/g;w.exports=function(k,C,u,c,m,d){var l=u+k.length,s=c.length,i=S;return m!==void 0&&(m=a(m),i=y),f(d,i,function(p,v){var g;switch(o(v,0)){case"$":return"$";case"&":return k;case"`":return V(C,0,u);case"'":return V(C,l);case"<":g=m[V(v,1,-1)];break;default:var h=+v;if(h===0)return p;if(h>s){var N=t(h/10);return N===0?p:N<=s?c[N-1]===void 0?o(v,1):c[N-1]+o(v,1):p}g=c[h-1]}return g===void 0?"":g})}},40224:function(w,r,n){"use strict";var e=function(t){return t&&t.Math===Math&&t};w.exports=e(typeof globalThis=="object"&&globalThis)||e(typeof window=="object"&&window)||e(typeof self=="object"&&self)||e(typeof n.g=="object"&&n.g)||e(!1)||function(){return this}()||Function("return this")()},89458:function(w,r,n){"use strict";var e=n(18161),a=n(40076),t=e({}.hasOwnProperty);w.exports=Object.hasOwn||function(){function o(f,V){return t(a(f),V)}return o}()},21124:function(w){"use strict";w.exports={}},46122:function(w){"use strict";w.exports=function(r,n){try{arguments.length}catch(e){}}},54562:function(w,r,n){"use strict";var e=n(40164);w.exports=e("document","documentElement")},1606:function(w,r,n){"use strict";var e=n(14141),a=n(41746),t=n(85158);w.exports=!e&&!a(function(){return Object.defineProperty(t("div"),"a",{get:function(){function o(){return 7}return o}()}).a!==7})},62263:function(w){"use strict";var r=Array,n=Math.abs,e=Math.pow,a=Math.floor,t=Math.log,o=Math.LN2,f=function(S,k,C){var u=r(C),c=C*8-k-1,m=(1<>1,l=k===23?e(2,-24)-e(2,-77):0,s=S<0||S===0&&1/S<0?1:0,i=0,p,v,g;for(S=n(S),S!==S||S===1/0?(v=S!==S?1:0,p=m):(p=a(t(S)/o),g=e(2,-p),S*g<1&&(p--,g*=2),p+d>=1?S+=l/g:S+=l*e(2,1-d),S*g>=2&&(p++,g/=2),p+d>=m?(v=0,p=m):p+d>=1?(v=(S*g-1)*e(2,k),p+=d):(v=S*e(2,d-1)*e(2,k),p=0));k>=8;)u[i++]=v&255,v/=256,k-=8;for(p=p<0;)u[i++]=p&255,p/=256,c-=8;return u[--i]|=s*128,u},V=function(S,k){var C=S.length,u=C*8-k-1,c=(1<>1,d=u-7,l=C-1,s=S[l--],i=s&127,p;for(s>>=7;d>0;)i=i*256+S[l--],d-=8;for(p=i&(1<<-d)-1,i>>=-d,d+=k;d>0;)p=p*256+S[l--],d-=8;if(i===0)i=1-m;else{if(i===c)return p?NaN:s?-1/0:1/0;p+=e(2,k),i-=m}return(s?-1:1)*p*e(2,i-k)};w.exports={pack:f,unpack:V}},26736:function(w,r,n){"use strict";var e=n(18161),a=n(41746),t=n(38817),o=Object,f=e("".split);w.exports=a(function(){return!o("z").propertyIsEnumerable(0)})?function(V){return t(V)==="String"?f(V,""):o(V)}:o},2566:function(w,r,n){"use strict";var e=n(7532),a=n(56831),t=n(42878);w.exports=function(o,f,V){var y,S;return t&&e(y=f.constructor)&&y!==V&&a(S=y.prototype)&&S!==V.prototype&&t(o,S),o}},43589:function(w,r,n){"use strict";var e=n(18161),a=n(7532),t=n(95046),o=e(Function.toString);a(t.inspectSource)||(t.inspectSource=function(f){return o(f)}),w.exports=t.inspectSource},29126:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(21124),o=n(56831),f=n(89458),V=n(56018).f,y=n(34813),S=n(63797),k=n(57975),C=n(33345),u=n(56255),c=!1,m=C("meta"),d=0,l=function(N){V(N,m,{value:{objectID:"O"+d++,weakData:{}}})},s=function(N,b){if(!o(N))return typeof N=="symbol"?N:(typeof N=="string"?"S":"P")+N;if(!f(N,m)){if(!k(N))return"F";if(!b)return"E";l(N)}return N[m].objectID},i=function(N,b){if(!f(N,m)){if(!k(N))return!0;if(!b)return!1;l(N)}return N[m].weakData},p=function(N){return u&&c&&k(N)&&!f(N,m)&&l(N),N},v=function(){g.enable=function(){},c=!0;var N=y.f,b=a([].splice),B={};B[m]=1,N(B).length&&(y.f=function(I){for(var L=N(I),T=0,x=L.length;TI;I++)if(T=M(d[I]),T&&y(m,T))return T;return new c(!1)}b=S(d,B)}for(x=v?d.next:b.next;!(A=a(x,b)).done;){try{T=M(A.value)}catch(D){C(b,"throw",D)}if(typeof T=="object"&&T&&y(m,T))return T}return new c(!1)}},14868:function(w,r,n){"use strict";var e=n(62696),a=n(39482),t=n(4817);w.exports=function(o,f,V){var y,S;a(o);try{if(y=t(o,"return"),!y){if(f==="throw")throw V;return V}y=e(y,o)}catch(k){S=!0,y=k}if(f==="throw")throw V;if(S)throw y;return a(y),V}},42599:function(w,r,n){"use strict";var e=n(85106).IteratorPrototype,a=n(28969),t=n(7539),o=n(94234),f=n(90604),V=function(){return this};w.exports=function(y,S,k,C){var u=S+" Iterator";return y.prototype=a(e,{next:t(+!C,k)}),o(y,u,!1,!0),f[u]=V,y}},2449:function(w,r,n){"use strict";var e=n(77549),a=n(62696),t=n(11478),o=n(26463),f=n(7532),V=n(42599),y=n(31658),S=n(42878),k=n(94234),C=n(16216),u=n(59173),c=n(66266),m=n(90604),d=n(85106),l=o.PROPER,s=o.CONFIGURABLE,i=d.IteratorPrototype,p=d.BUGGY_SAFARI_ITERATORS,v=c("iterator"),g="keys",h="values",N="entries",b=function(){return this};w.exports=function(B,I,L,T,x,A,E){V(L,I,T);var M=function(Y){if(Y===x&&F)return F;if(!p&&Y&&Y in R)return R[Y];switch(Y){case g:return function(){function J(){return new L(this,Y)}return J}();case h:return function(){function J(){return new L(this,Y)}return J}();case N:return function(){function J(){return new L(this,Y)}return J}()}return function(){return new L(this)}},D=I+" Iterator",P=!1,R=B.prototype,j=R[v]||R["@@iterator"]||x&&R[x],F=!p&&j||M(x),W=I==="Array"&&R.entries||j,_,K,H;if(W&&(_=y(W.call(new B)),_!==Object.prototype&&_.next&&(!t&&y(_)!==i&&(S?S(_,i):f(_[v])||u(_,v,b)),k(_,D,!0,!0),t&&(m[D]=b))),l&&x===h&&j&&j.name!==h&&(!t&&s?C(R,"name",h):(P=!0,F=function(){function X(){return a(j,this)}return X}())),x)if(K={values:M(h),keys:A?F:M(g),entries:M(N)},E)for(H in K)(p||P||!(H in R))&&u(R,H,K[H]);else e({target:I,proto:!0,forced:p||P},K);return(!t||E)&&R[v]!==F&&u(R,v,F,{name:x}),m[I]=F,K}},85106:function(w,r,n){"use strict";var e=n(41746),a=n(7532),t=n(56831),o=n(28969),f=n(31658),V=n(59173),y=n(66266),S=n(11478),k=y("iterator"),C=!1,u,c,m;[].keys&&(m=[].keys(),"next"in m?(c=f(f(m)),c!==Object.prototype&&(u=c)):C=!0);var d=!t(u)||e(function(){var l={};return u[k].call(l)!==l});d?u={}:S&&(u=o(u)),a(u[k])||V(u,k,function(){return this}),w.exports={IteratorPrototype:u,BUGGY_SAFARI_ITERATORS:C}},90604:function(w){"use strict";w.exports={}},8333:function(w,r,n){"use strict";var e=n(10475);w.exports=function(a){return e(a.length)}},76130:function(w,r,n){"use strict";var e=n(18161),a=n(41746),t=n(7532),o=n(89458),f=n(14141),V=n(26463).CONFIGURABLE,y=n(43589),S=n(35086),k=S.enforce,C=S.get,u=String,c=Object.defineProperty,m=e("".slice),d=e("".replace),l=e([].join),s=f&&!a(function(){return c(function(){},"length",{value:8}).length!==8}),i=String(String).split("String"),p=w.exports=function(v,g,h){m(u(g),0,7)==="Symbol("&&(g="["+d(u(g),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),h&&h.getter&&(g="get "+g),h&&h.setter&&(g="set "+g),(!o(v,"name")||V&&v.name!==g)&&(f?c(v,"name",{value:g,configurable:!0}):v.name=g),s&&h&&o(h,"arity")&&v.length!==h.arity&&c(v,"length",{value:h.arity});try{h&&o(h,"constructor")&&h.constructor?f&&c(v,"prototype",{writable:!1}):v.prototype&&(v.prototype=void 0)}catch(b){}var N=k(v);return o(N,"source")||(N.source=l(i,typeof g=="string"?g:"")),v};Function.prototype.toString=p(function(){function v(){return t(this)&&C(this).source||y(this)}return v}(),"toString")},32813:function(w){"use strict";var r=Math.expm1,n=Math.exp;w.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||r(-2e-17)!==-2e-17?function(){function e(a){var t=+a;return t===0?t:t>-1e-6&&t<1e-6?t+t*t/2:n(t)-1}return e}():r},23207:function(w,r,n){"use strict";var e=n(54307),a=Math.abs,t=2220446049250313e-31,o=1/t,f=function(y){return y+o-o};w.exports=function(V,y,S,k){var C=+V,u=a(C),c=e(C);if(uS||d!==d?c*(1/0):c*d}},75988:function(w,r,n){"use strict";var e=n(23207),a=11920928955078125e-23,t=34028234663852886e22,o=11754943508222875e-54;w.exports=Math.fround||function(){function f(V){return e(V,a,t,o)}return f}()},53271:function(w){"use strict";var r=Math.log,n=Math.LOG10E;w.exports=Math.log10||function(){function e(a){return r(a)*n}return e}()},69143:function(w){"use strict";var r=Math.log;w.exports=Math.log1p||function(){function n(e){var a=+e;return a>-1e-8&&a<1e-8?a-a*a/2:r(1+a)}return n}()},54307:function(w){"use strict";w.exports=Math.sign||function(){function r(n){var e=+n;return e===0||e!==e?e:e<0?-1:1}return r}()},34606:function(w){"use strict";var r=Math.ceil,n=Math.floor;w.exports=Math.trunc||function(){function e(a){var t=+a;return(t>0?n:r)(t)}return e}()},27150:function(w,r,n){"use strict";var e=n(40224),a=n(1156),t=n(4509),o=n(91314).set,f=n(23496),V=n(52426),y=n(6647),S=n(25062),k=n(95823),C=e.MutationObserver||e.WebKitMutationObserver,u=e.document,c=e.process,m=e.Promise,d=a("queueMicrotask"),l,s,i,p,v;if(!d){var g=new f,h=function(){var b,B;for(k&&(b=c.domain)&&b.exit();B=g.get();)try{B()}catch(I){throw g.head&&l(),I}b&&b.enter()};!V&&!k&&!S&&C&&u?(s=!0,i=u.createTextNode(""),new C(h).observe(i,{characterData:!0}),l=function(){i.data=s=!s}):!y&&m&&m.resolve?(p=m.resolve(void 0),p.constructor=m,v=t(p.then,p),l=function(){v(h)}):k?l=function(){c.nextTick(h)}:(o=t(o,e),l=function(){o(h)}),d=function(b){g.head||l(),g.add(b)}}w.exports=d},48532:function(w,r,n){"use strict";var e=n(97361),a=TypeError,t=function(f){var V,y;this.promise=new f(function(S,k){if(V!==void 0||y!==void 0)throw new a("Bad Promise constructor");V=S,y=k}),this.resolve=e(V),this.reject=e(y)};w.exports.f=function(o){return new t(o)}},89140:function(w,r,n){"use strict";var e=n(80969),a=TypeError;w.exports=function(t){if(e(t))throw new a("The method doesn't accept regular expressions");return t}},69079:function(w,r,n){"use strict";var e=n(40224),a=e.isFinite;w.exports=Number.isFinite||function(){function t(o){return typeof o=="number"&&a(o)}return t}()},43283:function(w,r,n){"use strict";var e=n(40224),a=n(41746),t=n(18161),o=n(26602),f=n(35171).trim,V=n(137),y=t("".charAt),S=e.parseFloat,k=e.Symbol,C=k&&k.iterator,u=1/S(V+"-0")!==-1/0||C&&!a(function(){S(Object(C))});w.exports=u?function(){function c(m){var d=f(o(m)),l=S(d);return l===0&&y(d,0)==="-"?-0:l}return c}():S},11540:function(w,r,n){"use strict";var e=n(40224),a=n(41746),t=n(18161),o=n(26602),f=n(35171).trim,V=n(137),y=e.parseInt,S=e.Symbol,k=S&&S.iterator,C=/^[+-]?0x/i,u=t(C.exec),c=y(V+"08")!==8||y(V+"0x16")!==22||k&&!a(function(){y(Object(k))});w.exports=c?function(){function m(d,l){var s=f(o(d));return y(s,l>>>0||(u(C,s)?16:10))}return m}():y},12752:function(w,r,n){"use strict";var e=n(14141),a=n(18161),t=n(62696),o=n(41746),f=n(84913),V=n(34220),y=n(9776),S=n(40076),k=n(26736),C=Object.assign,u=Object.defineProperty,c=a([].concat);w.exports=!C||o(function(){if(e&&C({b:1},C(u({},"a",{enumerable:!0,get:function(){function i(){u(this,"b",{value:3,enumerable:!1})}return i}()}),{b:2})).b!==1)return!0;var m={},d={},l=Symbol("assign detection"),s="abcdefghijklmnopqrst";return m[l]=7,s.split("").forEach(function(i){d[i]=i}),C({},m)[l]!==7||f(C({},d)).join("")!==s})?function(){function m(d,l){for(var s=S(d),i=arguments.length,p=1,v=V.f,g=y.f;i>p;)for(var h=k(arguments[p++]),N=v?c(f(h),v(h)):f(h),b=N.length,B=0,I;b>B;)I=N[B++],(!e||t(g,h,I))&&(s[I]=h[I]);return s}return m}():C},28969:function(w,r,n){"use strict";var e=n(39482),a=n(65854),t=n(90298),o=n(21124),f=n(54562),V=n(85158),y=n(5160),S=">",k="<",C="prototype",u="script",c=y("IE_PROTO"),m=function(){},d=function(g){return k+u+S+g+k+"/"+u+S},l=function(g){g.write(d("")),g.close();var h=g.parentWindow.Object;return g=null,h},s=function(){var g=V("iframe"),h="java"+u+":",N;return g.style.display="none",f.appendChild(g),g.src=String(h),N=g.contentWindow.document,N.open(),N.write(d("document.F=Object")),N.close(),N.F},i,p=function(){try{i=new ActiveXObject("htmlfile")}catch(h){}p=typeof document!="undefined"?document.domain&&i?l(i):s():l(i);for(var g=t.length;g--;)delete p[C][t[g]];return p()};o[c]=!0,w.exports=Object.create||function(){function v(g,h){var N;return g!==null?(m[C]=e(g),N=new m,m[C]=null,N[c]=g):N=p(),h===void 0?N:a.f(N,h)}return v}()},65854:function(w,r,n){"use strict";var e=n(14141),a=n(83411),t=n(56018),o=n(39482),f=n(96812),V=n(84913);r.f=e&&!a?Object.defineProperties:function(){function y(S,k){o(S);for(var C=f(k),u=V(k),c=u.length,m=0,d;c>m;)t.f(S,d=u[m++],C[d]);return S}return y}()},56018:function(w,r,n){"use strict";var e=n(14141),a=n(1606),t=n(83411),o=n(39482),f=n(57640),V=TypeError,y=Object.defineProperty,S=Object.getOwnPropertyDescriptor,k="enumerable",C="configurable",u="writable";r.f=e?t?function(){function c(m,d,l){if(o(m),d=f(d),o(l),typeof m=="function"&&d==="prototype"&&"value"in l&&u in l&&!l[u]){var s=S(m,d);s&&s[u]&&(m[d]=l.value,l={configurable:C in l?l[C]:s[C],enumerable:k in l?l[k]:s[k],writable:!1})}return y(m,d,l)}return c}():y:function(){function c(m,d,l){if(o(m),d=f(d),o(l),a)try{return y(m,d,l)}catch(s){}if("get"in l||"set"in l)throw new V("Accessors not supported");return"value"in l&&(m[d]=l.value),m}return c}()},54168:function(w,r,n){"use strict";var e=n(14141),a=n(62696),t=n(9776),o=n(7539),f=n(96812),V=n(57640),y=n(89458),S=n(1606),k=Object.getOwnPropertyDescriptor;r.f=e?k:function(){function C(u,c){if(u=f(u),c=V(c),S)try{return k(u,c)}catch(m){}if(y(u,c))return o(!a(t.f,u,c),u[c])}return C}()},63797:function(w,r,n){"use strict";var e=n(38817),a=n(96812),t=n(34813).f,o=n(77713),f=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],V=function(S){try{return t(S)}catch(k){return o(f)}};w.exports.f=function(){function y(S){return f&&e(S)==="Window"?V(S):t(a(S))}return y}()},34813:function(w,r,n){"use strict";var e=n(62995),a=n(90298),t=a.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(){function o(f){return e(f,t)}return o}()},34220:function(w,r){"use strict";r.f=Object.getOwnPropertySymbols},31658:function(w,r,n){"use strict";var e=n(89458),a=n(7532),t=n(40076),o=n(5160),f=n(58776),V=o("IE_PROTO"),y=Object,S=y.prototype;w.exports=f?y.getPrototypeOf:function(k){var C=t(k);if(e(C,V))return C[V];var u=C.constructor;return a(u)&&C instanceof u?u.prototype:C instanceof y?S:null}},57975:function(w,r,n){"use strict";var e=n(41746),a=n(56831),t=n(38817),o=n(65693),f=Object.isExtensible,V=e(function(){f(1)});w.exports=V||o?function(){function y(S){return!a(S)||o&&t(S)==="ArrayBuffer"?!1:f?f(S):!0}return y}():f},33314:function(w,r,n){"use strict";var e=n(18161);w.exports=e({}.isPrototypeOf)},62995:function(w,r,n){"use strict";var e=n(18161),a=n(89458),t=n(96812),o=n(64210).indexOf,f=n(21124),V=e([].push);w.exports=function(y,S){var k=t(y),C=0,u=[],c;for(c in k)!a(f,c)&&a(k,c)&&V(u,c);for(;S.length>C;)a(k,c=S[C++])&&(~o(u,c)||V(u,c));return u}},84913:function(w,r,n){"use strict";var e=n(62995),a=n(90298);w.exports=Object.keys||function(){function t(o){return e(o,a)}return t}()},9776:function(w,r){"use strict";var n={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,a=e&&!n.call({1:2},1);r.f=a?function(){function t(o){var f=e(this,o);return!!f&&f.enumerable}return t}():n},33030:function(w,r,n){"use strict";var e=n(11478),a=n(40224),t=n(41746),o=n(53125);w.exports=e||!t(function(){if(!(o&&o<535)){var f=Math.random();__defineSetter__.call(null,f,function(){}),delete a[f]}})},42878:function(w,r,n){"use strict";var e=n(9553),a=n(56831),t=n(91029),o=n(51689);w.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var f=!1,V={},y;try{y=e(Object.prototype,"__proto__","set"),y(V,[]),f=V instanceof Array}catch(S){}return function(){function S(k,C){return t(k),o(C),a(k)&&(f?y(k,C):k.__proto__=C),k}return S}()}():void 0)},97452:function(w,r,n){"use strict";var e=n(14141),a=n(41746),t=n(18161),o=n(31658),f=n(84913),V=n(96812),y=n(9776).f,S=t(y),k=t([].push),C=e&&a(function(){var c=Object.create(null);return c[2]=2,!S(c,2)}),u=function(m){return function(d){for(var l=V(d),s=f(l),i=C&&o(l)===null,p=s.length,v=0,g=[],h;p>v;)h=s[v++],(!e||(i?h in l:S(l,h)))&&k(g,m?[h,l[h]]:l[h]);return g}};w.exports={entries:u(!0),values:u(!1)}},66628:function(w,r,n){"use strict";var e=n(82161),a=n(27806);w.exports=e?{}.toString:function(){function t(){return"[object "+a(this)+"]"}return t}()},14991:function(w,r,n){"use strict";var e=n(62696),a=n(7532),t=n(56831),o=TypeError;w.exports=function(f,V){var y,S;if(V==="string"&&a(y=f.toString)&&!t(S=e(y,f))||a(y=f.valueOf)&&!t(S=e(y,f))||V!=="string"&&a(y=f.toString)&&!t(S=e(y,f)))return S;throw new o("Can't convert object to primitive value")}},93616:function(w,r,n){"use strict";var e=n(40164),a=n(18161),t=n(34813),o=n(34220),f=n(39482),V=a([].concat);w.exports=e("Reflect","ownKeys")||function(){function y(S){var k=t.f(f(S)),C=o.f;return C?V(k,C(S)):k}return y}()},5376:function(w,r,n){"use strict";var e=n(40224);w.exports=e},91114:function(w){"use strict";w.exports=function(r){try{return{error:!1,value:r()}}catch(n){return{error:!0,value:n}}}},49669:function(w,r,n){"use strict";var e=n(40224),a=n(35973),t=n(7532),o=n(95945),f=n(43589),V=n(66266),y=n(27955),S=n(2971),k=n(11478),C=n(82709),u=a&&a.prototype,c=V("species"),m=!1,d=t(e.PromiseRejectionEvent),l=o("Promise",function(){var s=f(a),i=s!==String(a);if(!i&&C===66||k&&!(u.catch&&u.finally))return!0;if(!C||C<51||!/native code/.test(s)){var p=new a(function(h){h(1)}),v=function(N){N(function(){},function(){})},g=p.constructor={};if(g[c]=v,m=p.then(function(){})instanceof v,!m)return!0}return!i&&(y||S)&&!d});w.exports={CONSTRUCTOR:l,REJECTION_EVENT:d,SUBCLASSING:m}},35973:function(w,r,n){"use strict";var e=n(40224);w.exports=e.Promise},43827:function(w,r,n){"use strict";var e=n(39482),a=n(56831),t=n(48532);w.exports=function(o,f){if(e(o),a(f)&&f.constructor===o)return f;var V=t.f(o),y=V.resolve;return y(f),V.promise}},95044:function(w,r,n){"use strict";var e=n(35973),a=n(52019),t=n(49669).CONSTRUCTOR;w.exports=t||!a(function(o){e.all(o).then(void 0,function(){})})},77495:function(w,r,n){"use strict";var e=n(56018).f;w.exports=function(a,t,o){o in a||e(a,o,{configurable:!0,get:function(){function f(){return t[o]}return f}(),set:function(){function f(V){t[o]=V}return f}()})}},23496:function(w){"use strict";var r=function(){this.head=null,this.tail=null};r.prototype={add:function(){function n(e){var a={item:e,next:null},t=this.tail;t?t.next=a:this.head=a,this.tail=a}return n}(),get:function(){function n(){var e=this.head;if(e){var a=this.head=e.next;return a===null&&(this.tail=null),e.item}}return n}()},w.exports=r},35553:function(w,r,n){"use strict";var e=n(62696),a=n(39482),t=n(7532),o=n(38817),f=n(72894),V=TypeError;w.exports=function(y,S){var k=y.exec;if(t(k)){var C=e(k,y,S);return C!==null&&a(C),C}if(o(y)==="RegExp")return e(f,y,S);throw new V("RegExp#exec called on incompatible receiver")}},72894:function(w,r,n){"use strict";var e=n(62696),a=n(18161),t=n(26602),o=n(65844),f=n(1064),V=n(75130),y=n(28969),S=n(35086).get,k=n(89604),C=n(5489),u=V("native-string-replace",String.prototype.replace),c=RegExp.prototype.exec,m=c,d=a("".charAt),l=a("".indexOf),s=a("".replace),i=a("".slice),p=function(){var N=/a/,b=/b*/g;return e(c,N,"a"),e(c,b,"a"),N.lastIndex!==0||b.lastIndex!==0}(),v=f.BROKEN_CARET,g=/()??/.exec("")[1]!==void 0,h=p||g||v||k||C;h&&(m=function(){function N(b){var B=this,I=S(B),L=t(b),T=I.raw,x,A,E,M,D,P,R;if(T)return T.lastIndex=B.lastIndex,x=e(m,T,L),B.lastIndex=T.lastIndex,x;var j=I.groups,F=v&&B.sticky,W=e(o,B),_=B.source,K=0,H=L;if(F&&(W=s(W,"y",""),l(W,"g")===-1&&(W+="g"),H=i(L,B.lastIndex),B.lastIndex>0&&(!B.multiline||B.multiline&&d(L,B.lastIndex-1)!=="\n")&&(_="(?: "+_+")",H=" "+H,K++),A=new RegExp("^(?:"+_+")",W)),g&&(A=new RegExp("^"+_+"$(?!\\s)",W)),p&&(E=B.lastIndex),M=e(c,F?A:B,H),F?M?(M.input=i(M.input,K),M[0]=i(M[0],K),M.index=B.lastIndex,B.lastIndex+=M[0].length):B.lastIndex=0:p&&M&&(B.lastIndex=B.global?M.index+M[0].length:E),g&&M&&M.length>1&&e(u,M[0],A,function(){for(D=1;Db)","g");return o.exec("b").groups.a!=="b"||"b".replace(o,"$c")!=="bc"})},91029:function(w,r,n){"use strict";var e=n(1022),a=TypeError;w.exports=function(t){if(e(t))throw new a("Can't call method on "+t);return t}},1156:function(w,r,n){"use strict";var e=n(40224),a=n(14141),t=Object.getOwnPropertyDescriptor;w.exports=function(o){if(!a)return e[o];var f=t(e,o);return f&&f.value}},37309:function(w){"use strict";w.exports=Object.is||function(){function r(n,e){return n===e?n!==0||1/n===1/e:n!==n&&e!==e}return r}()},83827:function(w,r,n){"use strict";var e=n(40224),a=n(70918),t=n(7532),o=n(2178),f=n(15837),V=n(77713),y=n(22789),S=e.Function,k=/MSIE .\./.test(f)||o&&function(){var C=e.Bun.version.split(".");return C.length<3||C[0]==="0"&&(C[1]<3||C[1]==="3"&&C[2]==="0")}();w.exports=function(C,u){var c=u?2:1;return k?function(m,d){var l=y(arguments.length,1)>c,s=t(m)?m:S(m),i=l?V(arguments,c):[],p=l?function(){a(s,this,i)}:s;return u?C(p,d):C(p)}:C}},67420:function(w,r,n){"use strict";var e=n(40164),a=n(10069),t=n(66266),o=n(14141),f=t("species");w.exports=function(V){var y=e(V);o&&y&&!y[f]&&a(y,f,{configurable:!0,get:function(){function S(){return this}return S}()})}},94234:function(w,r,n){"use strict";var e=n(56018).f,a=n(89458),t=n(66266),o=t("toStringTag");w.exports=function(f,V,y){f&&!y&&(f=f.prototype),f&&!a(f,o)&&e(f,o,{configurable:!0,value:V})}},5160:function(w,r,n){"use strict";var e=n(75130),a=n(33345),t=e("keys");w.exports=function(o){return t[o]||(t[o]=a(o))}},95046:function(w,r,n){"use strict";var e=n(11478),a=n(40224),t=n(93422),o="__core-js_shared__",f=w.exports=a[o]||t(o,{});(f.versions||(f.versions=[])).push({version:"3.36.1",mode:e?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE",source:"https://github.com/zloirock/core-js"})},75130:function(w,r,n){"use strict";var e=n(95046);w.exports=function(a,t){return e[a]||(e[a]=t||{})}},78412:function(w,r,n){"use strict";var e=n(39482),a=n(76833),t=n(1022),o=n(66266),f=o("species");w.exports=function(V,y){var S=e(V).constructor,k;return S===void 0||t(k=e(S)[f])?y:a(k)}},32086:function(w,r,n){"use strict";var e=n(41746);w.exports=function(a){return e(function(){var t=""[a]('"');return t!==t.toLowerCase()||t.split('"').length>3})}},56852:function(w,r,n){"use strict";var e=n(18161),a=n(74952),t=n(26602),o=n(91029),f=e("".charAt),V=e("".charCodeAt),y=e("".slice),S=function(C){return function(u,c){var m=t(o(u)),d=a(c),l=m.length,s,i;return d<0||d>=l?C?"":void 0:(s=V(m,d),s<55296||s>56319||d+1===l||(i=V(m,d+1))<56320||i>57343?C?f(m,d):s:C?y(m,d,d+2):(s-55296<<10)+(i-56320)+65536)}};w.exports={codeAt:S(!1),charAt:S(!0)}},33038:function(w,r,n){"use strict";var e=n(15837);w.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(e)},34086:function(w,r,n){"use strict";var e=n(18161),a=n(10475),t=n(26602),o=n(84948),f=n(91029),V=e(o),y=e("".slice),S=Math.ceil,k=function(u){return function(c,m,d){var l=t(f(c)),s=a(m),i=l.length,p=d===void 0?" ":t(d),v,g;return s<=i||p===""?l:(v=s-i,g=V(p,S(v/p.length)),g.length>v&&(g=y(g,0,v)),u?l+g:g+l)}};w.exports={start:k(!1),end:k(!0)}},84948:function(w,r,n){"use strict";var e=n(74952),a=n(26602),t=n(91029),o=RangeError;w.exports=function(){function f(V){var y=a(t(this)),S="",k=e(V);if(k<0||k===1/0)throw new o("Wrong number of repetitions");for(;k>0;(k>>>=1)&&(y+=y))k&1&&(S+=y);return S}return f}()},11775:function(w,r,n){"use strict";var e=n(35171).end,a=n(93817);w.exports=a("trimEnd")?function(){function t(){return e(this)}return t}():"".trimEnd},93817:function(w,r,n){"use strict";var e=n(26463).PROPER,a=n(41746),t=n(137),o="\u200B\x85\u180E";w.exports=function(f){return a(function(){return!!t[f]()||o[f]()!==o||e&&t[f].name!==f})}},26402:function(w,r,n){"use strict";var e=n(35171).start,a=n(93817);w.exports=a("trimStart")?function(){function t(){return e(this)}return t}():"".trimStart},35171:function(w,r,n){"use strict";var e=n(18161),a=n(91029),t=n(26602),o=n(137),f=e("".replace),V=RegExp("^["+o+"]+"),y=RegExp("(^|[^"+o+"])["+o+"]+$"),S=function(C){return function(u){var c=t(a(u));return C&1&&(c=f(c,V,"")),C&2&&(c=f(c,y,"$1")),c}};w.exports={start:S(1),end:S(2),trim:S(3)}},70640:function(w,r,n){"use strict";var e=n(82709),a=n(41746),t=n(40224),o=t.String;w.exports=!!Object.getOwnPropertySymbols&&!a(function(){var f=Symbol("symbol detection");return!o(f)||!(Object(f)instanceof Symbol)||!Symbol.sham&&e&&e<41})},75429:function(w,r,n){"use strict";var e=n(62696),a=n(40164),t=n(66266),o=n(59173);w.exports=function(){var f=a("Symbol"),V=f&&f.prototype,y=V&&V.valueOf,S=t("toPrimitive");V&&!V[S]&&o(V,S,function(k){return e(y,this)},{arity:1})}},80353:function(w,r,n){"use strict";var e=n(70640);w.exports=e&&!!Symbol.for&&!!Symbol.keyFor},91314:function(w,r,n){"use strict";var e=n(40224),a=n(70918),t=n(4509),o=n(7532),f=n(89458),V=n(41746),y=n(54562),S=n(77713),k=n(85158),C=n(22789),u=n(52426),c=n(95823),m=e.setImmediate,d=e.clearImmediate,l=e.process,s=e.Dispatch,i=e.Function,p=e.MessageChannel,v=e.String,g=0,h={},N="onreadystatechange",b,B,I,L;V(function(){b=e.location});var T=function(D){if(f(h,D)){var P=h[D];delete h[D],P()}},x=function(D){return function(){T(D)}},A=function(D){T(D.data)},E=function(D){e.postMessage(v(D),b.protocol+"//"+b.host)};(!m||!d)&&(m=function(){function M(D){C(arguments.length,1);var P=o(D)?D:i(D),R=S(arguments,1);return h[++g]=function(){a(P,void 0,R)},B(g),g}return M}(),d=function(){function M(D){delete h[D]}return M}(),c?B=function(D){l.nextTick(x(D))}:s&&s.now?B=function(D){s.now(x(D))}:p&&!u?(I=new p,L=I.port2,I.port1.onmessage=A,B=t(L.postMessage,L)):e.addEventListener&&o(e.postMessage)&&!e.importScripts&&b&&b.protocol!=="file:"&&!V(E)?(B=E,e.addEventListener("message",A,!1)):N in k("script")?B=function(D){y.appendChild(k("script"))[N]=function(){y.removeChild(this),T(D)}}:B=function(D){setTimeout(x(D),0)}),w.exports={set:m,clear:d}},37497:function(w,r,n){"use strict";var e=n(18161);w.exports=e(1 .valueOf)},74067:function(w,r,n){"use strict";var e=n(74952),a=Math.max,t=Math.min;w.exports=function(o,f){var V=e(o);return V<0?a(V+f,0):t(V,f)}},757:function(w,r,n){"use strict";var e=n(4370),a=TypeError;w.exports=function(t){var o=e(t,"number");if(typeof o=="number")throw new a("Can't convert number to bigint");return BigInt(o)}},90835:function(w,r,n){"use strict";var e=n(74952),a=n(10475),t=RangeError;w.exports=function(o){if(o===void 0)return 0;var f=e(o),V=a(f);if(f!==V)throw new t("Wrong length or index");return V}},96812:function(w,r,n){"use strict";var e=n(26736),a=n(91029);w.exports=function(t){return e(a(t))}},74952:function(w,r,n){"use strict";var e=n(34606);w.exports=function(a){var t=+a;return t!==t||t===0?0:e(t)}},10475:function(w,r,n){"use strict";var e=n(74952),a=Math.min;w.exports=function(t){var o=e(t);return o>0?a(o,9007199254740991):0}},40076:function(w,r,n){"use strict";var e=n(91029),a=Object;w.exports=function(t){return a(e(t))}},65264:function(w,r,n){"use strict";var e=n(43627),a=RangeError;w.exports=function(t,o){var f=e(t);if(f%o)throw new a("Wrong offset");return f}},43627:function(w,r,n){"use strict";var e=n(74952),a=RangeError;w.exports=function(t){var o=e(t);if(o<0)throw new a("The argument can't be less than 0");return o}},4370:function(w,r,n){"use strict";var e=n(62696),a=n(56831),t=n(74352),o=n(4817),f=n(14991),V=n(66266),y=TypeError,S=V("toPrimitive");w.exports=function(k,C){if(!a(k)||t(k))return k;var u=o(k,S),c;if(u){if(C===void 0&&(C="default"),c=e(u,k,C),!a(c)||t(c))return c;throw new y("Can't convert object to primitive value")}return C===void 0&&(C="number"),f(k,C)}},57640:function(w,r,n){"use strict";var e=n(4370),a=n(74352);w.exports=function(t){var o=e(t,"string");return a(o)?o:o+""}},82161:function(w,r,n){"use strict";var e=n(66266),a=e("toStringTag"),t={};t[a]="z",w.exports=String(t)==="[object z]"},26602:function(w,r,n){"use strict";var e=n(27806),a=String;w.exports=function(t){if(e(t)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return a(t)}},78828:function(w){"use strict";var r=Math.round;w.exports=function(n){var e=r(n);return e<0?0:e>255?255:e&255}},62518:function(w){"use strict";var r=String;w.exports=function(n){try{return r(n)}catch(e){return"Object"}}},12218:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(62696),o=n(14141),f=n(66220),V=n(72951),y=n(46185),S=n(19870),k=n(7539),C=n(16216),u=n(57696),c=n(10475),m=n(90835),d=n(65264),l=n(78828),s=n(57640),i=n(89458),p=n(27806),v=n(56831),g=n(74352),h=n(28969),N=n(33314),b=n(42878),B=n(34813).f,I=n(7996),L=n(67480).forEach,T=n(67420),x=n(10069),A=n(56018),E=n(54168),M=n(6967),D=n(35086),P=n(2566),R=D.get,j=D.set,F=D.enforce,W=A.f,_=E.f,K=a.RangeError,H=y.ArrayBuffer,X=H.prototype,Y=y.DataView,J=V.NATIVE_ARRAY_BUFFER_VIEWS,le=V.TYPED_ARRAY_TAG,ce=V.TypedArray,fe=V.TypedArrayPrototype,pe=V.isTypedArray,he="BYTES_PER_ELEMENT",te="Wrong length",Q=function(ge,Be){x(ge,Be,{configurable:!0,get:function(){function ve(){return R(this)[Be]}return ve}()})},ae=function(ge){var Be;return N(X,ge)||(Be=p(ge))==="ArrayBuffer"||Be==="SharedArrayBuffer"},ee=function(ge,Be){return pe(ge)&&!g(Be)&&Be in ge&&u(+Be)&&Be>=0},oe=function(){function re(ge,Be){return Be=s(Be),ee(ge,Be)?k(2,ge[Be]):_(ge,Be)}return re}(),ue=function(){function re(ge,Be,ve){return Be=s(Be),ee(ge,Be)&&v(ve)&&i(ve,"value")&&!i(ve,"get")&&!i(ve,"set")&&!ve.configurable&&(!i(ve,"writable")||ve.writable)&&(!i(ve,"enumerable")||ve.enumerable)?(ge[Be]=ve.value,ge):W(ge,Be,ve)}return re}();o?(J||(E.f=oe,A.f=ue,Q(fe,"buffer"),Q(fe,"byteOffset"),Q(fe,"byteLength"),Q(fe,"length")),e({target:"Object",stat:!0,forced:!J},{getOwnPropertyDescriptor:oe,defineProperty:ue}),w.exports=function(re,ge,Be){var ve=re.match(/\d+/)[0]/8,Ve=re+(Be?"Clamped":"")+"Array",ke="get"+re,ye="set"+re,Ie=a[Ve],we=Ie,xe=we&&we.prototype,Oe={},We=function(me,Ne){var Ae=R(me);return Ae.view[ke](Ne*ve+Ae.byteOffset,!0)},be=function(me,Ne,Ae){var De=R(me);De.view[ye](Ne*ve+De.byteOffset,Be?l(Ae):Ae,!0)},ie=function(me,Ne){W(me,Ne,{get:function(){function Ae(){return We(this,Ne)}return Ae}(),set:function(){function Ae(De){return be(this,Ne,De)}return Ae}(),enumerable:!0})};J?f&&(we=ge(function(Ce,me,Ne,Ae){return S(Ce,xe),P(function(){return v(me)?ae(me)?Ae!==void 0?new Ie(me,d(Ne,ve),Ae):Ne!==void 0?new Ie(me,d(Ne,ve)):new Ie(me):pe(me)?M(we,me):t(I,we,me):new Ie(m(me))}(),Ce,we)}),b&&b(we,ce),L(B(Ie),function(Ce){Ce in we||C(we,Ce,Ie[Ce])}),we.prototype=xe):(we=ge(function(Ce,me,Ne,Ae){S(Ce,xe);var De=0,je=0,_e,Ue,ze;if(!v(me))ze=m(me),Ue=ze*ve,_e=new H(Ue);else if(ae(me)){_e=me,je=d(Ne,ve);var Ge=me.byteLength;if(Ae===void 0){if(Ge%ve)throw new K(te);if(Ue=Ge-je,Ue<0)throw new K(te)}else if(Ue=c(Ae)*ve,Ue+je>Ge)throw new K(te);ze=Ue/ve}else return pe(me)?M(we,me):t(I,we,me);for(j(Ce,{buffer:_e,byteOffset:je,byteLength:Ue,length:ze,view:new Y(_e)});De1?arguments[1]:void 0,p=i!==void 0,v=y(l),g,h,N,b,B,I,L,T;if(v&&!S(v))for(L=V(l,v),T=L.next,l=[];!(I=a(T,L)).done;)l.push(I.value);for(p&&s>2&&(i=e(i,arguments[2])),h=f(l),N=new(C(d))(h),b=k(N),g=0;h>g;g++)B=p?i(l[g],g):l[g],N[g]=b?u(B):+B;return N}return c}()},489:function(w,r,n){"use strict";var e=n(72951),a=n(78412),t=e.aTypedArrayConstructor,o=e.getTypedArrayConstructor;w.exports=function(f){return t(a(f,o(f)))}},33345:function(w,r,n){"use strict";var e=n(18161),a=0,t=Math.random(),o=e(1 .toString);w.exports=function(f){return"Symbol("+(f===void 0?"":f)+")_"+o(++a+t,36)}},81457:function(w,r,n){"use strict";var e=n(70640);w.exports=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},83411:function(w,r,n){"use strict";var e=n(14141),a=n(41746);w.exports=e&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},22789:function(w){"use strict";var r=TypeError;w.exports=function(n,e){if(n=51||!a(function(){var i=[];return i[m]=!1,i.concat()[0]!==i}),l=function(p){if(!o(p))return!1;var v=p[m];return v!==void 0?!!v:t(p)},s=!d||!C("concat");e({target:"Array",proto:!0,arity:1,forced:s},{concat:function(){function i(p){var v=f(this),g=k(v,0),h=0,N,b,B,I,L;for(N=-1,B=arguments.length;N1?arguments[1]:void 0)}return f}()})},24974:function(w,r,n){"use strict";var e=n(77549),a=n(59942),t=n(91138);e({target:"Array",proto:!0},{fill:a}),t("fill")},6297:function(w,r,n){"use strict";var e=n(77549),a=n(67480).filter,t=n(55114),o=t("filter");e({target:"Array",proto:!0,forced:!o},{filter:function(){function f(V){return a(this,V,arguments.length>1?arguments[1]:void 0)}return f}()})},35173:function(w,r,n){"use strict";var e=n(77549),a=n(67480).findIndex,t=n(91138),o="findIndex",f=!0;o in[]&&Array(1)[o](function(){f=!1}),e({target:"Array",proto:!0,forced:f},{findIndex:function(){function V(y){return a(this,y,arguments.length>1?arguments[1]:void 0)}return V}()}),t(o)},5364:function(w,r,n){"use strict";var e=n(77549),a=n(67480).find,t=n(91138),o="find",f=!0;o in[]&&Array(1)[o](function(){f=!1}),e({target:"Array",proto:!0,forced:f},{find:function(){function V(y){return a(this,y,arguments.length>1?arguments[1]:void 0)}return V}()}),t(o)},88707:function(w,r,n){"use strict";var e=n(77549),a=n(68864),t=n(97361),o=n(40076),f=n(8333),V=n(32878);e({target:"Array",proto:!0},{flatMap:function(){function y(S){var k=o(this),C=f(k),u;return t(S),u=V(k,0),u.length=a(u,k,k,C,0,1,S,arguments.length>1?arguments[1]:void 0),u}return y}()})},16576:function(w,r,n){"use strict";var e=n(77549),a=n(68864),t=n(40076),o=n(8333),f=n(74952),V=n(32878);e({target:"Array",proto:!0},{flat:function(){function y(){var S=arguments.length?arguments[0]:void 0,k=t(this),C=o(k),u=V(k,0);return u.length=a(u,k,k,C,0,S===void 0?1:f(S)),u}return y}()})},21508:function(w,r,n){"use strict";var e=n(77549),a=n(75420);e({target:"Array",proto:!0,forced:[].forEach!==a},{forEach:a})},86339:function(w,r,n){"use strict";var e=n(77549),a=n(80363),t=n(52019),o=!t(function(f){Array.from(f)});e({target:"Array",stat:!0,forced:o},{from:a})},81850:function(w,r,n){"use strict";var e=n(77549),a=n(64210).includes,t=n(41746),o=n(91138),f=t(function(){return!Array(1).includes()});e({target:"Array",proto:!0,forced:f},{includes:function(){function V(y){return a(this,y,arguments.length>1?arguments[1]:void 0)}return V}()}),o("includes")},98661:function(w,r,n){"use strict";var e=n(77549),a=n(85067),t=n(64210).indexOf,o=n(42309),f=a([].indexOf),V=!!f&&1/f([1],1,-0)<0,y=V||!o("indexOf");e({target:"Array",proto:!0,forced:y},{indexOf:function(){function S(k){var C=arguments.length>1?arguments[1]:void 0;return V?f(this,k,C)||0:t(this,k,C)}return S}()})},13431:function(w,r,n){"use strict";var e=n(77549),a=n(62367);e({target:"Array",stat:!0},{isArray:a})},65809:function(w,r,n){"use strict";var e=n(96812),a=n(91138),t=n(90604),o=n(35086),f=n(56018).f,V=n(2449),y=n(77056),S=n(11478),k=n(14141),C="Array Iterator",u=o.set,c=o.getterFor(C);w.exports=V(Array,"Array",function(d,l){u(this,{type:C,target:e(d),index:0,kind:l})},function(){var d=c(this),l=d.target,s=d.index++;if(!l||s>=l.length)return d.target=void 0,y(void 0,!0);switch(d.kind){case"keys":return y(s,!1);case"values":return y(l[s],!1)}return y([s,l[s]],!1)},"values");var m=t.Arguments=t.Array;if(a("keys"),a("values"),a("entries"),!S&&k&&m.name!=="values")try{f(m,"name",{value:"values"})}catch(d){}},8611:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(26736),o=n(96812),f=n(42309),V=a([].join),y=t!==Object,S=y||!f("join",",");e({target:"Array",proto:!0,forced:S},{join:function(){function k(C){return V(o(this),C===void 0?",":C)}return k}()})},97246:function(w,r,n){"use strict";var e=n(77549),a=n(16934);e({target:"Array",proto:!0,forced:a!==[].lastIndexOf},{lastIndexOf:a})},48741:function(w,r,n){"use strict";var e=n(77549),a=n(67480).map,t=n(55114),o=t("map");e({target:"Array",proto:!0,forced:!o},{map:function(){function f(V){return a(this,V,arguments.length>1?arguments[1]:void 0)}return f}()})},90446:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(60354),o=n(12913),f=Array,V=a(function(){function y(){}return!(f.of.call(y)instanceof y)});e({target:"Array",stat:!0,forced:V},{of:function(){function y(){for(var S=0,k=arguments.length,C=new(t(this)?this:f)(k);k>S;)o(C,S,arguments[S++]);return C.length=k,C}return y}()})},61902:function(w,r,n){"use strict";var e=n(77549),a=n(98405).right,t=n(42309),o=n(82709),f=n(95823),V=!f&&o>79&&o<83,y=V||!t("reduceRight");e({target:"Array",proto:!0,forced:y},{reduceRight:function(){function S(k){return a(this,k,arguments.length,arguments.length>1?arguments[1]:void 0)}return S}()})},509:function(w,r,n){"use strict";var e=n(77549),a=n(98405).left,t=n(42309),o=n(82709),f=n(95823),V=!f&&o>79&&o<83,y=V||!t("reduce");e({target:"Array",proto:!0,forced:y},{reduce:function(){function S(k){var C=arguments.length;return a(this,k,C,C>1?arguments[1]:void 0)}return S}()})},96149:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(62367),o=a([].reverse),f=[1,2];e({target:"Array",proto:!0,forced:String(f)===String(f.reverse())},{reverse:function(){function V(){return t(this)&&(this.length=this.length),o(this)}return V}()})},66617:function(w,r,n){"use strict";var e=n(77549),a=n(62367),t=n(60354),o=n(56831),f=n(74067),V=n(8333),y=n(96812),S=n(12913),k=n(66266),C=n(55114),u=n(77713),c=C("slice"),m=k("species"),d=Array,l=Math.max;e({target:"Array",proto:!0,forced:!c},{slice:function(){function s(i,p){var v=y(this),g=V(v),h=f(i,g),N=f(p===void 0?g:p,g),b,B,I;if(a(v)&&(b=v.constructor,t(b)&&(b===d||a(b.prototype))?b=void 0:o(b)&&(b=b[m],b===null&&(b=void 0)),b===d||b===void 0))return u(v,h,N);for(B=new(b===void 0?d:b)(l(N-h,0)),I=0;h1?arguments[1]:void 0)}return f}()})},56855:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(97361),o=n(40076),f=n(8333),V=n(58937),y=n(26602),S=n(41746),k=n(44815),C=n(42309),u=n(49847),c=n(56605),m=n(82709),d=n(53125),l=[],s=a(l.sort),i=a(l.push),p=S(function(){l.sort(void 0)}),v=S(function(){l.sort(null)}),g=C("sort"),h=!S(function(){if(m)return m<70;if(!(u&&u>3)){if(c)return!0;if(d)return d<603;var B="",I,L,T,x;for(I=65;I<76;I++){switch(L=String.fromCharCode(I),I){case 66:case 69:case 70:case 72:T=3;break;case 68:case 71:T=4;break;default:T=2}for(x=0;x<47;x++)l.push({k:L+x,v:T})}for(l.sort(function(A,E){return E.v-A.v}),x=0;xy(T)?1:-1}};e({target:"Array",proto:!0,forced:N},{sort:function(){function B(I){I!==void 0&&t(I);var L=o(this);if(h)return I===void 0?s(L):s(L,I);var T=[],x=f(L),A,E;for(E=0;Ev-b+N;I--)C(p,I-1)}else if(N>b)for(I=v-b;I>g;I--)L=I+b-1,T=I+N-1,L in p?p[T]=p[L]:C(p,T);for(I=0;I9490626562425156e-8?o(C)+V:a(C-1+f(C-1)*f(C+1))}return S}()})},86551:function(w,r,n){"use strict";var e=n(77549),a=Math.asinh,t=Math.log,o=Math.sqrt;function f(y){var S=+y;return!isFinite(S)||S===0?S:S<0?-f(-S):t(S+o(S*S+1))}var V=!(a&&1/a(0)>0);e({target:"Math",stat:!0,forced:V},{asinh:f})},10940:function(w,r,n){"use strict";var e=n(77549),a=Math.atanh,t=Math.log,o=!(a&&1/a(-0)<0);e({target:"Math",stat:!0,forced:o},{atanh:function(){function f(V){var y=+V;return y===0?y:t((1+y)/(1-y))/2}return f}()})},73763:function(w,r,n){"use strict";var e=n(77549),a=n(54307),t=Math.abs,o=Math.pow;e({target:"Math",stat:!0},{cbrt:function(){function f(V){var y=+V;return a(y)*o(t(y),.3333333333333333)}return f}()})},3372:function(w,r,n){"use strict";var e=n(77549),a=Math.floor,t=Math.log,o=Math.LOG2E;e({target:"Math",stat:!0},{clz32:function(){function f(V){var y=V>>>0;return y?31-a(t(y+.5)*o):32}return f}()})},51629:function(w,r,n){"use strict";var e=n(77549),a=n(32813),t=Math.cosh,o=Math.abs,f=Math.E,V=!t||t(710)===1/0;e({target:"Math",stat:!0,forced:V},{cosh:function(){function y(S){var k=a(o(S)-1)+1;return(k+1/(k*f*f))*(f/2)}return y}()})},69727:function(w,r,n){"use strict";var e=n(77549),a=n(32813);e({target:"Math",stat:!0,forced:a!==Math.expm1},{expm1:a})},27482:function(w,r,n){"use strict";var e=n(77549),a=n(75988);e({target:"Math",stat:!0},{fround:a})},7108:function(w,r,n){"use strict";var e=n(77549),a=Math.hypot,t=Math.abs,o=Math.sqrt,f=!!a&&a(1/0,NaN)!==1/0;e({target:"Math",stat:!0,arity:2,forced:f},{hypot:function(){function V(y,S){for(var k=0,C=0,u=arguments.length,c=0,m,d;C0?(d=m/c,k+=d*d):k+=m;return c===1/0?1/0:c*o(k)}return V}()})},4115:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=Math.imul,o=a(function(){return t(4294967295,5)!==-5||t.length!==2});e({target:"Math",stat:!0,forced:o},{imul:function(){function f(V,y){var S=65535,k=+V,C=+y,u=S&k,c=S&C;return 0|u*c+((S&k>>>16)*c+u*(S&C>>>16)<<16>>>0)}return f}()})},63953:function(w,r,n){"use strict";var e=n(77549),a=n(53271);e({target:"Math",stat:!0},{log10:a})},71377:function(w,r,n){"use strict";var e=n(77549),a=n(69143);e({target:"Math",stat:!0},{log1p:a})},63956:function(w,r,n){"use strict";var e=n(77549),a=Math.log,t=Math.LN2;e({target:"Math",stat:!0},{log2:function(){function o(f){return a(f)/t}return o}()})},90037:function(w,r,n){"use strict";var e=n(77549),a=n(54307);e({target:"Math",stat:!0},{sign:a})},46818:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(32813),o=Math.abs,f=Math.exp,V=Math.E,y=a(function(){return Math.sinh(-2e-17)!==-2e-17});e({target:"Math",stat:!0,forced:y},{sinh:function(){function S(k){var C=+k;return o(C)<1?(t(C)-t(-C))/2:(f(C-1)-f(-C-1))*(V/2)}return S}()})},26681:function(w,r,n){"use strict";var e=n(77549),a=n(32813),t=Math.exp;e({target:"Math",stat:!0},{tanh:function(){function o(f){var V=+f,y=a(V),S=a(-V);return y===1/0?1:S===1/0?-1:(y-S)/(t(V)+t(-V))}return o}()})},83646:function(w,r,n){"use strict";var e=n(94234);e(Math,"Math",!0)},28876:function(w,r,n){"use strict";var e=n(77549),a=n(34606);e({target:"Math",stat:!0},{trunc:a})},36385:function(w,r,n){"use strict";var e=n(77549),a=n(11478),t=n(14141),o=n(40224),f=n(5376),V=n(18161),y=n(95945),S=n(89458),k=n(2566),C=n(33314),u=n(74352),c=n(4370),m=n(41746),d=n(34813).f,l=n(54168).f,s=n(56018).f,i=n(37497),p=n(35171).trim,v="Number",g=o[v],h=f[v],N=g.prototype,b=o.TypeError,B=V("".slice),I=V("".charCodeAt),L=function(P){var R=c(P,"number");return typeof R=="bigint"?R:T(R)},T=function(P){var R=c(P,"number"),j,F,W,_,K,H,X,Y;if(u(R))throw new b("Cannot convert a Symbol value to a number");if(typeof R=="string"&&R.length>2){if(R=p(R),j=I(R,0),j===43||j===45){if(F=I(R,2),F===88||F===120)return NaN}else if(j===48){switch(I(R,1)){case 66:case 98:W=2,_=49;break;case 79:case 111:W=8,_=55;break;default:return+R}for(K=B(R,2),H=K.length,X=0;X_)return NaN;return parseInt(K,W)}}return+R},x=y(v,!g(" 0o1")||!g("0b1")||g("+0x1")),A=function(P){return C(N,P)&&m(function(){i(P)})},E=function(){function D(P){var R=arguments.length<1?0:g(L(P));return A(this)?k(Object(R),this,E):R}return D}();E.prototype=N,x&&!a&&(N.constructor=E),e({global:!0,constructor:!0,wrap:!0,forced:x},{Number:E});var M=function(P,R){for(var j=t?d(R):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),F=0,W;j.length>F;F++)S(R,W=j[F])&&!S(P,W)&&s(P,W,l(R,W))};a&&h&&M(f[v],h),(x||a)&&M(f[v],g)},84295:function(w,r,n){"use strict";var e=n(77549);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},59785:function(w,r,n){"use strict";var e=n(77549),a=n(69079);e({target:"Number",stat:!0},{isFinite:a})},8846:function(w,r,n){"use strict";var e=n(77549),a=n(57696);e({target:"Number",stat:!0},{isInteger:a})},50237:function(w,r,n){"use strict";var e=n(77549);e({target:"Number",stat:!0},{isNaN:function(){function a(t){return t!==t}return a}()})},6436:function(w,r,n){"use strict";var e=n(77549),a=n(57696),t=Math.abs;e({target:"Number",stat:!0},{isSafeInteger:function(){function o(f){return a(f)&&t(f)<=9007199254740991}return o}()})},68286:function(w,r,n){"use strict";var e=n(77549);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},23940:function(w,r,n){"use strict";var e=n(77549);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},82425:function(w,r,n){"use strict";var e=n(77549),a=n(43283);e({target:"Number",stat:!0,forced:Number.parseFloat!==a},{parseFloat:a})},82118:function(w,r,n){"use strict";var e=n(77549),a=n(11540);e({target:"Number",stat:!0,forced:Number.parseInt!==a},{parseInt:a})},7419:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(74952),o=n(37497),f=n(84948),V=n(41746),y=RangeError,S=String,k=Math.floor,C=a(f),u=a("".slice),c=a(1 .toFixed),m=function v(g,h,N){return h===0?N:h%2===1?v(g,h-1,N*g):v(g*g,h/2,N)},d=function(g){for(var h=0,N=g;N>=4096;)h+=12,N/=4096;for(;N>=2;)h+=1,N/=2;return h},l=function(g,h,N){for(var b=-1,B=N;++b<6;)B+=h*g[b],g[b]=B%1e7,B=k(B/1e7)},s=function(g,h){for(var N=6,b=0;--N>=0;)b+=g[N],g[N]=k(b/h),b=b%h*1e7},i=function(g){for(var h=6,N="";--h>=0;)if(N!==""||h===0||g[h]!==0){var b=S(g[h]);N=N===""?b:N+C("0",7-b.length)+b}return N},p=V(function(){return c(8e-5,3)!=="0.000"||c(.9,0)!=="1"||c(1.255,2)!=="1.25"||c(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!V(function(){c({})});e({target:"Number",proto:!0,forced:p},{toFixed:function(){function v(g){var h=o(this),N=t(g),b=[0,0,0,0,0,0],B="",I="0",L,T,x,A;if(N<0||N>20)throw new y("Incorrect fraction digits");if(h!==h)return"NaN";if(h<=-1e21||h>=1e21)return S(h);if(h<0&&(B="-",h=-h),h>1e-21)if(L=d(h*m(2,69,1))-69,T=L<0?h*m(2,-L,1):h/m(2,L,1),T*=4503599627370496,L=52-L,L>0){for(l(b,0,T),x=N;x>=7;)l(b,1e7,0),x-=7;for(l(b,m(10,x,1),0),x=L-1;x>=23;)s(b,8388608),x-=23;s(b,1<0?(A=I.length,I=B+(A<=N?"0."+C("0",N-A)+I:u(I,0,A-N)+"."+u(I,A-N))):I=B+I,I}return v}()})},42409:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(41746),o=n(37497),f=a(1 .toPrecision),V=t(function(){return f(1,void 0)!=="1"})||!t(function(){f({})});e({target:"Number",proto:!0,forced:V},{toPrecision:function(){function y(S){return S===void 0?f(o(this)):f(o(this),S)}return y}()})},29002:function(w,r,n){"use strict";var e=n(77549),a=n(12752);e({target:"Object",stat:!0,arity:2,forced:Object.assign!==a},{assign:a})},85795:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(28969);e({target:"Object",stat:!0,sham:!a},{create:t})},74722:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(33030),o=n(97361),f=n(40076),V=n(56018);a&&e({target:"Object",proto:!0,forced:t},{__defineGetter__:function(){function y(S,k){V.f(f(this),S,{get:o(k),enumerable:!0,configurable:!0})}return y}()})},5300:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(65854).f;e({target:"Object",stat:!0,forced:Object.defineProperties!==t,sham:!a},{defineProperties:t})},85684:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(56018).f;e({target:"Object",stat:!0,forced:Object.defineProperty!==t,sham:!a},{defineProperty:t})},36014:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(33030),o=n(97361),f=n(40076),V=n(56018);a&&e({target:"Object",proto:!0,forced:t},{__defineSetter__:function(){function y(S,k){V.f(f(this),S,{set:o(k),enumerable:!0,configurable:!0})}return y}()})},98551:function(w,r,n){"use strict";var e=n(77549),a=n(97452).entries;e({target:"Object",stat:!0},{entries:function(){function t(o){return a(o)}return t}()})},66288:function(w,r,n){"use strict";var e=n(77549),a=n(56255),t=n(41746),o=n(56831),f=n(29126).onFreeze,V=Object.freeze,y=t(function(){V(1)});e({target:"Object",stat:!0,forced:y,sham:!a},{freeze:function(){function S(k){return V&&o(k)?V(f(k)):k}return S}()})},26862:function(w,r,n){"use strict";var e=n(77549),a=n(281),t=n(12913);e({target:"Object",stat:!0},{fromEntries:function(){function o(f){var V={};return a(f,function(y,S){t(V,y,S)},{AS_ENTRIES:!0}),V}return o}()})},78686:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(96812),o=n(54168).f,f=n(14141),V=!f||a(function(){o(1)});e({target:"Object",stat:!0,forced:V,sham:!f},{getOwnPropertyDescriptor:function(){function y(S,k){return o(t(S),k)}return y}()})},36789:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(93616),o=n(96812),f=n(54168),V=n(12913);e({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(){function y(S){for(var k=o(S),C=f.f,u=t(k),c={},m=0,d,l;u.length>m;)l=C(k,d=u[m++]),l!==void 0&&V(c,d,l);return c}return y}()})},82707:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(63797).f,o=a(function(){return!Object.getOwnPropertyNames(1)});e({target:"Object",stat:!0,forced:o},{getOwnPropertyNames:t})},93146:function(w,r,n){"use strict";var e=n(77549),a=n(70640),t=n(41746),o=n(34220),f=n(40076),V=!a||t(function(){o.f(1)});e({target:"Object",stat:!0,forced:V},{getOwnPropertySymbols:function(){function y(S){var k=o.f;return k?k(f(S)):[]}return y}()})},69740:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(40076),o=n(31658),f=n(58776),V=a(function(){o(1)});e({target:"Object",stat:!0,forced:V,sham:!f},{getPrototypeOf:function(){function y(S){return o(t(S))}return y}()})},54789:function(w,r,n){"use strict";var e=n(77549),a=n(57975);e({target:"Object",stat:!0,forced:Object.isExtensible!==a},{isExtensible:a})},49626:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(56831),o=n(38817),f=n(65693),V=Object.isFrozen,y=f||a(function(){V(1)});e({target:"Object",stat:!0,forced:y},{isFrozen:function(){function S(k){return!t(k)||f&&o(k)==="ArrayBuffer"?!0:V?V(k):!1}return S}()})},67660:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(56831),o=n(38817),f=n(65693),V=Object.isSealed,y=f||a(function(){V(1)});e({target:"Object",stat:!0,forced:y},{isSealed:function(){function S(k){return!t(k)||f&&o(k)==="ArrayBuffer"?!0:V?V(k):!1}return S}()})},87847:function(w,r,n){"use strict";var e=n(77549),a=n(37309);e({target:"Object",stat:!0},{is:a})},43619:function(w,r,n){"use strict";var e=n(77549),a=n(40076),t=n(84913),o=n(41746),f=o(function(){t(1)});e({target:"Object",stat:!0,forced:f},{keys:function(){function V(y){return t(a(y))}return V}()})},42777:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(33030),o=n(40076),f=n(57640),V=n(31658),y=n(54168).f;a&&e({target:"Object",proto:!0,forced:t},{__lookupGetter__:function(){function S(k){var C=o(this),u=f(k),c;do if(c=y(C,u))return c.get;while(C=V(C))}return S}()})},13045:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(33030),o=n(40076),f=n(57640),V=n(31658),y=n(54168).f;a&&e({target:"Object",proto:!0,forced:t},{__lookupSetter__:function(){function S(k){var C=o(this),u=f(k),c;do if(c=y(C,u))return c.set;while(C=V(C))}return S}()})},38664:function(w,r,n){"use strict";var e=n(77549),a=n(56831),t=n(29126).onFreeze,o=n(56255),f=n(41746),V=Object.preventExtensions,y=f(function(){V(1)});e({target:"Object",stat:!0,forced:y,sham:!o},{preventExtensions:function(){function S(k){return V&&a(k)?V(t(k)):k}return S}()})},29650:function(w,r,n){"use strict";var e=n(77549),a=n(56831),t=n(29126).onFreeze,o=n(56255),f=n(41746),V=Object.seal,y=f(function(){V(1)});e({target:"Object",stat:!0,forced:y,sham:!o},{seal:function(){function S(k){return V&&a(k)?V(t(k)):k}return S}()})},58176:function(w,r,n){"use strict";var e=n(77549),a=n(42878);e({target:"Object",stat:!0},{setPrototypeOf:a})},35286:function(w,r,n){"use strict";var e=n(82161),a=n(59173),t=n(66628);e||a(Object.prototype,"toString",t,{unsafe:!0})},13313:function(w,r,n){"use strict";var e=n(77549),a=n(97452).values;e({target:"Object",stat:!0},{values:function(){function t(o){return a(o)}return t}()})},26528:function(w,r,n){"use strict";var e=n(77549),a=n(43283);e({global:!0,forced:parseFloat!==a},{parseFloat:a})},54959:function(w,r,n){"use strict";var e=n(77549),a=n(11540);e({global:!0,forced:parseInt!==a},{parseInt:a})},34344:function(w,r,n){"use strict";var e=n(77549),a=n(62696),t=n(97361),o=n(48532),f=n(91114),V=n(281),y=n(95044);e({target:"Promise",stat:!0,forced:y},{all:function(){function S(k){var C=this,u=o.f(C),c=u.resolve,m=u.reject,d=f(function(){var l=t(C.resolve),s=[],i=0,p=1;V(k,function(v){var g=i++,h=!1;p++,a(l,C,v).then(function(N){h||(h=!0,s[g]=N,--p||c(s))},m)}),--p||c(s)});return d.error&&m(d.value),u.promise}return S}()})},60:function(w,r,n){"use strict";var e=n(77549),a=n(11478),t=n(49669).CONSTRUCTOR,o=n(35973),f=n(40164),V=n(7532),y=n(59173),S=o&&o.prototype;if(e({target:"Promise",proto:!0,forced:t,real:!0},{catch:function(){function C(u){return this.then(void 0,u)}return C}()}),!a&&V(o)){var k=f("Promise").prototype.catch;S.catch!==k&&y(S,"catch",k,{unsafe:!0})}},7803:function(w,r,n){"use strict";var e=n(77549),a=n(11478),t=n(95823),o=n(40224),f=n(62696),V=n(59173),y=n(42878),S=n(94234),k=n(67420),C=n(97361),u=n(7532),c=n(56831),m=n(19870),d=n(78412),l=n(91314).set,s=n(27150),i=n(46122),p=n(91114),v=n(23496),g=n(35086),h=n(35973),N=n(49669),b=n(48532),B="Promise",I=N.CONSTRUCTOR,L=N.REJECTION_EVENT,T=N.SUBCLASSING,x=g.getterFor(B),A=g.set,E=h&&h.prototype,M=h,D=E,P=o.TypeError,R=o.document,j=o.process,F=b.f,W=F,_=!!(R&&R.createEvent&&o.dispatchEvent),K="unhandledrejection",H="rejectionhandled",X=0,Y=1,J=2,le=1,ce=2,fe,pe,he,te,Q=function(ye){var Ie;return c(ye)&&u(Ie=ye.then)?Ie:!1},ae=function(ye,Ie){var we=Ie.value,xe=Ie.state===Y,Oe=xe?ye.ok:ye.fail,We=ye.resolve,be=ye.reject,ie=ye.domain,se,Ce,me;try{Oe?(xe||(Ie.rejection===ce&&ge(Ie),Ie.rejection=le),Oe===!0?se=we:(ie&&ie.enter(),se=Oe(we),ie&&(ie.exit(),me=!0)),se===ye.promise?be(new P("Promise-chain cycle")):(Ce=Q(se))?f(Ce,se,We,be):We(se)):be(we)}catch(Ne){ie&&!me&&ie.exit(),be(Ne)}},ee=function(ye,Ie){ye.notified||(ye.notified=!0,s(function(){for(var we=ye.reactions,xe;xe=we.get();)ae(xe,ye);ye.notified=!1,Ie&&!ye.rejection&&ue(ye)}))},oe=function(ye,Ie,we){var xe,Oe;_?(xe=R.createEvent("Event"),xe.promise=Ie,xe.reason=we,xe.initEvent(ye,!1,!0),o.dispatchEvent(xe)):xe={promise:Ie,reason:we},!L&&(Oe=o["on"+ye])?Oe(xe):ye===K&&i("Unhandled promise rejection",we)},ue=function(ye){f(l,o,function(){var Ie=ye.facade,we=ye.value,xe=re(ye),Oe;if(xe&&(Oe=p(function(){t?j.emit("unhandledRejection",we,Ie):oe(K,Ie,we)}),ye.rejection=t||re(ye)?ce:le,Oe.error))throw Oe.value})},re=function(ye){return ye.rejection!==le&&!ye.parent},ge=function(ye){f(l,o,function(){var Ie=ye.facade;t?j.emit("rejectionHandled",Ie):oe(H,Ie,ye.value)})},Be=function(ye,Ie,we){return function(xe){ye(Ie,xe,we)}},ve=function(ye,Ie,we){ye.done||(ye.done=!0,we&&(ye=we),ye.value=Ie,ye.state=J,ee(ye,!0))},Ve=function ke(ye,Ie,we){if(!ye.done){ye.done=!0,we&&(ye=we);try{if(ye.facade===Ie)throw new P("Promise can't be resolved itself");var xe=Q(Ie);xe?s(function(){var Oe={done:!1};try{f(xe,Ie,Be(ke,Oe,ye),Be(ve,Oe,ye))}catch(We){ve(Oe,We,ye)}}):(ye.value=Ie,ye.state=Y,ee(ye,!1))}catch(Oe){ve({done:!1},Oe,ye)}}};if(I&&(M=function(){function ke(ye){m(this,D),C(ye),f(fe,this);var Ie=x(this);try{ye(Be(Ve,Ie),Be(ve,Ie))}catch(we){ve(Ie,we)}}return ke}(),D=M.prototype,fe=function(){function ke(ye){A(this,{type:B,done:!1,notified:!1,parent:!1,reactions:new v,rejection:!1,state:X,value:void 0})}return ke}(),fe.prototype=V(D,"then",function(){function ke(ye,Ie){var we=x(this),xe=F(d(this,M));return we.parent=!0,xe.ok=u(ye)?ye:!0,xe.fail=u(Ie)&&Ie,xe.domain=t?j.domain:void 0,we.state===X?we.reactions.add(xe):s(function(){ae(xe,we)}),xe.promise}return ke}()),pe=function(){var ye=new fe,Ie=x(ye);this.promise=ye,this.resolve=Be(Ve,Ie),this.reject=Be(ve,Ie)},b.f=F=function(ye){return ye===M||ye===he?new pe(ye):W(ye)},!a&&u(h)&&E!==Object.prototype)){te=E.then,T||V(E,"then",function(){function ke(ye,Ie){var we=this;return new M(function(xe,Oe){f(te,we,xe,Oe)}).then(ye,Ie)}return ke}(),{unsafe:!0});try{delete E.constructor}catch(ke){}y&&y(E,D)}e({global:!0,constructor:!0,wrap:!0,forced:I},{Promise:M}),S(M,B,!1,!0),k(B)},54412:function(w,r,n){"use strict";var e=n(77549),a=n(11478),t=n(35973),o=n(41746),f=n(40164),V=n(7532),y=n(78412),S=n(43827),k=n(59173),C=t&&t.prototype,u=!!t&&o(function(){C.finally.call({then:function(){function m(){}return m}()},function(){})});if(e({target:"Promise",proto:!0,real:!0,forced:u},{finally:function(){function m(d){var l=y(this,f("Promise")),s=V(d);return this.then(s?function(i){return S(l,d()).then(function(){return i})}:d,s?function(i){return S(l,d()).then(function(){throw i})}:d)}return m}()}),!a&&V(t)){var c=f("Promise").prototype.finally;C.finally!==c&&k(C,"finally",c,{unsafe:!0})}},78129:function(w,r,n){"use strict";n(7803),n(34344),n(60),n(61270),n(82248),n(30347)},61270:function(w,r,n){"use strict";var e=n(77549),a=n(62696),t=n(97361),o=n(48532),f=n(91114),V=n(281),y=n(95044);e({target:"Promise",stat:!0,forced:y},{race:function(){function S(k){var C=this,u=o.f(C),c=u.reject,m=f(function(){var d=t(C.resolve);V(k,function(l){a(d,C,l).then(u.resolve,c)})});return m.error&&c(m.value),u.promise}return S}()})},82248:function(w,r,n){"use strict";var e=n(77549),a=n(48532),t=n(49669).CONSTRUCTOR;e({target:"Promise",stat:!0,forced:t},{reject:function(){function o(f){var V=a.f(this),y=V.reject;return y(f),V.promise}return o}()})},30347:function(w,r,n){"use strict";var e=n(77549),a=n(40164),t=n(11478),o=n(35973),f=n(49669).CONSTRUCTOR,V=n(43827),y=a("Promise"),S=t&&!f;e({target:"Promise",stat:!0,forced:t||f},{resolve:function(){function k(C){return V(S&&this===y?o:this,C)}return k}()})},82427:function(w,r,n){"use strict";var e=n(77549),a=n(70918),t=n(97361),o=n(39482),f=n(41746),V=!f(function(){Reflect.apply(function(){})});e({target:"Reflect",stat:!0,forced:V},{apply:function(){function y(S,k,C){return a(t(S),k,o(C))}return y}()})},8390:function(w,r,n){"use strict";var e=n(77549),a=n(40164),t=n(70918),o=n(9379),f=n(76833),V=n(39482),y=n(56831),S=n(28969),k=n(41746),C=a("Reflect","construct"),u=Object.prototype,c=[].push,m=k(function(){function s(){}return!(C(function(){},[],s)instanceof s)}),d=!k(function(){C(function(){})}),l=m||d;e({target:"Reflect",stat:!0,forced:l,sham:l},{construct:function(){function s(i,p){f(i),V(p);var v=arguments.length<3?i:f(arguments[2]);if(d&&!m)return C(i,p,v);if(i===v){switch(p.length){case 0:return new i;case 1:return new i(p[0]);case 2:return new i(p[0],p[1]);case 3:return new i(p[0],p[1],p[2]);case 4:return new i(p[0],p[1],p[2],p[3])}var g=[null];return t(c,g,p),new(t(o,i,g))}var h=v.prototype,N=S(y(h)?h:u),b=t(i,N,p);return y(b)?b:N}return s}()})},68260:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(39482),o=n(57640),f=n(56018),V=n(41746),y=V(function(){Reflect.defineProperty(f.f({},1,{value:1}),1,{value:2})});e({target:"Reflect",stat:!0,forced:y,sham:!a},{defineProperty:function(){function S(k,C,u){t(k);var c=o(C);t(u);try{return f.f(k,c,u),!0}catch(m){return!1}}return S}()})},86508:function(w,r,n){"use strict";var e=n(77549),a=n(39482),t=n(54168).f;e({target:"Reflect",stat:!0},{deleteProperty:function(){function o(f,V){var y=t(a(f),V);return y&&!y.configurable?!1:delete f[V]}return o}()})},17134:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(39482),o=n(54168);e({target:"Reflect",stat:!0,sham:!a},{getOwnPropertyDescriptor:function(){function f(V,y){return o.f(t(V),y)}return f}()})},18972:function(w,r,n){"use strict";var e=n(77549),a=n(39482),t=n(31658),o=n(58776);e({target:"Reflect",stat:!0,sham:!o},{getPrototypeOf:function(){function f(V){return t(a(V))}return f}()})},65971:function(w,r,n){"use strict";var e=n(77549),a=n(62696),t=n(56831),o=n(39482),f=n(35892),V=n(54168),y=n(31658);function S(k,C){var u=arguments.length<3?k:arguments[2],c,m;if(o(k)===u)return k[C];if(c=V.f(k,C),c)return f(c)?c.value:c.get===void 0?void 0:a(c.get,u);if(t(m=y(k)))return S(m,C,u)}e({target:"Reflect",stat:!0},{get:S})},78623:function(w,r,n){"use strict";var e=n(77549);e({target:"Reflect",stat:!0},{has:function(){function a(t,o){return o in t}return a}()})},60149:function(w,r,n){"use strict";var e=n(77549),a=n(39482),t=n(57975);e({target:"Reflect",stat:!0},{isExtensible:function(){function o(f){return a(f),t(f)}return o}()})},56380:function(w,r,n){"use strict";var e=n(77549),a=n(93616);e({target:"Reflect",stat:!0},{ownKeys:a})},72792:function(w,r,n){"use strict";var e=n(77549),a=n(40164),t=n(39482),o=n(56255);e({target:"Reflect",stat:!0,sham:!o},{preventExtensions:function(){function f(V){t(V);try{var y=a("Object","preventExtensions");return y&&y(V),!0}catch(S){return!1}}return f}()})},25168:function(w,r,n){"use strict";var e=n(77549),a=n(39482),t=n(51689),o=n(42878);o&&e({target:"Reflect",stat:!0},{setPrototypeOf:function(){function f(V,y){a(V),t(y);try{return o(V,y),!0}catch(S){return!1}}return f}()})},60631:function(w,r,n){"use strict";var e=n(77549),a=n(62696),t=n(39482),o=n(56831),f=n(35892),V=n(41746),y=n(56018),S=n(54168),k=n(31658),C=n(7539);function u(m,d,l){var s=arguments.length<4?m:arguments[3],i=S.f(t(m),d),p,v,g;if(!i){if(o(v=k(m)))return u(v,d,l,s);i=C(0)}if(f(i)){if(i.writable===!1||!o(s))return!1;if(p=S.f(s,d)){if(p.get||p.set||p.writable===!1)return!1;p.value=l,y.f(s,d,p)}else y.f(s,d,C(0,l))}else{if(g=i.set,g===void 0)return!1;a(g,s,l)}return!0}var c=V(function(){var m=function(){},d=y.f(new m,"a",{configurable:!0});return Reflect.set(m.prototype,"a",1,d)!==!1});e({target:"Reflect",stat:!0,forced:c},{set:u})},85177:function(w,r,n){"use strict";var e=n(14141),a=n(40224),t=n(18161),o=n(95945),f=n(2566),V=n(16216),y=n(28969),S=n(34813).f,k=n(33314),C=n(80969),u=n(26602),c=n(60425),m=n(1064),d=n(77495),l=n(59173),s=n(41746),i=n(89458),p=n(35086).enforce,v=n(67420),g=n(66266),h=n(89604),N=n(5489),b=g("match"),B=a.RegExp,I=B.prototype,L=a.SyntaxError,T=t(I.exec),x=t("".charAt),A=t("".replace),E=t("".indexOf),M=t("".slice),D=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,P=/a/g,R=/a/g,j=new B(P)!==P,F=m.MISSED_STICKY,W=m.UNSUPPORTED_Y,_=e&&(!j||F||h||N||s(function(){return R[b]=!1,B(P)!==P||B(R)===R||String(B(P,"i"))!=="/a/i"})),K=function(ce){for(var fe=ce.length,pe=0,he="",te=!1,Q;pe<=fe;pe++){if(Q=x(ce,pe),Q==="\\"){he+=Q+x(ce,++pe);continue}!te&&Q==="."?he+="[\\s\\S]":(Q==="["?te=!0:Q==="]"&&(te=!1),he+=Q)}return he},H=function(ce){for(var fe=ce.length,pe=0,he="",te=[],Q=y(null),ae=!1,ee=!1,oe=0,ue="",re;pe<=fe;pe++){if(re=x(ce,pe),re==="\\")re+=x(ce,++pe);else if(re==="]")ae=!1;else if(!ae)switch(!0){case re==="[":ae=!0;break;case re==="(":T(D,M(ce,pe+1))&&(pe+=2,ee=!0),he+=re,oe++;continue;case(re===">"&&ee):if(ue===""||i(Q,ue))throw new L("Invalid capture group name");Q[ue]=!0,te[te.length]=[ue,oe],ee=!1,ue="";continue}ee?ue+=re:he+=re}return[he,te]};if(o("RegExp",_)){for(var X=function(){function le(ce,fe){var pe=k(I,this),he=C(ce),te=fe===void 0,Q=[],ae=ce,ee,oe,ue,re,ge,Be;if(!pe&&he&&te&&ce.constructor===X)return ce;if((he||k(I,ce))&&(ce=ce.source,te&&(fe=c(ae))),ce=ce===void 0?"":u(ce),fe=fe===void 0?"":u(fe),ae=ce,h&&"dotAll"in P&&(oe=!!fe&&E(fe,"s")>-1,oe&&(fe=A(fe,/s/g,""))),ee=fe,F&&"sticky"in P&&(ue=!!fe&&E(fe,"y")>-1,ue&&W&&(fe=A(fe,/y/g,""))),N&&(re=H(ce),ce=re[0],Q=re[1]),ge=f(B(ce,fe),pe?this:I,X),(oe||ue||Q.length)&&(Be=p(ge),oe&&(Be.dotAll=!0,Be.raw=X(K(ce),ee)),ue&&(Be.sticky=!0),Q.length&&(Be.groups=Q)),ce!==ae)try{V(ge,"source",ae===""?"(?:)":ae)}catch(ve){}return ge}return le}(),Y=S(B),J=0;Y.length>J;)d(X,B,Y[J++]);I.constructor=X,X.prototype=I,l(a,"RegExp",X,{constructor:!0})}v("RegExp")},95880:function(w,r,n){"use strict";var e=n(77549),a=n(72894);e({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},59978:function(w,r,n){"use strict";var e=n(40224),a=n(14141),t=n(10069),o=n(65844),f=n(41746),V=e.RegExp,y=V.prototype,S=a&&f(function(){var k=!0;try{V(".","d")}catch(i){k=!1}var C={},u="",c=k?"dgimsy":"gimsy",m=function(p,v){Object.defineProperty(C,p,{get:function(){function g(){return u+=v,!0}return g}()})},d={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};k&&(d.hasIndices="d");for(var l in d)m(l,d[l]);var s=Object.getOwnPropertyDescriptor(y,"flags").get.call(C);return s!==c||u!==c});S&&t(y,"flags",{configurable:!0,get:o})},96360:function(w,r,n){"use strict";var e=n(26463).PROPER,a=n(59173),t=n(39482),o=n(26602),f=n(41746),V=n(60425),y="toString",S=RegExp.prototype,k=S[y],C=f(function(){return k.call({source:"a",flags:"b"})!=="/a/b"}),u=e&&k.name!==y;(C||u)&&a(S,y,function(){function c(){var m=t(this),d=o(m.source),l=o(V(m));return"/"+d+"/"+l}return c}(),{unsafe:!0})},47338:function(w,r,n){"use strict";var e=n(93439),a=n(10623);e("Set",function(t){return function(){function o(){return t(this,arguments.length?arguments[0]:void 0)}return o}()},a)},43108:function(w,r,n){"use strict";n(47338)},36:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("anchor")},{anchor:function(){function o(f){return a(this,"a","name",f)}return o}()})},30519:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("big")},{big:function(){function o(){return a(this,"big","","")}return o}()})},33547:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("blink")},{blink:function(){function o(){return a(this,"blink","","")}return o}()})},53426:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("bold")},{bold:function(){function o(){return a(this,"b","","")}return o}()})},37801:function(w,r,n){"use strict";var e=n(77549),a=n(56852).codeAt;e({target:"String",proto:!0},{codePointAt:function(){function t(o){return a(this,o)}return t}()})},3044:function(w,r,n){"use strict";var e=n(77549),a=n(85067),t=n(54168).f,o=n(10475),f=n(26602),V=n(89140),y=n(91029),S=n(93321),k=n(11478),C=a("".slice),u=Math.min,c=S("endsWith"),m=!k&&!c&&!!function(){var d=t(String.prototype,"endsWith");return d&&!d.writable}();e({target:"String",proto:!0,forced:!m&&!c},{endsWith:function(){function d(l){var s=f(y(this));V(l);var i=arguments.length>1?arguments[1]:void 0,p=s.length,v=i===void 0?p:u(o(i),p),g=f(l);return C(s,v-g.length,v)===g}return d}()})},32031:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("fixed")},{fixed:function(){function o(){return a(this,"tt","","")}return o}()})},13153:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("fontcolor")},{fontcolor:function(){function o(f){return a(this,"font","color",f)}return o}()})},21953:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("fontsize")},{fontsize:function(){function o(f){return a(this,"font","size",f)}return o}()})},48432:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(74067),o=RangeError,f=String.fromCharCode,V=String.fromCodePoint,y=a([].join),S=!!V&&V.length!==1;e({target:"String",stat:!0,arity:1,forced:S},{fromCodePoint:function(){function k(C){for(var u=[],c=arguments.length,m=0,d;c>m;){if(d=+arguments[m++],t(d,1114111)!==d)throw new o(d+" is not a valid code point");u[m]=d<65536?f(d):f(((d-=65536)>>10)+55296,d%1024+56320)}return y(u,"")}return k}()})},54564:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(89140),o=n(91029),f=n(26602),V=n(93321),y=a("".indexOf);e({target:"String",proto:!0,forced:!V("includes")},{includes:function(){function S(k){return!!~y(f(o(this)),f(t(k)),arguments.length>1?arguments[1]:void 0)}return S}()})},83560:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("italics")},{italics:function(){function o(){return a(this,"i","","")}return o}()})},58179:function(w,r,n){"use strict";var e=n(56852).charAt,a=n(26602),t=n(35086),o=n(2449),f=n(77056),V="String Iterator",y=t.set,S=t.getterFor(V);o(String,"String",function(k){y(this,{type:V,string:a(k),index:0})},function(){function k(){var C=S(this),u=C.string,c=C.index,m;return c>=u.length?f(void 0,!0):(m=e(u,c),C.index+=m.length,f(m,!1))}return k}())},63465:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("link")},{link:function(){function o(f){return a(this,"a","href",f)}return o}()})},68164:function(w,r,n){"use strict";var e=n(62696),a=n(85427),t=n(39482),o=n(1022),f=n(10475),V=n(26602),y=n(91029),S=n(4817),k=n(62970),C=n(35553);a("match",function(u,c,m){return[function(){function d(l){var s=y(this),i=o(l)?void 0:S(l,u);return i?e(i,l,s):new RegExp(l)[u](V(s))}return d}(),function(d){var l=t(this),s=V(d),i=m(c,l,s);if(i.done)return i.value;if(!l.global)return C(l,s);var p=l.unicode;l.lastIndex=0;for(var v=[],g=0,h;(h=C(l,s))!==null;){var N=V(h[0]);v[g]=N,N===""&&(l.lastIndex=k(s,f(l.lastIndex),p)),g++}return g===0?null:v}]})},58880:function(w,r,n){"use strict";var e=n(77549),a=n(34086).end,t=n(33038);e({target:"String",proto:!0,forced:t},{padEnd:function(){function o(f){return a(this,f,arguments.length>1?arguments[1]:void 0)}return o}()})},54465:function(w,r,n){"use strict";var e=n(77549),a=n(34086).start,t=n(33038);e({target:"String",proto:!0,forced:t},{padStart:function(){function o(f){return a(this,f,arguments.length>1?arguments[1]:void 0)}return o}()})},97327:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(96812),o=n(40076),f=n(26602),V=n(8333),y=a([].push),S=a([].join);e({target:"String",stat:!0},{raw:function(){function k(C){var u=t(o(C).raw),c=V(u);if(!c)return"";for(var m=arguments.length,d=[],l=0;;){if(y(d,f(u[l++])),l===c)return S(d,"");l")!=="7"});o("replace",function(A,E,M){var D=T?"$":"$0";return[function(){function P(R,j){var F=c(this),W=S(R)?void 0:d(R,p);return W?a(W,R,F,j):a(E,u(F),R,j)}return P}(),function(P,R){var j=V(this),F=u(P);if(typeof R=="string"&&b(R,D)===-1&&b(R,"$<")===-1){var W=M(E,j,F,R);if(W.done)return W.value}var _=y(R);_||(R=u(R));var K=j.global,H;K&&(H=j.unicode,j.lastIndex=0);for(var X=[],Y;Y=s(j,F),!(Y===null||(N(X,Y),!K));){var J=u(Y[0]);J===""&&(j.lastIndex=m(F,C(j.lastIndex),H))}for(var le="",ce=0,fe=0;fe=ce&&(le+=B(F,ce,he)+Q,ce=he+pe.length)}return le+B(F,ce)}]},!x||!L||T)},17337:function(w,r,n){"use strict";var e=n(62696),a=n(85427),t=n(39482),o=n(1022),f=n(91029),V=n(37309),y=n(26602),S=n(4817),k=n(35553);a("search",function(C,u,c){return[function(){function m(d){var l=f(this),s=o(d)?void 0:S(d,C);return s?e(s,d,l):new RegExp(d)[C](y(l))}return m}(),function(m){var d=t(this),l=y(m),s=c(u,d,l);if(s.done)return s.value;var i=d.lastIndex;V(i,0)||(d.lastIndex=0);var p=k(d,l);return V(d.lastIndex,i)||(d.lastIndex=i),p===null?-1:p.index}]})},98998:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("small")},{small:function(){function o(){return a(this,"small","","")}return o}()})},53713:function(w,r,n){"use strict";var e=n(62696),a=n(18161),t=n(85427),o=n(39482),f=n(1022),V=n(91029),y=n(78412),S=n(62970),k=n(10475),C=n(26602),u=n(4817),c=n(35553),m=n(1064),d=n(41746),l=m.UNSUPPORTED_Y,s=4294967295,i=Math.min,p=a([].push),v=a("".slice),g=!d(function(){var N=/(?:)/,b=N.exec;N.exec=function(){return b.apply(this,arguments)};var B="ab".split(N);return B.length!==2||B[0]!=="a"||B[1]!=="b"}),h="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;t("split",function(N,b,B){var I="0".split(void 0,0).length?function(L,T){return L===void 0&&T===0?[]:e(b,this,L,T)}:b;return[function(){function L(T,x){var A=V(this),E=f(T)?void 0:u(T,N);return E?e(E,T,A,x):e(I,C(A),T,x)}return L}(),function(L,T){var x=o(this),A=C(L);if(!h){var E=B(I,x,A,T,I!==b);if(E.done)return E.value}var M=y(x,RegExp),D=x.unicode,P=(x.ignoreCase?"i":"")+(x.multiline?"m":"")+(x.unicode?"u":"")+(l?"g":"y"),R=new M(l?"^(?:"+x.source+")":x,P),j=T===void 0?s:T>>>0;if(j===0)return[];if(A.length===0)return c(R,A)===null?[A]:[];for(var F=0,W=0,_=[];W1?arguments[1]:void 0,s.length)),p=f(l);return C(s,i,i+p.length)===p}return d}()})},96227:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("strike")},{strike:function(){function o(){return a(this,"strike","","")}return o}()})},15483:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("sub")},{sub:function(){function o(){return a(this,"sub","","")}return o}()})},86829:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("sup")},{sup:function(){function o(){return a(this,"sup","","")}return o}()})},93073:function(w,r,n){"use strict";n(17434);var e=n(77549),a=n(11775);e({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==a},{trimEnd:a})},69107:function(w,r,n){"use strict";var e=n(77549),a=n(26402);e({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==a},{trimLeft:a})},17434:function(w,r,n){"use strict";var e=n(77549),a=n(11775);e({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==a},{trimRight:a})},50800:function(w,r,n){"use strict";n(69107);var e=n(77549),a=n(26402);e({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==a},{trimStart:a})},11121:function(w,r,n){"use strict";var e=n(77549),a=n(35171).trim,t=n(93817);e({target:"String",proto:!0,forced:t("trim")},{trim:function(){function o(){return a(this)}return o}()})},46951:function(w,r,n){"use strict";var e=n(15388);e("asyncIterator")},9056:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(62696),o=n(18161),f=n(11478),V=n(14141),y=n(70640),S=n(41746),k=n(89458),C=n(33314),u=n(39482),c=n(96812),m=n(57640),d=n(26602),l=n(7539),s=n(28969),i=n(84913),p=n(34813),v=n(63797),g=n(34220),h=n(54168),N=n(56018),b=n(65854),B=n(9776),I=n(59173),L=n(10069),T=n(75130),x=n(5160),A=n(21124),E=n(33345),M=n(66266),D=n(32938),P=n(15388),R=n(75429),j=n(94234),F=n(35086),W=n(67480).forEach,_=x("hidden"),K="Symbol",H="prototype",X=F.set,Y=F.getterFor(K),J=Object[H],le=a.Symbol,ce=le&&le[H],fe=a.RangeError,pe=a.TypeError,he=a.QObject,te=h.f,Q=N.f,ae=v.f,ee=B.f,oe=o([].push),ue=T("symbols"),re=T("op-symbols"),ge=T("wks"),Be=!he||!he[H]||!he[H].findChild,ve=function(se,Ce,me){var Ne=te(J,Ce);Ne&&delete J[Ce],Q(se,Ce,me),Ne&&se!==J&&Q(J,Ce,Ne)},Ve=V&&S(function(){return s(Q({},"a",{get:function(){function ie(){return Q(this,"a",{value:7}).a}return ie}()})).a!==7})?ve:Q,ke=function(se,Ce){var me=ue[se]=s(ce);return X(me,{type:K,tag:se,description:Ce}),V||(me.description=Ce),me},ye=function(){function ie(se,Ce,me){se===J&&ye(re,Ce,me),u(se);var Ne=m(Ce);return u(me),k(ue,Ne)?(me.enumerable?(k(se,_)&&se[_][Ne]&&(se[_][Ne]=!1),me=s(me,{enumerable:l(0,!1)})):(k(se,_)||Q(se,_,l(1,s(null))),se[_][Ne]=!0),Ve(se,Ne,me)):Q(se,Ne,me)}return ie}(),Ie=function(){function ie(se,Ce){u(se);var me=c(Ce),Ne=i(me).concat(be(me));return W(Ne,function(Ae){(!V||t(xe,me,Ae))&&ye(se,Ae,me[Ae])}),se}return ie}(),we=function(){function ie(se,Ce){return Ce===void 0?s(se):Ie(s(se),Ce)}return ie}(),xe=function(){function ie(se){var Ce=m(se),me=t(ee,this,Ce);return this===J&&k(ue,Ce)&&!k(re,Ce)?!1:me||!k(this,Ce)||!k(ue,Ce)||k(this,_)&&this[_][Ce]?me:!0}return ie}(),Oe=function(){function ie(se,Ce){var me=c(se),Ne=m(Ce);if(!(me===J&&k(ue,Ne)&&!k(re,Ne))){var Ae=te(me,Ne);return Ae&&k(ue,Ne)&&!(k(me,_)&&me[_][Ne])&&(Ae.enumerable=!0),Ae}}return ie}(),We=function(){function ie(se){var Ce=ae(c(se)),me=[];return W(Ce,function(Ne){!k(ue,Ne)&&!k(A,Ne)&&oe(me,Ne)}),me}return ie}(),be=function(se){var Ce=se===J,me=ae(Ce?re:c(se)),Ne=[];return W(me,function(Ae){k(ue,Ae)&&(!Ce||k(J,Ae))&&oe(Ne,ue[Ae])}),Ne};y||(le=function(){function ie(){if(C(ce,this))throw new pe("Symbol is not a constructor");var se=!arguments.length||arguments[0]===void 0?void 0:d(arguments[0]),Ce=E(se),me=function(){function Ne(Ae){var De=this===void 0?a:this;De===J&&t(Ne,re,Ae),k(De,_)&&k(De[_],Ce)&&(De[_][Ce]=!1);var je=l(1,Ae);try{Ve(De,Ce,je)}catch(_e){if(!(_e instanceof fe))throw _e;ve(De,Ce,je)}}return Ne}();return V&&Be&&Ve(J,Ce,{configurable:!0,set:me}),ke(Ce,se)}return ie}(),ce=le[H],I(ce,"toString",function(){function ie(){return Y(this).tag}return ie}()),I(le,"withoutSetter",function(ie){return ke(E(ie),ie)}),B.f=xe,N.f=ye,b.f=Ie,h.f=Oe,p.f=v.f=We,g.f=be,D.f=function(ie){return ke(M(ie),ie)},V&&(L(ce,"description",{configurable:!0,get:function(){function ie(){return Y(this).description}return ie}()}),f||I(J,"propertyIsEnumerable",xe,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!y,sham:!y},{Symbol:le}),W(i(ge),function(ie){P(ie)}),e({target:K,stat:!0,forced:!y},{useSetter:function(){function ie(){Be=!0}return ie}(),useSimple:function(){function ie(){Be=!1}return ie}()}),e({target:"Object",stat:!0,forced:!y,sham:!V},{create:we,defineProperty:ye,defineProperties:Ie,getOwnPropertyDescriptor:Oe}),e({target:"Object",stat:!0,forced:!y},{getOwnPropertyNames:We}),R(),j(le,K),A[_]=!0},27718:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(40224),o=n(18161),f=n(89458),V=n(7532),y=n(33314),S=n(26602),k=n(10069),C=n(70113),u=t.Symbol,c=u&&u.prototype;if(a&&V(u)&&(!("description"in c)||u().description!==void 0)){var m={},d=function(){function h(){var N=arguments.length<1||arguments[0]===void 0?void 0:S(arguments[0]),b=y(c,this)?new u(N):N===void 0?u():u(N);return N===""&&(m[b]=!0),b}return h}();C(d,u),d.prototype=c,c.constructor=d;var l=String(u("description detection"))==="Symbol(description detection)",s=o(c.valueOf),i=o(c.toString),p=/^Symbol\((.*)\)[^)]+$/,v=o("".replace),g=o("".slice);k(c,"description",{configurable:!0,get:function(){function h(){var N=s(this);if(f(m,N))return"";var b=i(N),B=l?g(b,7,-1):v(b,p,"$1");return B===""?void 0:B}return h}()}),e({global:!0,constructor:!0,forced:!0},{Symbol:d})}},18611:function(w,r,n){"use strict";var e=n(77549),a=n(40164),t=n(89458),o=n(26602),f=n(75130),V=n(80353),y=f("string-to-symbol-registry"),S=f("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!V},{for:function(){function k(C){var u=o(C);if(t(y,u))return y[u];var c=a("Symbol")(u);return y[u]=c,S[c]=u,c}return k}()})},86042:function(w,r,n){"use strict";var e=n(15388);e("hasInstance")},93267:function(w,r,n){"use strict";var e=n(15388);e("isConcatSpreadable")},41664:function(w,r,n){"use strict";var e=n(15388);e("iterator")},99414:function(w,r,n){"use strict";n(9056),n(18611),n(30661),n(12183),n(93146)},30661:function(w,r,n){"use strict";var e=n(77549),a=n(89458),t=n(74352),o=n(62518),f=n(75130),V=n(80353),y=f("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!V},{keyFor:function(){function S(k){if(!t(k))throw new TypeError(o(k)+" is not a symbol");if(a(y,k))return y[k]}return S}()})},48965:function(w,r,n){"use strict";var e=n(15388);e("match")},44844:function(w,r,n){"use strict";var e=n(15388);e("replace")},25030:function(w,r,n){"use strict";var e=n(15388);e("search")},96454:function(w,r,n){"use strict";var e=n(15388);e("species")},77564:function(w,r,n){"use strict";var e=n(15388);e("split")},44875:function(w,r,n){"use strict";var e=n(15388),a=n(75429);e("toPrimitive"),a()},77904:function(w,r,n){"use strict";var e=n(40164),a=n(15388),t=n(94234);a("toStringTag"),t(e("Symbol"),"Symbol")},35723:function(w,r,n){"use strict";var e=n(15388);e("unscopables")},84805:function(w,r,n){"use strict";var e=n(18161),a=n(72951),t=n(42320),o=e(t),f=a.aTypedArray,V=a.exportTypedArrayMethod;V("copyWithin",function(){function y(S,k){return o(f(this),S,k,arguments.length>2?arguments[2]:void 0)}return y}())},79305:function(w,r,n){"use strict";var e=n(72951),a=n(67480).every,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("every",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},71573:function(w,r,n){"use strict";var e=n(72951),a=n(59942),t=n(757),o=n(27806),f=n(62696),V=n(18161),y=n(41746),S=e.aTypedArray,k=e.exportTypedArrayMethod,C=V("".slice),u=y(function(){var c=0;return new Int8Array(2).fill({valueOf:function(){function m(){return c++}return m}()}),c!==1});k("fill",function(){function c(m){var d=arguments.length;S(this);var l=C(o(this),0,3)==="Big"?t(m):+m;return f(a,this,l,d>1?arguments[1]:void 0,d>2?arguments[2]:void 0)}return c}(),u)},47910:function(w,r,n){"use strict";var e=n(72951),a=n(67480).filter,t=n(80936),o=e.aTypedArray,f=e.exportTypedArrayMethod;f("filter",function(){function V(y){var S=a(o(this),y,arguments.length>1?arguments[1]:void 0);return t(this,S)}return V}())},99662:function(w,r,n){"use strict";var e=n(72951),a=n(67480).findIndex,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("findIndex",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},48447:function(w,r,n){"use strict";var e=n(72951),a=n(67480).find,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("find",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},68265:function(w,r,n){"use strict";var e=n(12218);e("Float32",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},36030:function(w,r,n){"use strict";var e=n(12218);e("Float64",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},57371:function(w,r,n){"use strict";var e=n(72951),a=n(67480).forEach,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("forEach",function(){function f(V){a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},68220:function(w,r,n){"use strict";var e=n(66220),a=n(72951).exportTypedArrayStaticMethod,t=n(7996);a("from",t,e)},15745:function(w,r,n){"use strict";var e=n(72951),a=n(64210).includes,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("includes",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},43398:function(w,r,n){"use strict";var e=n(72951),a=n(64210).indexOf,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("indexOf",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},25888:function(w,r,n){"use strict";var e=n(12218);e("Int16",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},35718:function(w,r,n){"use strict";var e=n(12218);e("Int32",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},32791:function(w,r,n){"use strict";var e=n(12218);e("Int8",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},97722:function(w,r,n){"use strict";var e=n(40224),a=n(41746),t=n(18161),o=n(72951),f=n(65809),V=n(66266),y=V("iterator"),S=e.Uint8Array,k=t(f.values),C=t(f.keys),u=t(f.entries),c=o.aTypedArray,m=o.exportTypedArrayMethod,d=S&&S.prototype,l=!a(function(){d[y].call([1])}),s=!!d&&d.values&&d[y]===d.values&&d.values.name==="values",i=function(){function p(){return k(c(this))}return p}();m("entries",function(){function p(){return u(c(this))}return p}(),l),m("keys",function(){function p(){return C(c(this))}return p}(),l),m("values",i,l||!s,{name:"values"}),m(y,i,l||!s,{name:"values"})},79088:function(w,r,n){"use strict";var e=n(72951),a=n(18161),t=e.aTypedArray,o=e.exportTypedArrayMethod,f=a([].join);o("join",function(){function V(y){return f(t(this),y)}return V}())},6075:function(w,r,n){"use strict";var e=n(72951),a=n(70918),t=n(16934),o=e.aTypedArray,f=e.exportTypedArrayMethod;f("lastIndexOf",function(){function V(y){var S=arguments.length;return a(t,o(this),S>1?[y,arguments[1]]:[y])}return V}())},46896:function(w,r,n){"use strict";var e=n(72951),a=n(67480).map,t=n(489),o=e.aTypedArray,f=e.exportTypedArrayMethod;f("map",function(){function V(y){return a(o(this),y,arguments.length>1?arguments[1]:void 0,function(S,k){return new(t(S))(k)})}return V}())},47145:function(w,r,n){"use strict";var e=n(72951),a=n(66220),t=e.aTypedArrayConstructor,o=e.exportTypedArrayStaticMethod;o("of",function(){function f(){for(var V=0,y=arguments.length,S=new(t(this))(y);y>V;)S[V]=arguments[V++];return S}return f}(),a)},349:function(w,r,n){"use strict";var e=n(72951),a=n(98405).right,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("reduceRight",function(){function f(V){var y=arguments.length;return a(t(this),V,y,y>1?arguments[1]:void 0)}return f}())},72606:function(w,r,n){"use strict";var e=n(72951),a=n(98405).left,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("reduce",function(){function f(V){var y=arguments.length;return a(t(this),V,y,y>1?arguments[1]:void 0)}return f}())},28292:function(w,r,n){"use strict";var e=n(72951),a=e.aTypedArray,t=e.exportTypedArrayMethod,o=Math.floor;t("reverse",function(){function f(){for(var V=this,y=a(V).length,S=o(y/2),k=0,C;k1?arguments[1]:void 0,1),v=V(i);if(d)return a(u,this,v,p);var g=this.length,h=o(v),N=0;if(h+p>g)throw new S("Wrong length");for(;Nm;)l[m]=u[m++];return l}return S}(),y)},74188:function(w,r,n){"use strict";var e=n(72951),a=n(67480).some,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("some",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},81976:function(w,r,n){"use strict";var e=n(40224),a=n(85067),t=n(41746),o=n(97361),f=n(44815),V=n(72951),y=n(49847),S=n(56605),k=n(82709),C=n(53125),u=V.aTypedArray,c=V.exportTypedArrayMethod,m=e.Uint16Array,d=m&&a(m.prototype.sort),l=!!d&&!(t(function(){d(new m(2),null)})&&t(function(){d(new m(2),{})})),s=!!d&&!t(function(){if(k)return k<74;if(y)return y<67;if(S)return!0;if(C)return C<602;var p=new m(516),v=Array(516),g,h;for(g=0;g<516;g++)h=g%4,p[g]=515-g,v[g]=g-2*h+3;for(d(p,function(N,b){return(N/4|0)-(b/4|0)}),g=0;g<516;g++)if(p[g]!==v[g])return!0}),i=function(v){return function(g,h){return v!==void 0?+v(g,h)||0:h!==h?-1:g!==g?1:g===0&&h===0?1/g>0&&1/h<0?1:-1:g>h}};c("sort",function(){function p(v){return v!==void 0&&o(v),s?d(this,v):f(u(this),i(v))}return p}(),!s||l)},78651:function(w,r,n){"use strict";var e=n(72951),a=n(10475),t=n(74067),o=n(489),f=e.aTypedArray,V=e.exportTypedArrayMethod;V("subarray",function(){function y(S,k){var C=f(this),u=C.length,c=t(S,u),m=o(C);return new m(C.buffer,C.byteOffset+c*C.BYTES_PER_ELEMENT,a((k===void 0?u:t(k,u))-c))}return y}())},81664:function(w,r,n){"use strict";var e=n(40224),a=n(70918),t=n(72951),o=n(41746),f=n(77713),V=e.Int8Array,y=t.aTypedArray,S=t.exportTypedArrayMethod,k=[].toLocaleString,C=!!V&&o(function(){k.call(new V(1))}),u=o(function(){return[1,2].toLocaleString()!==new V([1,2]).toLocaleString()})||!o(function(){V.prototype.toLocaleString.call([1,2])});S("toLocaleString",function(){function c(){return a(k,C?f(y(this)):y(this),f(arguments))}return c}(),u)},35579:function(w,r,n){"use strict";var e=n(72951).exportTypedArrayMethod,a=n(41746),t=n(40224),o=n(18161),f=t.Uint8Array,V=f&&f.prototype||{},y=[].toString,S=o([].join);a(function(){y.call({})})&&(y=function(){function C(){return S(this)}return C}());var k=V.toString!==y;e("toString",y,k)},99683:function(w,r,n){"use strict";var e=n(12218);e("Uint16",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},80941:function(w,r,n){"use strict";var e=n(12218);e("Uint32",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},45338:function(w,r,n){"use strict";var e=n(12218);e("Uint8",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},40737:function(w,r,n){"use strict";var e=n(12218);e("Uint8",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()},!0)},74283:function(w,r,n){"use strict";var e=n(56255),a=n(40224),t=n(18161),o=n(13648),f=n(29126),V=n(93439),y=n(32920),S=n(56831),k=n(35086).enforce,C=n(41746),u=n(90777),c=Object,m=Array.isArray,d=c.isExtensible,l=c.isFrozen,s=c.isSealed,i=c.freeze,p=c.seal,v=!a.ActiveXObject&&"ActiveXObject"in a,g,h=function(E){return function(){function M(){return E(this,arguments.length?arguments[0]:void 0)}return M}()},N=V("WeakMap",h,y),b=N.prototype,B=t(b.set),I=function(){return e&&C(function(){var E=i([]);return B(new N,E,1),!l(E)})};if(u)if(v){g=y.getConstructor(h,"WeakMap",!0),f.enable();var L=t(b.delete),T=t(b.has),x=t(b.get);o(b,{delete:function(){function A(E){if(S(E)&&!d(E)){var M=k(this);return M.frozen||(M.frozen=new g),L(this,E)||M.frozen.delete(E)}return L(this,E)}return A}(),has:function(){function A(E){if(S(E)&&!d(E)){var M=k(this);return M.frozen||(M.frozen=new g),T(this,E)||M.frozen.has(E)}return T(this,E)}return A}(),get:function(){function A(E){if(S(E)&&!d(E)){var M=k(this);return M.frozen||(M.frozen=new g),T(this,E)?x(this,E):M.frozen.get(E)}return x(this,E)}return A}(),set:function(){function A(E,M){if(S(E)&&!d(E)){var D=k(this);D.frozen||(D.frozen=new g),T(this,E)?B(this,E,M):D.frozen.set(E,M)}else B(this,E,M);return this}return A}()})}else I()&&o(b,{set:function(){function A(E,M){var D;return m(E)&&(l(E)?D=i:s(E)&&(D=p)),B(this,E,M),D&&D(E),this}return A}()})},84033:function(w,r,n){"use strict";n(74283)},82389:function(w,r,n){"use strict";var e=n(93439),a=n(32920);e("WeakSet",function(t){return function(){function o(){return t(this,arguments.length?arguments[0]:void 0)}return o}()},a)},71863:function(w,r,n){"use strict";n(82389)},73993:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(91314).clear;e({global:!0,bind:!0,enumerable:!0,forced:a.clearImmediate!==t},{clearImmediate:t})},55457:function(w,r,n){"use strict";n(73993),n(72532)},57399:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(27150),o=n(97361),f=n(22789),V=n(41746),y=n(14141),S=V(function(){return y&&Object.getOwnPropertyDescriptor(a,"queueMicrotask").value.length!==1});e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:S},{queueMicrotask:function(){function k(C){f(arguments.length,1),t(o(C))}return k}()})},72532:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(91314).set,o=n(83827),f=a.setImmediate?o(t,!1):t;e({global:!0,bind:!0,enumerable:!0,forced:a.setImmediate!==f},{setImmediate:f})},48112:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(83827),o=t(a.setInterval,!0);e({global:!0,bind:!0,forced:a.setInterval!==o},{setInterval:o})},82274:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(83827),o=t(a.setTimeout,!0);e({global:!0,bind:!0,forced:a.setTimeout!==o},{setTimeout:o})},65836:function(w,r,n){"use strict";n(48112),n(82274)},50719:function(w){"use strict";/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var r,n=[],e=[],a=function(){if(0)var k;window.onunload=function(){return r&&r.close()}},t=function(k){return e.push(k)},o=function(k){var C=[],u=function(l){return typeof l=="number"&&!Number.isFinite(l)?{__number__:String(l)}:typeof l=="undefined"?{__undefined__:!0}:l},c=function(l,s){if(typeof s=="object"){if(s===null)return s;if(C.includes(s))return"[circular ref]";C.push(s);var i=s instanceof Error||s.code&&s.message&&s.message.includes("Error");return i?{__error__:!0,string:String(s),stack:s.stack}:Array.isArray(s)?s.map(u):s}return u(s)},m=JSON.stringify(k,c);return C=null,m},f=function(k){if(0)var C,u,c},V=function(k,C){if(0)var u,c,m},y=function(){};w.exports={subscribe:t,sendMessage:f,sendLogEntry:V,setupHotReloading:y}}},bt={};function Y(w){var r=bt[w];if(r!==void 0)return r.exports;var n=bt[w]={exports:{}};return $t[w](n,n.exports,Y),n.exports}(function(){Y.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(w){if(typeof window=="object")return window}}()})(),function(){Y.o=function(w,r){return Object.prototype.hasOwnProperty.call(w,r)}}();var In={};(function(){"use strict";Y(99414),Y(27718),Y(46951),Y(86042),Y(93267),Y(41664),Y(48965),Y(44844),Y(25030),Y(96454),Y(77564),Y(44875),Y(77904),Y(35723),Y(65755),Y(35496),Y(76604),Y(24974),Y(6297),Y(5364),Y(35173),Y(16576),Y(88707),Y(21508),Y(86339),Y(81850),Y(98661),Y(13431),Y(65809),Y(8611),Y(97246),Y(48741),Y(90446),Y(509),Y(61902),Y(96149),Y(66617),Y(99883),Y(56855),Y(67869),Y(8291),Y(42811),Y(97824),Y(70238),Y(21664),Y(57348),Y(98878),Y(4624),Y(96097),Y(45022),Y(79155),Y(53397),Y(52037),Y(21698),Y(20509),Y(9530),Y(17814),Y(37812),Y(86551),Y(10940),Y(73763),Y(3372),Y(51629),Y(69727),Y(27482),Y(7108),Y(4115),Y(63953),Y(71377),Y(63956),Y(90037),Y(46818),Y(26681),Y(83646),Y(28876),Y(36385),Y(84295),Y(59785),Y(8846),Y(50237),Y(6436),Y(68286),Y(23940),Y(82425),Y(82118),Y(7419),Y(42409),Y(29002),Y(85795),Y(74722),Y(5300),Y(85684),Y(36014),Y(98551),Y(66288),Y(26862),Y(78686),Y(36789),Y(82707),Y(69740),Y(87847),Y(54789),Y(49626),Y(67660),Y(43619),Y(42777),Y(13045),Y(38664),Y(29650),Y(58176),Y(35286),Y(13313),Y(26528),Y(54959),Y(78129),Y(54412),Y(82427),Y(8390),Y(68260),Y(86508),Y(65971),Y(17134),Y(18972),Y(78623),Y(60149),Y(56380),Y(72792),Y(60631),Y(25168),Y(85177),Y(95880),Y(59978),Y(96360),Y(43108),Y(37801),Y(3044),Y(48432),Y(54564),Y(58179),Y(68164),Y(58880),Y(54465),Y(97327),Y(19114),Y(23797),Y(17337),Y(53713),Y(84469),Y(11121),Y(93073),Y(50800),Y(36),Y(30519),Y(33547),Y(53426),Y(32031),Y(13153),Y(21953),Y(83560),Y(63465),Y(98998),Y(96227),Y(15483),Y(86829),Y(68265),Y(36030),Y(32791),Y(25888),Y(35718),Y(45338),Y(40737),Y(99683),Y(80941),Y(84805),Y(79305),Y(71573),Y(47910),Y(48447),Y(99662),Y(57371),Y(68220),Y(15745),Y(43398),Y(97722),Y(79088),Y(6075),Y(46896),Y(47145),Y(72606),Y(349),Y(28292),Y(54890),Y(66368),Y(74188),Y(81976),Y(78651),Y(81664),Y(35579),Y(84033),Y(71863),Y(55457),Y(57399),Y(65836),Y(55776),Y(16666)})(),function(){"use strict";var w=Y(96524);Y(21965),Y(28169),Y(36487),Y(35739),Y(33631),Y(74785),Y(6895),Y(7455),Y(58823),Y(49265),Y(55350),Y(45503),Y(36557),Y(70555),Y(3251),Y(38265);var r=Y(63560),n=Y(50719),e=Y(39952),a=Y(29320),t=Y(7570),o=Y(98008),f=Y(92700),V;/** + */var r,n=[],e=[],a=function(){if(0)var k;window.onunload=function(){return r&&r.close()}},t=function(k){return e.push(k)},o=function(k){var C=[],u=function(l){return typeof l=="number"&&!Number.isFinite(l)?{__number__:String(l)}:typeof l=="undefined"?{__undefined__:!0}:l},c=function(l,s){if(typeof s=="object"){if(s===null)return s;if(C.includes(s))return"[circular ref]";C.push(s);var i=s instanceof Error||s.code&&s.message&&s.message.includes("Error");return i?{__error__:!0,string:String(s),stack:s.stack}:Array.isArray(s)?s.map(u):s}return u(s)},m=JSON.stringify(k,c);return C=null,m},f=function(k){if(0)var C,u,c},V=function(k,C){if(0)var u,c,m},y=function(){};w.exports={subscribe:t,sendMessage:f,sendLogEntry:V,setupHotReloading:y}}},bt={};function G(w){var r=bt[w];if(r!==void 0)return r.exports;var n=bt[w]={exports:{}};return $t[w](n,n.exports,G),n.exports}(function(){G.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(w){if(typeof window=="object")return window}}()})(),function(){G.o=function(w,r){return Object.prototype.hasOwnProperty.call(w,r)}}();var In={};(function(){"use strict";G(99414),G(27718),G(46951),G(86042),G(93267),G(41664),G(48965),G(44844),G(25030),G(96454),G(77564),G(44875),G(77904),G(35723),G(65755),G(35496),G(76604),G(24974),G(6297),G(5364),G(35173),G(16576),G(88707),G(21508),G(86339),G(81850),G(98661),G(13431),G(65809),G(8611),G(97246),G(48741),G(90446),G(509),G(61902),G(96149),G(66617),G(99883),G(56855),G(67869),G(8291),G(42811),G(97824),G(70238),G(21664),G(57348),G(98878),G(4624),G(96097),G(45022),G(79155),G(53397),G(52037),G(21698),G(20509),G(9530),G(17814),G(37812),G(86551),G(10940),G(73763),G(3372),G(51629),G(69727),G(27482),G(7108),G(4115),G(63953),G(71377),G(63956),G(90037),G(46818),G(26681),G(83646),G(28876),G(36385),G(84295),G(59785),G(8846),G(50237),G(6436),G(68286),G(23940),G(82425),G(82118),G(7419),G(42409),G(29002),G(85795),G(74722),G(5300),G(85684),G(36014),G(98551),G(66288),G(26862),G(78686),G(36789),G(82707),G(69740),G(87847),G(54789),G(49626),G(67660),G(43619),G(42777),G(13045),G(38664),G(29650),G(58176),G(35286),G(13313),G(26528),G(54959),G(78129),G(54412),G(82427),G(8390),G(68260),G(86508),G(65971),G(17134),G(18972),G(78623),G(60149),G(56380),G(72792),G(60631),G(25168),G(85177),G(95880),G(59978),G(96360),G(43108),G(37801),G(3044),G(48432),G(54564),G(58179),G(68164),G(58880),G(54465),G(97327),G(19114),G(23797),G(17337),G(53713),G(84469),G(11121),G(93073),G(50800),G(36),G(30519),G(33547),G(53426),G(32031),G(13153),G(21953),G(83560),G(63465),G(98998),G(96227),G(15483),G(86829),G(68265),G(36030),G(32791),G(25888),G(35718),G(45338),G(40737),G(99683),G(80941),G(84805),G(79305),G(71573),G(47910),G(48447),G(99662),G(57371),G(68220),G(15745),G(43398),G(97722),G(79088),G(6075),G(46896),G(47145),G(72606),G(349),G(28292),G(54890),G(66368),G(74188),G(81976),G(78651),G(81664),G(35579),G(84033),G(71863),G(55457),G(57399),G(65836),G(55776),G(16666)})(),function(){"use strict";var w=G(96524);G(21965),G(28169),G(36487),G(35739),G(33631),G(74785),G(6895),G(7455),G(58823),G(49265),G(55350),G(45503),G(36557),G(70555),G(3251),G(38265);var r=G(63560),n=G(50719),e=G(39952),a=G(29320),t=G(7570),o=G(98008),f=G(92700),V;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */r.perf.mark("inception",(V=window.performance)==null||(V=V.timing)==null?void 0:V.navigationStart),r.perf.mark("init");var y=(0,o.configureStore)(),S=(0,t.createRenderer)(function(){var C=Y(91807),u=C.getRoutedComponent,c=u(y);return(0,w.createComponentVNode)(2,o.StoreProvider,{store:y,children:(0,w.createComponentVNode)(2,c)})}),k=function C(){if(document.readyState==="loading"){document.addEventListener("DOMContentLoaded",C);return}(0,f.setupGlobalEvents)(),(0,e.setupHotKeys)(),(0,a.captureExternalLinks)(),y.subscribe(S),Byond.subscribe(function(u,c){return y.dispatch({type:u,payload:c})})};k()}()})();})(); + */r.perf.mark("inception",(V=window.performance)==null||(V=V.timing)==null?void 0:V.navigationStart),r.perf.mark("init");var y=(0,o.configureStore)(),S=(0,t.createRenderer)(function(){var C=G(91807),u=C.getRoutedComponent,c=u(y);return(0,w.createComponentVNode)(2,o.StoreProvider,{store:y,children:(0,w.createComponentVNode)(2,c)})}),k=function C(){if(document.readyState==="loading"){document.addEventListener("DOMContentLoaded",C);return}(0,f.setupGlobalEvents)(),(0,e.setupHotKeys)(),(0,a.captureExternalLinks)(),y.subscribe(S),Byond.subscribe(function(u,c){return y.dispatch({type:u,payload:c})})};k()}()})();})();