diff --git a/code/__defines/dcs/signals.dm b/code/__defines/dcs/signals.dm
index a72788d41a..4947337598 100644
--- a/code/__defines/dcs/signals.dm
+++ b/code/__defines/dcs/signals.dm
@@ -232,8 +232,6 @@
#define COMSIG_MOVABLE_MOVED "movable_moved"
///from base of atom/movable/Cross(): (/atom/movable)
#define COMSIG_MOVABLE_CROSS "movable_cross"
-///from base of atom/movable/Crossed(): (/atom/movable)
-#define COMSIG_MOVABLE_CROSSED "movable_crossed"
///when we cross over something (calling Crossed() on that atom)
#define COMSIG_CROSSED_MOVABLE "crossed_movable"
///from base of atom/movable/Bump(): (/atom)
diff --git a/code/__defines/turfs.dm b/code/__defines/turfs.dm
index 679b83fa4a..1c4b228b63 100644
--- a/code/__defines/turfs.dm
+++ b/code/__defines/turfs.dm
@@ -22,3 +22,9 @@
#define IS_OPAQUE_TURF(turf) (turf.directional_opacity == ALL_CARDINALS)
#define IS_OPAQUE_TURF_DIR(turf, dir) (turf.directional_opacity & dir)
#define FOOTSTEP_SPRITE_AMT 2
+
+// Used to designate if a turf (or its area) should initialize as outdoors or not.
+#define OUTDOORS_YES 1 // This being 1 helps with backwards compatibility.
+#define OUTDOORS_NO 0 // Ditto.
+#define OUTDOORS_AREA -1 // If a turf has this, it will defer to the area's settings on init.
+ // Note that after init, it will be either YES or NO.
diff --git a/code/_helpers/turfs.dm b/code/_helpers/turfs.dm
index ffef724172..cc90829619 100644
--- a/code/_helpers/turfs.dm
+++ b/code/_helpers/turfs.dm
@@ -104,6 +104,9 @@
//Are we doing shuttlework? Just to save another type check later.
var/shuttlework = 0
+ T.pre_translate_A(B)
+ B.pre_translate_B(T)
+
//Shuttle turfs handle their own fancy moving.
if(istype(T,/turf/simulated/shuttle))
shuttlework = 1
@@ -116,7 +119,6 @@
var/old_dir1 = T.dir
var/old_icon_state1 = T.icon_state
var/old_icon1 = T.icon
- var/old_underlays = T.underlays.Copy()
var/old_decals = T.decals ? T.decals.Copy() : null
X = B.ChangeTurf(T.type)
@@ -124,7 +126,6 @@
X.icon_state = old_icon_state1
X.icon = old_icon1
X.copy_overlays(T, TRUE)
- X.underlays = old_underlays
X.decals = old_decals
//Move the air from source to dest
@@ -164,6 +165,9 @@
else
T.ChangeTurf(get_base_turf_by_area(T))
+ T.post_translate_A(B)
+ B.post_translate_B(T)
+
return TRUE
//Used for border objects. This returns true if this atom is on the border between the two specified turfs
diff --git a/code/controllers/subsystems/planets.dm b/code/controllers/subsystems/planets.dm
index 5486034871..4dae77ccbe 100644
--- a/code/controllers/subsystems/planets.dm
+++ b/code/controllers/subsystems/planets.dm
@@ -34,7 +34,7 @@ SUBSYSTEM_DEF(planets)
// DO NOT CALL THIS DIRECTLY UNLESS IT'S IN INITIALIZE,
// USE turf/simulated/proc/make_indoors() and
-// tyrf/simulated/proc/make_outdoors()
+// turf/simulated/proc/make_outdoors()
/datum/controller/subsystem/planets/proc/addTurf(var/turf/T)
if(z_to_planet.len >= T.z && z_to_planet[T.z])
var/datum/planet/P = z_to_planet[T.z]
@@ -42,7 +42,7 @@ SUBSYSTEM_DEF(planets)
return
if(istype(T, /turf/unsimulated/wall/planetary))
P.planet_walls += T
- else if(istype(T, /turf/simulated) && T.outdoors)
+ else if(istype(T, /turf/simulated) && T.is_outdoors())
P.planet_floors += T
P.weather_holder.apply_to_turf(T)
P.sun_holder.apply_to_turf(T)
diff --git a/code/controllers/subsystems/skybox.dm b/code/controllers/subsystems/skybox.dm
index 99f69ec595..52065ad241 100644
--- a/code/controllers/subsystems/skybox.dm
+++ b/code/controllers/subsystems/skybox.dm
@@ -122,9 +122,15 @@ SUBSYSTEM_DEF(skybox)
if(istype(O))
var/image/self_image = O.generate_skybox(z)
new_overlays += self_image
- for(var/obj/effect/overmap/visitable/other in O.loc)
- if(other != O)
- new_overlays += other.get_skybox_representation(z)
+ //VOREStation Add
+ if(isbelly(O.loc)) // Teehee
+ base.icon = 'icons/skybox/skybox_vr.dmi'
+ base.icon_state = "flesh"
+ //VOREStation Add End
+ else
+ for(var/obj/effect/overmap/visitable/other in O.loc)
+ if(other != O)
+ new_overlays += other.get_skybox_representation(z)
// Allow events to apply custom overlays to skybox! (Awesome!)
for(var/datum/event/E in SSevents.active_events)
diff --git a/code/controllers/subsystems/throwing.dm b/code/controllers/subsystems/throwing.dm
new file mode 100644
index 0000000000..3b908ac393
--- /dev/null
+++ b/code/controllers/subsystems/throwing.dm
@@ -0,0 +1,207 @@
+#define MAX_THROWING_DIST 1280 // 5 z-levels on default width
+#define MAX_TICKS_TO_MAKE_UP 3 //how many missed ticks will we attempt to make up for this run.
+
+SUBSYSTEM_DEF(throwing)
+ name = "Throwing"
+ wait = 1
+ flags = SS_NO_INIT|SS_KEEP_TIMING
+
+ var/list/currentrun
+ var/list/processing = list()
+
+/datum/controller/subsystem/throwing/stat_entry()
+ ..("P:[processing.len]")
+
+/datum/controller/subsystem/throwing/fire(resumed = 0)
+ if (!resumed)
+ src.currentrun = processing.Copy()
+
+ //cache for sanic speed (lists are references anyways)
+ var/list/currentrun = src.currentrun
+
+ while(length(currentrun))
+ var/atom/movable/AM = currentrun[currentrun.len]
+ var/datum/thrownthing/TT = currentrun[AM]
+ currentrun.len--
+ if (QDELETED(AM) || QDELETED(TT))
+ processing -= AM
+ if (MC_TICK_CHECK)
+ return
+ continue
+
+ TT.tick()
+
+ if (MC_TICK_CHECK)
+ return
+
+ currentrun = null
+
+/datum/thrownthing
+ var/atom/movable/thrownthing
+ var/atom/target
+ var/turf/target_turf
+ var/target_zone
+ var/init_dir
+ var/maxrange
+ var/speed
+ var/mob/thrower
+ var/start_time
+ var/dist_travelled = 0
+ var/dist_x
+ var/dist_y
+ var/dx
+ var/dy
+ var/diagonal_error
+ var/pure_diagonal
+ var/datum/callback/callback
+ var/paused = FALSE
+ var/delayed_time = 0
+ var/last_move = 0
+
+/datum/thrownthing/New(var/atom/movable/thrownthing, var/atom/target, var/range, var/speed, var/mob/thrower, var/datum/callback/callback)
+ src.thrownthing = thrownthing
+ src.target = target
+ src.target_turf = get_turf(target)
+ src.init_dir = get_dir(thrownthing, target)
+ src.maxrange = range
+ src.speed = speed
+ src.thrower = thrower
+ src.callback = callback
+ if(!QDELETED(thrower))
+ src.target_zone = thrower.zone_sel ? thrower.zone_sel.selecting : null
+
+ dist_x = abs(target.x - thrownthing.x)
+ dist_y = abs(target.y - thrownthing.y)
+ dx = (target.x > thrownthing.x) ? EAST : WEST
+ dy = (target.y > thrownthing.y) ? NORTH : SOUTH//same up to here
+
+ if (dist_x == dist_y)
+ pure_diagonal = TRUE
+
+ else if(dist_x <= dist_y)
+ var/olddist_x = dist_x
+ var/olddx = dx
+ dist_x = dist_y
+ dist_y = olddist_x
+ dx = dy
+ dy = olddx
+
+ diagonal_error = dist_x/2 - dist_y
+
+ start_time = world.time
+
+/datum/thrownthing/Destroy()
+ SSthrowing.processing -= thrownthing
+ thrownthing.throwing = null
+ thrownthing = null
+ target = null
+ thrower = null
+ callback = null
+ return ..()
+
+/datum/thrownthing/proc/tick()
+ var/atom/movable/AM = thrownthing
+ if (!isturf(AM.loc) || !AM.throwing)
+ finalize()
+ return
+
+ if(paused)
+ delayed_time += world.time - last_move
+ return
+
+ if (dist_travelled && hitcheck(get_turf(thrownthing))) //to catch sneaky things moving on our tile while we slept
+ finalize()
+ return
+
+ var/area/A = get_area(AM.loc)
+ var/atom/step
+
+ last_move = world.time
+
+ //calculate how many tiles to move, making up for any missed ticks.
+ var/tilestomove = CEILING(min(((((world.time+world.tick_lag) - start_time + delayed_time) * speed) - (dist_travelled ? dist_travelled : -1)), speed*MAX_TICKS_TO_MAKE_UP) * (world.tick_lag * SSthrowing.wait), 1)
+ while (tilestomove-- > 0)
+ if ((dist_travelled >= maxrange || AM.loc == target_turf) && (A && A.has_gravity()))
+ finalize()
+ return
+
+ if (dist_travelled <= max(dist_x, dist_y)) //if we haven't reached the target yet we home in on it, otherwise we use the initial direction
+ step = get_step(AM, get_dir(AM, target_turf))
+ else
+ step = get_step(AM, init_dir)
+
+ if (!pure_diagonal) // not a purely diagonal trajectory and we don't want all diagonal moves to be done first
+ if (diagonal_error >= 0 && max(dist_x,dist_y) - dist_travelled != 1) //we do a step forward unless we're right before the target
+ step = get_step(AM, dx)
+ diagonal_error += (diagonal_error < 0) ? dist_x/2 : -dist_y
+
+ if (!step) // going off the edge of the map makes get_step return null, don't let things go off the edge
+ finalize()
+ return
+
+ if (hitcheck(step))
+ finalize()
+ return
+
+ AM.Move(step, get_dir(AM, step))
+
+ if (!AM.throwing) // we hit something during our move
+ finalize(hit = TRUE)
+ return
+
+ dist_travelled++
+
+ if (dist_travelled > MAX_THROWING_DIST)
+ finalize()
+ return
+
+ A = get_area(AM.loc)
+
+/datum/thrownthing/proc/finalize(hit = FALSE, t_target=null)
+ set waitfor = FALSE
+ //done throwing, either because it hit something or it finished moving
+ if(QDELETED(thrownthing))
+ return
+ thrownthing.throwing = null
+ if (!hit)
+ for (var/thing in get_turf(thrownthing)) //looking for our target on the turf we land on.
+ var/atom/A = thing
+ if (A == target)
+ hit = TRUE
+ thrownthing.throw_impact(A, speed)
+ break
+ if (!hit)
+ thrownthing.throw_impact(get_turf(thrownthing), speed) // we haven't hit something yet and we still must, let's hit the ground.
+
+ if(ismob(thrownthing))
+ var/mob/M = thrownthing
+ M.inertia_dir = init_dir
+
+ if(t_target && !QDELETED(thrownthing))
+ thrownthing.throw_impact(t_target, speed)
+
+ if (callback)
+ callback.Invoke()
+
+ if (!QDELETED(thrownthing))
+ thrownthing.fall()
+
+ qdel(src)
+
+/datum/thrownthing/proc/hit_atom(atom/A)
+ finalize(hit=TRUE, t_target=A)
+
+/datum/thrownthing/proc/hitcheck(var/turf/T)
+ var/atom/movable/hit_thing
+ for (var/thing in T)
+ var/atom/movable/AM = thing
+ if (AM == thrownthing || (AM == thrower && !ismob(thrownthing)))
+ continue
+ if (!AM.density || AM.throwpass)//check if ATOM_FLAG_CHECKS_BORDER as an atom_flag is needed
+ continue
+ if (!hit_thing || AM.layer > hit_thing.layer)
+ hit_thing = AM
+
+ if(hit_thing)
+ finalize(hit=TRUE, t_target=hit_thing)
+ return TRUE
\ No newline at end of file
diff --git a/code/datums/components/crafting/crafting.dm b/code/datums/components/crafting/crafting.dm
index c4d8bcc3d4..c866711ab5 100644
--- a/code/datums/components/crafting/crafting.dm
+++ b/code/datums/components/crafting/crafting.dm
@@ -8,6 +8,8 @@
var/datum/hud/H = user.hud_used
var/obj/screen/craft/C = new()
C.icon = H.ui_style
+ C.color = H.ui_color
+ C.alpha = H.ui_alpha
LAZYADD(H.other_important, C)
CL.screen += C
RegisterSignal(C, COMSIG_CLICK, .proc/component_ui_interact)
@@ -392,7 +394,7 @@
cur_subcategory = subcats[1]
else
cur_subcategory = CAT_NONE
-
+
var/list/data = list()
data["busy"] = busy
data["category"] = cur_category
diff --git a/code/datums/elements/turf_transparency.dm b/code/datums/elements/turf_transparency.dm
index e8808c58a0..073f076659 100644
--- a/code/datums/elements/turf_transparency.dm
+++ b/code/datums/elements/turf_transparency.dm
@@ -34,6 +34,8 @@
if(!show_bottom_level(our_turf) && prune_on_fail) //If we cant show whats below, and we prune on fail, change the turf to plating as a fallback
our_turf.ChangeTurf(/turf/simulated/floor/plating)
return FALSE
+ else
+ return TRUE
if(init)
below_turf?.update_icon() // So the 'ceiling-less' overlay gets added.
our_turf.vis_contents += below_turf
@@ -67,11 +69,11 @@
/datum/element/turf_z_transparency/proc/show_bottom_level(turf/our_turf)
if(!show_bottom_level)
return FALSE
- var/turf/path = get_base_turf(our_turf.z) || /turf/space
+ var/turf/path = get_base_turf_by_area(our_turf) || /turf/space
if(!ispath(path))
path = text2path(path)
if(!ispath(path))
- warning("Z-level [our_turf.z] has invalid baseturf '[get_base_turf(our_turf.z)]'")
+ warning("Z-level [our_turf] has invalid baseturf '[get_base_turf_by_area(our_turf)]' in area '[get_area(our_turf)]'")
path = /turf/space
var/do_plane = ispath(path, /turf/space) ? SPACE_PLANE : null
diff --git a/code/game/atoms_movable.dm b/code/game/atoms_movable.dm
index 9d61505cc6..195e02e8fa 100644
--- a/code/game/atoms_movable.dm
+++ b/code/game/atoms_movable.dm
@@ -256,10 +256,6 @@
. = TRUE
return .
-//oldloc = old location on atom, inserted when forceMove is called and ONLY when forceMove is called!
-/atom/movable/Crossed(atom/movable/AM, oldloc)
- return
-
/atom/movable/Bump(atom/A)
if(!A)
CRASH("Bump was called with no argument.")
@@ -422,92 +418,24 @@
continue
src.throw_impact(A,speed)
-/atom/movable/proc/throw_at(atom/target, range, speed, thrower)
- if(!target || !src)
- return 0
- if(target.z != src.z)
- return 0
- //use a modified version of Bresenham's algorithm to get from the atom's current position to that of the target
- src.throwing = 1
- src.thrower = thrower
- src.throw_source = get_turf(src) //store the origin turf
- src.pixel_z = 0
- if(usr)
- if(HULK in usr.mutations)
- src.throwing = 2 // really strong throw!
+/atom/movable/proc/throw_at(atom/target, range, speed, mob/thrower, spin = TRUE, datum/callback/callback) //If this returns FALSE then callback will not be called.
+ . = TRUE
+ if (!target || speed <= 0 || QDELETED(src) || (target.z != src.z))
+ return FALSE
- var/dist_travelled = 0
- var/dist_since_sleep = 0
- var/area/a = get_area(src.loc)
+ if (pulledby)
+ pulledby.stop_pulling()
- var/dist_x = abs(target.x - src.x)
- var/dist_y = abs(target.y - src.y)
+ var/datum/thrownthing/TT = new(src, target, range, speed, thrower, callback)
+ throwing = TT
- var/dx
- if (target.x > src.x)
- dx = EAST
- else
- dx = WEST
-
- var/dy
- if (target.y > src.y)
- dy = NORTH
- else
- dy = SOUTH
-
- var/error
- var/major_dir
- var/major_dist
- var/minor_dir
- var/minor_dist
- if(dist_x > dist_y)
- error = dist_x/2 - dist_y
- major_dir = dx
- major_dist = dist_x
- minor_dir = dy
- minor_dist = dist_y
- else
- error = dist_y/2 - dist_x
- major_dir = dy
- major_dist = dist_y
- minor_dir = dx
- minor_dist = dist_x
-
- range = min(dist_x + dist_y, range)
-
- while(src && target && src.throwing && istype(src.loc, /turf) \
- && ((abs(target.x - src.x)+abs(target.y - src.y) > 0 && dist_travelled < range) \
- || (a && a.has_gravity == 0) \
- || istype(src.loc, /turf/space)))
- // only stop when we've gone the whole distance (or max throw range) and are on a non-space tile, or hit something, or hit the end of the map, or someone picks it up
- var/atom/step
- if(error >= 0)
- step = get_step(src, major_dir)
- error -= minor_dist
- else
- step = get_step(src, minor_dir)
- error += major_dist
- if(!step) // going off the edge of the map makes get_step return null, don't let things go off the edge
- break
- src.Move(step)
- hit_check(speed)
- dist_travelled++
- dist_since_sleep++
- if(dist_since_sleep >= speed)
- dist_since_sleep = 0
- sleep(1)
- a = get_area(src.loc)
- // and yet it moves
- if(src.does_spin)
- src.SpinAnimation(speed = 4, loops = 1)
-
- //done throwing, either because it hit something or it finished moving
- if(isobj(src)) src.throw_impact(get_turf(src),speed)
- src.throwing = 0
- src.thrower = null
- src.throw_source = null
- fall()
+ pixel_z = 0
+ if(spin && does_spin)
+ SpinAnimation(4,1)
+ SSthrowing.processing[src] = TT
+ if (SSthrowing.state == SS_PAUSED && length(SSthrowing.currentrun))
+ SSthrowing.currentrun[src] = TT
//Overlays
/atom/movable/overlay
diff --git a/code/game/dna/dna2_helpers.dm b/code/game/dna/dna2_helpers.dm
index 8371c395a4..3d945e5816 100644
--- a/code/game/dna/dna2_helpers.dm
+++ b/code/game/dna/dna2_helpers.dm
@@ -260,6 +260,7 @@
/mob/living/carbon/human/proc/force_update_organs()
for(var/obj/item/organ/O as anything in organs + internal_organs)
O.species = species
+ species.post_spawn_special(src)
//VOREStation Add End
// Used below, simple injection modifier.
diff --git a/code/game/machinery/clawmachine.dm b/code/game/machinery/clawmachine.dm
new file mode 100644
index 0000000000..ff65f31c84
--- /dev/null
+++ b/code/game/machinery/clawmachine.dm
@@ -0,0 +1,209 @@
+
+//Original Codebase created by Shadowfire117#1269 - Ported from CHOMPstation
+//Modified by GhostActual#2055 to produce Claw Machine
+
+/*
+ * Space Crane
+ */
+
+/obj/machinery/clawmachine
+ name = "Space Crane"
+ desc = "Try your luck at winning a cute plush toy! No refunds, and whining won't win you anything."
+ icon = 'icons/obj/computer.dmi'
+ icon_state = "clawmachine"
+ anchored = 1
+ density = 1
+ power_channel = EQUIP
+ use_power = USE_POWER_IDLE
+ idle_power_usage = 10
+ active_power_usage = 100
+ light_power = 0.9
+ light_range = 2
+ light_color = "#B1FBBFF"
+ var/isbroken = 0 //1 if someone banged it with something heavy
+ var/ispowered = 1 //starts powered, changes with power_change()
+ var/busy = 0
+ var/symbol1 = null
+ var/symbol2 = null
+ var/symbol3 = null
+ var/list/prizes = list(/obj/random/carp_plushie,
+ /obj/item/toy/plushie/nymph,
+ /obj/item/toy/plushie/teshari,
+ /obj/item/toy/plushie/mouse,
+ /obj/item/toy/plushie/kitten,
+ /obj/item/toy/plushie/lizard,
+ /obj/item/toy/plushie/spider,
+ /obj/item/toy/plushie/farwa,
+ /obj/item/toy/plushie/corgi,
+ /obj/item/toy/plushie/girly_corgi,
+ /obj/item/toy/plushie/robo_corgi,
+ /obj/item/toy/plushie/octopus,
+ /obj/item/toy/plushie/face_hugger,
+ /obj/item/toy/plushie/red_fox,
+ /obj/item/toy/plushie/black_fox,
+ /obj/item/toy/plushie/marble_fox,
+ /obj/item/toy/plushie/blue_fox,
+ /obj/item/toy/plushie/orange_fox,
+ /obj/item/toy/plushie/coffee_fox,
+ /obj/item/toy/plushie/pink_fox,
+ /obj/item/toy/plushie/purple_fox,
+ /obj/item/toy/plushie/crimson_fox,
+ /obj/item/toy/plushie/deer,
+ /obj/item/toy/plushie/black_cat,
+ /obj/item/toy/plushie/grey_cat,
+ /obj/item/toy/plushie/white_cat,
+ /obj/item/toy/plushie/orange_cat,
+ /obj/item/toy/plushie/siamese_cat,
+ /obj/item/toy/plushie/tabby_cat,
+ /obj/item/toy/plushie/tuxedo_cat,
+ /obj/item/toy/plushie/borgplushie/medihound,
+ /obj/item/toy/plushie/borgplushie/scrubpuppy,
+ /obj/item/toy/plushie/borgplushie/drakiesec,
+ /obj/item/toy/plushie/borgplushie/drakiemed,
+ /obj/item/toy/plushie/otter
+ )
+
+/obj/machinery/clawmachine/update_icon()
+ cut_overlays()
+ if(!ispowered || isbroken)
+ icon_state = "clawmachine_off"
+ if(isbroken) //If the thing is smashed, add crack overlay on top of the unpowered sprite.
+ add_overlay("clawmachine_broken")
+ set_light(0)
+ set_light_on(FALSE)
+ return
+
+ icon_state = "clawmachine"
+ set_light(2)
+ set_light_on(TRUE)
+ return
+
+/obj/machinery/clawmachine/power_change()
+ if(isbroken) //Broken shit can't be powered.
+ return
+ ..()
+ if(!(stat & NOPOWER))
+ ispowered = 1
+ update_icon()
+ else
+ spawn(rand(0, 15))
+ ispowered = 0
+ update_icon()
+
+/obj/machinery/clawmachine/attackby(obj/item/weapon/W as obj, mob/user as mob)
+ if(busy)
+ to_chat(user,"The claw machine is currently running. ")
+ return
+ if(W.is_wrench())
+ playsound(src, W.usesound, 100, 1)
+ if(anchored)
+ user.visible_message("[user] begins unsecuring \the [src] from the floor.", "You start unsecuring \the [src] from the floor.")
+ else
+ user.visible_message("[user] begins securing \the [src] to the floor.", "You start securing \the [src] to the floor.")
+
+ if(do_after(user, 20 * W.toolspeed))
+ if(!src) return
+ to_chat(user, "You [anchored? "un" : ""]secured \the [src]! ")
+ anchored = !anchored
+ return
+
+ if(!anchored)
+ to_chat(user," The machine isn't secured. ")
+ return
+
+ var/handled = 0
+ var/paid = 0
+
+ if(istype(W, /obj/item/weapon/spacecash))
+ var/obj/item/weapon/spacecash/C = W
+ paid = insert_cash(C, user)
+ handled = 1
+ if(paid)
+ return
+ if(handled)
+ SStgui.update_uis(src)
+ return // don't smack that machine with your 2 chips
+
+ else if(!(stat & NOPOWER))
+ return
+
+ else if(isbroken)
+ return
+
+/obj/machinery/clawmachine/proc/prizevend()
+ if(LAZYLEN(prizes))
+ var/prizeselect = pickweight(prizes)
+ new prizeselect(src.loc)
+
+/obj/machinery/clawmachine/proc/insert_cash(var/obj/item/weapon/spacecash/cashmoney, mob/user)
+ if (ispowered == 0)
+ return
+ if (isbroken)
+ return
+ if(busy)
+ to_chat(user,"The claw machine is currently running. ")
+ return
+ if(cashmoney.worth < 5)
+ to_chat(user,"You dont have enough Thalers to play! ")
+ return
+
+ to_chat(user,"You put 5 Thalers in the claw machine and press start. ")
+ cashmoney.worth -= 5
+ cashmoney.update_icon()
+
+ if(cashmoney.worth <= 0)
+ usr.drop_from_inventory(cashmoney)
+ qdel(cashmoney)
+ cashmoney.update_icon()
+
+ busy = 1
+ icon_state = "clawmachine_play"
+ playsound(src.loc, 'sound/machines/clawmachine_play.ogg', 50, 0)
+
+ var/slot1 = rand(0,4)
+ switch(slot1)
+ if(0 to 2) symbol1 = "one"
+ if(3 to 4) symbol1 = "two"
+
+ var/slot2 = rand(0,4)
+ switch(slot2)
+ if(0 to 2) symbol2 = "one"
+ if(3 to 4) symbol2 = "two"
+
+ var/slot3 = rand(0,4)
+ switch(slot3)
+ if(0 to 2) symbol3 = "one"
+ if(3 to 4) symbol3 = "two"
+
+ var/output //Output variable to send out in chat after the large if statement.
+ var/winnings = 0 //If you win a toy or not
+ var/delaytime = 7 SECONDS
+
+ spawn(delaytime)
+ to_chat(user,"The clam machine lights up and starts to play! ")
+
+ if (symbol1 == "one" && symbol2 == "one" && symbol3 == "one")
+ output = "Hooray! You Win! "
+ winnings = TRUE
+
+ if (symbol1 == "two" && symbol2 == "two" && symbol3 == "two")
+ output = "Hooray! You Win!! "
+ winnings = TRUE
+
+ icon_state = initial(icon_state) // Set it back to the original iconstate.
+
+ if(!output) // Is there anything to output? If not, consider it a loss.
+ to_chat(user,"Better luck next time!")
+ busy = FALSE
+ return
+
+ to_chat(user,output) //Output message
+
+ if(winnings) //Did the person win?
+ icon_state = "clawmachine_win"
+ prizevend()
+ playsound(src.loc, 'sound/machines/clawmachine_win.ogg', 50, 0)
+ spawn(delaytime)
+ icon_state = "clawmachine"
+
+ busy = FALSE
\ No newline at end of file
diff --git a/code/game/machinery/computer/arcade.dm b/code/game/machinery/computer/arcade.dm
index a5e38b6de5..b4d66b3a08 100644
--- a/code/game/machinery/computer/arcade.dm
+++ b/code/game/machinery/computer/arcade.dm
@@ -40,7 +40,7 @@
var/atom/movable/AM = pick_n_take(special_prizes)
AM.forceMove(get_turf(src))
special_prizes -= AM
-
+
else if(LAZYLEN(prizes))
var/prizeselect = pickweight(prizes)
new prizeselect(src.loc)
@@ -1322,7 +1322,7 @@
gameStatus = "CLAWMACHINE_NEW"
emagged = 1
return 1
-
+
/obj/machinery/computer/arcade/attackby(obj/item/O, mob/user, params)
if(istype(O, /obj/item/stack/arcadeticket))
var/obj/item/stack/arcadeticket/T = O
diff --git a/code/game/machinery/computer/computer.dm b/code/game/machinery/computer/computer.dm
index ac06e34a86..d6847d7cf4 100644
--- a/code/game/machinery/computer/computer.dm
+++ b/code/game/machinery/computer/computer.dm
@@ -66,6 +66,21 @@
. = list()
+ // Connecty
+ if(initial(icon_state) == "computer")
+ var/append_string = ""
+ var/left = turn(dir, 90)
+ var/right = turn(dir, -90)
+ var/turf/L = get_step(src, left)
+ var/turf/R = get_step(src, right)
+ var/obj/machinery/computer/LC = locate() in L
+ var/obj/machinery/computer/RC = locate() in R
+ if(LC && LC.dir == dir && initial(LC.icon_state) == "computer")
+ append_string += "_L"
+ if(RC && RC.dir == dir && initial(RC.icon_state) == "computer")
+ append_string += "_R"
+ icon_state = "computer[append_string]"
+
if(icon_keyboard)
if(stat & NOPOWER)
playsound(src, 'sound/machines/terminal_off.ogg', 50, 1)
@@ -76,6 +91,7 @@
var/overlay_state = icon_screen
if(stat & BROKEN)
overlay_state = "[icon_state]_broken"
+
. += mutable_appearance(icon, overlay_state)
. += emissive_appearance(icon, overlay_state)
playsound(src, 'sound/machines/terminal_on.ogg', 50, 1)
diff --git a/code/game/machinery/jukebox.dm b/code/game/machinery/jukebox.dm
index 12027e3259..955b99009a 100644
--- a/code/game/machinery/jukebox.dm
+++ b/code/game/machinery/jukebox.dm
@@ -12,8 +12,8 @@
name = "space jukebox"
desc = "Filled with songs both past and present!"
icon = 'icons/obj/jukebox.dmi'
- icon_state = "jukebox2-nopower"
- var/state_base = "jukebox2"
+ icon_state = "jukebox-nopower"
+ var/state_base = "jukebox"
anchored = TRUE
density = TRUE
power_channel = EQUIP
diff --git a/code/game/mecha/equipment/weapons/ballistic/mortar.dm b/code/game/mecha/equipment/weapons/ballistic/mortar.dm
index c192d0fc9b..cc20f82acf 100644
--- a/code/game/mecha/equipment/weapons/ballistic/mortar.dm
+++ b/code/game/mecha/equipment/weapons/ballistic/mortar.dm
@@ -18,7 +18,7 @@
/obj/item/mecha_parts/mecha_equipment/weapon/ballistic/mortar/action_checks(atom/target)
var/turf/MT = get_turf(chassis)
var/turf/TT = get_turf(target)
- if(!MT.outdoors || !TT.outdoors)
+ if(!MT.is_outdoors() || !TT.is_outdoors())
to_chat(chassis.occupant, "\The [src]'s control system prevents you from firing due to a blocked firing arc. ")
return 0
return ..()
\ No newline at end of file
diff --git a/code/game/objects/effects/overlays.dm b/code/game/objects/effects/overlays.dm
index e4ecebfc24..11e722d744 100644
--- a/code/game/objects/effects/overlays.dm
+++ b/code/game/objects/effects/overlays.dm
@@ -184,3 +184,10 @@
stack_trace("Directional light cone deleted, but not by our component")
return QDEL_HINT_LETMELIVE
return ..()
+
+/obj/effect/overlay/closet_door
+ anchored = TRUE
+ plane = FLOAT_PLANE
+ layer = FLOAT_LAYER
+ vis_flags = VIS_INHERIT_ID
+ appearance_flags = KEEP_TOGETHER | LONG_GLIDE | PIXEL_SCALE
diff --git a/code/game/objects/effects/step_triggers.dm b/code/game/objects/effects/step_triggers.dm
index 957cd246e6..56cc000dc9 100644
--- a/code/game/objects/effects/step_triggers.dm
+++ b/code/game/objects/effects/step_triggers.dm
@@ -220,7 +220,7 @@ var/global/list/tele_landmarks = list() // Terrible, but the alternative is loop
if(!istype(candidate) || istype(candidate, /turf/simulated/sky))
safety--
continue
- else if(candidate && !candidate.outdoors)
+ else if(candidate && !candidate.is_outdoors())
safety--
continue
else
diff --git a/code/game/objects/items/bodybag.dm b/code/game/objects/items/bodybag.dm
index 18c152c770..8c4efa8d3f 100644
--- a/code/game/objects/items/bodybag.dm
+++ b/code/game/objects/items/bodybag.dm
@@ -26,6 +26,7 @@
closet_appearance = null
open_sound = 'sound/items/zip.ogg'
close_sound = 'sound/items/zip.ogg'
+ door_anim_time = 0 //Unsupported
var/item_path = /obj/item/bodybag
density = FALSE
storage_capacity = (MOB_MEDIUM * 2) - 1
diff --git a/code/game/objects/items/poi_items.dm b/code/game/objects/items/poi_items.dm
index 2c05f0cfca..8e65ac005b 100644
--- a/code/game/objects/items/poi_items.dm
+++ b/code/game/objects/items/poi_items.dm
@@ -65,6 +65,7 @@
closet_appearance = null
catalogue_data = list(/datum/category_item/catalogue/information/objects/oldreactor)
climbable = FALSE
+ door_anim_time = 0 //Unsupported
starts_with = list(
/obj/item/weapon/fuel_assembly/deuterium = 6)
diff --git a/code/game/objects/items/weapons/storage/wallets.dm b/code/game/objects/items/weapons/storage/wallets.dm
index 4161ae740b..b36078028b 100644
--- a/code/game/objects/items/weapons/storage/wallets.dm
+++ b/code/game/objects/items/weapons/storage/wallets.dm
@@ -139,3 +139,61 @@
desc = "A stylish wallet typically used by women."
icon_state = "girl_wallet"
item_state_slots = list(slot_r_hand_str = "wowallet", slot_l_hand_str = "wowallet")
+
+//Casino Wallet
+
+/obj/item/weapon/storage/wallet/casino
+ name = "casino wallet"
+ desc = "A fancy casino wallet with flashy lights, oooh~"
+ icon = 'icons/obj/casino.dmi'
+ icon_state = "casinowallet_black"
+ can_hold = list(
+ /obj/item/weapon/spacecash,
+ /obj/item/weapon/card,
+ /obj/item/clothing/mask/smokable/cigarette/,
+ /obj/item/device/flashlight/pen,
+ /obj/item/device/tape,
+ /obj/item/weapon/cartridge,
+ /obj/item/device/encryptionkey,
+ /obj/item/seeds,
+ /obj/item/stack/medical,
+ /obj/item/weapon/coin,
+ /obj/item/weapon/dice,
+ /obj/item/weapon/disk,
+ /obj/item/weapon/implanter,
+ /obj/item/weapon/flame/lighter,
+ /obj/item/weapon/flame/match,
+ /obj/item/weapon/forensics,
+ /obj/item/weapon/glass_extra,
+ /obj/item/weapon/haircomb,
+ /obj/item/weapon/hand,
+ /obj/item/weapon/key,
+ /obj/item/weapon/lipstick,
+ /obj/item/weapon/paper,
+ /obj/item/weapon/pen,
+ /obj/item/weapon/photo,
+ /obj/item/weapon/reagent_containers/dropper,
+ /obj/item/weapon/sample,
+ /obj/item/weapon/tool/screwdriver,
+ /obj/item/weapon/stamp,
+ /obj/item/clothing/accessory/permit,
+ /obj/item/clothing/accessory/badge,
+ /obj/item/weapon/makeover,
+ /obj/item/weapon/spacecasinocash,
+ /obj/item/weapon/casino_platinum_chip,
+ /obj/item/weapon/deck
+ )
+
+/obj/item/weapon/storage/wallet/casino/verb/toggle_design()
+ set category = "Object"
+ set name = "Toggle design"
+ set src in usr
+
+ if (icon_state == "casinowallet_black")
+ icon_state = "casinowallet_brown"
+ return
+ if (icon_state == "casinowallet_brown")
+ icon_state = "casinowallet_white"
+ return
+ else
+ icon_state = "casinowallet_black"
\ No newline at end of file
diff --git a/code/game/objects/random/mapping.dm b/code/game/objects/random/mapping.dm
index f61567d6de..61a7448300 100644
--- a/code/game/objects/random/mapping.dm
+++ b/code/game/objects/random/mapping.dm
@@ -1378,7 +1378,7 @@
spawn_nothing_percentage = 20
var/override_outdoors = FALSE // Do we override our chosen turf's outdoors?
- var/turf_outdoors = TRUE // Will our turf be outdoors?
+ var/turf_outdoors = OUTDOORS_AREA // Will our turf be outdoors?
/obj/random/turf/spawn_item()
var/build_path = item_to_spawn()
@@ -1400,7 +1400,7 @@
desc = "This is a random lava spawn."
override_outdoors = TRUE
- turf_outdoors = FALSE
+ turf_outdoors = OUTDOORS_NO
/obj/random/turf/lava/item_to_spawn()
return pick(prob(5);/turf/simulated/floor/lava,
diff --git a/code/game/objects/structures/crates_lockers/__closets.dm b/code/game/objects/structures/crates_lockers/__closets.dm
index fb27ea6977..7a91c6ad8f 100644
--- a/code/game/objects/structures/crates_lockers/__closets.dm
+++ b/code/game/objects/structures/crates_lockers/__closets.dm
@@ -36,6 +36,19 @@
var/closet_appearance = /decl/closet_appearance // The /decl that defines what decals we end up with, that makes our look unique
+ /// Currently animating the door transform
+ var/is_animating_door = FALSE
+ /// Length of time (ds) to animate the door transform
+ var/door_anim_time = 2.0
+ /// Amount to 'squish' the full width of the door by
+ var/door_anim_squish = 0.30
+ /// Virtual angle at which the door is opened to (136 by default, so not a full 180)
+ var/door_anim_angle = 136
+ /// Offset for the door hinge location from centerline
+ var/door_hinge = -6.5
+ /// Our visual object for the closet door
+ var/obj/effect/overlay/closet_door/door_obj
+
/obj/structure/closet/Initialize()
..()
return INITIALIZE_HINT_LATELOAD
@@ -66,6 +79,10 @@
color = null
update_icon()
+/obj/structure/closet/Destroy()
+ . = ..()
+ qdel_null(door_obj)
+
/obj/structure/closet/examine(mob/user)
. = ..()
if(Adjacent(user) || isobserver(user))
@@ -134,7 +151,7 @@
playsound(src, open_sound, 15, 1, -3)
if(initial(density))
density = !density
- update_icon()
+ animate_door()
return 1
/obj/structure/closet/proc/close()
@@ -159,7 +176,7 @@
playsound(src, close_sound, 15, 1, -3)
if(initial(density))
density = !density
- update_icon()
+ animate_door(TRUE)
return 1
//Cham Projector Exception
@@ -214,10 +231,11 @@
/obj/structure/closet/proc/toggle(mob/user as mob)
+ if(is_animating_door)
+ return
if(!(opened ? close() : open()))
to_chat(user, "It won't budge! ")
return
- update_icon()
// this should probably use dump_contents()
/obj/structure/closet/ex_act(severity)
@@ -481,8 +499,45 @@
spawn(1) qdel(src)
return 1
-// Just a generic cabinet for mappers to use
-/obj/structure/closet/cabinet
- name = "cabinet"
- icon = 'icons/obj/closets/bases/cabinet.dmi'
- closet_appearance = /decl/closet_appearance/cabinet
+/obj/structure/closet/proc/animate_door(closing = FALSE)
+ if(!door_anim_time)
+ update_icon()
+ return
+ if(!door_obj)
+ door_obj = new
+ vis_contents |= door_obj
+ door_obj.icon = icon
+ door_obj.icon_state = "door_front"
+ is_animating_door = TRUE
+ if(!closing)
+ update_icon()
+ var/num_steps = door_anim_time / world.tick_lag
+ for(var/I in 0 to num_steps)
+ var/angle = door_anim_angle * (closing ? 1 - (I/num_steps) : (I/num_steps))
+ var/matrix/M = get_door_transform(angle)
+ var/door_state = angle >= 90 ? "door_back" : "door_front"
+ var/door_layer = angle >= 90 ? FLOAT_LAYER : ABOVE_MOB_LAYER
+
+ if(I == 0)
+ door_obj.transform = M
+ door_obj.icon_state = door_state
+ door_obj.layer = door_layer
+ else if(I == 1)
+ animate(door_obj, transform = M, icon_state = door_state, layer = door_layer, time = world.tick_lag, flags = ANIMATION_END_NOW)
+ else
+ animate(transform = M, icon_state = door_state, layer = door_layer, time = world.tick_lag)
+ addtimer(CALLBACK(src,.proc/end_door_animation,closing),door_anim_time,TIMER_UNIQUE|TIMER_OVERRIDE)
+
+/obj/structure/closet/proc/end_door_animation(closing = FALSE)
+ is_animating_door = FALSE
+ if(closing)
+ // There's not really harm in leaving it on, but, one less atom to send to clients to render when lockers are closed
+ vis_contents -= door_obj
+ update_icon()
+
+/obj/structure/closet/proc/get_door_transform(angle)
+ var/matrix/M = matrix()
+ M.Translate(-door_hinge, 0)
+ M.Multiply(matrix(cos(angle), 0, 0, -sin(angle) * door_anim_squish, 1, 0))
+ M.Translate(door_hinge, 0)
+ return M
diff --git a/code/game/objects/structures/crates_lockers/_closets_appearance_definitions.dm b/code/game/objects/structures/crates_lockers/_closets_appearance_definitions.dm
index 9075c87272..eb1ab2d780 100644
--- a/code/game/objects/structures/crates_lockers/_closets_appearance_definitions.dm
+++ b/code/game/objects/structures/crates_lockers/_closets_appearance_definitions.dm
@@ -33,6 +33,8 @@
var/icon/closed_locked_welded_icon
var/icon/closed_unlocked_icon
var/icon/closed_unlocked_welded_icon
+ var/icon/door_front_icon
+ var/icon/door_back_icon
// Create open icon.
var/icon/new_icon = new
@@ -40,6 +42,10 @@
open_icon.Blend(icon(base_icon, "open"), ICON_OVERLAY)
open_icon.Blend(color, BLEND_ADD)
open_icon.Blend(icon(base_icon, "interior"), ICON_OVERLAY)
+
+ door_back_icon = icon(base_icon, "door_back")
+ door_back_icon.Blend(color, BLEND_ADD)
+
if(decal_icon)
for(var/thing in decals)
var/icon/this_decal_icon = icon(decal_icon, "[thing]_open")
@@ -47,6 +53,8 @@
open_icon.Blend(this_decal_icon, ICON_OVERLAY)
// Generate basic closed icons.
+ door_front_icon = icon(base_icon, "door_front")
+ door_front_icon.Blend(color, BLEND_ADD)
closed_emagged_icon = icon(base_icon, "base")
if(can_lock)
closed_emagged_icon.Blend(icon(base_icon, "lock"), ICON_OVERLAY)
@@ -56,6 +64,10 @@
var/icon/this_decal_icon = icon(decal_icon, thing)
this_decal_icon.Blend(decals[thing], BLEND_ADD)
closed_emagged_icon.Blend(this_decal_icon, ICON_OVERLAY)
+ door_front_icon.Blend(this_decal_icon, ICON_OVERLAY)
+
+ door_front_icon.AddAlphaMask(icon(base_icon, "door_front")) // Remove pesky 'more than just door' decals
+
closed_locked_icon = icon(closed_emagged_icon)
closed_unlocked_icon = icon(closed_emagged_icon)
@@ -83,13 +95,15 @@
closed_emagged_welded_icon.Blend(sparks, ICON_OVERLAY)
// Insert our bevy of icons into the final icon file.
- new_icon.Insert(open_icon, "open")
- new_icon.Insert(closed_emagged_icon, "closed_emagged")
- new_icon.Insert(closed_emagged_welded_icon, "closed_emagged_welded")
- new_icon.Insert(closed_locked_icon, "closed_locked")
- new_icon.Insert(closed_locked_welded_icon, "closed_locked_welded")
- new_icon.Insert(closed_unlocked_icon, "closed_unlocked")
- new_icon.Insert(closed_unlocked_welded_icon, "closed_unlocked_welded")
+ new_icon.Insert(open_icon, "open")
+ new_icon.Insert(closed_emagged_icon, "closed_emagged")
+ new_icon.Insert(closed_emagged_welded_icon, "closed_emagged_welded")
+ new_icon.Insert(closed_locked_icon, "closed_locked")
+ new_icon.Insert(closed_locked_welded_icon, "closed_locked_welded")
+ new_icon.Insert(closed_unlocked_icon, "closed_unlocked")
+ new_icon.Insert(closed_unlocked_welded_icon, "closed_unlocked_welded")
+ new_icon.Insert(door_front_icon, "door_front")
+ new_icon.Insert(door_back_icon, "door_back")
// Set icon!
icon = new_icon
diff --git a/code/game/objects/structures/crates_lockers/closets/coffin.dm b/code/game/objects/structures/crates_lockers/closets/coffin.dm
index 3865641552..b42bbcb778 100644
--- a/code/game/objects/structures/crates_lockers/closets/coffin.dm
+++ b/code/game/objects/structures/crates_lockers/closets/coffin.dm
@@ -7,6 +7,7 @@
seal_tool = /obj/item/weapon/tool/screwdriver
breakout_sound = 'sound/weapons/tablehit1.ogg'
closet_appearance = null // Special icon for us
+ door_anim_time = 0 //Unsupported
/* Graves */
/obj/structure/closet/grave
@@ -20,6 +21,7 @@
max_closets = 1
opened = 1
closet_appearance = null // Special icon for us
+ door_anim_time = 0 //Unsupported
/obj/structure/closet/grave/attack_hand(mob/user as mob)
if(opened)
diff --git a/code/game/objects/structures/crates_lockers/closets/crittercrate.dm b/code/game/objects/structures/crates_lockers/closets/crittercrate.dm
index 72a9188d12..0e7763e827 100644
--- a/code/game/objects/structures/crates_lockers/closets/crittercrate.dm
+++ b/code/game/objects/structures/crates_lockers/closets/crittercrate.dm
@@ -1,4 +1,5 @@
/obj/structure/closet/crate/critter
name = "critter crate"
desc = "A crate which can sustain life for a while."
- closet_appearance = /decl/closet_appearance/large_crate/critter
\ No newline at end of file
+ closet_appearance = /decl/closet_appearance/large_crate/critter
+ door_anim_time = 0 //Unsupported
\ No newline at end of file
diff --git a/code/game/objects/structures/crates_lockers/closets/egg_vr.dm b/code/game/objects/structures/crates_lockers/closets/egg_vr.dm
index 19d3f8b452..d024a71582 100644
--- a/code/game/objects/structures/crates_lockers/closets/egg_vr.dm
+++ b/code/game/objects/structures/crates_lockers/closets/egg_vr.dm
@@ -13,6 +13,7 @@
opened = 0
sealed = 0 //Don't touch this.
health = 100
+ door_anim_time = 0 //Unsupported
/obj/structure/closet/secure_closet/egg/update_icon()
if(opened)
diff --git a/code/game/objects/structures/crates_lockers/closets/gimmick.dm b/code/game/objects/structures/crates_lockers/closets/gimmick.dm
index 6ba78a90a0..2023737b8f 100644
--- a/code/game/objects/structures/crates_lockers/closets/gimmick.dm
+++ b/code/game/objects/structures/crates_lockers/closets/gimmick.dm
@@ -1,7 +1,9 @@
/obj/structure/closet/cabinet
name = "cabinet"
desc = "Old will forever be in fashion."
+ icon = 'icons/obj/closets/bases/cabinet.dmi'
closet_appearance = /decl/closet_appearance/cabinet
+ door_anim_time = 0 //Unsupported
/obj/structure/closet/acloset
name = "strange closet"
diff --git a/code/game/objects/structures/crates_lockers/closets/job_closets.dm b/code/game/objects/structures/crates_lockers/closets/job_closets.dm
index 4f73d4151c..e1a58bb0ca 100644
--- a/code/game/objects/structures/crates_lockers/closets/job_closets.dm
+++ b/code/game/objects/structures/crates_lockers/closets/job_closets.dm
@@ -1,8 +1,16 @@
-/* Closets for specific jobs
+/*
+ * Closets for specific jobs
* Contains:
* Bartender
* Janitor
* Lawyer
+ * Janitorial Equipment
+ *
+ *
+ * These have been removed from the map for the most part, however
+ * do not remove these in case people want to make maps or POIs
+ * with these closets.
+ *
*/
/*
@@ -28,7 +36,8 @@
/obj/item/clothing/under/dress/dress_saloon,
/obj/item/clothing/accessory/wcoat = 2,
/obj/item/clothing/shoes/black = 2,
- /obj/item/clothing/shoes/laceup)
+ /obj/item/clothing/shoes/laceup
+ )
/*
* Chef
@@ -45,7 +54,8 @@
/obj/item/weapon/storage/box/mousetraps = 2,
/obj/item/clothing/under/rank/chef,
/obj/item/clothing/head/chefhat,
- /obj/item/weapon/storage/bag/food = 2)
+ /obj/item/weapon/storage/bag/food = 2
+ )
/*
* Janitor
@@ -68,7 +78,8 @@
/obj/item/device/lightreplacer,
/obj/item/weapon/storage/bag/trash,
/obj/item/weapon/storage/belt/janitor,
- /obj/item/clothing/shoes/galoshes)
+ /obj/item/clothing/shoes/galoshes
+ )
/*
* Lawyer
@@ -97,4 +108,23 @@
/obj/item/clothing/glasses/sunglasses/big = 2,
/obj/item/clothing/under/lawyer/blue = 2,
/obj/item/clothing/under/lawyer/blue/skirt = 2,
- /obj/item/device/tape/random = 2)
\ No newline at end of file
+ /obj/item/device/tape/random = 2
+ )
+
+/*
+ * Janitorial Equipment
+ */
+/obj/structure/closet/jequipcloset
+ name = "custodial equipment closet"
+ desc = "It's a storage unit for janitorial clothes and gear."
+ closet_appearance = /decl/closet_appearance/wardrobe/janitor
+
+ starts_with = list(
+ /obj/item/device/flashlight = 5,
+ /obj/item/clothing/suit/caution = 12,
+ /obj/item/device/lightreplacer = 3,
+ /obj/item/weapon/storage/bag/trash = 3,
+ /obj/item/weapon/storage/box/lights/mixed = 3,
+ /obj/item/weapon/storage/box/mousetraps = 1,
+ /obj/item/weapon/grenade/chem_grenade/cleaner = 4
+ )
\ No newline at end of file
diff --git a/code/game/objects/structures/crates_lockers/closets/misc_vr.dm b/code/game/objects/structures/crates_lockers/closets/misc_vr.dm
index cd51af7b2a..da49626d58 100644
--- a/code/game/objects/structures/crates_lockers/closets/misc_vr.dm
+++ b/code/game/objects/structures/crates_lockers/closets/misc_vr.dm
@@ -1,5 +1,20 @@
-//Gun Cabinets
+/*
+ * Closets for Virgo
+ * Contains:
+ * Gun Cabinets
+ * Explorer
+ * Pathfinder
+ * SAR/Field Medic
+ * Pilot/Navigator
+ * Exotic Seeds
+ * Autolok Suit
+ * Emergency Suit (Wall)
+ *
+ */
+/*
+ * Gun Cabinets
+ */
/obj/structure/closet/secure_closet/guncabinet/sidearm
name = "emergency weapon cabinet"
req_one_access = list(access_armory,access_captain)
@@ -7,7 +22,6 @@
starts_with = list(
/obj/item/weapon/gun/energy/gun = 4)
-
/obj/structure/closet/secure_closet/guncabinet/rifle
name = "rifle cabinet"
req_one_access = list(access_explorer,access_brig)
@@ -33,8 +47,9 @@
/obj/item/weapon/cell/device/weapon = 2,
/obj/item/clothing/accessory/permit/gun/planetside)
-//Explorer Lockers
-
+/*
+ * Explorer
+ */
/obj/structure/closet/secure_closet/explorer
name = "explorer locker"
req_access = list(access_explorer)
@@ -73,8 +88,52 @@
starts_with += /obj/item/weapon/storage/backpack/dufflebag/explorer
return ..()
-//SAR Lockers
+/*
+ * Pathfinder
+ */
+/obj/structure/closet/secure_closet/pathfinder
+ name = "pathfinder locker"
+ req_access = list(access_gateway)
+ closet_appearance = /decl/closet_appearance/secure_closet/expedition/pathfinder
+ starts_with = list(
+ /obj/item/clothing/under/explorer,
+ /obj/item/clothing/suit/storage/hooded/explorer,
+ /obj/item/clothing/mask/gas/explorer,
+ /obj/item/weapon/storage/belt/explorer/pathfinder,
+ /obj/item/clothing/shoes/boots/winter/explorer,
+ /obj/item/clothing/gloves/black,
+ /obj/item/device/radio/headset/pathfinder,
+ /obj/item/device/radio/headset/pathfinder/alt,
+ /obj/item/weapon/cartridge/explorer,
+ /obj/item/device/flashlight,
+ /obj/item/device/gps/explorer,
+ /obj/item/weapon/storage/box/flare,
+ /obj/item/weapon/storage/box/explorerkeys,
+ /obj/item/device/geiger,
+ /obj/item/weapon/cell/device,
+ /obj/item/device/radio,
+ /obj/item/device/bluespaceradio/tether_prelinked,
+ /obj/item/stack/marker_beacon/thirty,
+ /obj/item/weapon/material/knife/tacknife/survival,
+ /obj/item/weapon/material/knife/machete/deluxe,
+ /obj/item/clothing/accessory/holster/machete,
+ /obj/random/explorer_shield,
+ /obj/item/weapon/reagent_containers/food/snacks/liquidfood,
+ /obj/item/weapon/reagent_containers/food/snacks/liquidprotein,
+ /obj/item/device/cataloguer/compact/pathfinder,
+ /obj/item/device/mapping_unit)
+
+/obj/structure/closet/secure_closet/pathfinder/Initialize()
+ if(prob(50))
+ starts_with += /obj/item/weapon/storage/backpack
+ else
+ starts_with += /obj/item/weapon/storage/backpack/satchel/norm
+ return ..()
+
+/*
+ * SAR/Field Medic
+ */
/obj/structure/closet/secure_closet/sar
name = "field medic locker"
desc = "Supplies for a wilderness first responder."
@@ -124,8 +183,9 @@
starts_with += /obj/item/weapon/storage/backpack/dufflebag/med
return ..()
-//Pilot Locker
-
+/*
+ * Pilot/Navigator
+ */
/obj/structure/closet/secure_closet/pilot
name = "pilot locker"
req_access = list(access_pilot)
@@ -161,48 +221,9 @@
starts_with += /obj/item/weapon/storage/backpack/satchel/norm
return ..()
-/obj/structure/closet/secure_closet/pathfinder
- name = "pathfinder locker"
- req_access = list(access_gateway)
- closet_appearance = /decl/closet_appearance/secure_closet/expedition/pathfinder
-
- starts_with = list(
- /obj/item/clothing/under/explorer,
- /obj/item/clothing/suit/storage/hooded/explorer,
- /obj/item/clothing/mask/gas/explorer,
- /obj/item/weapon/storage/belt/explorer/pathfinder,
- /obj/item/clothing/shoes/boots/winter/explorer,
- /obj/item/clothing/gloves/black,
- /obj/item/device/radio/headset/pathfinder,
- /obj/item/device/radio/headset/pathfinder/alt,
- /obj/item/weapon/cartridge/explorer,
- /obj/item/device/flashlight,
- /obj/item/device/gps/explorer,
- /obj/item/weapon/storage/box/flare,
- /obj/item/weapon/storage/box/explorerkeys,
- /obj/item/device/geiger,
- /obj/item/weapon/cell/device,
- /obj/item/device/radio,
- /obj/item/device/bluespaceradio/tether_prelinked,
- /obj/item/stack/marker_beacon/thirty,
- /obj/item/weapon/material/knife/tacknife/survival,
- /obj/item/weapon/material/knife/machete/deluxe,
- /obj/item/clothing/accessory/holster/machete,
- /obj/random/explorer_shield,
- /obj/item/weapon/reagent_containers/food/snacks/liquidfood,
- /obj/item/weapon/reagent_containers/food/snacks/liquidprotein,
- /obj/item/device/cataloguer/compact/pathfinder,
- /obj/item/device/mapping_unit)
-
-/obj/structure/closet/secure_closet/pathfinder/Initialize()
- if(prob(50))
- starts_with += /obj/item/weapon/storage/backpack
- else
- starts_with += /obj/item/weapon/storage/backpack/satchel/norm
- return ..()
-
-//Exotic Seeds Crate
-
+/*
+ * Exotic Seeds
+ */
/obj/structure/closet/crate/hydroponics/exotic
name = "exotic seeds crate"
desc = "All you need to destroy that pesky planet."
@@ -215,6 +236,9 @@
/obj/item/seeds/libertymycelium,
/obj/item/seeds/reishimycelium)
+/*
+ * Autolok Suit
+ */
/obj/structure/closet/autolok_wall
name = "autolok suit storage"
desc = "It's wall-mounted storage unit for an AutoLok suit."
@@ -231,6 +255,9 @@
/obj/item/device/suit_cooling_unit/emergency
)
+/*
+ * Emergency Suit (Wall)
+ */
/obj/structure/closet/emergsuit_wall
name = "emergency suit storage"
desc = "It's wall-mounted storage unit for an emergency suit."
diff --git a/code/game/objects/structures/crates_lockers/closets/secure/security.dm b/code/game/objects/structures/crates_lockers/closets/secure/security.dm
index 32ec022f71..2c69bef104 100644
--- a/code/game/objects/structures/crates_lockers/closets/secure/security.dm
+++ b/code/game/objects/structures/crates_lockers/closets/secure/security.dm
@@ -304,3 +304,4 @@ GLOBAL_LIST_BOILERPLATE(all_brig_closets, /obj/structure/closet/secure_closet/br
//too small to put a man in
large = 0
+ door_anim_time = 0 // Unsupported
diff --git a/code/game/objects/structures/crates_lockers/closets/statue.dm b/code/game/objects/structures/crates_lockers/closets/statue.dm
index 9b66918be0..c930b032a1 100644
--- a/code/game/objects/structures/crates_lockers/closets/statue.dm
+++ b/code/game/objects/structures/crates_lockers/closets/statue.dm
@@ -7,6 +7,7 @@
anchored = TRUE
health = 0 //destroying the statue kills the mob within
blocks_emissive = EMISSIVE_BLOCK_UNIQUE
+ door_anim_time = 0 // Why is this a closet??
var/intialTox = 0 //these are here to keep the mob from taking damage from things that logically wouldn't affect a rock
var/intialFire = 0 //it's a little sloppy I know but it was this or the GODMODE flag. Lesser of two evils.
var/intialBrute = 0
diff --git a/code/game/objects/structures/crates_lockers/closets/walllocker.dm b/code/game/objects/structures/crates_lockers/closets/walllocker.dm
index f140e7380f..0bf549f06a 100644
--- a/code/game/objects/structures/crates_lockers/closets/walllocker.dm
+++ b/code/game/objects/structures/crates_lockers/closets/walllocker.dm
@@ -10,6 +10,7 @@
anchored = TRUE
store_mobs = 0
wall_mounted = 1
+ door_anim_time = 0 // Unsupported
//spawns 2 sets of breathmask, emergency oxy tank and crowbar
diff --git a/code/game/objects/structures/crates_lockers/crates.dm b/code/game/objects/structures/crates_lockers/crates.dm
index eec6a8d892..bc178de97e 100644
--- a/code/game/objects/structures/crates_lockers/crates.dm
+++ b/code/game/objects/structures/crates_lockers/crates.dm
@@ -7,6 +7,7 @@
closet_appearance = /decl/closet_appearance/crate
climbable = TRUE
dir = 4 //Spawn facing 'forward' by default.
+ door_anim_time = 0 //Unsupported until appropriate sprites are available
var/points_per_crate = 5
var/rigged = 0
diff --git a/code/game/objects/structures/dancepole_vr.dm b/code/game/objects/structures/dancepole_vr.dm
index 3a548f1133..90270b88ce 100644
--- a/code/game/objects/structures/dancepole_vr.dm
+++ b/code/game/objects/structures/dancepole_vr.dm
@@ -2,10 +2,22 @@
/obj/structure/dancepole
name = "dance pole"
desc = "Engineered for your entertainment"
- icon = 'icons/obj/objects_vr.dmi'
- icon_state = "dancepole"
+ icon = 'icons/obj/casino.dmi'
+ icon_state = "dance_pole"
density = FALSE
anchored = TRUE
+ density = 0
+
+/obj/structure/dancepole/attack_hand(mob/user)
+ dance(user)
+ user.spin(32,2)
+ ..()
+
+/obj/structure/dancepole/proc/dance(mob/user)
+ if(layer == BELOW_MOB_LAYER)
+ layer = ABOVE_MOB_LAYER
+ else
+ layer = BELOW_MOB_LAYER
/obj/structure/dancepole/attackby(var/obj/item/O as obj, var/mob/user as mob)
if(O.is_screwdriver())
@@ -22,4 +34,4 @@
if(!src) return
to_chat(user, "You dissasembled \the [src]! ")
new /obj/item/stack/material/steel(src.loc, 1)
- qdel(src)
\ No newline at end of file
+ qdel(src)
diff --git a/code/game/objects/structures/extinguisher.dm b/code/game/objects/structures/extinguisher.dm
index fdfae03727..bbcd3e8840 100644
--- a/code/game/objects/structures/extinguisher.dm
+++ b/code/game/objects/structures/extinguisher.dm
@@ -2,26 +2,23 @@
name = "extinguisher cabinet"
desc = "A small wall mounted cabinet designed to hold a fire extinguisher."
icon = 'icons/obj/closet.dmi'
- icon_state = "extinguisher_closed"
+ icon_state = "extinguisher" // map preview sprite
layer = ABOVE_WINDOW_LAYER
anchored = TRUE
density = FALSE
var/obj/item/weapon/extinguisher/has_extinguisher
var/opened = 0
-/obj/structure/extinguisher_cabinet/New(var/loc, var/dir, var/building = 0)
- ..()
+/obj/structure/extinguisher_cabinet/Initialize(var/mapload, var/dir, var/building = 0)
+ . = ..()
if(building)
- if(loc)
- src.loc = loc
-
pixel_x = (dir & 3)? 0 : (dir == 4 ? -27 : 27)
pixel_y = (dir & 3)? (dir ==1 ? -27 : 27) : 0
- update_icon()
- return
else
has_extinguisher = new/obj/item/weapon/extinguisher(src)
+
+ update_icon()
/obj/structure/extinguisher_cabinet/attackby(obj/item/O, mob/user)
if(isrobot(user))
@@ -79,13 +76,17 @@
update_icon()
/obj/structure/extinguisher_cabinet/update_icon()
- if(!opened)
- icon_state = "extinguisher_closed"
- return
+ var/suffix = "empty"
if(has_extinguisher)
if(istype(has_extinguisher, /obj/item/weapon/extinguisher/mini))
- icon_state = "extinguisher_mini"
+ suffix = "mini"
else
- icon_state = "extinguisher_full"
- else
- icon_state = "extinguisher_empty"
+ suffix = "standard"
+
+ icon_state = "[initial(icon_state)][opened ? "" : "_closed"]_[suffix]"
+
+/obj/structure/extinguisher_cabinet/old
+ name = "extinguisher cabinet"
+ desc = "A classic small wall mounted cabinet designed to hold a fire extinguisher."
+ icon = 'icons/obj/closet.dmi'
+ icon_state = "oldextinguisher" // map preview sprite
diff --git a/code/game/objects/structures/salvageable.dm b/code/game/objects/structures/salvageable.dm
index 0a35848d8d..2073e15034 100644
--- a/code/game/objects/structures/salvageable.dm
+++ b/code/game/objects/structures/salvageable.dm
@@ -364,3 +364,30 @@
/obj/item/weapon/computer_hardware/card_slot = 40,
/obj/item/weapon/computer_hardware/network_card/advanced = 40
)
+
+
+/obj/structure/salvageable/slotmachine1
+ name = "broken slot machine"
+ icon_state = "slot1"
+ salvageable_parts = list(
+ /obj/item/stack/cable_coil{amount = 5} = 90,
+ /obj/item/weapon/stock_parts/console_screen = 90,
+ /obj/item/stack/cable_coil{amount = 5} = 90,
+ /obj/item/stack/material/glass{amount = 5} = 90,
+ /obj/item/weapon/stock_parts/capacitor = 60,
+ /obj/item/weapon/stock_parts/capacitor = 60,
+ /obj/item/weapon/computer_hardware/network_card/advanced = 40
+ )
+
+/obj/structure/salvageable/slotmachine2
+ name = "broken slot machine"
+ icon_state = "slot2"
+ salvageable_parts = list(
+ /obj/item/stack/cable_coil{amount = 5} = 90,
+ /obj/item/weapon/stock_parts/console_screen = 90,
+ /obj/item/stack/cable_coil{amount = 5} = 90,
+ /obj/item/stack/material/glass{amount = 5} = 90,
+ /obj/item/weapon/stock_parts/capacitor = 60,
+ /obj/item/weapon/stock_parts/capacitor = 60,
+ /obj/item/weapon/computer_hardware/network_card/advanced = 40
+ )
\ No newline at end of file
diff --git a/code/game/objects/structures/stool_bed_chair_nest/chairs.dm b/code/game/objects/structures/stool_bed_chair_nest/chairs.dm
index 4a3c5b53ff..690164e265 100644
--- a/code/game/objects/structures/stool_bed_chair_nest/chairs.dm
+++ b/code/game/objects/structures/stool_bed_chair_nest/chairs.dm
@@ -275,6 +275,43 @@
icon_state = "pewend_right"
base_icon = "pewend_right"
+// Metal benches from Skyrat
+/obj/structure/bed/chair/sofa/bench
+ name = "metal bench"
+ desc = "Almost as comfortable as waiting at a bus station for hours on end."
+ base_icon = "benchmiddle"
+ icon_state = "benchmiddle"
+ applies_material_colour = FALSE
+ color = null
+ var/padding_color = "#CC0000"
+
+/obj/structure/bed/chair/sofa/bench/Initialize()
+ . = ..()
+ var/mutable_appearance/MA
+ // If we're north-facing, metal goes above mob, padding overlay goes below mob.
+ if((dir & NORTH) && !corner_piece)
+ plane = MOB_PLANE
+ layer = ABOVE_MOB_LAYER
+ MA = mutable_appearance(icon, icon_state = "o[icon_state]", layer = BELOW_MOB_LAYER, plane = MOB_PLANE, appearance_flags = KEEP_APART|RESET_COLOR)
+ // Else just normal plane and layer for everything, which will be below mobs.
+ else
+ MA = mutable_appearance(icon, icon_state = "o[icon_state]", appearance_flags = KEEP_APART|RESET_COLOR)
+ MA.color = padding_color
+ add_overlay(MA)
+
+/obj/structure/bed/chair/sofa/bench/left
+ icon_state = "bench_left"
+ base_icon = "bench_left"
+
+/obj/structure/bed/chair/sofa/bench/right
+ icon_state = "bench_right"
+ base_icon = "bench_right"
+
+/obj/structure/bed/chair/sofa/bench/corner
+ icon_state = "benchcorner"
+ base_icon = "benchcorner"
+ //corner_piece = TRUE // These sprites work fine without the parent doing layer shenanigans
+
// Corporate sofa - one color fits all
/obj/structure/bed/chair/sofa/corp
name = "black leather sofa"
diff --git a/code/game/sound.dm b/code/game/sound.dm
index ce4c33d37b..32eabbca4e 100644
--- a/code/game/sound.dm
+++ b/code/game/sound.dm
@@ -1,8 +1,7 @@
/proc/playsound(atom/source, soundin, vol as num, vary, extrarange as num, falloff, is_global, frequency = null, channel = 0, pressure_affected = TRUE, ignore_walls = TRUE, preference = null, volume_channel = null)
- if(isarea(source))
- throw EXCEPTION("playsound(): source is an area")
+ if(Master.current_runlevel < RUNLEVEL_LOBBY)
return
-
+
var/turf/turf_source = get_turf(source)
if(!turf_source)
return
diff --git a/code/game/turfs/flooring/flooring_decals.dm b/code/game/turfs/flooring/flooring_decals.dm
index a5af6b9463..fe806c79bd 100644
--- a/code/game/turfs/flooring/flooring_decals.dm
+++ b/code/game/turfs/flooring/flooring_decals.dm
@@ -30,18 +30,25 @@ var/list/floor_decals = list()
set_dir(supplied_dir) // TODO - Why can't this line be done in initialize/New()?
var/turf/T = get_turf(src)
if(istype(T, /turf/simulated/floor) || istype(T, /turf/unsimulated/floor) || istype(T, /turf/simulated/shuttle/floor))
- var/cache_key = "[alpha]-[color]-[dir]-[icon_state]-[T.layer]"
+ var/cache_key = get_cache_key(T)
var/image/I = floor_decals[cache_key]
if(!I)
- I = image(icon = icon, icon_state = icon_state, dir = dir)
- I.layer = MAPPER_DECAL_LAYER
- I.color = color
- I.alpha = alpha
+ I = make_decal_image()
floor_decals[cache_key] = I
LAZYADD(T.decals, I) // Add to its decals list (so it remembers to re-apply after it cuts overlays)
T.add_overlay(I) // Add to its current overlays too.
return T
+/obj/effect/floor_decal/proc/make_decal_image()
+ var/image/I = image(icon = icon, icon_state = icon_state, dir = dir)
+ I.layer = MAPPER_DECAL_LAYER
+ I.color = color
+ I.alpha = alpha
+ return I
+
+/obj/effect/floor_decal/proc/get_cache_key(var/turf/T)
+ return "[alpha]-[color]-[dir]-[icon_state]-[T.layer]"
+
/obj/effect/floor_decal/reset
name = "reset marker"
diff --git a/code/game/turfs/simulated/fancy_shuttles.dm b/code/game/turfs/simulated/fancy_shuttles.dm
new file mode 100644
index 0000000000..e03eff3e0c
--- /dev/null
+++ b/code/game/turfs/simulated/fancy_shuttles.dm
@@ -0,0 +1,332 @@
+/**
+ * To map these, place down a /obj/effect/fancy_shuttle on the map and lay down /turf/simulated/wall/fancy_shuttle
+ * everywhere that is included in the sprite. Up to you if you want to make some opacity=FALSE or density=FALSE
+ * Set a matching fancy_shuttle_tag on your walls and on the /obj/effect/fancy_shuttle. Make sure it's unique.
+ *
+ * If you want flooring to look like the shuttle flooring, put /obj/effect/floor_decal/fancy_shuttle on all of it.
+ * You can add your own decals on top of that. Just make sure to put the fancy_shuttle decal lowest.
+ * Also set the same tag as your /obj/effect/fancy_shuttle on the decals.
+ */
+
+GLOBAL_LIST_EMPTY(fancy_shuttles)
+/**
+ * Generic shuttle
+ * North facing: W:5, H:9
+ */
+/obj/effect/fancy_shuttle
+ name = "shuttle wall decorator"
+ icon = 'icons/turf/fancy_shuttles/generic_preview.dmi'
+ icon_state = "walls"
+ plane = TURF_PLANE
+ layer = ABOVE_TURF_LAYER
+ invisibility = INVISIBILITY_MAXIMUM
+ alpha = 90 // so you can see it a bit easier on the map if you placed walls properly
+ var/split_file = 'icons/turf/fancy_shuttles/generic.dmi'
+ var/icon/split_icon
+ var/fancy_shuttle_tag
+
+/obj/effect/fancy_shuttle/New() // has to be very early so others can grab it
+ . = ..()
+ if(!fancy_shuttle_tag)
+ error("Fancy shuttle with no tag at [x],[y],[z]! Type is: [type]")
+ return INITIALIZE_HINT_QDEL
+ split_icon = icon(split_file, null, dir)
+ GLOB.fancy_shuttles[fancy_shuttle_tag] = src
+
+/obj/effect/fancy_shuttle_floor_preview
+ name = "shuttle floor preview"
+ icon = 'icons/turf/fancy_shuttles/generic_preview.dmi'
+ icon_state = "floors"
+ plane = PLATING_PLANE
+ layer = ABOVE_TURF_LAYER
+ alpha = 90
+
+/obj/effect/fancy_shuttle_floor_preview/Initialize()
+ . = ..()
+ return INITIALIZE_HINT_QDEL
+
+// Only icon changes are damage
+/turf/simulated/wall/fancy_shuttle
+ icon = 'icons/turf/fancy_shuttles/_fancy_helpers.dmi'
+ icon_state = "hull"
+ wall_masks = 'icons/turf/fancy_shuttles/_fancy_helpers.dmi'
+ var/mutable_appearance/under_MA
+ var/mutable_appearance/under_EM
+ var/fancy_shuttle_tag
+
+// Reinforced hull steel
+/turf/simulated/wall/fancy_shuttle/Initialize(mapload, materialtype, rmaterialtype, girdertype)
+ . = ..(mapload, MAT_STEELHULL, MAT_STEELHULL, MAT_STEELHULL)
+
+/turf/simulated/wall/fancy_shuttle/window
+ opacity = FALSE
+ icon_state = "hull_transparent"
+
+/turf/simulated/wall/fancy_shuttle/window/attack_generic(mob/user, damage, attack_message)
+ take_damage(damage)
+ return damage
+
+/turf/simulated/wall/fancy_shuttle/nondense
+ density = FALSE
+ blocks_air = FALSE
+ opacity = FALSE
+ icon_state = "hull_nondense"
+
+/turf/simulated/wall/fancy_shuttle/pre_translate_A(turf/B)
+ . = ..()
+ remove_underlay()
+
+/turf/simulated/wall/fancy_shuttle/post_translate_B(turf/A)
+ apply_underlay()
+ return ..()
+
+// No girders, and Eris plating
+/turf/simulated/wall/fancy_shuttle/dismantle_wall(var/devastated, var/explode, var/no_product)
+
+ playsound(src, 'sound/items/Welder.ogg', 100, 1)
+ if(!no_product && !devastated)
+ material.place_dismantled_product(src)
+ if (!reinf_material)
+ material.place_dismantled_product(src)
+
+ clear_plants()
+ material = get_material_by_name("placeholder")
+ reinf_material = null
+ girder_material = null
+
+ ChangeTurf(/turf/simulated/floor/plating/eris/under)
+
+/turf/simulated/wall/fancy_shuttle/proc/remove_underlay()
+ if(under_MA)
+ underlays -= under_MA
+ under_MA = null
+ if(under_EM)
+ underlays -= under_EM
+ under_EM = null
+
+/turf/simulated/wall/fancy_shuttle/proc/apply_underlay()
+ remove_underlay()
+
+ var/turf/path = get_base_turf_by_area(src) || /turf/space
+
+ var/do_plane = null
+ var/do_state = initial(path.icon_state)
+ var/do_icon = initial(path.icon)
+ if(ispath(path, /turf/space))
+ do_plane = SPACE_PLANE
+ do_state = "white"
+
+ under_EM = mutable_appearance('icons/turf/space.dmi', "white", plane = PLANE_O_LIGHTING_VISUAL)
+ under_EM.filters = filter(type = "alpha", icon = icon(src.icon, src.icon_state), flags = MASK_INVERSE)
+
+ under_MA = mutable_appearance(do_icon, do_state, layer = src.layer-0.02, plane = do_plane)
+ underlays += under_MA
+ if(under_EM)
+ underlays += under_EM
+
+// Trust me, this is WAY faster than the normal wall overlays shenanigans, don't worry about performance
+/turf/simulated/wall/fancy_shuttle/update_icon()
+ if(!damage_overlays[1])
+ generate_overlays()
+
+ cut_overlays()
+ if(fancy_shuttle_tag) // after a shuttle jump it won't be set anymore, but the shuttle jump proc will set our icon and state
+ var/obj/effect/fancy_shuttle/F = GLOB.fancy_shuttles[fancy_shuttle_tag]
+ if(!F)
+ warning("Fancy shuttle wall at [x],[y],[z] couldn't locate a helper with tag [fancy_shuttle_tag]")
+ return
+ icon = F.split_icon
+ icon_state = "walls [x - F.x],[y - F.y]"
+
+ apply_underlay()
+
+ if(damage != 0)
+ var/integrity = material.integrity
+ if(reinf_material)
+ integrity += reinf_material.integrity
+
+ var/overlay = round(damage / integrity * damage_overlays.len) + 1
+ if(overlay > damage_overlays.len)
+ overlay = damage_overlays.len
+
+ add_overlay(damage_overlays[overlay])
+
+/turf/simulated/wall/fancy_shuttle/update_connections()
+ return
+
+/turf/simulated/wall/fancy_shuttle/set_light(l_range, l_power, l_color, l_on)
+ return
+
+/obj/effect/floor_decal/fancy_shuttle
+ icon = 'icons/turf/fancy_shuttles/_fancy_helpers.dmi'
+ icon_state = "fancy_shuttle"
+ layer = DECAL_LAYER-1
+ var/icon_file
+ var/fancy_shuttle_tag
+
+/obj/effect/floor_decal/fancy_shuttle/Initialize()
+ var/obj/effect/fancy_shuttle/F = GLOB.fancy_shuttles[fancy_shuttle_tag]
+ if(!F)
+ warning("Fancy shuttle floor decal at [x],[y],[z] couldn't locate a helper with tag [fancy_shuttle_tag]")
+ return INITIALIZE_HINT_QDEL
+ icon = F.split_icon
+ icon_file = F.split_file
+ icon_state = "floors [x - F.x],[y - F.y]"
+ return ..()
+
+/obj/effect/floor_decal/fancy_shuttle/make_decal_image()
+ return image(icon = icon, icon_state = icon_state, layer = BUILTIN_DECAL_LAYER)
+
+/obj/effect/floor_decal/fancy_shuttle/get_cache_key(var/turf/T)
+ return "[alpha]-[color]-[dir]-[icon_state]-[T.layer]-[icon_file]"
+
+/**
+ * Invisible ship equipment (otherwise the same as normal)
+ */
+// Gas engine
+/obj/machinery/atmospherics/unary/engine/fancy_shuttle
+ icon = 'icons/turf/fancy_shuttles/_fancy_helpers.dmi'
+ icon_state = "gas_engine"
+ invisibility = INVISIBILITY_MAXIMUM
+
+// Ion engine
+/obj/machinery/ion_engine/fancy_shuttle
+ icon = 'icons/turf/fancy_shuttles/_fancy_helpers.dmi'
+ icon_state = "ion_engine"
+ invisibility = INVISIBILITY_MAXIMUM
+
+// Sensors
+/obj/machinery/shipsensors/fancy_shuttle
+ icon = 'icons/turf/fancy_shuttles/_fancy_helpers.dmi'
+ icon_state = "ship_sensors"
+ invisibility = INVISIBILITY_MAXIMUM
+
+/**
+ * Escape shuttle
+ * North facing: W:15, H:27
+ */
+/obj/effect/fancy_shuttle/escape
+ icon = 'icons/turf/fancy_shuttles/escape_preview.dmi'
+ split_file = 'icons/turf/fancy_shuttles/escape.dmi'
+/obj/effect/fancy_shuttle_floor_preview/escape
+ icon = 'icons/turf/fancy_shuttles/escape_preview.dmi'
+
+/**
+ * Mining shuttle
+ * North facing: W:18, H:24
+ */
+/obj/effect/fancy_shuttle/miner
+ icon = 'icons/turf/fancy_shuttles/miner_preview.dmi'
+ split_file = 'icons/turf/fancy_shuttles/miner.dmi'
+/obj/effect/fancy_shuttle_floor_preview/miner
+ icon = 'icons/turf/fancy_shuttles/miner_preview.dmi'
+
+/**
+ * Science shuttle
+ * North facing: W:17, H:22
+ */
+/obj/effect/fancy_shuttle/science
+ icon = 'icons/turf/fancy_shuttles/science_preview.dmi'
+ split_file = 'icons/turf/fancy_shuttles/science.dmi'
+/obj/effect/fancy_shuttle_floor_preview/science
+ icon = 'icons/turf/fancy_shuttles/science_preview.dmi'
+
+/**
+ * Dropship
+ * North facing: W:11, H:20
+ */
+/obj/effect/fancy_shuttle/dropship
+ icon = 'icons/turf/fancy_shuttles/dropship_preview.dmi'
+ split_file = 'icons/turf/fancy_shuttles/dropship.dmi'
+/obj/effect/fancy_shuttle_floor_preview/dropship
+ icon = 'icons/turf/fancy_shuttles/dropship_preview.dmi'
+
+/**
+ * Explo shuttle
+ * North facing: W:13, H:18
+ */
+/obj/effect/fancy_shuttle/exploration
+ icon = 'icons/turf/fancy_shuttles/exploration_preview.dmi'
+ split_file = 'icons/turf/fancy_shuttles/exploration.dmi'
+/obj/effect/fancy_shuttle_floor_preview/exploration
+ icon = 'icons/turf/fancy_shuttles/exploration_preview.dmi'
+
+/**
+ * Sec shuttle
+ * North facing: W:13, H:18
+ */
+/obj/effect/fancy_shuttle/security
+ icon = 'icons/turf/fancy_shuttles/security_preview.dmi'
+ split_file = 'icons/turf/fancy_shuttles/security.dmi'
+/obj/effect/fancy_shuttle_floor_preview/security
+ icon = 'icons/turf/fancy_shuttles/security_preview.dmi'
+
+/**
+ * Med shuttle
+ * North facing: W:13, H:18
+ */
+/obj/effect/fancy_shuttle/medical
+ icon = 'icons/turf/fancy_shuttles/medical_preview.dmi'
+ split_file = 'icons/turf/fancy_shuttles/medical.dmi'
+/obj/effect/fancy_shuttle_floor_preview/medical
+ icon = 'icons/turf/fancy_shuttles/medical_preview.dmi'
+
+/**
+ * Orange line tram
+ * North facing: W:9, H:16
+ */
+/obj/effect/fancy_shuttle/orangeline
+ icon = 'icons/turf/fancy_shuttles/orangeline_preview.dmi'
+ split_file = 'icons/turf/fancy_shuttles/orangeline.dmi'
+/obj/effect/fancy_shuttle_floor_preview/orangeline
+ icon = 'icons/turf/fancy_shuttles/orangeline_preview.dmi'
+
+/**
+ * Tour bus
+ * North facing: W:7, H:13
+ */
+/obj/effect/fancy_shuttle/tourbus
+ icon = 'icons/turf/fancy_shuttles/tourbus_preview.dmi'
+ split_file = 'icons/turf/fancy_shuttles/tourbus.dmi'
+/obj/effect/fancy_shuttle_floor_preview/tourbus
+ icon = 'icons/turf/fancy_shuttles/tourbus_preview.dmi'
+
+/**
+ * Delivery shuttle
+ * North facing: W:8, H:10
+ */
+/obj/effect/fancy_shuttle/delivery
+ icon = 'icons/turf/fancy_shuttles/delivery_preview.dmi'
+ split_file = 'icons/turf/fancy_shuttles/delivery.dmi'
+/obj/effect/fancy_shuttle_floor_preview/delivery
+ icon = 'icons/turf/fancy_shuttles/delivery_preview.dmi'
+
+/**
+ * Wagon
+ * North facing: W:5, H:13
+ */
+/obj/effect/fancy_shuttle/wagon
+ icon = 'icons/turf/fancy_shuttles/wagon_preview.dmi'
+ split_file = 'icons/turf/fancy_shuttles/wagon.dmi'
+/obj/effect/fancy_shuttle_floor_preview/wagon
+ icon = 'icons/turf/fancy_shuttles/wagon_preview.dmi'
+
+/**
+ * Lifeboat
+ * North facing: W:5, H:10
+ */
+/obj/effect/fancy_shuttle/lifeboat
+ icon = 'icons/turf/fancy_shuttles/lifeboat_preview.dmi'
+ split_file = 'icons/turf/fancy_shuttles/lifeboat.dmi'
+/obj/effect/fancy_shuttle_floor_preview/lifeboat
+ icon = 'icons/turf/fancy_shuttles/lifeboat_preview.dmi'
+
+/**
+ * Pod
+ * North facing: W:3, H:4
+ */
+/obj/effect/fancy_shuttle/escapepod
+ icon = 'icons/turf/fancy_shuttles/pod_preview.dmi'
+ split_file = 'icons/turf/fancy_shuttles/pod.dmi'
+/obj/effect/fancy_shuttle_floor_preview/escapepod
+ icon = 'icons/turf/fancy_shuttles/pod_preview.dmi'
diff --git a/code/game/turfs/simulated/floor_attackby.dm b/code/game/turfs/simulated/floor_attackby.dm
index 8342a5d6e8..4f70fc5918 100644
--- a/code/game/turfs/simulated/floor_attackby.dm
+++ b/code/game/turfs/simulated/floor_attackby.dm
@@ -46,10 +46,10 @@
return
// Create a ceiling to shield from the weather
- if(src.outdoors)
+ if(src.is_outdoors())
for(var/dir in cardinal)
var/turf/A = get_step(src, dir)
- if(A && !A.outdoors)
+ if(A && !A.is_outdoors())
if(expended_tile || R.use(1))
make_indoors()
playsound(src, 'sound/weapons/Genhit.ogg', 50, 1)
diff --git a/code/game/turfs/simulated/floor_icon.dm b/code/game/turfs/simulated/floor_icon.dm
index d975f81090..420d8628b5 100644
--- a/code/game/turfs/simulated/floor_icon.dm
+++ b/code/game/turfs/simulated/floor_icon.dm
@@ -87,7 +87,7 @@ var/image/no_ceiling_image = null
// Show 'ceilingless' overlay.
var/turf/above = GetAbove(src)
- if(above && isopenspace(above) && !istype(src, /turf/simulated/floor/outdoors)) // This won't apply to outdoor turfs since its assumed they don't have a ceiling anyways.
+ if(!is_outdoors() && above && isopenspace(above)) // This won't apply to outdoor turfs since its assumed they don't have a ceiling anyways.
add_overlay(no_ceiling_image)
// Update our 'them-to-us' edges, aka edges from external turfs we feel should spill onto us
diff --git a/code/game/turfs/simulated/lava.dm b/code/game/turfs/simulated/lava.dm
index f2902abdfe..e44ac49a66 100644
--- a/code/game/turfs/simulated/lava.dm
+++ b/code/game/turfs/simulated/lava.dm
@@ -17,11 +17,11 @@
initial_flooring = /decl/flooring/lava // Defining this in case someone DOES step on lava and survive. Somehow.
/turf/simulated/floor/lava/outdoors
- outdoors = TRUE
+ outdoors = OUTDOORS_YES
// For maximum pedantry.
/turf/simulated/floor/lava/Initialize()
- if(!outdoors)
+ if(!is_outdoors())
name = "magma"
update_icon()
update_light()
diff --git a/code/game/turfs/simulated/outdoors/outdoors.dm b/code/game/turfs/simulated/outdoors/outdoors.dm
index 8ca1659d1b..84c91366f1 100644
--- a/code/game/turfs/simulated/outdoors/outdoors.dm
+++ b/code/game/turfs/simulated/outdoors/outdoors.dm
@@ -1,11 +1,16 @@
var/list/turf_edge_cache = list()
-/turf/
+/turf
// If greater than 0, this turf will apply edge overlays on top of other turfs cardinally adjacent to it, if those adjacent turfs are of a different icon_state,
// and if those adjacent turfs have a lower edge_blending_priority.
var/edge_blending_priority = 0
// Outdoors var determines if the game should consider the turf to be 'outdoors', which controls certain things such as weather effects.
- var/outdoors = FALSE
+ var/outdoors = OUTDOORS_AREA
+
+/area
+ // If a turf's `outdoors` variable is set to `OUTDOORS_AREA`,
+ // it will decide if it's outdoors or not when being initialized based on this var.
+ var/outdoors = OUTDOORS_NO
/turf/simulated/floor/outdoors
name = "generic ground"
@@ -13,7 +18,7 @@ var/list/turf_edge_cache = list()
icon = 'icons/turf/outdoors.dmi'
icon_state = null
edge_blending_priority = 1
- outdoors = TRUE // This variable is used for weather effects.
+ outdoors = OUTDOORS_YES // This variable is used for weather effects.
can_dirty = FALSE // Looks hideous with dirt on it.
can_build_into_floor = TRUE
@@ -21,31 +26,51 @@ var/list/turf_edge_cache = list()
var/list/turf_layers = list(/turf/simulated/floor/outdoors/rocks)
/turf/simulated/floor/Initialize(mapload)
- if(outdoors)
+ if(is_outdoors())
SSplanets.addTurf(src)
. = ..()
/turf/simulated/floor/Destroy()
- if(outdoors)
+ if(is_outdoors())
SSplanets.removeTurf(src)
return ..()
+// Turfs can decide if they should be indoors or outdoors.
+// By default they choose based on their area's setting.
+// This helps cut down on ten billion `/outdoors` subtypes being needed.
+/turf/proc/is_outdoors()
+ return FALSE
+
+/turf/simulated/is_outdoors()
+ switch(outdoors)
+ if(OUTDOORS_YES)
+ return TRUE
+ if(OUTDOORS_NO)
+ return FALSE
+ if(OUTDOORS_AREA)
+ var/area/A = loc
+ if(A.outdoors == OUTDOORS_YES)
+ return TRUE
+ return FALSE
+
+/// Makes the turf explicitly outdoors.
/turf/simulated/proc/make_outdoors()
- if(outdoors)
+ if(is_outdoors()) // Already outdoors.
return
- outdoors = TRUE
+ outdoors = OUTDOORS_YES
SSplanets.addTurf(src)
+/// Makes the turf explicitly indoors.
/turf/simulated/proc/make_indoors()
- if(!outdoors)
+ if(!is_outdoors()) // Already indoors.
return
- outdoors = FALSE
+ outdoors = OUTDOORS_NO
SSplanets.removeTurf(src)
/turf/simulated/post_change()
..()
// If it was outdoors and still is, it will not get added twice when the planet controller gets around to putting it in.
- if(outdoors)
+ if(is_outdoors())
make_outdoors()
else
make_indoors()
@@ -63,7 +88,7 @@ var/list/turf_edge_cache = list()
edge_blending_priority = 1
/turf/simulated/floor/outdoors/rocks/caves
- outdoors = FALSE
+ outdoors = OUTDOORS_NO
// This proc adds a 'layer' on top of the turf.
/turf/simulated/floor/outdoors/proc/promote(var/new_turf_type)
diff --git a/code/game/turfs/simulated/outdoors/outdoors_vr.dm b/code/game/turfs/simulated/outdoors/outdoors_vr.dm
index a7233b4329..9e5f6961c9 100644
--- a/code/game/turfs/simulated/outdoors/outdoors_vr.dm
+++ b/code/game/turfs/simulated/outdoors/outdoors_vr.dm
@@ -1,7 +1,7 @@
/turf/simulated/floor/tiled/asteroid_steel/outdoors
name = "weathered tiles"
desc = "Old tiles left out in the elements."
- outdoors = 1
+ outdoors = OUTDOORS_YES
edge_blending_priority = 1
/turf/simulated/floor/outdoors/newdirt
diff --git a/code/game/turfs/simulated/outdoors/sky.dm b/code/game/turfs/simulated/outdoors/sky.dm
index 3188302288..2f9f8106bb 100644
--- a/code/game/turfs/simulated/outdoors/sky.dm
+++ b/code/game/turfs/simulated/outdoors/sky.dm
@@ -4,7 +4,7 @@
desc = "Hope you don't have a fear of heights."
icon = 'icons/turf/floors.dmi'
icon_state = "sky_slow"
- outdoors = TRUE
+ outdoors = OUTDOORS_YES
// Assume there's a vacuum for the purposes of avoiding active edges at initialization, as well as ZAS fun if a window breaks.
oxygen = 0
diff --git a/code/game/turfs/simulated/wall_attacks.dm b/code/game/turfs/simulated/wall_attacks.dm
index 72edce4503..036cfd5728 100644
--- a/code/game/turfs/simulated/wall_attacks.dm
+++ b/code/game/turfs/simulated/wall_attacks.dm
@@ -171,7 +171,7 @@
return
// Create a ceiling to shield from the weather
- if(outdoors)
+ if(is_outdoors())
if(expended_tile || R.use(1)) // Don't need to check adjacent turfs for a wall, we're building on one
make_indoors()
if(!expended_tile) // Would've already played a sound
diff --git a/code/game/turfs/simulated/water.dm b/code/game/turfs/simulated/water.dm
index eaef2357b8..d1f0dd37dd 100644
--- a/code/game/turfs/simulated/water.dm
+++ b/code/game/turfs/simulated/water.dm
@@ -8,7 +8,7 @@
var/under_state = "rock"
edge_blending_priority = -1
movement_cost = 4
- outdoors = TRUE
+ outdoors = OUTDOORS_YES
layer = WATER_FLOOR_LAYER
@@ -106,12 +106,12 @@
name = "pool"
desc = "Don't worry, it's not closed."
under_state = "pool"
- outdoors = FALSE
+ outdoors = OUTDOORS_NO
/turf/simulated/floor/water/deep/pool
name = "deep pool"
desc = "Don't worry, it's not closed."
- outdoors = FALSE
+ outdoors = OUTDOORS_NO
/mob/living/proc/can_breathe_water()
return FALSE
diff --git a/code/game/turfs/simulated/water_vr.dm b/code/game/turfs/simulated/water_vr.dm
index ea16037cf7..9063f6afc3 100644
--- a/code/game/turfs/simulated/water_vr.dm
+++ b/code/game/turfs/simulated/water_vr.dm
@@ -1,5 +1,5 @@
/turf/simulated/floor/water/indoors //because it's nice to be able to use these indoors without having a blizzard ignore walls and areas.
- outdoors = FALSE
+ outdoors = OUTDOORS_NO
/turf/simulated/floor/water/deep/indoors
- outdoors = FALSE
\ No newline at end of file
+ outdoors = OUTDOORS_NO
\ No newline at end of file
diff --git a/code/game/turfs/turf.dm b/code/game/turfs/turf.dm
index 2f54db4847..bcd53322b8 100644
--- a/code/game/turfs/turf.dm
+++ b/code/game/turfs/turf.dm
@@ -394,3 +394,17 @@
ChangeTurf(/turf/simulated/floor/airless, preserve_outdoors = TRUE)
return TRUE
return FALSE
+
+
+// We're about to be the A-side in a turf translation
+/turf/proc/pre_translate_A(var/turf/B)
+ return
+// We're about to be the B-side in a turf translation
+/turf/proc/pre_translate_B(var/turf/A)
+ return
+// We were the the A-side in a turf translation
+/turf/proc/post_translate_A(var/turf/B)
+ return
+// We were the the B-side in a turf translation
+/turf/proc/post_translate_B(var/turf/A)
+ return
\ No newline at end of file
diff --git a/code/game/turfs/unsimulated/beach_vr.dm b/code/game/turfs/unsimulated/beach_vr.dm
index be3130a72e..6fe6b07b2c 100644
--- a/code/game/turfs/unsimulated/beach_vr.dm
+++ b/code/game/turfs/unsimulated/beach_vr.dm
@@ -1,5 +1,5 @@
/turf/simulated/floor/beach/sand/outdoors
- outdoors = TRUE
+ outdoors = OUTDOORS_YES
/turf/simulated/floor/beach/sand/desert/outdoors
- outdoors = TRUE
\ No newline at end of file
+ outdoors = OUTDOORS_YES
\ No newline at end of file
diff --git a/code/modules/admin/verbs/lightning_strike.dm b/code/modules/admin/verbs/lightning_strike.dm
index 96f5419f99..d00fb4a1af 100644
--- a/code/modules/admin/verbs/lightning_strike.dm
+++ b/code/modules/admin/verbs/lightning_strike.dm
@@ -40,13 +40,13 @@
for(var/obj/machinery/power/thing in range(LIGHTNING_REDIRECT_RANGE, T))
if(istype(thing, /obj/machinery/power/tesla_coil))
var/turf/simulated/coil_turf = get_turf(thing)
- if(istype(coil_turf) && thing.anchored && coil_turf.outdoors)
+ if(istype(coil_turf) && thing.anchored && coil_turf.is_outdoors())
coil = thing
break
if(istype(thing, /obj/machinery/power/grounding_rod))
var/turf/simulated/rod_turf = get_turf(thing)
- if(istype(rod_turf) && thing.anchored && rod_turf.outdoors)
+ if(istype(rod_turf) && thing.anchored && rod_turf.is_outdoors())
ground = thing
if(coil) // Coil gets highest priority.
diff --git a/code/modules/ai/ai_holder_combat.dm b/code/modules/ai/ai_holder_combat.dm
index edfe3eacc6..29c58e5670 100644
--- a/code/modules/ai/ai_holder_combat.dm
+++ b/code/modules/ai/ai_holder_combat.dm
@@ -318,6 +318,11 @@
if(D.density)
ai_log("destroy_surroundings() : Attacking closed door.", AI_LOG_INFO)
return melee_attack(D)
+
+ // Should always be last thing attempted
+ if(!problem_turf.opacity)
+ ai_log("destroy_surroundings() : Attacking a transparent (window?) turf.", AI_LOG_INFO)
+ return melee_attack(problem_turf)
ai_log("destroy_surroundings() : Exiting due to nothing to attack.", AI_LOG_INFO)
return ATTACK_FAILED // Nothing to attack.
diff --git a/code/modules/casino/casino.dm b/code/modules/casino/casino.dm
new file mode 100644
index 0000000000..eeb850f688
--- /dev/null
+++ b/code/modules/casino/casino.dm
@@ -0,0 +1,485 @@
+
+//Original Casino Code created by Shadowfire117#1269 - Ported from CHOMPstation
+//Modified by GhostActual#2055 for use with VOREstation
+
+//
+//Roulette Table
+//
+
+/obj/structure/casino_table
+ name = "casino table"
+ desc = "this is an unremarkable table for a casino."
+ icon = 'icons/obj/casino.dmi'
+ icon_state = "roulette_table"
+ density = 1
+ anchored = 1
+ climbable = 1
+ layer = TABLE_LAYER
+ throwpass = 1
+ var/item_place = 1 //allows items to be placed on the table, but not on benches.
+
+ var/busy = 0
+
+/obj/structure/casino_table/attackby(obj/item/W as obj, mob/user as mob)
+ if(item_place)
+ user.drop_item(src.loc)
+ return
+
+/obj/structure/casino_table/roulette_table
+ name = "roulette"
+ desc = "Spin the roulette to try your luck."
+ icon_state = "roulette_wheel"
+
+/obj/structure/casino_table/roulette_table/attack_hand(mob/user as mob)
+ if (busy)
+ to_chat(user,"You cannot spin now! The roulette is already spinning. ")
+ return
+ visible_message("\ [user] spins the roulette and throws inside little ball. ")
+ playsound(src.loc, 'sound/machines/roulette.ogg', 40, 1)
+ busy = 1
+ icon_state = "roulette_wheel_spinning"
+ var/result = rand(0,36)
+ var/color = "green"
+ add_fingerprint(user)
+ if ((result>0 && result<11) || (result>18 && result<29))
+ if (result%2)
+ color="red"
+ else
+ color="black"
+ if ( (result>10 && result<19) || (result>28) )
+ if (result%2)
+ color="black"
+ else
+ color="red"
+ spawn(5 SECONDS)
+ visible_message("The roulette stops spinning, the ball landing on [result], [color]. ")
+ busy=0
+ icon_state = "roulette_wheel"
+
+/obj/structure/casino_table/roulette_chart
+ name = "roulette chart"
+ desc = "Roulette chart. Place your bets!"
+ icon_state = "roulette_table"
+
+//
+//Blackjack table - no sprite
+//
+
+/obj/structure/casino_table/blackjack_l
+ name = "gambling table"
+ desc = "Gambling table, try your luck and skills! "
+ icon_state = "blackjack_l"
+
+/obj/structure/casino_table/blackjack_r
+ name = "gambling table"
+ desc = "Gambling table, try your luck and skills! "
+ icon_state = "blackjack_r"
+
+/obj/structure/casino_table/blackjack_m
+ name = "gambling table"
+ desc = "Gambling table, try your luck and skills! "
+ icon_state = "blackjack_m"
+
+//
+//Wheel. Of. FORTUNE!
+//
+
+/obj/machinery/wheel_of_fortune
+ name = "wheel of fortune"
+ desc = "The Wheel of Fortune! Insert chips and may fortune favour the lucky one at the next lottery!"
+ icon = 'icons/obj/64x64.dmi'
+ icon_state = "wheel_of_fortune"
+ density = 1
+ anchored = 1
+ pixel_x = -16
+
+ req_access = list(300)
+ var/interval = 1
+ var/busy = 0
+ var/public_spin = 0
+ var/lottery_sale = "disabled"
+ var/lottery_price = 100
+ var/lottery_entries = 0
+ var/lottery_tickets = list()
+ var/lottery_tickets_ckeys = list()
+
+ var/datum/effect/effect/system/confetti_spread
+ var/confetti_strength = 15
+
+
+/obj/machinery/wheel_of_fortune/attack_hand(mob/user as mob)
+ if (busy)
+ to_chat(user,"The wheel of fortune is already spinning! ")
+ return
+
+ if(usr.incapacitated())
+ return
+ if(ishuman(usr) || istype(usr, /mob/living/silicon/robot))
+ switch(input(user,"Choose what to do","Wheel Of Fortune") in list("Spin the Wheel! (Not Lottery)", "Set the interval", "Cancel"))
+ if("Cancel")
+ return
+ if("Spin the Wheel! (Not Lottery)")
+ if(public_spin == 0)
+ to_chat(user,"The Wheel makes a sad beep, public spins are not enabled right now.. ")
+ return
+ else
+ to_chat(user,"You spin the wheel! ")
+ spin_the_wheel("not_lottery")
+ if("Set the interval")
+ setinterval()
+
+
+/obj/machinery/wheel_of_fortune/attackby(obj/item/weapon/W as obj, mob/user as mob)
+ if (busy)
+ to_chat(user,"The wheel of fortune is already spinning! ")
+ return
+
+ if(usr.incapacitated())
+ return
+
+ if(istype(W, /obj/item/weapon/card/id)||istype(W, /obj/item/device/pda))
+ if(!check_access(W))
+ to_chat(user, "Access Denied. ")
+ return
+ else
+ to_chat(user, "Proper access, allowed staff controls. ")
+ if(ishuman(usr) || istype(usr, /mob/living/silicon/robot))
+ switch(input(user,"Choose what to do (Management)","Wheel Of Fortune (Management)") in list("Spin the Lottery Wheel!", "Toggle Lottery Sales", "Toggle Public Spins", "Reset Lottery", "Cancel"))
+ if("Cancel")
+ return
+ if("Spin the Lottery Wheel!")
+ to_chat(user,"You spin the wheel for the lottery! ")
+ spin_the_wheel("lottery")
+
+ if("Toggle Lottery Sales")
+ if(lottery_sale == "disabled")
+ lottery_sale = "enabled"
+ to_chat(user,"Public Lottery sale has been enabled. ")
+ else
+ lottery_sale = "disabled"
+ to_chat(user,"Public Lottery sale has been disabled. ")
+
+ if("Toggle Public Spins")
+ if(public_spin == 0)
+ public_spin = 1
+ to_chat(user,"Public spins has been enabled. ")
+ else
+ public_spin = 0
+ to_chat(user,"Public spins has been disabled. ")
+
+ if("Reset Lottery")
+ var/confirm = tgui_alert(usr, "Are you sure you want to reset Lottery?", "Confirm Lottery Reset", list("Yes", "No"))
+ if(confirm == "Yes")
+ to_chat(user, "Lottery has been Reset! ")
+ lottery_entries = 0
+ lottery_tickets = list()
+ lottery_tickets_ckeys = list()
+
+ if(istype(W, /obj/item/weapon/spacecasinocash))
+ if(lottery_sale == "disabled")
+ to_chat(user, "Lottery sales are currently disabled. ")
+ return
+ else
+ if(user.client.ckey in lottery_tickets_ckeys)
+ to_chat(user, "The scanner beeps in an upset manner, you already have a ticket! ")
+ return
+
+ var/obj/item/weapon/spacecasinocash/C = W
+ insert_chip(C, user)
+
+/obj/machinery/wheel_of_fortune/proc/insert_chip(var/obj/item/weapon/spacecasinocash/cashmoney, mob/user)
+ if (busy)
+ to_chat(user,"The Wheel of Fortune is busy, wait for it to be done to buy a lottery ticket. ")
+ return
+ if(cashmoney.worth < lottery_price)
+ to_chat(user,"You dont have enough chips to buy a lottery ticket! ")
+ return
+
+ to_chat(user,"You put [lottery_price] credits worth of chips into the Wheel of Fortune and it pings to notify of your lottery ticket registered! ")
+ cashmoney.worth -= lottery_price
+ cashmoney.update_icon()
+
+ if(cashmoney.worth <= 0)
+ usr.drop_from_inventory(cashmoney)
+ qdel(cashmoney)
+ cashmoney.update_icon()
+
+ lottery_entries++
+ lottery_tickets += "Number.[lottery_entries] [user.name]"
+ lottery_tickets_ckeys += user.client.ckey
+
+/obj/machinery/wheel_of_fortune/proc/spin_the_wheel(var/mode)
+ var/result = 0
+
+ if(mode == "not_lottery")
+ busy = 1
+ icon_state = "wheel_of_fortune_spinning"
+ result = rand(1,interval)
+
+ spawn(5 SECONDS)
+ visible_message("The wheel of fortune stops spinning, the number is [result]! ")
+ src.confetti_spread = new /datum/effect/effect/system/confetti_spread()
+ src.confetti_spread.attach(src) //If somehow people start dragging slot machine
+ spawn(0)
+ for(var/i = 1 to confetti_strength)
+ src.confetti_spread.start()
+ sleep(10)
+
+ flick("[icon_state]-winning",src)
+ busy = 0
+ icon_state = "wheel_of_fortune"
+
+ if(mode == "lottery")
+ if(lottery_entries == 0)
+ visible_message("There are no tickets in the system! ")
+ return
+
+ busy = 1
+ icon_state = "wheel_of_fortune_spinning"
+ result = pick(lottery_tickets)
+
+ spawn(5 SECONDS)
+ visible_message("The wheel of fortune stops spinning, and the winner is [result]! ")
+ src.confetti_spread = new /datum/effect/effect/system/confetti_spread()
+ src.confetti_spread.attach(src) //If somehow people start dragging slot machine
+ spawn(0)
+ for(var/i = 1 to confetti_strength)
+ src.confetti_spread.start()
+ sleep(10)
+
+ flick("[icon_state]-winning",src)
+ busy = 0
+ icon_state = "wheel_of_fortune"
+
+/obj/machinery/wheel_of_fortune/verb/setinterval()
+ set name = "Change interval"
+ set category = "Object"
+ set src in view(1)
+
+ if(usr.incapacitated())
+ return
+ if(ishuman(usr) || istype(usr, /mob/living/silicon/robot))
+ interval = input("Put the desired interval (1-1000)", "Set Interval") as num
+ if(interval>1000 || interval<1)
+ usr << "Invalid interval. "
+ return
+ usr << "You set the interval to [interval] "
+ return
+
+//
+//Slave Terminal
+//
+
+/obj/machinery/casinoslave_handler
+ name = "Sentient Prize Automated Sales Machinery"
+ desc = "The Sentient Prize Automated Sales Machinery, also known as SPASM! Here one can see who is on sale as sentinet prizes, as well as selling self and also buying prizes."
+ icon = 'icons/obj/casino.dmi'
+ icon_state = "casinoslave_hub_off"
+ density = 1
+ anchored = 1
+ req_access = list(300)
+
+ var/casinoslave_sale = "disabled"
+ var/casinoslave_price = 100
+ var/collar_list = list()
+ var/slaves_ckeys_list = list() //Same trick as lottery, to keep life simple
+ var/obj/item/clothing/accessory/collar/casinoslave/selected_collar = null
+
+/obj/machinery/casinoslave_handler/attack_hand(mob/living/user as mob)
+ if(usr.incapacitated())
+ return
+ if(casinoslave_sale == "disabled")
+ to_chat(user,"The SPASM is disabled. ")
+ return
+
+ if(ishuman(usr) || istype(usr, /mob/living/silicon/robot))
+ switch(input(user,"Choose what to do","SPASM") in list("Show selected Prize", "Select Prize", "Become Prize (Please examine yourself first)", "Cancel"))
+ if("Cancel")
+ return
+ if("Show selected Prize")
+ if(QDELETED(selected_collar))
+ collar_list -= selected_collar
+ slaves_ckeys_list -= selected_collar.slaveckey
+ to_chat(user, "No collar is currently selected or the currently selected one has been destroyed or disabled. ")
+ selected_collar = null
+ return
+ to_chat(user, "Sentient Prize information ")
+ to_chat(user, "Name: [selected_collar.slavename] ")
+ to_chat(user, "Description: [selected_collar.slaveflavor] ")
+ to_chat(user, "OOC: [selected_collar.slaveooc] ")
+ if(selected_collar.ownername != null)
+ to_chat(user, "This prize is already owned by [selected_collar.ownername] ")
+
+ if("Select Prize")
+ selected_collar = tgui_input_list(user, "Select a prize", "Chose a collar", collar_list)
+ if(QDELETED(selected_collar))
+ collar_list -= selected_collar
+ slaves_ckeys_list -= selected_collar.slaveckey
+ to_chat(user, "No collars to chose, or selected collar has been destroyed or deactived, selection has been removed from list. ")
+ selected_collar = null
+ return
+
+ if("Become Prize (Please examine yourself first)") //Its awkward, but no easy way to obtain flavor_text due to server not loading text of mob until its been examined at least once.
+ var/safety_ckey = user.client.ckey
+ if(safety_ckey in slaves_ckeys_list)
+ to_chat(user, "The SPASM beeps in an upset manner, you already have a collar! ")
+ return
+ var/confirm = tgui_alert(usr, "Are you sure you want to become a sentient prize?", "Confirm Sentient Prize", list("Yes", "No"))
+ if(confirm == "Yes")
+ to_chat(user, "You are now a prize! ")
+ if(safety_ckey in slaves_ckeys_list)
+ to_chat(user, "The SPASM beeps in an upset manner, you already have a collar! ")
+ return
+ slaves_ckeys_list += user.ckey
+ var/obj/item/clothing/accessory/collar/casinoslave/C = new(src.loc)
+ C.slavename = "[user.name]"
+ C.slaveckey = "[user.ckey]"
+ C.slaveflavor = user.flavor_text
+ C.slaveooc = user.ooc_notes
+ C.name = "Sentient Prize Collar: Available! [user.name] purchaseable at the SPASM!"
+ C.desc = "SPASM collar. The tags shows in flashy colorful text the wearer is [user.name] and is currently available to buy at the Sentient Prize Automated Sales Machinery!"
+ C.icon_state = "casinoslave_available"
+ C.update_icon()
+ collar_list += C
+
+ spawn_casinochips(casinoslave_price, src.loc)
+
+/obj/machinery/casinoslave_handler/attackby(obj/item/weapon/W as obj, mob/user as mob)
+ if(usr.incapacitated())
+ return
+
+ if(istype(W, /obj/item/weapon/spacecasinocash))
+ if(casinoslave_sale == "disabled")
+ to_chat(user, "Sentient Prize sales are currently disabled. ")
+ return
+ if(!selected_collar.ownername)
+ var/obj/item/weapon/spacecasinocash/C = W
+ if(user.client.ckey == selected_collar.slaveckey)
+ insert_chip(C, user, "selfbuy")
+ return
+ else
+ insert_chip(C, user, "buy")
+ return
+ else
+ to_chat(user, "This Sentient Prize is already owned! If you are the owner you can release the prize by swiping the collar on the SPASM! ")
+ return
+
+ if(istype(W, /obj/item/clothing/accessory/collar/casinoslave))
+ var/obj/item/clothing/accessory/collar/casinoslave/C = W
+ if(user.name != C.slavename && user.name != C.ownername)
+ to_chat(user, "This Sentient Prize collar isn't yours, please give it to the one it tagged for, belongs to, or a casino staff member! ")
+ return
+ if(user.name == C.slavename)
+ if(!C.ownername)
+ to_chat(user,"If collar isn't disabled and entry removed, please select your entry and insert chips. Or contact staff if you need assistance. ")
+ return
+ else
+ to_chat(user,"If collar isn't disabled and entry removed, please ask your owner to free you with collar swipe on the SPASM, or contact staff if you need assistance. ")
+ return
+ if(user.name == C.ownername)
+ var/confirm = tgui_alert(usr, "Are you sure you want to wipe [C.slavename] entry?", "Confirm Sentient Prize Release", list("Yes", "No"))
+ if(confirm == "Yes")
+ to_chat(user, "[C.slavename] collar has been deleted from registry! ")
+ C.icon_state = "casinoslave"
+ C.update_icon()
+ C.name = "a disabled Sentient Prize Collar: [C.slavename]"
+ C.desc = "A collar worn by sentient prizes registered to a SPASM. The tag says its registered to [C.slavename], but harsh red text informs you its been disabled."
+ slaves_ckeys_list -= C.slaveckey
+ C.slaveckey = null
+ collar_list -= C
+
+ if(istype(W, /obj/item/weapon/card/id)||istype(W, /obj/item/device/pda))
+ if(!check_access(W))
+ to_chat(user, "Access Denied. ")
+ return
+ else
+ to_chat(user, "Proper access, allowed staff controls. ")
+ if(ishuman(usr) || istype(usr, /mob/living/silicon/robot))
+ switch(input(user,"Choose what to do (Management)","SPASM (Management)") in list("Toggle Sentient Prize Sales", "Wipe Selected Prize Entry", "Change Prize Value", "Cancel"))
+ if("Cancel")
+ return
+
+ if("Toggle Sentient Prize Sales")
+ if(casinoslave_sale == "disabled")
+ casinoslave_sale = "enabled"
+ icon_state = "casinoslave_hub_on"
+ update_icon()
+ to_chat(user,"Prize sale has been enabled. ")
+ else
+ casinoslave_sale = "disabled"
+ icon_state = "casinoslave_hub_off"
+ update_icon()
+ to_chat(user,"Prize sale has been disabled. ")
+
+ if("Wipe Selected Prize Entry")
+ if(!selected_collar)
+ to_chat(user, "No collar selected! ")
+ return
+ if(QDELETED(selected_collar))
+ collar_list -= selected_collar
+ slaves_ckeys_list -= selected_collar.slaveckey
+ to_chat(user, "Collar has been destroyed! ")
+ selected_collar = null
+ return
+ var/safety_ckey = selected_collar.slaveckey
+ var/confirm = tgui_alert(usr, "Are you sure you want to wipe [selected_collar.slavename] entry?", "Confirm Sentient Prize", list("Yes", "No"))
+ if(confirm == "Yes")
+ if(safety_ckey == selected_collar.slaveckey)
+ to_chat(user, "[selected_collar.slavename] collar has been deleted from registry! ")
+ selected_collar.icon_state = "casinoslave"
+ selected_collar.update_icon()
+ selected_collar.name = "a disabled Sentient Prize Collar: [selected_collar.slavename]"
+ selected_collar.desc = "A collar worn by sentient prizes registered to a SPASM. The tag says its registered to [selected_collar.slavename], but harsh red text informs you its been disabled."
+ slaves_ckeys_list -= selected_collar.slaveckey
+ selected_collar.slaveckey = null
+ collar_list -= selected_collar
+ selected_collar = null
+ else
+ to_chat(user, "Registry deletion aborted! Changed collar selection! ")
+ return
+
+ if("Change Prize Value")
+ setprice(user)
+
+/obj/machinery/casinoslave_handler/proc/insert_chip(var/obj/item/weapon/spacecasinocash/cashmoney, mob/user, var/buystate)
+ if(cashmoney.worth < casinoslave_price)
+ to_chat(user,"You dont have enough chips to pay for the sentient prize! ")
+ return
+
+ cashmoney.worth -= casinoslave_price
+ cashmoney.update_icon()
+
+ if(cashmoney.worth <= 0)
+ usr.drop_from_inventory(cashmoney)
+ qdel(cashmoney)
+ cashmoney.update_icon()
+
+ if(buystate == "selfbuy")
+ to_chat(user,"You put [casinoslave_price] credits worth of chips into the SPASM and nullify your collar! ")
+ selected_collar.icon_state = "casinoslave"
+ selected_collar.update_icon()
+ selected_collar.name = "a disabled Sentient Prize Collar: [selected_collar.slavename]"
+ selected_collar.desc = "A collar worn by sentient prizes registered to a SPASM. The tag says its registered to [selected_collar.slavename], but harsh red text informs you its been disabled."
+ slaves_ckeys_list -= selected_collar.slaveckey
+ selected_collar.slaveckey = null
+ collar_list -= selected_collar
+ selected_collar = null
+
+ if(buystate == "buy")
+ to_chat(user,"You put [casinoslave_price] credits worth of chips into the SPASM and it pings to inform you bought [selected_collar.slavename]! ")
+ selected_collar.icon_state = "casinoslave_owned"
+ selected_collar.update_icon()
+ selected_collar.ownername = user.name
+ selected_collar.name = "Sentient Prize Collar: [selected_collar.slavename] owned by [selected_collar.ownername]!"
+ selected_collar.desc = "A collar worn by sentient prizes registered to a SPASM. The tag says its registered to [selected_collar.slavename] and they are owned by [selected_collar.ownername]."
+ selected_collar = null
+
+/obj/machinery/casinoslave_handler/proc/setprice(mob/living/user as mob)
+ if(usr.incapacitated())
+ return
+ if(ishuman(usr) || istype(usr, /mob/living/silicon/robot))
+ casinoslave_price = input("Select the desired price (1-1000)", "Set Price") as num
+ if(casinoslave_price>1000 || casinoslave_price<1)
+ to_chat(user,"Invalid price. ")
+ return
+ to_chat(user,"You set the price to [casinoslave_price] ")
diff --git a/code/modules/casino/casino_book.dm b/code/modules/casino/casino_book.dm
new file mode 100644
index 0000000000..1f80817112
--- /dev/null
+++ b/code/modules/casino/casino_book.dm
@@ -0,0 +1,284 @@
+
+//Original Casino Code created by Shadowfire117#1269 - Ported from CHOMPstation
+//Modified by GhostActual#2055 for use with VOREstation
+
+//
+//Casino Manual - NEEDS EDITING
+//
+
+/obj/item/weapon/book/manual/casino
+ name = "A dummy guide to losing your thalers"
+ icon = 'icons/obj/casino.dmi'
+ icon_state ="casinomanual"
+ author = "Sleazy Serpent Saren"
+ w_class = 2 // To allow it to be stuffed away into wallets for easy readings during events
+ title = "A dummy guide to losing your thalers"
+ dat = {"
+
+
+
+
+
+
+
+ Foreword: Welcome to gambling!
+ Blackjack
+ Roulette
+ Poker
+ Cards against the galaxy
+ Prizes
+ Sentient prizes
+
+
+
+ In this book I'll teach you all about how to gamble your money away or at least get lucky and win some! This book also has a handy little overview of the prizes one can earn and the limitations of what can do with the living and breathing ones.
+ (This book will also contain out of character information to help people be aware of how touchy subjects like sentient prizes are to be handled.)
+
+
+ First up is the classic sport of blackjack, blackjack is played normally between a gambler and a dealer, the goal is to have the higher number than the opponent but not go above 21 or it will be a bust and one loses automatically.
+ The values of cards are as follow:
+
+ Ace - 1 or 11, can be freely decided at any moment
+ 2 - 10 - value coresponding to their number
+ All face cards excluding joker - Value of 10
+
+ A game of blackjack begins with the dealer giving the gambler two cards, in normal blackjack all cards dealt to gambler and dealer are always shown. The two cards dealt have their values put together, the gambler has three choices, stand, hit, or double down.
+
+ Stand - Gambler or dealer decides not to draw any more cards and it becomes the dealers turn or ends.
+ Hit - 10 - The dealer draws a new card, adding to the existing hand, if its a bust the game will end and they will lose.
+ Double down - A risky move the gambler can do, the dealer draws one more card and the bet is doubled, but no more cards can be drawn and it becomes the dealer's turn.
+
+ When it becomes the dealer's turn they do the same as the gambler, though their only goal is to get a higher or equal value to gambler. The dealer cant double down, and the large majority of casino's has the rule that a dealer cant draw anymore cards once they reach or go above a value. The most common value is 17, and there are two variants to that rule, soft and hard 17.
+
+ Soft 17 - If the gambler gets 17, they can draw another card.
+ Hard 17 - They dealer must stop if they get a value of 17.
+
+ The casino who supplies this version of the manual follows the rule of hard 17.
+ The game ends when the dealer busts, reaches the threshold of what they are allowed to draw, or if they get a higher value than the gambler. Again, the one who has the highest value that isnt higher than 21 wins, but if both has the same value no one wins and the bet goes back to the gambler.
+ And thats it! Now go out there and gamble your savings away! This casino allows bets between 5 and 50 with double down ignoring that limit!
+
+ But wait! Theres more! Theres also group blackjack! This game is a little different, the dealer can be part of it or simple deal for players, this game works differently with everyone keeping their hands hidden, everyone makes initial bets, gets two facedown cards, then its a matter of trying to get as good a hand as possible, but if you go bust, its over. But dont tell or show until everyone reveals! If youre going down, its best if youre opponents dont know they simply can play safe and win, if youre lucky everyone else gets themselves busted and you dont lose your beloved chips!
+ Its kinda like texas hold em in a way, everyone draws, folks can raise bets or fold, then draw more. Rinse and repeat until no one wants to raise any more nor draw cards, if everyone except one person has folded, they win by default even if they have busted, cause they dont need to reveal their hand that game, so you can choose to either sit and wait and fold if someone raise the bets, or you can gamble and make it look like you have an amazing hand and win by default since everyone else folds and no one is wise that you had a bust! This game has turned from simple probability and chance against the dealer to a game of risk and deception, fun fun fun!
+
+
+ So this game of roulette is all about chance! what happens is that people bet on different odds and hope for the best as the dealer rolls the ball and makes that roulette thingy make than fun addicting spin! Once it lands on a number between 0 and 36 its either bust or payout! Pretty simple, right?
+ Everyone starts by putting their bets down, people can bet more than once before the ball goes rolling, the odds and their payoffs are these:
+
+ Single number - 35/1 payoff - The most unlikely one to get, but if the ball lands on your number, then youre loaded!
+ Split Number - 17/1 - Choose an interval of 2, not very likely and therefore big reward!
+ Row - 11/1 - Choose an interval of 3, more likely so not the biggest outcome!
+ Split - 8/1 - Choose an interval of 4, not gonna win big time.
+ Split row - 5/1 - Choose an interval of 6, getting to the safer bets.
+ Column - 2/1 - Choose an interval of 12, boring, but likely.
+ Red/Black or even/odd numbers - 1/1 - Odd or even numbers explains themselves. Red numbers are from 0 to 11 and 18 to 29 while the rest is black. These are the safest bets there are!
+
+ Theres not much more to it! Bets made, ball rolls, number announced, people win, people lose! Bets allowed here are from 1 to 25 per bet. Oh, im also being told this casino has the fancy rule that if ball lands on 0, one wins at least one bet no matter what it is! So lets hope you got that big bet on a single number!
+
+
+ Aaah yes, good old poker. This casino runs by the rules of texas hold em, though the might be a little modified to be simpler for the average joe. In a game of poker it can be a single gambler and a dealer against each other, but most often its the dealer making the game proceed while several gamblers fights tooth and nail to steal each others chips, but the dealer can still join in on the free for all if they so wish!
+ To simply explain the game, people gamble with each other, a game of trying to get the best hand and raise bets or back out depending on what the outcome may be. The game starts with everyone betting a certain amount, it can be 5 or 10 chips depending on dealer, but if one wants to join, there needs to be chips on that table! Once everyone has made their initial bet, everyone gets two cards face down, these are kept hidden, no one not even dealer gets to see players cards until the end, not even folded cards are to be shown unless wanted to, sometimes its better making people unsure if you dropped out with bad cards or if you have other motives, deception is a large part of this game!
+ With everyone having cards dealt, its time for the dealer to lay three on the table face up, these cards are 3 of 5 cards in the community pool, everyone can use these cards to make sets like pairs and such, this doesnt mean they are taken, multiple people can use the same community card for their own sets!
+ With the community having three we enter the second betting stage, here people have two options, standing or raising. Standing means you dont want to raise, raising explains itself, though if someone bets, people have three options, commit putting the chips in to risk as much as the raised bet, but if one doesnt have enough, then they can still go all in with their remaining chips, one can also drop out if its too risky, the chips bet will remain on the table, but at least you wont lose more eh? Final one is to raise further, sometimes people can dare each other to raise more, but its not allowed for someone to raise, then raise further if no one else raises after them!
+ As said earlier, we got like a community pool of 5 cards total, this time another card is revealed and we enter a new betting phase, then the final fifth card is revealed and final bets are made, and then the cards are revealed so it can be determined who has the best hand! If two or more have equally good sets, then the chips are split evenly between them.
+ But notice, if someone is left because everyone else didnt dare to raise with their bet, they can decide to not reveal their hand, they might have had a winning hand, or maybe its terrible and they just bluffed their way to victory, only they know and can decide if they want to expose their cards to gloat or confuse their opponents. So in summary, the game can be simple, but hard to master!
+ And here is the order of winning hands folks!
+
+ Royal flush - The big and best one, this is a set of a 10, Ace, Knave/Jack, Queen and King of the same suit.
+ Straight flush - This one is also definently a winner, though can be easier to get as it just needs to be five cards making a sraight of the same suit, an example being black 3 to 7.
+ Four of a kind - Nice one, if you get this then you got a good chance to win. The value of the cards determine who wins, so ace is the best followed by king, queen and jack, then the peasant number cards!
+ Full House - This one is good, but it requires you have three of a kind and a two of a kind, obviously value is part of the house, so the best roof is made of Ace with king making a strong foundation!
+ Flush - This one requires the gambler to have 5 cards of a suit, not in any order, but the highest value card determines worth, so hope you got an Ace in your combo!
+ Straight - Its like the royal flush, but can be any suits in combo, Ace can be lowest from Ace to 5 or highest from 10 to Ace!
+ Three of a kind - Explains itself well enough, get three together and you got something going, lets hope you can build a house!
+ Two pairs - You almost got yourself a house! But at least at this point its something!
+ A pair - The worst set you can get, but you might be extremely lucky and have this while others have an inferior pair or the worst possible hand ever which is...
+ High card - The absolute worst, if you cant get any of those sets, then you got this sad case, if a game mananages to end with no one getting a set, then the one with the highest value cards wins!
+
+
+ Wew, what a long lesson, but thats how one does the Texas hold em here at this casino, hope you guys have fun winning and losing your hard earned cash with this one!
+
+
+
+ So hear this, NT is now sponsoring team building at the casino, so folks who wants to just relax with friends, play some games, earn chips with no risk, even the ones broke can join in on a fun game of Cards against the galaxy and have fun!
+ The idea is that once a round has concluded and a casino member is present to see the game being actually played, everyone gets 10 chips while the one who won the round gets 25 instead! Interested? Good! Its easy and simple to play and very fun and vulgar!
+
+ The game is best played with at least 4 players and starts with everyone drawing 7 white cards, the person who most recently pooped starts as the 'card czar', but folks can agree on another criteria for the czar or simply pick one. Each round the current card czar draws a black card that has text written on it and blank lines, everyone aside from the czar takes a white card from their hand for every blank line which they find funny in that sentence and puts on the table face down with the others. The card czar cant know who has which white card and simply reads the black card with the white ones, the most funniest combination is choosen by the czar and the one who made that combination is the current rounds winner and the next rounds czar. At the end of each round everyone makes sure to draw enough white card to have 7 on hand and if theres a casino staff member playing or watching, they note down or hand out chips for everyone, and if they are playing, they get to add chips to their own personal stockpile too!
+ Thats it for cards against the galaxy! Simple, fun and vulgar, whats there not to love?
+
+
+
+ Hey folks, welcome to the prize section! This part is definently important for you folks operating the prize booth! First off I wanna tell you some great news! Nanotransen has gone along with a nice deal that allows crew to occasionally keep their hard earned rewards on station for a limited time, now you can enjoy your new fancy toolbelt or bluespace beaker for more than just the shift where the casino comes around!
+ ((Be aware, there can be limitations on how many rewards you get to keep after the shift, it might be unfair if some shows up and wins one thing, while they watch as command staff crew with high background income as well as hyperactive miners walks home with 20 prizes they get to enjoy while having almost done no gambling at all.))
+
+ Lets get to the prizes and exchange rate before we get started on the stuff specifically for the booth operators, so heres the current prizes one can win and their costs! Be aware there might be new prizes or absent ones from time to time!
+
+ EXCHANGE RATE
+ FROM = TO
+ 5 Thalers = 1 casino chip
+ 1 casino chip = 5 Thalers
+
+ The special sentient prize is 100 chips! More about it in section below!
+
+ Melee weapons
+
+ scepter 500
+ chain of command 250
+
+ Guns and 'guns' ((disclaimer, giving out guns will mean you get a weapons license as well with the shifts you have it, abusing these weapons will quickly get them removed!))
+
+ sizegun 100
+ advanced anti particle rifle 500
+ temperature gun 250
+ alien pistol 1000
+ floral somatoray 250
+ net gun 500
+
+ Gear
+
+ experimental welder 500
+ alien belt 750
+ alien enhancement vest 750
+ The monocoole 1000
+ chameleon black tie 250
+ cryostasis beaker 200
+ bluespace beaker 200
+ chem sprayer 250
+
+ Masks and hats - EVERYTHING IS 50 except chameleon!
+
+ assistant hat
+ Shark mask
+ Pig mask
+ Luchador mask
+ Horse mask
+ Goblin mask
+ Fake moustache
+ Dolphin mask
+ Demon mask
+ Chameleon gas mask 250
+
+ Costumes - All costumes are 100 except the hoodies which are 50!
+
+ Black bunny girl outfit (black suit and rabbit ears)
+ White bunny girl outfit (white suit and rabbit ears)
+ Corgi hoodie
+ Sexy clown
+ nyan girl
+ Wizard
+ Chicken
+ Carp hoodie
+ Sexy mime
+ Pirate
+ Commie
+ Plague doctor
+ Imperium monk
+ Cute witch
+ Gladiator
+
+ Toys and misc - ALL THESE ARE 50
+
+ Toy sword
+ Water flower
+ Stick horse
+ Replica katana
+ Magic conch
+ Magic 8-ball
+ Foam sword
+ Foam crossbow (with 5 bolts)
+ Bosun's whistle
+ Golden cup
+ Havana cigar case
+ Casino wallet (to keep after shift)
+ Casino card deck (to keep after shift)
+
+ Booze - ALL BOOZE IS 50
+
+ Redeemer brew
+ Warlock velvet
+ Wrapp artiste patron
+ Flask of holy water
+ College girl goldschlager
+ Gilthari luxury champagne
+ Bottle of nothing
+ Special blend whiskey
+ Akvavit
+
+ Pets
+
+ Armadillo 150
+ Cat 150
+ Goat 150
+ Fox 150
+ Lizard 150
+ Penguin 150
+ Goose 200
+ Chicken 200
+ Cow 200
+ Corgi 200
+ Snake 200
+ Yithian 200
+ Tindalos 200
+ Fennec 300
+ Red Panda 300
+ Horse 300
+ Otie 500
+ Chonker Otie 500
+ Zorgoia 500
+
+ Mechs
+
+ Mining Ripley 1000
+ Firefighter Ripley 750
+ Serenity 1500
+ Odysseus 1250
+ Phazon Scuttlebug 2000
+ Phazon Janus 3500
+ Scarab 500
+ Shuttlepod 250
+ ´Shuttlecraft 500
+
+ Implants
+
+ Implanter 100 (A basic empty implanter, you are going to need this to implant yourself with cyberntic augments)
+ Implant: Tazer 1000 (A cybernetic implant that allows one to spawn a personal defense taser)
+ Implant: Medkit 500 (A cybernetic implant that allows you to spawn all the tools needed for surgery)
+ Implant: Shades 750 (A cybernetic implant that will spawn protective thermoshades upon your eyes, AR included!)
+ Implant: Sprinter 1500 (A cybernetic implant that will give you that extra kick of energy to run faster!)
+ Implant: Toolkit 500 (A cybernetic implant that allows you to spawn all the tools needed for engineering)
+ Implant: Language 1000 (A cybernetic implant that allows you to understand almost all languages)
+ Implant: Analyzer 500 (A cybernetic implant that allows one to spawn a Portable Resonant Analyzer for any science needs)
+ Implant: Size Control 500 (A cybernetic implant that allows one to change the size of others via specific voice commands)
+
+
+ Thats it for prizes!
+
+ Now comes the part for the both operators, you got a very important job, it has a lot of responsibility, so it means that you gotta put that first before your own fun, cause unless you do it, a lot of folks are gonna be left sad and dissappointed they cant get any goodies! But the process is simple and can be quick, someone comes to you, they want some chips, or thalers back or a prize, you simply check this nice guide above to determine cost and ask for the amount of thalers or chips needed, if its a prize, then you follow this procedure:
+
+ First get the thalers or chips for payment.
+ Before giving the prize you take out your prize winner folder and a piece of paper, this paper will be named after the one getting the reward and will have further prizes noted down into it, so make sure its safe in that folder!
+ You write at the top of the document the winner's name, then below write in big letters 'PRIZES' and put each new reward on its own line! ((You skip to a new line by writing < br > without the space between the br and the clamps))
+ Once written down, you just put the paper back in the folder and hand over the prize!
+
+ ((When shift is nearing its end you pray to staff or DM the one responsible for the event, they will get the folder and copy paste all the reward info before shift is over and ensure people get their rewards. This is a very important job and we understand it might not be so fun being restricted during an event, but just like the rest of volunteer staff, you get rewarded with guaranteed prizes to enjoy after the shift for being a big help!))
+ ((This gets to the sour part, cheating and giving others and yourself free prizes and/or chips is absolutely forbidden, this has OOC consequences and will likely blacklist you from being important roles in future events. Though dont fear getting punished even if you havent done anything wrong, we will rather let cheaters slip than let honest players get wrongfully punished!))
+
+
+ Goodness me this is quite the casino huh? Who would have thought one could win other people as a prize? Well you can do just about anything you want with them! Be it just company, some less children friendly company, heck you can even eat them or make them eat you! The options and possibilities are quite frankly limitless!
+ Now you might ask, how does one get these fancy prizes? Well they can be obtained by checking in at the exchange both and see the list of prizes, there might be none, there might be many, it depends on volunteers and losers! This brings us first to volunteers and then to losers!
+ Volunteering is simple! Anyone can walk up to the booth and ask to be a sentient prize, what this means is that you get a nice sum of 150 chips for you to do whatever you want, but someone might come at any point and claim you!
+ Losers are obtained differently, if youre completly busted and have nothing left, you become a prize that the one you lost to can do whatever they want with, this means both gamblers and dealers can end up as a prize, though if for whatever reason you dont become their prize, you get added to the list for someone else to enjoy. Becoming a prize means you also get 100 chips in compensation!
+
+ Now hear this! The casino has decided that to spice things up, folks can bet themselves at any time and arent already a prize on the list! Doesnt matter if youre rich or broke, playing blackjack or roulette, you can bet yourself in any game and youre worth 250 chips! But be careful, cause if you lose, youre the winners prize! They can keep you, give you to someone else. or to the prize booth and get the chips you would have gotten as volunteer! But if given to the booth, the winner cant buy their prize back for the lower cost!
+
+ ((Sour part again, but very important. These sentient prizes can be fun, but one thing always dictates how these things goes down, preferences and ooc wants. If preferences dont line up and people dont agree to do winner/loser scene it becomes sentient prize on list. And someone cant win a prize if the prize ooc doesnt want to do what the winner wants to do. We still wish people to try and reach out and try things with new people and/or new things they are comfortable doing, but never shall anyone be forced into a situation they dont want!))
+
+
+
+ "}
\ No newline at end of file
diff --git a/code/modules/casino/casino_cards.dm b/code/modules/casino/casino_cards.dm
new file mode 100644
index 0000000000..9df021abbe
--- /dev/null
+++ b/code/modules/casino/casino_cards.dm
@@ -0,0 +1,48 @@
+
+//Original Casino Code created by Shadowfire117#1269 - Ported from CHOMPstation
+//Modified by GhostActual#2055 for use with VOREstation
+
+/obj/item/weapon/deck/cards/casino/New()
+ var/datum/playingcard/casino/P
+ for(var/suit in list("spades","clubs","diamonds","hearts"))
+
+ var/colour
+ if(suit == "spades" || suit == "clubs")
+ colour = "black_"
+ else
+ colour = "red_"
+
+ for(var/number in list("ace","two","three","four","five","six","seven","eight","nine","ten"))
+ P = new()
+ P.name = "[number] of [suit]"
+ P.card_icon = "casino_[colour]num"
+ P.back_icon = "casino_card_back"
+ cards += P
+
+ for(var/number in list("jack","queen","king"))
+ P = new()
+ P.name = "[number] of [suit]"
+ P.card_icon = "casino_[colour]col"
+ P.back_icon = "casino_card_back"
+ cards += P
+
+/datum/playingcard/casino
+ name = "playing card"
+ card_icon = "card_back"
+ back_icon = "card_back"
+
+/obj/item/weapon/deck/casino
+ w_class = ITEMSIZE_SMALL
+ icon = 'icons/obj/playing_cards.dmi'
+
+/obj/item/weapon/deck/holder/casino //WIP In future do a cool holder
+ name = "card box"
+ desc = "A small leather case to show how classy you are compared to everyone else."
+ icon = 'icons/obj/playing_cards.dmi'
+ icon_state = "card_holder"
+
+/obj/item/weapon/deck/cards/casino
+ name = "deck of casino cards"
+ desc = "A deck of playing cards from the golden goose casino, comes without a joker card!"
+ icon = 'icons/obj/playing_cards.dmi'
+ icon_state = "casino_deck"
\ No newline at end of file
diff --git a/code/modules/casino/casino_prize_vendor.dm b/code/modules/casino/casino_prize_vendor.dm
new file mode 100644
index 0000000000..0672170d8f
--- /dev/null
+++ b/code/modules/casino/casino_prize_vendor.dm
@@ -0,0 +1,305 @@
+
+//Original Casino Code created by Shadowfire117#1269 - Ported from CHOMPstation
+//Modified by GhostActual#2055 for use with VOREstation
+
+// Use this define to register a prize!
+// * n - The proper name of the purchasable
+// * o - The object type path of the purchasable to spawn
+// * r - The amount to dispense
+// * p - The price of the purchasable in chips
+// * l - The restriction of the item
+#define CASINO_PRIZE(n, o, r, p, l) n = new /datum/data/casino_prize(n, o, r, p, l)
+
+/datum/data/casino_prize
+ var/equipment_path = null
+ var/equipment_amt = 1
+ var/cost = 0
+ var/category = null
+ var/restriction = null
+
+/datum/data/casino_prize/New(name, path, amt, cost, restriction)
+ src.name = name
+ src.equipment_path = path
+ src.equipment_amt = amt
+ src.cost = cost
+ src.category = category
+ src.restriction = restriction
+
+/obj/machinery/casino_prize_dispenser
+ name = "Casino Prize Exchanger"
+ desc = "Exchange your chips to obtain wonderful prizes! Hoepfully you'll get to keep some of them for a while."
+ icon = 'icons/obj/casino.dmi'
+ icon_state ="casino_prize_dispenser"
+ var/icon_vend ="casino_prize_dispenser-vend"
+ anchored = 1
+ density = 1
+ opacity = 0
+ var/list/item_list
+
+ clicksound = "button"
+ var/vending_sound = "machines/vending/vending_drop.ogg"
+
+ // Power
+ use_power = USE_POWER_IDLE
+ idle_power_usage = 10
+ var/vend_power_usage = 150 //actuators and stuff
+
+ // Vending-related
+ var/datum/data/casino_prize/currently_vending = null // What we're requesting payment for right now
+ var/list/log = list() //Log only SS13 staff is allowed to look at, CKEYS are listed here for record keeping of prizes and players for events!
+
+ var/category_weapons = 1 //For listing categories, if false then prizes of this categories cant be obtained nor bought for post-shift enjoyment
+ var/category_gear = 1 //If 1 prizes will be only logged
+ var/category_clothing = 1 //If 2 prizes will both be logged and spawned
+ var/category_misc = 1
+ var/category_drinks = 1
+ var/category_implants = 1
+ var/category_event = 1 //For special events, holidays, etc
+
+/obj/machinery/casino_prize_dispenser/Initialize()
+ . = ..()
+ power_change()
+
+ item_list = list()
+ item_list["Weapons"] = list(
+ CASINO_PRIZE("Scepter", /obj/item/weapon/scepter, 1, 500, "weapons"),
+ CASINO_PRIZE("Chain of Command", /obj/item/weapon/melee/chainofcommand, 1, 250, "weapons"),
+ CASINO_PRIZE("Size Gun", /obj/item/weapon/gun/energy/sizegun, 1, 100, "weapons"),
+ CASINO_PRIZE("Advanced Particle Rifle", /obj/item/weapon/gun/energy/particle/advanced, 1, 500, "weapons"),
+ CASINO_PRIZE("Temperature Gun", /obj/item/weapon/gun/energy/temperature, 1, 250, "weapons"),
+ CASINO_PRIZE("Alien Pistol", /obj/item/weapon/gun/energy/alien, 1, 1000, "weapons"),
+ CASINO_PRIZE("Floral Gun", /obj/item/weapon/gun/energy/floragun, 1, 250, "weapons"),
+ CASINO_PRIZE("Net Gun", /obj/item/weapon/gun/energy/netgun, 1, 500, "weapons"),
+ )
+ item_list["Gear"] = list(
+ CASINO_PRIZE("Experimental Welder", /obj/item/weapon/weldingtool/experimental, 1, 500, "gear"),
+ CASINO_PRIZE("Chameleon Tie", /obj/item/clothing/accessory/chameleon, 1, 250, "gear"),
+ CASINO_PRIZE("Chemsprayer", /obj/item/weapon/reagent_containers/spray/chemsprayer, 1, 250, "gear"),
+ CASINO_PRIZE("Bluespace Beaker", /obj/item/weapon/reagent_containers/glass/beaker/bluespace, 1, 200, "gear"),
+ CASINO_PRIZE("Cryo Beaker", /obj/item/weapon/reagent_containers/glass/beaker/noreact, 1, 200, "gear"),
+ )
+ item_list["Clothing"] = list(
+ CASINO_PRIZE("Shark mask", /obj/item/clothing/mask/shark, 1, 50, "clothing"),
+ CASINO_PRIZE("Pig mask", /obj/item/clothing/mask/pig, 1, 50, "clothing"),
+ CASINO_PRIZE("Luchador mask", /obj/item/clothing/mask/luchador, 1, 50, "clothing"),
+ CASINO_PRIZE("Horse mask", /obj/item/clothing/mask/horsehead, 1, 50, "clothing"),
+ CASINO_PRIZE("Goblin mask", /obj/item/clothing/mask/goblin, 1, 50, "clothing"),
+ CASINO_PRIZE("Fake moustache", /obj/item/clothing/mask/fakemoustache, 1, 50, "clothing"),
+ CASINO_PRIZE("Dolphin mask", /obj/item/clothing/mask/dolphin, 1, 50, "clothing"),
+ CASINO_PRIZE("Demon mask", /obj/item/clothing/mask/demon, 1, 50, "clothing"),
+ CASINO_PRIZE("Chameleon mask", /obj/item/clothing/under/chameleon, 1, 250, "clothing"),
+ CASINO_PRIZE("Ian costume", /obj/item/clothing/suit/storage/hooded/ian_costume, 1, 50, "clothing"),
+ CASINO_PRIZE("Carp costume", /obj/item/clothing/suit/storage/hooded/carp_costume, 1, 50, "clothing"),
+ )
+ item_list["Miscellaneous"] = list(
+ CASINO_PRIZE("Toy sword", /obj/item/toy/sword, 1, 50, "misc"),
+ CASINO_PRIZE("Waterflower", /obj/item/weapon/reagent_containers/spray/waterflower, 1, 50, "misc"),
+ CASINO_PRIZE("Horse stick", /obj/item/toy/stickhorse, 1, 50, "misc"),
+ CASINO_PRIZE("Katana", /obj/item/toy/katana, 1, 50, "misc"),
+ CASINO_PRIZE("Conch", /obj/item/toy/eight_ball/conch, 1, 50, "misc"),
+ CASINO_PRIZE("Eight ball", /obj/item/toy/eight_ball, 1, 50, "misc"),
+ CASINO_PRIZE("Foam sword", /obj/item/weapon/material/sword/foam, 1, 50, "misc"),
+ CASINO_PRIZE("Whistle", /obj/item/toy/bosunwhistle, 1, 50, "misc"),
+ CASINO_PRIZE("Golden cup", /obj/item/weapon/reagent_containers/food/drinks/golden_cup, 1, 50, "misc"),
+ CASINO_PRIZE("Quality cigars", /obj/item/weapon/storage/fancy/cigar/havana, 1, 50, "misc"),
+ CASINO_PRIZE("Casino wallet (kept after event)", /obj/item/weapon/storage/wallet/casino, 1, 50, "misc"),
+ CASINO_PRIZE("Casino cards", /obj/item/weapon/deck/cards/casino, 1, 50, "misc"),
+ )
+ item_list["Drinks"] = list(
+ CASINO_PRIZE("Redeemer's brew", /obj/item/weapon/reagent_containers/food/drinks/bottle/redeemersbrew, 1, 50, "drinks"),
+ CASINO_PRIZE("Poison wine", /obj/item/weapon/reagent_containers/food/drinks/bottle/pwine, 1, 50, "drinks"),
+ CASINO_PRIZE("Patron", /obj/item/weapon/reagent_containers/food/drinks/bottle/patron, 1, 50, "drinks"),
+ CASINO_PRIZE("Holy water", /obj/item/weapon/reagent_containers/food/drinks/bottle/holywater, 1, 50, "drinks"),
+ CASINO_PRIZE("Goldschlager", /obj/item/weapon/reagent_containers/food/drinks/bottle/goldschlager, 1, 50, "drinks"),
+ CASINO_PRIZE("Champagne", /obj/item/weapon/reagent_containers/food/drinks/bottle/champagne, 1, 50, "drinks"),
+ CASINO_PRIZE("Bottle of Nothing", /obj/item/weapon/reagent_containers/food/drinks/bottle/bottleofnothing, 1, 50, "drinks"),
+ CASINO_PRIZE("Whiskey bliss", /obj/item/weapon/reagent_containers/food/drinks/bottle/specialwhiskey, 1, 50, "drinks"),
+ )
+
+ item_list["Implants"] = list(
+ CASINO_PRIZE("Implanter (Remember to get one unless you want to borrow from station!)", /obj/item/weapon/implanter, 1, 100, "implants"),
+ CASINO_PRIZE("Implant: Tazer", /obj/item/weapon/implantcase/taser, 1, 1000, "implants"),
+ CASINO_PRIZE("Implant: Medkit", /obj/item/weapon/implantcase/medkit, 1, 500, "implants"),
+ CASINO_PRIZE("Implant: Shades", /obj/item/weapon/implantcase/shades, 1, 750, "implants"),
+ CASINO_PRIZE("Implant: Sprinter", /obj/item/weapon/implantcase/sprinter, 1, 1500, "implants"),
+ CASINO_PRIZE("Implant: Toolkit", /obj/item/weapon/implantcase/toolkit, 1, 500, "implants"),
+ CASINO_PRIZE("Implant: Language", /obj/item/weapon/implantcase/vrlanguage, 1, 1000, "implants"),
+ CASINO_PRIZE("Implant: Analyzer", /obj/item/weapon/implantcase/analyzer, 1, 500, "implants"),
+ CASINO_PRIZE("Implant: Size control", /obj/item/weapon/implant/sizecontrol , 1, 500, "implants"),
+ )
+
+ item_list["Event"] = list(
+ )
+
+/obj/machinery/casino_prize_dispenser/power_change()
+ ..()
+ if(stat & BROKEN)
+ icon_state = "[initial(icon_state)]-broken"
+ else
+ if(!(stat & NOPOWER))
+ icon_state = initial(icon_state)
+ else
+ spawn(rand(0, 15))
+ icon_state = "[initial(icon_state)]-off"
+
+/obj/machinery/casino_prize_dispenser/attack_hand(mob/user as mob)
+ if(stat & (BROKEN|NOPOWER))
+ return
+ tgui_interact(user)
+
+/obj/machinery/casino_prize_dispenser/attackby(obj/item/weapon/W as obj, mob/user as mob)
+ if(currently_vending)
+ if(istype(W, /obj/item/weapon/spacecasinocash))
+ to_chat(usr, "Please select prize on display with sufficient amount of chips. ")
+ else
+ SStgui.update_uis(src)
+ return // don't smack that machine with your 2 chips
+
+ if(istype(W, /obj/item/weapon/spacecasinocash))
+ attack_hand(user)
+ return
+ ..()
+
+/obj/machinery/casino_prize_dispenser/proc/pay_with_chips(var/obj/item/weapon/spacecasinocash/cashmoney, mob/user, var/price)
+ //"cashmoney_:[cashmoney] user:[user] currently_vending:[currently_vending]"
+ if(price > cashmoney.worth)
+ to_chat(usr, "\icon[cashmoney] That is not enough chips. ")
+ return 0
+
+ if(istype(cashmoney, /obj/item/weapon/spacecasinocash))
+ visible_message("\The [usr] inserts some chips into \the [src]. ")
+ cashmoney.worth -= price
+
+ if(cashmoney.worth <= 0)
+ usr.drop_from_inventory(cashmoney)
+ qdel(cashmoney)
+ else
+ cashmoney.update_icon()
+ return 1
+
+/obj/machinery/casino_prize_dispenser/ui_assets(mob/user)
+ return list(
+ get_asset_datum(/datum/asset/spritesheet/vending),
+ )
+
+/obj/machinery/casino_prize_dispenser/tgui_data(mob/user)
+ var/list/data[0]
+
+ data["items"] = list()
+ for(var/cat in item_list)
+ var/list/cat_items = list()
+ for(var/prize_name in item_list[cat])
+ var/datum/data/casino_prize/prize = item_list[cat][prize_name]
+ cat_items[prize_name] = list("name" = prize_name, "price" = prize.cost, "restriction" = prize.restriction)
+ data["items"][cat] = cat_items
+ return data
+
+/obj/machinery/casino_prize_dispenser/tgui_interact(mob/user, datum/tgui/ui = null)
+ // Open the window
+ ui = SStgui.try_update_ui(user, src, ui)
+ if(!ui)
+ ui = new(user, src, "CasinoPrizeDispenser", name)
+ ui.open()
+
+/obj/machinery/casino_prize_dispenser/tgui_act(action, params)
+ if(stat & (BROKEN|NOPOWER))
+ return
+ if(usr.stat || usr.restrained())
+ return
+ if(..())
+ return TRUE
+ . = TRUE
+ switch(action)
+ if("purchase")
+ var/paid = FALSE
+ var/category = params["cat"]
+ var/restriction_category = params["restriction"]
+ var/restriction_check = 0
+ var/item_given = FALSE
+ var/name = params["name"]
+ var/price = params["price"]
+ var/datum/data/casino_prize/bi = item_list[category][name]
+ switch(restriction_category)
+ if("weapons")
+ restriction_check = category_weapons
+ if("gear")
+ restriction_check = category_gear
+ if("clothing")
+ restriction_check = category_clothing
+ if("misc")
+ restriction_check = category_misc
+ if("drinks")
+ restriction_check = category_drinks
+ if("implants")
+ restriction_check = category_implants
+ if("event")
+ restriction_check = category_event
+ else
+ to_chat(usr, "Prize checkout error has occured, purchase cancelled. ")
+ return FALSE
+
+ if(restriction_check < 1)
+ to_chat(usr, "[name] is restricted, this prize can't be bought. ")
+ return FALSE
+ if(restriction_check > 1)
+ item_given = TRUE
+
+ if(price <= 0 && item_given == TRUE)
+ vend(bi, usr)
+ return TRUE
+
+ currently_vending = bi
+
+ if(istype(usr.get_active_hand(), /obj/item/weapon/spacecasinocash))
+ var/obj/item/weapon/spacecasinocash/cash = usr.get_active_hand()
+ paid = pay_with_chips(cash, usr, price)
+ else
+ to_chat(usr, "Payment failure: Improper payment method, please provide chips. ")
+ return TRUE // we set this because they shouldn't even be able to get this far, and we want the UI to update.
+ if(paid)
+ if(item_given == TRUE)
+ vend(bi, usr)
+
+ speak("Thank you for your purchase, your [bi] has been logged.")
+ do_logging(currently_vending, usr, bi)
+ . = TRUE
+ else
+ to_chat(usr, "Payment failure: unable to process payment. ")
+
+/obj/machinery/casino_prize_dispenser/proc/vend(datum/data/casino_prize/bi, mob/user)
+ SStgui.update_uis(src)
+
+ if(ispath(bi.equipment_path, /obj/item/stack))
+ var/obj/item/stack/S = new bi.equipment_path(loc)
+ S.amount = bi.equipment_amt
+ playsound(src, 'sound/machines/vending/vending_drop.ogg', 100, 1)
+ return TRUE
+
+ for(var/i in 1 to bi.equipment_amt)
+ new bi.equipment_path(loc)
+ playsound(src, 'sound/machines/vending/vending_drop.ogg', 100, 1)
+
+ currently_vending = null
+ use_power(vend_power_usage) //actuators and stuff
+ flick("[icon_state]-vend",src)
+
+
+/obj/machinery/casino_prize_dispenser/proc/do_logging(item, mob/user, datum/data/casino_prize/bi)
+ var/prize_log = "{ckey:[user.ckey]character_name:[user.name]item_path: [bi.equipment_path]}"
+ log[++log.len] = prize_log
+ //Currently doesnt have an ingame way to show. Can only be viewed through View-Variables, to ensure theres no chance of players ckeys exposed - Jack
+
+/obj/machinery/casino_prize_dispenser/proc/speak(var/message)
+ if(stat & NOPOWER)
+ return
+
+ if(!message)
+ return
+
+ for(var/mob/O in hearers(src, null))
+ O.show_message("\The [src] beeps, \"[message]\" ",2)
+ return
+
+/obj/machinery/casino_prize_dispenser/process() //Might not need this, but just to be safe for now
+ if(stat & (BROKEN|NOPOWER))
+ return
\ No newline at end of file
diff --git a/code/modules/casino/premium_dispenser.dm b/code/modules/casino/premium_dispenser.dm
new file mode 100644
index 0000000000..91b4833d6e
--- /dev/null
+++ b/code/modules/casino/premium_dispenser.dm
@@ -0,0 +1,69 @@
+
+//Original Casino Code created by Shadowfire117#1269 - Ported from CHOMPstation
+//Modified by GhostActual#2055 for use with VOREstation
+
+/obj/machinery/chemical_dispenser/premium
+ name = "premium drink dispensary"
+ desc = "A specialty dispenser unit designed with Bluespace Technology."
+ icon = 'icons/obj/casino.dmi'
+ icon_state = "premiumdispenser"
+ ui_title = "Premium Drink Dispensary"
+ accept_drinking = 1
+ var/max_cartridges = 90
+
+/obj/machinery/chemical_dispenser/premium/full
+ spawn_cartridges = list(
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/lemon_lime,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/sugar,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/orange,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/lime,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/sodawater,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/tonic,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/beer,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/kahlua,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/whiskey,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/redwine,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/whitewine,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/vodka,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/gin,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/rum,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/tequila,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/vermouth,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/cognac,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/cider,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/ale,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/mead,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/water,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/ice,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/coffee,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/cream,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/tea,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/icetea,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/cola,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/smw,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/dr_gibb,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/spaceup,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/tonic,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/sodawater,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/lemon_lime,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/sugar,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/orange,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/lime,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/watermelon,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/lemon,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/coffee,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/cafe_latte,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/soy_latte,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/hot_coco,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/milk,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/cream,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/tea,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/ice,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/mint,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/orange,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/lemon,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/lime,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/berry,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/greentea,
+ /obj/item/weapon/reagent_containers/chem_disp_cartridge/decaf
+ )
\ No newline at end of file
diff --git a/code/modules/casino/premium_vendors.dm b/code/modules/casino/premium_vendors.dm
new file mode 100644
index 0000000000..8107585745
--- /dev/null
+++ b/code/modules/casino/premium_vendors.dm
@@ -0,0 +1,129 @@
+
+//Original Casino Code created by Shadowfire117#1269 - Ported from CHOMPstation
+//Modified by GhostActual#2055 for use with VOREstation
+
+//
+//The code for Casino Vendors
+//Devs Feel free to modify this to vend what you please
+//
+
+/obj/machinery/vending/deluxe_boozeomat
+ name = "Premium Drink Distributor"
+ desc = "A top of the line drink vendor that carries some of the finest drinks."
+ icon = 'icons/obj/casino.dmi'
+ icon_state = "premiumbooze"
+ products = list(/obj/item/weapon/glass_extra/stick = 50,
+ /obj/item/weapon/glass_extra/straw = 50,
+ /obj/item/weapon/reagent_containers/food/drinks/glass2/square = 25,
+ /obj/item/weapon/reagent_containers/food/drinks/glass2/rocks = 25,
+ /obj/item/weapon/reagent_containers/food/drinks/glass2/shake = 25,
+ /obj/item/weapon/reagent_containers/food/drinks/glass2/cocktail = 25,
+ /obj/item/weapon/reagent_containers/food/drinks/glass2/shot = 25,
+ /obj/item/weapon/reagent_containers/food/drinks/glass2/pint = 25,
+ /obj/item/weapon/reagent_containers/food/drinks/glass2/mug = 25,
+ /obj/item/weapon/reagent_containers/food/drinks/glass2/wine = 25,
+ /obj/item/weapon/reagent_containers/food/drinks/glass2/carafe = 2,
+ /obj/item/weapon/reagent_containers/food/drinks/glass2/pitcher = 2,
+ /obj/item/weapon/reagent_containers/food/drinks/metaglass = 25,
+ /obj/item/weapon/reagent_containers/food/drinks/metaglass/metapint = 25,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/gin = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/absinthe = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/bluecuracao = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/cognac = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/grenadine = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/kahlua = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/melonliquor = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/rum = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/sake = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/specialwhiskey = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/tequilla = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/vermouth = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/vodka = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/whiskey = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/wine = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/redeemersbrew = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/patron = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/goldschlager = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/champagne = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/bottleofnothing = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/holywater = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/small/ale = 15,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/small/ale/hushedwhisper = 15,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/small/beer = 15,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/small/beer/silverdragon = 15,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/small/beer/meteor = 15,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/small/litebeer = 15,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/small/cider = 15,
+ /obj/item/weapon/reagent_containers/food/drinks/cans/tonic = 50,
+ /obj/item/weapon/reagent_containers/food/drinks/cans/gingerale = 50,
+ /obj/item/weapon/reagent_containers/food/drinks/cans/sodawater = 50,
+ /obj/item/weapon/reagent_containers/food/drinks/tea = 50,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/cola = 15,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/space_up = 15,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/space_mountain_wind = 15,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/orangejuice = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/tomatojuice = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/limejuice = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/lemonjuice = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/applejuice = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/milk = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/bottle/cream = 10,
+ /obj/item/weapon/reagent_containers/food/drinks/ice = 10
+ )
+
+ contraband = list()
+ vend_delay = 15
+ idle_power_usage = 211 //refrigerator - believe it or not, this is actually the average power consumption of a refrigerated vending machine according to NRCan.
+ req_access = list(access_bar)
+ req_log_access = access_bar
+ has_logs = 1
+ vending_sound = "machines/vending/vending_cans.ogg"
+
+/obj/machinery/vending/deluxe_dinner
+ name = "Premium Dining Distributor"
+ desc = "A top of the line drink vendor that carries some of the finest foods in the frontier."
+ icon = 'icons/obj/casino.dmi'
+ icon_state = "premiumfood"
+ products = list(/obj/item/weapon/reagent_containers/food/snacks/bigbiteburger = 30,
+ /obj/item/weapon/reagent_containers/food/snacks/meatsteak = 30,
+ /obj/item/weapon/reagent_containers/food/snacks/fries = 30,
+ /obj/item/weapon/reagent_containers/food/snacks/onionrings = 30,
+ /obj/item/weapon/reagent_containers/food/snacks/cheeseburrito= 30,
+ /obj/item/weapon/reagent_containers/food/snacks/enchiladas= 30,
+ /obj/item/weapon/reagent_containers/food/snacks/meatburrito= 30,
+ /obj/item/weapon/reagent_containers/food/snacks/taco= 30,
+ /obj/item/weapon/reagent_containers/food/snacks/cheesenachos= 30,
+ /obj/item/weapon/reagent_containers/food/snacks/cubannachos= 30,
+ /obj/item/weapon/reagent_containers/food/snacks/stew= 20,
+ /obj/item/weapon/reagent_containers/food/snacks/roastbeef = 20,
+ /obj/item/weapon/reagent_containers/food/snacks/aesirsalad = 20,
+ /obj/item/weapon/reagent_containers/food/snacks/sliceable/sushi = 20,
+ /obj/item/weapon/reagent_containers/food/snacks/kitsuneudon = 20,
+ /obj/item/weapon/reagent_containers/food/snacks/baguette = 30,
+ /obj/item/weapon/reagent_containers/food/snacks/appletart = 30,
+ /obj/item/weapon/reagent_containers/food/snacks/muffin = 30,
+ /obj/item/weapon/reagent_containers/food/snacks/berrymuffin = 30,
+ /obj/item/weapon/reagent_containers/food/snacks/cherrypie = 30,
+ /obj/item/weapon/reagent_containers/food/snacks/croissant = 30,
+ /obj/item/weapon/reagent_containers/food/snacks/pie = 30,
+ /obj/item/weapon/reagent_containers/food/snacks/poppypretzel = 30,
+ /obj/item/weapon/reagent_containers/food/snacks/sugarcookie = 30,
+ /obj/item/weapon/reagent_containers/food/snacks/waffles = 30,
+ /obj/item/weapon/reagent_containers/food/snacks/sliceable/applecake = 2,
+ /obj/item/weapon/reagent_containers/food/snacks/sliceable/birthdaycake = 2,
+ /obj/item/weapon/reagent_containers/food/snacks/sliceable/carrotcake = 2,
+ /obj/item/weapon/reagent_containers/food/snacks/sliceable/cheesecake = 2,
+ /obj/item/weapon/reagent_containers/food/snacks/sliceable/chocolatecake = 2,
+ /obj/item/weapon/reagent_containers/food/snacks/sliceable/lemoncake = 2,
+ /obj/item/weapon/reagent_containers/food/snacks/sliceable/limecake = 2,
+ /obj/item/weapon/reagent_containers/food/snacks/sliceable/orangecake = 2,
+ /obj/item/weapon/reagent_containers/food/snacks/sliceable/plaincake = 2
+ )
+
+ contraband = list()
+ vend_delay = 15
+ idle_power_usage = 211 //refrigerator - believe it or not, this is actually the average power consumption of a refrigerated vending machine according to NRCan.
+ req_access = list(access_bar)
+ req_log_access = access_bar
+ has_logs = 1
+ vending_sound = "machines/vending/vending_cans.ogg"
\ No newline at end of file
diff --git a/code/modules/casino/slots.dm b/code/modules/casino/slots.dm
new file mode 100644
index 0000000000..773c1d15e0
--- /dev/null
+++ b/code/modules/casino/slots.dm
@@ -0,0 +1,462 @@
+
+//Original Casino Code created by Shadowfire117#1269 - Ported from CHOMPstation
+//Modified by GhostActual#2055 for use with VOREstation
+
+/*
+ * Slot Machine
+ */
+
+/obj/machinery/slot_machine
+ name = "slot machine"
+ desc = "A gambling machine designed to give you false hope and rob you of your wealth, hence why it's often called a one armed bandit."
+ icon = 'icons/obj/casino.dmi'
+ icon_state = "slotmachine"
+ anchored = 1
+ density = 1
+ power_channel = EQUIP
+ use_power = USE_POWER_IDLE
+ idle_power_usage = 10
+ active_power_usage = 100
+ light_power = 0.9
+ light_range = 2
+ light_color = "#B1FBBFF"
+ var/isbroken = 0 //1 if someone banged it with something heavy
+ var/ispowered = 1 //starts powered, changes with power_change()
+ var/busy = 0
+ var/symbol1 = null
+ var/symbol2 = null
+ var/symbol3 = null
+
+ var/datum/effect/effect/system/confetti_spread
+ var/confetti_strength = 8
+
+/obj/machinery/slot_machine/update_icon()
+ cut_overlays()
+ if(!ispowered || isbroken)
+ icon_state = "slotmachine_off"
+ if(isbroken) //If the thing is smashed, add crack overlay on top of the unpowered sprite.
+ add_overlay("slotmachine_broken")
+ set_light(0)
+ set_light_on(FALSE)
+ return
+
+ icon_state = "slotmachine"
+ set_light(2)
+ set_light_on(TRUE)
+ return
+
+/obj/machinery/slot_machine/power_change()
+ if(isbroken) //Broken shit can't be powered.
+ return
+ ..()
+ if(!(stat & NOPOWER))
+ ispowered = 1
+ update_icon()
+ else
+ spawn(rand(0, 15))
+ ispowered = 0
+ update_icon()
+
+/obj/machinery/slot_machine/attackby(obj/item/weapon/W as obj, mob/user as mob)
+ if(busy)
+ to_chat(user,"The slot machine is currently running. ")
+ return
+ if(W.is_wrench())
+ playsound(src, W.usesound, 100, 1)
+ if(anchored)
+ user.visible_message("[user] begins unsecuring \the [src] from the floor.", "You start unsecuring \the [src] from the floor.")
+ else
+ user.visible_message("[user] begins securing \the [src] to the floor.", "You start securing \the [src] to the floor.")
+
+ if(do_after(user, 20 * W.toolspeed))
+ if(!src) return
+ to_chat(user, "You [anchored? "un" : ""]secured \the [src]! ")
+ anchored = !anchored
+ return
+
+ if(!anchored)
+ to_chat(user," The slot machine isn't secured. ")
+ return
+
+ var/handled = 0
+ var/paid = 0
+
+ if(istype(W, /obj/item/weapon/spacecasinocash))
+ var/obj/item/weapon/spacecasinocash/C = W
+ paid = insert_chip(C, user)
+ handled = 1
+
+ if(paid)
+ return
+ if(handled)
+ SStgui.update_uis(src)
+ return // don't smack that machine with your 2 chips
+
+ else if(!(stat & NOPOWER))
+ return
+
+ else if(isbroken)
+ return
+
+/obj/machinery/slot_machine/proc/insert_chip(var/obj/item/weapon/spacecasinocash/cashmoney, mob/user)
+ if (ispowered == 0)
+ return
+ if (isbroken)
+ return
+ if (busy)
+ to_chat(user,"The slot machine is currently rolling. ")
+ return
+ if(cashmoney.worth < 5)
+ to_chat(user,"You dont have enough chips to gamble! ")
+ return
+
+ to_chat(user,"You puts 5 credits in the slot machine and presses start. ")
+ cashmoney.worth -= 5
+ cashmoney.update_icon()
+
+ if(cashmoney.worth <= 0)
+ usr.drop_from_inventory(cashmoney)
+ qdel(cashmoney)
+ cashmoney.update_icon()
+
+ busy = 1
+ icon_state = "slotmachine_rolling"
+ playsound(src.loc, 'sound/machines/slotmachine_pull.ogg', 15, 1)
+
+ var/slot1 = rand(0,9)
+ switch(slot1)
+ if(0 to 3) symbol1 = "cherry"
+ if(4 to 4) symbol1 = "lemon"
+ if(5 to 5) symbol1 = "bell"
+ if(6 to 6) symbol1 = "four leaf clover"
+ if(7 to 7) symbol1 = "seven"
+ if(8 to 8) symbol1 = "diamond"
+ if(9 to 9) symbol1 = "platinum coin"
+
+ var/slot2 = rand(0,16)
+ switch(slot2)
+ if(0 to 5) symbol2 = "cherry"
+ if(6 to 7) symbol2 = "lemon"
+ if(8 to 9) symbol2 = "bell"
+ if(10 to 11) symbol2 = "four leaf clover"
+ if(12 to 13) symbol2 = "seven"
+ if(14 to 15) symbol2 = "diamond"
+ if(16) symbol2 = "platinum coin"
+
+ var/slot3 = rand(0,9)
+ switch(slot3)
+ if(0 to 3) symbol3 = "cherry"
+ if(4 to 4) symbol3 = "lemon"
+ if(5 to 5) symbol3 = "bell"
+ if(6 to 6) symbol3 = "four leaf clover"
+ if(7 to 7) symbol3 = "seven"
+ if(8 to 8) symbol3 = "diamond"
+ if(9 to 9) symbol3 = "platinum coin"
+
+ var/output //Output variable to send out in chat after the large if statement.
+ var/winnings = 0 //How much money will be given if any.
+ var/platinumwin = 0 // If you win the platinum chip or not
+ var/celebrate = 0
+ var/delaytime = 5 SECONDS
+
+
+ spawn(delaytime)
+ to_chat(user,"The slot machine flashes with bright colours as the slots lights up with a [symbol1], a [symbol2] and a [symbol3]! ")
+
+ if (symbol1 == "cherry" && symbol2 == "cherry" && symbol3 == "cherry")
+ output = "Three cherries! The slot machine deposits chips worth 25 credits! "
+ winnings = 25
+
+ if ((symbol1 != "cherry" && symbol2 == "cherry" && symbol3 == "cherry") || (symbol1 == "cherry" && symbol2 != "cherry" && symbol3 == "cherry") ||(symbol1 == "cherry" && symbol2 == "cherry" && symbol3 != "cherry"))
+ output = "Two cherries! The slot machine deposits a 10 credit chip! "
+ winnings = 10
+
+ if (symbol1 == "lemon" && symbol2 == "lemon" && symbol3 == "lemon")
+ output = "Three lemons! The slot machine deposits a 50 credit chip! "
+ winnings = 50
+
+ if (symbol1 == "watermelon" && symbol2 == "watermelon" && symbol3 == "watermelon")
+ output = "Three watermelons! The slot machine deposits chips worth 75 credits! "
+ winnings = 75
+
+ if (symbol1 == "bell" && symbol2 == "bell" && symbol3 == "bell")
+ output = "Three bells! The slot machine deposits chips a 100 credit chip! "
+ winnings = 100
+
+ if (symbol1 == "four leaf clover" && symbol2 == "four leaf clover" && symbol3 == "four leaf clover")
+ output = "Three four leaf clovers! The slot machine deposits a 200 credit chip! "
+ winnings = 200
+
+ if (symbol1 == "seven" && symbol2 == "seven" && symbol3 == "seven")
+ output = "Three sevens! The slot machine deposits a 500 credit chip! "
+ winnings = 500
+ celebrate = 1
+
+ if (symbol1 == "diamond" && symbol2 == "diamond" && symbol3 == "diamond")
+ output = "Three diamonds! The slot machine deposits a 1000 credit chip! "
+ winnings = 1000
+ celebrate = 1
+
+ if (symbol1 == "platinum coin" && symbol2 == "platinum coin" && symbol3 == "platinum coin")
+ output = "Three platinum coins! The slot machine deposits a platinum chip! "
+ platinumwin = TRUE;
+ celebrate = 1
+
+ icon_state = initial(icon_state) // Set it back to the original iconstate.
+
+ if(!output) // Is there anything to output? If not, consider it a loss.
+ to_chat(user,"Better luck next time!")
+ busy = FALSE
+ return
+
+ to_chat(user,output) //Output message
+
+ if(platinumwin) // Did they win the platinum chip?
+ new /obj/item/weapon/casino_platinum_chip(src.loc)
+ playsound(src.loc, 'sound/machines/slotmachine.ogg', 25, 1)
+
+ if(winnings) //Did the person win?
+ icon_state = "slotmachine_winning"
+ playsound(src.loc, 'sound/machines/slotmachine.ogg', 25, 1)
+ spawn(delaytime)
+ spawn_casinochips(winnings, src.loc)
+ icon_state = "slotmachine"
+
+ if(celebrate) // Happy celebrations!
+ src.confetti_spread = new /datum/effect/effect/system/confetti_spread()
+ src.confetti_spread.attach(src) //If somehow people start dragging slot machine
+ spawn(0)
+ for(var/i = 1 to confetti_strength)
+ src.confetti_spread.start()
+ sleep(10)
+
+ busy = FALSE
+
+/*
+ * Station Slot Machine (takes space cash instead of chips)
+ */
+
+/obj/machinery/station_slot_machine
+ name = "station slot machine"
+ desc = "A gambling machine owned by NanoTrasen, designed to take Thalers as opposed to casino chips."
+ icon = 'icons/obj/casino.dmi'
+ icon_state = "ntslotmachine"
+ anchored = 1
+ density = 1
+ power_channel = EQUIP
+ use_power = USE_POWER_IDLE
+ idle_power_usage = 10
+ active_power_usage = 100
+ light_power = 0.9
+ light_range = 2
+ light_color = "#B1FBBFF"
+ var/isbroken = 0 //1 if someone banged it with something heavy
+ var/ispowered = 1 //starts powered, changes with power_change()
+ var/busy = 0
+ var/symbol1 = null
+ var/symbol2 = null
+ var/symbol3 = null
+
+ var/datum/effect/effect/system/confetti_spread
+ var/confetti_strength = 8
+
+/obj/machinery/station_slot_machine/update_icon()
+ cut_overlays()
+ if(!ispowered || isbroken)
+ icon_state = "ntslotmachine_off"
+ if(isbroken) //If the thing is smashed, add crack overlay on top of the unpowered sprite.
+ add_overlay("ntslotmachine_broken")
+ set_light(0)
+ set_light_on(FALSE)
+ return
+
+ icon_state = "ntslotmachine"
+ set_light(2)
+ set_light_on(TRUE)
+ return
+
+/obj/machinery/station_slot_machine/power_change()
+ if(isbroken) //Broken shit can't be powered.
+ return
+ ..()
+ if(!(stat & NOPOWER))
+ ispowered = 1
+ update_icon()
+ else
+ spawn(rand(0, 15))
+ ispowered = 0
+ update_icon()
+
+/obj/machinery/station_slot_machine/attackby(obj/item/weapon/W as obj, mob/user as mob)
+ if(busy)
+ to_chat(user,"The slot machine is currently running. ")
+ return
+ if(W.is_wrench())
+ playsound(src, W.usesound, 100, 1)
+ if(anchored)
+ user.visible_message("[user] begins unsecuring \the [src] from the floor.", "You start unsecuring \the [src] from the floor.")
+ else
+ user.visible_message("[user] begins securing \the [src] to the floor.", "You start securing \the [src] to the floor.")
+
+ if(do_after(user, 20 * W.toolspeed))
+ if(!src) return
+ to_chat(user, "You [anchored? "un" : ""]secured \the [src]! ")
+ anchored = !anchored
+ return
+
+ if(!anchored)
+ to_chat(user," The slot machine isn't secured. ")
+ return
+
+ var/handled = 0
+ var/paid = 0
+
+ if(istype(W, /obj/item/weapon/spacecash))
+ var/obj/item/weapon/spacecash/C = W
+ paid = insert_cash(C, user)
+ handled = 1
+ if(paid)
+ return
+ if(handled)
+ SStgui.update_uis(src)
+ return // don't smack that machine with your 2 chips
+
+ else if(!(stat & NOPOWER))
+ return
+
+ else if(isbroken)
+ return
+
+/obj/machinery/station_slot_machine/proc/insert_cash(var/obj/item/weapon/spacecash/cashmoney, mob/user)
+ if (ispowered == 0)
+ return
+ if (isbroken)
+ return
+ if (busy)
+ to_chat(user,"The slot machine is currently rolling. ")
+ return
+ if(cashmoney.worth < 5)
+ to_chat(user,"You dont have enough Thalers to gamble! ")
+ return
+
+ to_chat(user,"You puts 5 Thalers in the slot machine and presses start. ")
+ cashmoney.worth -= 5
+ cashmoney.update_icon()
+
+ if(cashmoney.worth <= 0)
+ usr.drop_from_inventory(cashmoney)
+ qdel(cashmoney)
+ cashmoney.update_icon()
+
+ busy = 1
+ icon_state = "ntslotmachine_rolling"
+ playsound(src.loc, 'sound/machines/slotmachine_pull.ogg', 15, 1)
+
+ var/slot1 = rand(0,9)
+ switch(slot1)
+ if(0 to 3) symbol1 = "cherry"
+ if(4 to 4) symbol1 = "lemon"
+ if(5 to 5) symbol1 = "bell"
+ if(6 to 6) symbol1 = "four leaf clover"
+ if(7 to 7) symbol1 = "seven"
+ if(8 to 8) symbol1 = "diamond"
+ if(9 to 9) symbol1 = "platinum coin"
+
+ var/slot2 = rand(0,16)
+ switch(slot2)
+ if(0 to 5) symbol2 = "cherry"
+ if(6 to 7) symbol2 = "lemon"
+ if(8 to 9) symbol2 = "bell"
+ if(10 to 11) symbol2 = "four leaf clover"
+ if(12 to 13) symbol2 = "seven"
+ if(14 to 15) symbol2 = "diamond"
+ if(16) symbol2 = "platinum coin"
+
+ var/slot3 = rand(0,9)
+ switch(slot3)
+ if(0 to 3) symbol3 = "cherry"
+ if(4 to 4) symbol3 = "lemon"
+ if(5 to 5) symbol3 = "bell"
+ if(6 to 6) symbol3 = "four leaf clover"
+ if(7 to 7) symbol3 = "seven"
+ if(8 to 8) symbol3 = "diamond"
+ if(9 to 9) symbol3 = "platinum coin"
+
+ var/output //Output variable to send out in chat after the large if statement.
+ var/winnings = 0 //How much money will be given if any.
+ var/platinumwin = 0 // If you win the platinum chip or not
+ var/celebrate = 0
+ var/delaytime = 5 SECONDS
+
+
+ spawn(delaytime)
+ to_chat(user,"The slot machine flashes with bright colours as the slots lights up with a [symbol1], a [symbol2] and a [symbol3]! ")
+
+ if (symbol1 == "cherry" && symbol2 == "cherry" && symbol3 == "cherry")
+ output = "Three cherries! The slot machine deposits 25 Thalers! "
+ winnings = 25
+
+ if ((symbol1 != "cherry" && symbol2 == "cherry" && symbol3 == "cherry") || (symbol1 == "cherry" && symbol2 != "cherry" && symbol3 == "cherry") ||(symbol1 == "cherry" && symbol2 == "cherry" && symbol3 != "cherry"))
+ output = "Two cherries! The slot machine deposits 10 Thalers! "
+ winnings = 10
+
+ if (symbol1 == "lemon" && symbol2 == "lemon" && symbol3 == "lemon")
+ output = "Three lemons! The slot machine deposits 50 Thalers! "
+ winnings = 50
+
+ if (symbol1 == "watermelon" && symbol2 == "watermelon" && symbol3 == "watermelon")
+ output = "Three watermelons! The slot machine deposits 75 Thalers! "
+ winnings = 75
+
+ if (symbol1 == "bell" && symbol2 == "bell" && symbol3 == "bell")
+ output = "Three bells! The slot machine deposits 100 Thalers! "
+ winnings = 100
+
+ if (symbol1 == "four leaf clover" && symbol2 == "four leaf clover" && symbol3 == "four leaf clover")
+ output = "Three four leaf clovers! The slot machine deposits 200 Thalers! "
+ winnings = 200
+
+ if (symbol1 == "seven" && symbol2 == "seven" && symbol3 == "seven")
+ output = "Three sevens! The slot machine deposits 500 Thalers! "
+ winnings = 500
+ celebrate = 1
+
+ if (symbol1 == "diamond" && symbol2 == "diamond" && symbol3 == "diamond")
+ output = "Three diamonds! The slot machine deposits 1000 Thalers! "
+ winnings = 1000
+ celebrate = 1
+
+ if (symbol1 == "platinum coin" && symbol2 == "platinum coin" && symbol3 == "platinum coin")
+ output = "Three platinum coins! The slot machine deposits a platinum chip! "
+ platinumwin = TRUE;
+ celebrate = 1
+
+ icon_state = initial(icon_state) // Set it back to the original iconstate.
+
+ if(!output) // Is there anything to output? If not, consider it a loss.
+ to_chat(user,"Better luck next time!")
+ busy = FALSE
+ return
+
+ to_chat(user,output) //Output message
+
+ if(platinumwin) // Did they win the platinum chip?
+ new /obj/item/weapon/casino_platinum_chip(src.loc)
+ playsound(src.loc, 'sound/machines/slotmachine.ogg', 25, 1)
+
+ if(winnings) //Did the person win?
+ icon_state = "ntslotmachine_winning"
+ playsound(src.loc, 'sound/machines/slotmachine.ogg', 25, 1)
+ spawn(delaytime)
+ spawn_money(winnings, src.loc)
+ icon_state = "ntslotmachine"
+
+ if(celebrate) // Happy celebrations!
+ src.confetti_spread = new /datum/effect/effect/system/confetti_spread()
+ src.confetti_spread.attach(src) //If somehow people start dragging slot machine
+ spawn(0)
+ for(var/i = 1 to confetti_strength)
+ src.confetti_spread.start()
+ sleep(10)
+
+ busy = FALSE
diff --git a/code/modules/client/preference_setup/loadout/loadout_suit.dm b/code/modules/client/preference_setup/loadout/loadout_suit.dm
index 9e7de66c34..aa7b3b7c3a 100644
--- a/code/modules/client/preference_setup/loadout/loadout_suit.dm
+++ b/code/modules/client/preference_setup/loadout/loadout_suit.dm
@@ -166,7 +166,7 @@
)
gear_tweaks += new/datum/gear_tweak/path(labcoats)
-/datum/gear/suit/labcoat/emt
+/datum/gear/suit/labcoat_emt
display_name = "labcoat, EMT"
path = /obj/item/clothing/suit/storage/toggle/labcoat/emt
allowed_roles = list("Medical Doctor","Chief Medical Officer","Chemist","Paramedic","Geneticist", "Psychiatrist")
@@ -551,6 +551,18 @@
)
gear_tweaks += new/datum/gear_tweak/path(jacket)
+/datum/gear/suit/miscellaneous/light_jacket
+ display_name = "light jacket selection"
+ path = /obj/item/clothing/suit/storage/toggle/light_jacket
+
+/datum/gear/suit/miscellaneous/light_jacket/New()
+ ..()
+ var/list/jacket = list(
+ "grey light jacket" = /obj/item/clothing/suit/storage/toggle/light_jacket,
+ "dark blue light jacket" = /obj/item/clothing/suit/storage/toggle/light_jacket/blue
+ )
+ gear_tweaks += new/datum/gear_tweak/path(jacket)
+
/datum/gear/suit/miscellaneous/peacoat
display_name = "peacoat"
path = /obj/item/clothing/suit/storage/toggle/peacoat
diff --git a/code/modules/clothing/suits/miscellaneous.dm b/code/modules/clothing/suits/miscellaneous.dm
index a4b59ac612..7aa7e43385 100644
--- a/code/modules/clothing/suits/miscellaneous.dm
+++ b/code/modules/clothing/suits/miscellaneous.dm
@@ -726,6 +726,19 @@
item_state_slots = list(slot_r_hand_str = "med_dep_jacket", slot_l_hand_str = "med_dep_jacket")
flags_inv = HIDEHOLSTER
+/obj/item/clothing/suit/storage/toggle/light_jacket
+ name = "grey light jacket"
+ desc = "A light, cozy jacket. Now in grey."
+ icon_state = "grey_dep_jacket"
+ item_state_slots = list(slot_r_hand_str = "grey_dep_jacket", slot_l_hand_str = "grey_dep_jacket")
+ flags_inv = HIDEHOLSTER
+
+/obj/item/clothing/suit/storage/toggle/light_jacket/blue
+ name = "dark blue light jacket"
+ desc = "A light, cozy jacket. Now in dark blue."
+ icon_state = "blue_dep_jacket"
+ item_state_slots = list(slot_r_hand_str = "blue_dep_jacket", slot_l_hand_str = "blue_dep_jacket")
+
/*
* Track Jackets
*/
diff --git a/code/modules/clothing/under/accessories/accessory_vr.dm b/code/modules/clothing/under/accessories/accessory_vr.dm
index a35580499d..1a4c93eb67 100644
--- a/code/modules/clothing/under/accessories/accessory_vr.dm
+++ b/code/modules/clothing/under/accessories/accessory_vr.dm
@@ -374,4 +374,31 @@
icon_override = 'icons/inventory/accessory/mob_vr.dmi'
icon_state = "talon_pin"
item_state = "talonpin"
- overlay_state = "talonpin"
\ No newline at end of file
+ overlay_state = "talonpin"
+
+//Casino Slave Collar
+
+/obj/item/clothing/accessory/collar/casinoslave
+ name = "a disabled Sentient Prize Collar"
+ desc = "A collar worn by sentient prizes registered to a SPASM. Although the red text on it shows its disconnected and nonfunctional."
+
+ icon_state = "casinoslave"
+ item_state = "casinoslave"
+ overlay_state = "casinoslave"
+
+ var/slavename = null //Name for system to put on collar description
+ var/ownername = null //Name for system to put on collar description
+ var/slaveckey = null //Ckey for system to check who is the person and ensure no abuse of system or errors
+ var/slaveflavor = null //Description to show on the SPASM
+ var/slaveooc = null //OOC text to show on the SPASM
+
+/obj/item/clothing/accessory/collar/casinoslave/attack_self(mob/user as mob)
+ //keeping it blank so people don't tag and reset collar status
+
+/obj/item/clothing/accessory/collar/casinoslave_fake
+ name = "a Sentient Prize Collar"
+ desc = "A collar worn by sentient prizes registered to a SPASM. This one has been disconnected from the system and is now an accessory!"
+
+ icon_state = "casinoslave_owned"
+ item_state = "casinoslave_owned"
+ overlay_state = "casinoslave_owned"
\ No newline at end of file
diff --git a/code/modules/economy/casinocash.dm b/code/modules/economy/casinocash.dm
new file mode 100644
index 0000000000..25486c33f8
--- /dev/null
+++ b/code/modules/economy/casinocash.dm
@@ -0,0 +1,207 @@
+
+//Original Casino Code created by Shadowfire117#1269 - Ported from CHOMPstation
+//Modified by GhostActual#2055 for use with VOREstation
+
+/obj/machinery/chipmachine
+ name = "Casino Chip Exchange"
+ desc = "Takes all your cash and gives you chips back! No change and half refund!"
+ icon = 'icons/obj/casino.dmi'
+ icon_state ="chipmachine"
+ anchored = 1
+
+/obj/machinery/chipmachine/attackby(obj/item/I as obj, mob/user as mob)
+ if(istype(I,/obj/item/weapon/spacecash))
+ //consume the money
+ if(prob(50))
+ playsound(loc, 'sound/items/polaroid1.ogg', 50, 1)
+ else
+ playsound(loc, 'sound/items/polaroid2.ogg', 50, 1)
+
+ user << "You insert [I] into [src]. "
+ spawn_casinochips(round(I:worth/5), src.loc)
+ src.attack_hand(user)
+ qdel(I)
+
+ if(istype(I,/obj/item/weapon/spacecasinocash))
+ //consume the chips
+ if(prob(50))
+ playsound(loc, 'sound/items/polaroid1.ogg', 50, 1)
+ else
+ playsound(loc, 'sound/items/polaroid2.ogg', 50, 1)
+
+ user << "You insert [I] into [src]. "
+ spawn_money(round(I:worth/5), src.loc)
+ src.attack_hand(user)
+ qdel(I)
+
+/obj/item/weapon/spacecasinocash
+ name = "broken casino chip"
+ desc = "It's worth nothing in a casino."
+ gender = PLURAL
+ icon = 'icons/obj/casino.dmi'
+ icon_state = "spacecasinocash1"
+ opacity = 0
+ density = 0
+ anchored = 0.0
+ force = 1.0
+ throwforce = 1.0
+ throw_speed = 1
+ throw_range = 2
+ w_class = ITEMSIZE_SMALL
+ var/access = list()
+ access = access_crate_cash
+ var/worth = 0
+
+/obj/item/weapon/spacecasinocash/attackby(obj/item/weapon/W as obj, mob/user as mob)
+ if(istype(W, /obj/item/weapon/spacecasinocash))
+
+ var/obj/item/weapon/spacecasinocash/SC = W
+
+ SC.adjust_worth(src.worth)
+ if(istype(user, /mob/living/carbon/human))
+ var/mob/living/carbon/human/h_user = user
+
+ h_user.drop_from_inventory(src)
+ h_user.drop_from_inventory(SC)
+ h_user.put_in_hands(SC)
+ user << "You combine the casino chips to a stack of [SC.worth] of credits. "
+ qdel(src)
+
+/obj/item/weapon/spacecasinocash/update_icon()
+ overlays.Cut()
+ name = "[worth] casino credit\s"
+ if(worth in list(1000,500,200,100,50,20,10,1))
+ icon_state = "spacecasinocash[worth]"
+ desc = "It's a stack of casino chips with a combined value of [worth] credits."
+ return
+ var/sum = src.worth
+ var/num = 0
+ for(var/i in list(1000,500,200,100,50,20,10,1))
+ while(sum >= i && num < 50)
+ sum -= i
+ num++
+ var/image/banknote = image('icons/obj/casino.dmi', "spacecasinocash[i]")
+ var/matrix/M = matrix()
+ M.Translate(rand(-6, 6), rand(-4, 8))
+ M.Turn(pick(-45, -27.5, 0, 0, 0, 0, 0, 0, 0, 27.5, 45))
+ banknote.transform = M
+ src.overlays += banknote
+ if(num == 0) // Less than one credit, let's just make it look like 1 for ease
+ var/image/banknote = image('icons/obj/casino.dmi', "spacecasinocash1")
+ var/matrix/M = matrix()
+ M.Translate(rand(-6, 6), rand(-4, 8))
+ M.Turn(pick(-45, -27.5, 0, 0, 0, 0, 0, 0, 0, 27.5, 45))
+ banknote.transform = M
+ src.overlays += banknote
+ src.desc = "They are worth [worth] of credits."
+
+/obj/item/weapon/spacecasinocash/proc/adjust_worth(var/adjust_worth = 0, var/update = 1)
+ worth += adjust_worth
+ if(worth > 0)
+ if(update)
+ update_icon()
+ return worth
+ else
+ qdel(src)
+ return 0
+
+/obj/item/weapon/spacecasinocash/proc/set_worth(var/new_worth = 0, var/update = 1)
+ worth = max(0, new_worth)
+ if(update)
+ update_icon()
+ return worth
+
+/obj/item/weapon/spacecasinocash/attack_self()
+ var/amount = input(usr, "How much credits worth of chips do you want to take? (0 to [src.worth])", "Take chips", 20) as num
+ if(!src || QDELETED(src))
+ return
+ amount = round(CLAMP(amount, 0, src.worth))
+
+ if(!amount)
+ return
+
+ adjust_worth(-amount)
+ var/obj/item/weapon/spacecasinocash/SC = new (usr.loc)
+ SC.set_worth(amount)
+ usr.put_in_hands(SC)
+
+/obj/item/weapon/spacecasinocash/c1
+ name = "1 credit casino chip"
+ icon_state = "spacecasinocash1"
+ desc = "It's worth 1 credit."
+ worth = 1
+
+/obj/item/weapon/spacecasinocash/c10
+ name = "10 credit casino chip"
+ icon_state = "spacecasinocash10"
+ desc = "It's worth 10 credits."
+ worth = 10
+
+/obj/item/weapon/spacecasinocash/c20
+ name = "20 credit casino chip"
+ icon_state = "spacecasinocash20"
+ desc = "It's worth 20 credits."
+ worth = 20
+
+/obj/item/weapon/spacecasinocash/c50
+ name = "50 credit casino chip"
+ icon_state = "spacecasinocash50"
+ desc = "It's worth 50 credits."
+ worth = 50
+
+/obj/item/weapon/spacecasinocash/c100
+ name = "100 credit casino chip"
+ icon_state = "spacecasinocash100"
+ desc = "It's worth 100 credits."
+ worth = 100
+
+/obj/item/weapon/spacecasinocash/c200
+ name = "200 credit casino chip"
+ icon_state = "spacecasinocash200"
+ desc = "It's worth 200 credits."
+ worth = 200
+
+/obj/item/weapon/spacecasinocash/c500
+ name = "500 credit casino chip"
+ icon_state = "spacecasinocash500"
+ desc = "It's worth 500 credits."
+ worth = 500
+
+/obj/item/weapon/spacecasinocash/c1000
+ name = "1000 credit casino chip"
+ icon_state = "spacecasinocash1000"
+ desc = "It's worth 1000 credits."
+ worth = 1000
+
+/proc/spawn_casinochips(var/sum, spawnloc, mob/living/carbon/human/human_user as mob)
+ var/obj/item/weapon/spacecasinocash/SC = new (spawnloc)
+
+ SC.set_worth(sum)
+ if (ishuman(human_user) && !human_user.get_active_hand())
+ human_user.put_in_hands(SC)
+ return
+
+/obj/item/weapon/casino_platinum_chip
+ name = "platinum chip"
+ desc = "Ringa-a-Ding-Ding!"
+ icon = 'icons/obj/casino.dmi'
+ icon_state = "platinum_chip"
+ var/sides = 2
+ opacity = 0
+ density = 0
+ anchored = 0.0
+ force = 1.0
+ throwforce = 1.0
+ throw_speed = 1
+ throw_range = 2
+ w_class = ITEMSIZE_SMALL
+
+/obj/item/weapon/casino_platinum_chip/attack_self(mob/user as mob)
+ var/result = rand(1, sides)
+ var/comment = ""
+ if(result == 1)
+ comment = "Ace"
+ else if(result == 2)
+ comment = "Joker"
+ user.visible_message("[user] has thrown \the [src]. It lands on [comment]! ", \
+ "You throw \the [src]. It lands on [comment]! ")
\ No newline at end of file
diff --git a/code/modules/economy/vending_machines.dm b/code/modules/economy/vending_machines.dm
index 10b8390657..9fe6ebe8fd 100644
--- a/code/modules/economy/vending_machines.dm
+++ b/code/modules/economy/vending_machines.dm
@@ -1149,6 +1149,7 @@
products = list(
/obj/item/clothing/under/rank/bartender = 5,
/obj/item/clothing/under/rank/bartender/skirt = 5,
+ /obj/item/clothing/under/waiter = 5,
/obj/item/clothing/head/that = 5,
/obj/item/clothing/head/flatcap = 5,
/obj/item/clothing/shoes/brown = 5,
@@ -1192,7 +1193,9 @@
/obj/item/clothing/suit/storage/apron/white = 5,
/obj/item/clothing/suit/chef = 5,
/obj/item/clothing/suit/chef/classic = 5,
- /obj/item/clothing/head/chefhat = 5
+ /obj/item/clothing/head/chefhat = 5,
+ /obj/item/clothing/under/waiter = 5,
+ /obj/item/clothing/under/sundress = 1
)
req_log_access = access_hop
has_logs = 1
@@ -1443,16 +1446,16 @@
icon_state = "janidrobe"
req_access = list(access_janitor)
products = list(
- /obj/item/clothing/under/rank/janitor = 5,
- /obj/item/clothing/under/dress/maid/janitor = 5,
- /obj/item/device/radio/headset/headset_service = 5,
- /obj/item/weapon/cartridge/janitor = 5,
- /obj/item/clothing/gloves/black = 5,
/obj/item/clothing/head/soft/purple = 5,
/obj/item/clothing/head/beret/purple = 5,
- /obj/item/clothing/suit/caution = 20,
+ /obj/item/clothing/head/headband/maid = 5,
+ /obj/item/device/radio/headset/headset_service = 5,
+ /obj/item/clothing/under/rank/janitor = 5,
+ /obj/item/clothing/under/dress/maid/janitor = 5,
+ /obj/item/clothing/gloves/black = 5,
/obj/item/weapon/storage/belt/janitor = 5,
- /obj/item/clothing/shoes/galoshes = 5
+ /obj/item/clothing/shoes/galoshes = 5,
+ /obj/item/weapon/cartridge/janitor = 5
)
req_log_access = access_hop
has_logs = 1
diff --git a/code/modules/flufftext/look_up.dm b/code/modules/flufftext/look_up.dm
index 6be3713c03..10cd25b288 100644
--- a/code/modules/flufftext/look_up.dm
+++ b/code/modules/flufftext/look_up.dm
@@ -12,7 +12,7 @@
to_chat(usr, span("warning", "You appear to be in a place without any sort of concept of direction. You have bigger problems to worry about."))
return
- if(!T.outdoors) // They're inside.
+ if(!T.is_outdoors()) // They're inside.
to_chat(usr, "You see nothing interesting.")
return
diff --git a/code/modules/food/drinkingglass/extras.dm b/code/modules/food/drinkingglass/extras.dm
index eb139a92b7..6605bb937f 100644
--- a/code/modules/food/drinkingglass/extras.dm
+++ b/code/modules/food/drinkingglass/extras.dm
@@ -69,4 +69,49 @@
glass_desc = "There is a straw in the glass."
icon_state = "straw"
+// This isn't great code, so if you're doing something that happens many times or isn't user-initiated
+// like this is, where it'll likely happen 0-4 times a shift, then don't copy this pattern.
+/obj/item/weapon/glass_extra/straw/afterattack(atom/target, mob/user, proximity_flag, click_parameters)
+ if(ismob(target) && proximity_flag)
+ // Clicked protean blob
+ if(istype(target, /mob/living/simple_mob/protean_blob))
+ sipp_mob(target, user, "liquid_protean")
+ return
+ // Clicked humanoid
+ else if(ishuman(target))
+ var/mob/living/carbon/human/H = target
+ var/speciesname = H.species?.name
+ switch(speciesname)
+ if(SPECIES_PROTEAN)
+ sipp_mob(target, user, "liquid_protean")
+ return
+ if(SPECIES_PROMETHEAN)
+ sipp_mob(target, user, "nutriment")
+ return
+ return ..()
+
+/obj/item/weapon/glass_extra/straw/proc/sipp_mob(mob/living/victim, mob/user, reagent_type = "nutriment")
+ if(victim.health <= 0)
+ to_chat(user, "There's not enough of [victim] left to sip on! ")
+ return
+
+ user.visible_message("[user] starts sipping on [victim] with [src]!", "You start sipping on [victim] with [src].")
+ if(!do_after(user, 3 SECONDS, victim, exclusive = TASK_ALL_EXCLUSIVE))
+ return
+
+ user.visible_message("[user] sips some of [victim] with [src]!", "You take a sip of [victim] with [src]. Yum!")
+ if(victim.vore_taste)
+ to_chat(user, "[victim] tastes like... [victim.vore_taste]!")
+
+ victim.apply_damage(5, used_weapon = "straw")
+
+ // If you're human you get the reagent
+ if(ishuman(user))
+ var/mob/living/carbon/human/H = user
+ H.ingested.add_reagent(reagent_type, 2)
+ // Anything else just gets some nutrition
+ else if(isliving(user))
+ var/mob/living/L = user
+ L.adjust_nutrition(30)
+
#undef DRINK_ICON_FILE
diff --git a/code/modules/food/food/snacks.dm b/code/modules/food/food/snacks.dm
index dcb1eb5f52..300b8d87f9 100644
--- a/code/modules/food/food/snacks.dm
+++ b/code/modules/food/food/snacks.dm
@@ -5752,10 +5752,6 @@
center_of_mass = list("x"=16, "y"=11)
bitesize = 6
-/obj/item/weapon/reagent_containers/food/snacks/custardbun/Initialize()
- . = ..()
- reagents.add_reagent("protein", 2)
-
/obj/item/weapon/reagent_containers/food/snacks/chickenmomo
name = "chicken momo"
gender = PLURAL
diff --git a/code/modules/food/recipes_grill.dm b/code/modules/food/recipes_grill.dm
index 4619cf760c..9a71472d6e 100644
--- a/code/modules/food/recipes_grill.dm
+++ b/code/modules/food/recipes_grill.dm
@@ -252,7 +252,7 @@
/datum/recipe/omurice/face
appliance = GRILL
- reagents = list("rice" = 5, "ketchup" = 5, "sodiumchloride" = 5, "egg" = 3)
+ reagents = list("rice" = 5, "ketchup" = 5, "sodiumchloride" = 1, "egg" = 3)
result = /obj/item/weapon/reagent_containers/food/snacks/omurice/face
/datum/recipe/meatsteak
diff --git a/code/modules/lighting/lighting_fake_sun_vr.dm b/code/modules/lighting/lighting_fake_sun_vr.dm
index 8f1d68a6f7..41fb677fb6 100644
--- a/code/modules/lighting/lighting_fake_sun_vr.dm
+++ b/code/modules/lighting/lighting_fake_sun_vr.dm
@@ -100,7 +100,7 @@
var/list/all_turfs = block(locate(1, 1, min), locate(world.maxx, world.maxy, max))
var/list/turfs_to_use = list()
for(var/turf/T as anything in all_turfs)
- if(T.outdoors)
+ if(T.is_outdoors())
turfs_to_use += T
if(!turfs_to_use.len)
diff --git a/code/modules/lighting/lighting_turf.dm b/code/modules/lighting/lighting_turf.dm
index d59a4d5315..3ab854a26f 100644
--- a/code/modules/lighting/lighting_turf.dm
+++ b/code/modules/lighting/lighting_turf.dm
@@ -96,7 +96,7 @@
///Setter for the byond luminosity var
/turf/proc/set_luminosity(new_luminosity, force)
// SSplanets handles outdoor turfs
- if(outdoors && !force)
+ if(is_outdoors() && !force)
return
luminosity = new_luminosity
diff --git a/code/modules/metric/activity.dm b/code/modules/metric/activity.dm
index c33c88adca..dd93b90179 100644
--- a/code/modules/metric/activity.dm
+++ b/code/modules/metric/activity.dm
@@ -86,7 +86,7 @@
var/num = 0
for(var/mob/living/L in player_list)
var/turf/T = get_turf(L)
- if(istype(T) && !istype(T, /turf/space) && T.outdoors)
+ if(istype(T) && !istype(T, /turf/space) && T.is_outdoors())
. += assess_player_activity(L)
num++
if(num)
diff --git a/code/modules/metric/count.dm b/code/modules/metric/count.dm
index ba3678295f..e0b1843d77 100644
--- a/code/modules/metric/count.dm
+++ b/code/modules/metric/count.dm
@@ -6,7 +6,7 @@
var/num = 0
for(var/mob/living/L in player_list)
var/turf/T = get_turf(L)
- if(istype(T) && !istype(T, /turf/space) && T.outdoors)
+ if(istype(T) && !istype(T, /turf/space) && T.is_outdoors())
if(assess_player_activity(L) >= cutoff)
num++
return num
diff --git a/code/modules/mining/fulton.dm b/code/modules/mining/fulton.dm
index c5c939b2f1..dd4993bce2 100644
--- a/code/modules/mining/fulton.dm
+++ b/code/modules/mining/fulton.dm
@@ -42,7 +42,7 @@ var/global/list/total_extraction_beacons = list()
return
if(!can_use_indoors)
var/turf/T = get_turf(A)
- if(T && !T.outdoors)
+ if(T && !T.is_outdoors())
to_chat(user, "[src] can only be used on things that are outdoors!")
return
if(!flag)
@@ -145,7 +145,7 @@ var/global/list/total_extraction_beacons = list()
/obj/item/fulton_core/attack_self(mob/user)
var/turf/T = get_turf(user)
- var/outdoors = T.outdoors
+ var/outdoors = T.is_outdoors()
if(do_after(user,15,target = user) && !QDELETED(src) && outdoors)
new /obj/structure/extraction_point(get_turf(user))
qdel(src)
diff --git a/code/modules/mob/living/bot/farmbot.dm b/code/modules/mob/living/bot/farmbot.dm
index 01d9702aa8..0bb9ed463c 100644
--- a/code/modules/mob/living/bot/farmbot.dm
+++ b/code/modules/mob/living/bot/farmbot.dm
@@ -6,7 +6,7 @@
/mob/living/bot/farmbot
name = "Farmbot"
desc = "The botanist's best friend."
- icon = 'icons/obj/aibots.dmi'
+ icon = 'icons/obj/chemical_tanks.dmi'
icon_state = "farmbot0"
health = 50
maxHealth = 50
@@ -38,7 +38,7 @@
/mob/living/bot/farmbot/tgui_data(mob/user, datum/tgui/ui, datum/tgui_state/state)
var/list/data = ..()
-
+
data["on"] = on
data["tank"] = !!tank
if(tank)
@@ -105,7 +105,7 @@
else
turn_on()
. = TRUE
-
+
if(locked)
return TRUE
switch(action)
diff --git a/code/modules/mob/living/carbon/human/examine_vr.dm b/code/modules/mob/living/carbon/human/examine_vr.dm
index 8d7c9a767c..d2dcd9bfbd 100644
--- a/code/modules/mob/living/carbon/human/examine_vr.dm
+++ b/code/modules/mob/living/carbon/human/examine_vr.dm
@@ -110,7 +110,7 @@
if(1000 to 1399)
message = "[t_He] [t_has] a rotund, thick gut. It bulges from their body obscenely, close to sagging under its own weight."
if(1400 to 1934) // One person fully digested.
- message = "[t_He] [t_is] sporting a large, round, sagging stomach. It's contains at least their body weight worth of glorping slush. "
+ message = "[t_He] [t_is] sporting a large, round, sagging stomach. It contains at least their body weight worth of glorping slush. "
if(1935 to 3004) // Two people.
message = "[t_He] [t_is] engorged with a huge stomach that sags and wobbles as they move. [t_He] must have consumed at least twice their body weight. It looks incredibly soft. "
if(3005 to 4074) // Three people.
@@ -193,4 +193,4 @@
else
return "[t_He] [t_appear] to be in some sort of torpor. "
if(feral)
- return "[t_He] [t_has] a crazed, wild look in [t_his] eyes! "
\ No newline at end of file
+ return "[t_He] [t_has] a crazed, wild look in [t_his] eyes! "
diff --git a/code/modules/mob/living/carbon/human/human_movement.dm b/code/modules/mob/living/carbon/human/human_movement.dm
index 202d0c2f34..fad2b7cf25 100644
--- a/code/modules/mob/living/carbon/human/human_movement.dm
+++ b/code/modules/mob/living/carbon/human/human_movement.dm
@@ -167,7 +167,7 @@
// I don't like that so I'm commenting it out :)
// VOREstation Edit Start
/*
- if(T.outdoors && (T.z <= SSplanets.z_to_planet.len))
+ if((T.is_outdoors()) && (T.z <= SSplanets.z_to_planet.len))
var/datum/planet/P = SSplanets.z_to_planet[z]
if(P)
var/datum/weather_holder/WH = P.weather_holder
diff --git a/code/modules/mob/living/carbon/human/species/shadekin/shadekin.dm b/code/modules/mob/living/carbon/human/species/shadekin/shadekin.dm
index 37872564c3..660845c797 100644
--- a/code/modules/mob/living/carbon/human/species/shadekin/shadekin.dm
+++ b/code/modules/mob/living/carbon/human/species/shadekin/shadekin.dm
@@ -253,4 +253,90 @@
e_icon = 4
H.shadekin_display.icon_state = "shadekin-[l_icon]-[e_icon]"
- return
\ No newline at end of file
+ return
+
+/datum/species/shadekin/proc/get_shadekin_eyecolor(var/mob/living/carbon/human/H)
+ var/eyecolor_rgb = rgb(H.r_eyes, H.g_eyes, H.b_eyes)
+
+ var/eyecolor_hue = rgb2num(eyecolor_rgb, COLORSPACE_HSV)[1]
+ var/eyecolor_sat = rgb2num(eyecolor_rgb, COLORSPACE_HSV)[2]
+ var/eyecolor_val = rgb2num(eyecolor_rgb, COLORSPACE_HSV)[3]
+
+ //First, clamp the saturation/value to prevent black/grey/white eyes
+ if(eyecolor_sat < 10)
+ eyecolor_sat = 10
+ if(eyecolor_val < 40)
+ eyecolor_val = 40
+
+ eyecolor_rgb = rgb(eyecolor_hue, eyecolor_sat, eyecolor_val, space=COLORSPACE_HSV)
+
+ H.r_eyes = rgb2num(eyecolor_rgb)[1]
+ H.g_eyes = rgb2num(eyecolor_rgb)[2]
+ H.b_eyes = rgb2num(eyecolor_rgb)[3]
+
+ //Now determine what color we fall into.
+ var/eyecolor_type = BLUE_EYES
+ switch(eyecolor_hue)
+ if(0 to 20)
+ eyecolor_type = RED_EYES
+ if(21 to 50)
+ eyecolor_type = ORANGE_EYES
+ if(51 to 70)
+ eyecolor_type = YELLOW_EYES
+ if(71 to 160)
+ eyecolor_type = GREEN_EYES
+ if(161 to 260)
+ eyecolor_type = BLUE_EYES
+ if(261 to 340)
+ eyecolor_type = PURPLE_EYES
+ if(341 to 360)
+ eyecolor_type = RED_EYES
+
+ return eyecolor_type
+
+/datum/species/shadekin/post_spawn_special(var/mob/living/carbon/human/H)
+ .=..()
+
+ var/eyecolor_type = get_shadekin_eyecolor(H)
+
+ switch(eyecolor_type)
+ if(BLUE_EYES)
+ total_health = 100
+ energy_light = 0.5
+ energy_dark = 0.5
+ if(RED_EYES)
+ total_health = 200
+ energy_light = -1
+ energy_dark = 0.1
+ if(PURPLE_EYES)
+ total_health = 150
+ energy_light = -0.5
+ energy_dark = 1
+ if(YELLOW_EYES)
+ total_health = 100
+ energy_light = -2
+ energy_dark = 3
+ if(GREEN_EYES)
+ total_health = 100
+ energy_light = 0.125
+ energy_dark = 2
+ if(ORANGE_EYES)
+ total_health = 175
+ energy_light = -0.5
+ energy_dark = 0.25
+
+ H.maxHealth = total_health
+
+ H.health = H.maxHealth
+
+/datum/species/shadekin/produceCopy(var/list/traits, var/mob/living/carbon/human/H, var/custom_base)
+
+ var/datum/species/shadekin/new_copy = ..()
+
+ new_copy.total_health = total_health
+
+ new_copy.energy_light = energy_light
+
+ new_copy.energy_dark = energy_dark
+
+ return new_copy
\ No newline at end of file
diff --git a/code/modules/mob/living/carbon/human/species/shadekin/shadekin_trait.dm b/code/modules/mob/living/carbon/human/species/shadekin/shadekin_trait.dm
deleted file mode 100644
index 5948fecc21..0000000000
--- a/code/modules/mob/living/carbon/human/species/shadekin/shadekin_trait.dm
+++ /dev/null
@@ -1,92 +0,0 @@
-/datum/trait/kintype
- sort = TRAIT_SORT_SPECIES
- allowed_species = list(SPECIES_SHADEKIN)
- var/color = BLUE_EYES
- name = "Shadekin Blue Adaptation"
- desc = "Makes your shadekin adapted as a Blue eyed kin! This gives you decreased energy regeneration in darkness, decreased regeneration in the light and unchanged health!"
- cost = 0
- var_changes = list( "total_health" = 100,
- "energy_light" = 0.5,
- "energy_dark" = 0.5,
- "unarmed_types" = list(/datum/unarmed_attack/stomp, /datum/unarmed_attack/kick, /datum/unarmed_attack/claws/shadekin, /datum/unarmed_attack/bite/sharp/shadekin,/datum/unarmed_attack/shadekinharmbap))
- custom_only = FALSE
-
-/datum/trait/kintype/red
- name = "Shadekin Red Adaptation"
- color = RED_EYES
- desc = "Makes your shadekin adapted as a Red eyed kin! This gives you minimal energy regeneration in darkness, moderate degeneration in the light and increased health!"
- var_changes = list( "total_health" = 200,
- "energy_light" = -1,
- "energy_dark" = 0.1,
- "unarmed_types" = list(/datum/unarmed_attack/stomp, /datum/unarmed_attack/kick, /datum/unarmed_attack/claws/shadekin, /datum/unarmed_attack/bite/sharp/shadekin,/datum/unarmed_attack/shadekinharmbap))
-
-/datum/trait/kintype/purple
- name = "Shadekin Purple Adaptation"
- color = PURPLE_EYES
- desc = "Makes your shadekin adapted as a Purple eyed kin! This gives you moderate energy regeneration in darkness, minor degeneration in the light and increased health!"
- var_changes = list( "total_health" = 150,
- "energy_light" = -0.5,
- "energy_dark" = 1,
- "unarmed_types" = list(/datum/unarmed_attack/stomp, /datum/unarmed_attack/kick, /datum/unarmed_attack/claws/shadekin, /datum/unarmed_attack/bite/sharp/shadekin,/datum/unarmed_attack/shadekinharmbap))
-
-/datum/trait/kintype/yellow
- name = "Shadekin Yellow Adaptation"
- color = YELLOW_EYES
- desc = "Makes your shadekin adapted as a Yellow eyed kin! This gives you the highest energy regeneration in darkness, high degeneration in the light and unchanged health!"
- var_changes = list( "total_health" = 100,
- "energy_light" = -2,
- "energy_dark" = 3,
- "unarmed_types" = list(/datum/unarmed_attack/stomp, /datum/unarmed_attack/kick, /datum/unarmed_attack/claws/shadekin, /datum/unarmed_attack/bite/sharp/shadekin,/datum/unarmed_attack/shadekinharmbap))
-
-/datum/trait/kintype/green
- name = "Shadekin Green Adaptation"
- color = GREEN_EYES
- desc = "Makes your shadekin adapted as a Green eyed kin! This gives you high energy regeneration in darkness, minor regeneration in the light and unchanged health!"
- var_changes = list( "total_health" = 100,
- "energy_light" = 0.125,
- "energy_dark" = 2,
- "unarmed_types" = list(/datum/unarmed_attack/stomp, /datum/unarmed_attack/kick, /datum/unarmed_attack/claws/shadekin, /datum/unarmed_attack/bite/sharp/shadekin,/datum/unarmed_attack/shadekinharmbap))
-
-/datum/trait/kintype/orange
- name = "Shadekin Orange Adaptation"
- color = ORANGE_EYES
- desc = "Makes your shadekin adapted as a Orange eyed kin! This gives you minor energy regeneration in darkness, moderate degeneration in the light and increased health!"
- var_changes = list( "total_health" = 175,
- "energy_light" = -0.5,
- "energy_dark" = 0.25,
- "unarmed_types" = list(/datum/unarmed_attack/stomp, /datum/unarmed_attack/kick, /datum/unarmed_attack/claws/shadekin, /datum/unarmed_attack/bite/sharp/shadekin,/datum/unarmed_attack/shadekinharmbap))
-
-/datum/trait/kintype/apply(var/datum/species/shadekin/S,var/mob/living/carbon/human/H)
- if(color && istype(S)) //Sanity check to see if they're actually a shadekin, otherwise just don't do anything. They shouldn't be able to spawn with the trait.
- S.kin_type = color
- ..(S,H)
- switch(color)
- if(BLUE_EYES)
- H.shapeshifter_set_eye_color("0000FF")
- if(RED_EYES)
- H.shapeshifter_set_eye_color("FF0000")
- if(GREEN_EYES)
- H.shapeshifter_set_eye_color("00FF00")
- if(PURPLE_EYES)
- H.shapeshifter_set_eye_color("FF00FF")
- if(YELLOW_EYES)
- H.shapeshifter_set_eye_color("FFFF00")
- if(ORANGE_EYES)
- H.shapeshifter_set_eye_color("FFA500")
-
-
-/datum/unarmed_attack/shadekinharmbap
- attack_name = "syphon strike"
- attack_verb = list("hit", "clawed", "slashed", "scratched")
- attack_sound = 'sound/weapons/slice.ogg'
- miss_sound = 'sound/weapons/slashmiss.ogg'
- shredding = 0
-
-/datum/unarmed_attack/shadekinharmbap/apply_effects(var/mob/living/carbon/human/shadekin/user,var/mob/living/carbon/human/target,var/armour,var/attack_damage,var/zone)
- ..()
- if(user == target) //Prevent self attack to gain energy
- return
- var/obj/item/organ/internal/brain/shadekin/shade_organ = user.internal_organs_by_name[O_BRAIN]
- if(!istype(shade_organ))
- return
- shade_organ.dark_energy = CLAMP(shade_organ.dark_energy + attack_damage,0,shade_organ.max_dark_energy) //Convert Damage done to Energy Gained
diff --git a/code/modules/mob/living/carbon/human/species/species.dm b/code/modules/mob/living/carbon/human/species/species.dm
index 459f90c5a5..91bc81f210 100644
--- a/code/modules/mob/living/carbon/human/species/species.dm
+++ b/code/modules/mob/living/carbon/human/species/species.dm
@@ -542,3 +542,7 @@
/datum/species/proc/handle_falling(mob/living/carbon/human/H, atom/hit_atom, damage_min, damage_max, silent, planetary)
return FALSE
+
+/datum/species/proc/post_spawn_special(mob/living/carbon/human/H)
+ return
+
diff --git a/code/modules/mob/living/carbon/human/species/species_attack_vr.dm b/code/modules/mob/living/carbon/human/species/species_attack_vr.dm
index bff44609ea..110b76ef9b 100644
--- a/code/modules/mob/living/carbon/human/species/species_attack_vr.dm
+++ b/code/modules/mob/living/carbon/human/species/species_attack_vr.dm
@@ -49,15 +49,15 @@
target.bloodstr.add_reagent("numbenzyme",attack_damage)
/datum/unarmed_attack/claws/shadekin
- var/energy_gain = 3
-/datum/unarmed_attack/claws/shadekin/show_attack(var/mob/living/carbon/human/user, var/mob/living/carbon/human/target, var/zone, var/attack_damage)
+/datum/unarmed_attack/claws/shadekin/apply_effects(var/mob/living/carbon/human/user, var/mob/living/carbon/human/target, var/zone, var/attack_damage)
..()
- user.shadekin_adjust_energy(energy_gain)
+ if(!(target == user))
+ user.shadekin_adjust_energy(attack_damage)
/datum/unarmed_attack/bite/sharp/shadekin
- var/energy_gain = 3
-/datum/unarmed_attack/bite/sharp/shadekin/show_attack(var/mob/living/carbon/human/user, var/mob/living/carbon/human/target, var/zone, var/attack_damage)
+/datum/unarmed_attack/bite/sharp/shadekin/apply_effects(var/mob/living/carbon/human/user, var/mob/living/carbon/human/target, var/zone, var/attack_damage)
..()
- user.shadekin_adjust_energy(energy_gain)
\ No newline at end of file
+ if(!(target == user))
+ user.shadekin_adjust_energy(attack_damage)
\ No newline at end of file
diff --git a/code/modules/mob/living/carbon/human/species/station/prometheans.dm b/code/modules/mob/living/carbon/human/species/station/prometheans.dm
index 70eb15d659..5de7e16c32 100644
--- a/code/modules/mob/living/carbon/human/species/station/prometheans.dm
+++ b/code/modules/mob/living/carbon/human/species/station/prometheans.dm
@@ -150,8 +150,11 @@ var/datum/species/shapeshifter/promethean/prometheans
H.equip_to_slot_or_del(L, slot_in_backpack)
/datum/species/shapeshifter/promethean/hug(var/mob/living/carbon/human/H, var/mob/living/target)
-
- if(H.zone_sel.selecting == "head" || H.zone_sel.selecting == "r_hand" || H.zone_sel.selecting == "l_hand") return ..() //VOREStation Edit
+ var/static/list/parent_handles = list("head", "r_hand", "l_hand", "mouth")
+
+ if(H.zone_sel.selecting in parent_handles)
+ return ..()
+
var/t_him = "them"
if(ishuman(target))
var/mob/living/carbon/human/T = target
diff --git a/code/modules/mob/living/living.dm b/code/modules/mob/living/living.dm
index 4703c05d18..e2f87a160e 100644
--- a/code/modules/mob/living/living.dm
+++ b/code/modules/mob/living/living.dm
@@ -848,9 +848,9 @@
if(lying)
density = FALSE
- if(l_hand)
+ if(l_hand)
unEquip(l_hand)
- if(r_hand)
+ if(r_hand)
unEquip(r_hand)
for(var/obj/item/weapon/holder/holder in get_mob_riding_slots())
unEquip(holder)
@@ -1164,6 +1164,8 @@
screen_icon = new()
RegisterSignal(screen_icon, COMSIG_CLICK, .proc/character_setup_click)
screen_icon.icon = HUD.ui_style
+ screen_icon.color = HUD.ui_color
+ screen_icon.alpha = HUD.ui_alpha
LAZYADD(HUD.other_important, screen_icon)
user.client?.screen += screen_icon
diff --git a/code/modules/mob/living/silicon/robot/drone/drone.dm b/code/modules/mob/living/silicon/robot/drone/drone.dm
index aca27b3791..c374f68d1d 100644
--- a/code/modules/mob/living/silicon/robot/drone/drone.dm
+++ b/code/modules/mob/living/silicon/robot/drone/drone.dm
@@ -66,6 +66,11 @@ var/list/mob_hat_cache = list()
can_be_antagged = FALSE
+ var/static/list/shell_types = list("Classic" = "repairbot", "Eris" = "maintbot")
+ var/can_pick_shell = TRUE
+ var/list/shell_accessories
+ var/can_blitz = FALSE
+
/mob/living/silicon/robot/drone/Destroy()
if(hat)
hat.loc = get_turf(src)
@@ -82,6 +87,8 @@ var/list/mob_hat_cache = list()
hat_x_offset = 1
hat_y_offset = -12
can_pull_mobs = MOB_PULL_SAME
+ can_pick_shell = FALSE
+ shell_accessories = list("eyes-constructiondrone")
/mob/living/silicon/robot/drone/mining
icon_state = "miningdrone"
@@ -91,9 +98,10 @@ var/list/mob_hat_cache = list()
hat_x_offset = 1
hat_y_offset = -12
can_pull_mobs = MOB_PULL_SAME
+ can_pick_shell = FALSE
+ shell_accessories = list("eyes-miningdrone")
/mob/living/silicon/robot/drone/New()
-
..()
verbs += /mob/living/proc/ventcrawl
verbs += /mob/living/proc/hide
@@ -115,6 +123,12 @@ var/list/mob_hat_cache = list()
C.max_damage = 10
verbs -= /mob/living/silicon/robot/verb/Namepick
+
+ if(can_pick_shell)
+ var/random = pick(shell_types)
+ icon_state = shell_types[random]
+ shell_accessories = list("[icon_state]-eyes-blue")
+
updateicon()
updatename()
@@ -128,6 +142,11 @@ var/list/mob_hat_cache = list()
flavor_text = "It's a tiny little repair drone. The casing is stamped with an corporate logo and the subscript: '[using_map.company_name] Recursive Repair Systems: Fixing Tomorrow's Problem, Today!'"
playsound(src, 'sound/machines/twobeep.ogg', 50, 0)
+/mob/living/silicon/robot/drone/Login()
+ . = ..()
+ if(can_pick_shell)
+ to_chat(src, "You can select a shell using the 'Robot Commands' > 'Customize Appearance' ")
+
//Redefining some robot procs...
/mob/living/silicon/robot/drone/SetName(pickedName as text)
// Would prefer to call the grandparent proc but this isn't possible, so..
@@ -142,15 +161,47 @@ var/list/mob_hat_cache = list()
name = real_name
/mob/living/silicon/robot/drone/updateicon()
-
cut_overlays()
- if(stat == 0)
- add_overlay("eyes-[icon_state]")
- else
- cut_overlay("eyes")
+
+ if(islist(shell_accessories))
+ add_overlay(shell_accessories)
+
if(hat) // Let the drones wear hats.
add_overlay(get_hat_icon(hat, hat_x_offset, hat_y_offset))
+/mob/living/silicon/robot/drone/verb/pick_shell()
+ set name = "Customize Appearance"
+ set category = "Robot Commands"
+
+ if(!can_pick_shell)
+ to_chat(src, "You already selected a shell or this drone type isn't customizable. ")
+ return
+
+ var/list/choices = shell_types.Copy()
+
+ if(can_blitz)
+ choices["Blitz"] = "blitzshell"
+
+ var/shell_choice = tgui_input_list(src, "Select a shell. NOTE: You can only do this once during this drone-lifetime.", "Customize Shell", choices)
+ if(!shell_choice)
+ return
+
+ icon_state = choices[shell_choice]
+
+ // If you add more, datumize these. Having 'basically two' is not enough to make me bother though.
+ shell_accessories = null
+ if(icon_state in list("repairbot", "maintbot"))
+ var/eye_color = tgui_input_list(src, "Select eye color:", "Eye Color", list("blue", "red", "orange", "green", "violet"))
+ if(eye_color)
+ LAZYADD(shell_accessories, "[icon_state]-eyes-[eye_color]")
+ if(icon_state == "maintbot")
+ var/armor_color = tgui_input_list(src, "Select plating color:", "Eye Color", list("blue", "red", "orange", "green", "brown"))
+ if(armor_color)
+ LAZYADD(shell_accessories, "[icon_state]-shell-[armor_color]")
+
+ can_pick_shell = FALSE
+ updateicon()
+
/mob/living/silicon/robot/drone/choose_icon()
return
diff --git a/code/modules/mob/living/silicon/robot/subtypes/thinktank/_thinktank.dm b/code/modules/mob/living/silicon/robot/subtypes/thinktank/_thinktank.dm
index cc0b3785b6..4efce708e8 100644
--- a/code/modules/mob/living/silicon/robot/subtypes/thinktank/_thinktank.dm
+++ b/code/modules/mob/living/silicon/robot/subtypes/thinktank/_thinktank.dm
@@ -136,7 +136,8 @@
if(stat != DEAD && cell)
// TODO generalize solar occlusion to charge from the actual sun.
- var/new_recharge_state = istype(loc, /turf/simulated/floor/outdoors) || /*, /turf/exterior) */ istype(loc, /turf/space)
+ var/turf/T = get_turf(src)
+ var/new_recharge_state = T?.is_outdoors() || isspace(T)
if(new_recharge_state != last_recharge_state)
last_recharge_state = new_recharge_state
if(last_recharge_state)
diff --git a/code/modules/mob/living/simple_mob/subtypes/animal/borer/borer.dm b/code/modules/mob/living/simple_mob/subtypes/animal/borer/borer.dm
index f900622a8d..34a159801f 100644
--- a/code/modules/mob/living/simple_mob/subtypes/animal/borer/borer.dm
+++ b/code/modules/mob/living/simple_mob/subtypes/animal/borer/borer.dm
@@ -26,24 +26,30 @@
holder_type = /obj/item/weapon/holder/borer
ai_holder_type = null // This is player-controlled, always.
+ var/mob/living/carbon/human/host = null // The humanoid host for the brain worm.
+ var/mob/living/captive_brain/host_brain // Used for swapping control of the body back and forth.
+
+ var/roundstart = FALSE // If true, spawning won't try to pull a ghost.
+ var/antag = TRUE // If false, will avoid setting up objectives and events
+
var/chemicals = 10 // A resource used for reproduction and powers.
var/max_chemicals = 250 // Max of said resource.
- var/mob/living/carbon/human/host = null // The humanoid host for the brain worm.
var/true_name = null // String used when speaking among other worms.
- var/mob/living/captive_brain/host_brain // Used for swapping control of the body back and forth.
var/controlling = FALSE // Used in human death ceck.
var/docile = FALSE // Sugar can stop borers from acting.
+
var/has_reproduced = FALSE
- var/roundstart = FALSE // If true, spawning won't try to pull a ghost.
var/used_dominate // world.time when the dominate power was last used.
-
/mob/living/simple_mob/animal/borer/roundstart
roundstart = TRUE
+/mob/living/simple_mob/animal/borer/non_antag
+ antag = FALSE
+
/mob/living/simple_mob/animal/borer/Login()
..()
- if(mind)
+ if(antag && mind)
borers.add_antagonist(mind)
/mob/living/simple_mob/animal/borer/Initialize()
@@ -54,7 +60,7 @@
true_name = "[pick("Primary","Secondary","Tertiary","Quaternary")] [rand(1000,9999)]"
- if(!roundstart)
+ if(!roundstart && antag)
request_player()
return ..()
diff --git a/code/modules/mob/living/simple_mob/subtypes/animal/borer/borer_powers.dm b/code/modules/mob/living/simple_mob/subtypes/animal/borer/borer_powers.dm
index 866c595492..39f3a27e87 100644
--- a/code/modules/mob/living/simple_mob/subtypes/animal/borer/borer_powers.dm
+++ b/code/modules/mob/living/simple_mob/subtypes/animal/borer/borer_powers.dm
@@ -169,7 +169,8 @@
H.verbs |= /mob/living/carbon/human/proc/psychic_whisper
H.verbs |= /mob/living/carbon/human/proc/tackle
- H.verbs |= /mob/living/carbon/proc/spawn_larvae
+ if(antag)
+ H.verbs |= /mob/living/carbon/proc/spawn_larvae
if(H.client)
H.ghostize(0)
@@ -332,7 +333,8 @@
host.verbs += /mob/living/carbon/proc/release_control
host.verbs += /mob/living/carbon/proc/punish_host
- host.verbs += /mob/living/carbon/proc/spawn_larvae
+ if(antag)
+ host.verbs += /mob/living/carbon/proc/spawn_larvae
return
diff --git a/code/modules/mob/living/simple_mob/subtypes/horror/Eddy.dm b/code/modules/mob/living/simple_mob/subtypes/horror/Eddy.dm
deleted file mode 100644
index 29b7af8d30..0000000000
--- a/code/modules/mob/living/simple_mob/subtypes/horror/Eddy.dm
+++ /dev/null
@@ -1,57 +0,0 @@
-/mob/living/simple_mob/horror/Eddy
- name = "???"
- desc = "A dark green, sluglike creature, covered in glowing green ooze, and carrying what look to be eggs on its back."
-
- icon_state = "Eddy"
- icon_living = "Eddy"
- icon_dead = "e_head"
- icon_rest = "Eddy"
- faction = "horror"
- icon = 'icons/mob/horror_show/GHPS.dmi'
- icon_gib = "generic_gib"
-
- attack_sound = 'sound/h_sounds/negative.ogg'
-
- maxHealth = 175
- health = 175
-
- melee_damage_lower = 25
- melee_damage_upper = 35
- grab_resist = 100
-
- response_help = "pets the"
- response_disarm = "bops the"
- response_harm = "hits the"
- attacktext = list("smashed")
- friendly = list("nuzzles", "boops", "bumps against", "leans on")
-
-
- say_list_type = /datum/say_list/Eddy
- ai_holder_type = /datum/ai_holder/simple_mob/horror
-
-/mob/living/simple_mob/horror/Eddy/death()
- playsound(src, 'sound/h_sounds/headcrab.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Eddy/bullet_act()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Eddy/attack_hand()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Eddy/hitby()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Eddy/attackby()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/datum/say_list/Eddy
- speak = list("Uuurrgh?","Aauuugghh...", "AAARRRGH!")
- emote_hear = list("shrieks horrifically", "groans in pain", "cries", "whines")
- emote_see = list("blinks its many eyes", "shakes violently in place", "stares aggressively")
- say_maybe_target = list("Uuurrgghhh?")
- say_got_target = list("AAAHHHHH!")
\ No newline at end of file
diff --git a/code/modules/mob/living/simple_mob/subtypes/horror/Master.dm b/code/modules/mob/living/simple_mob/subtypes/horror/Master.dm
deleted file mode 100644
index 430cb4e865..0000000000
--- a/code/modules/mob/living/simple_mob/subtypes/horror/Master.dm
+++ /dev/null
@@ -1,51 +0,0 @@
-/mob/living/simple_mob/horror/Master
- name = "Dr. Helix"
- desc = "A massive pile of grotesque flesh and bulging tumor like growths. Every inch of its skin is undulating in every direction possible, bringing a literal definition to 'Skin Crawling.' Stuck in the middle of this monstrosity is a large AI core with a bloodied, emaciated man sewn into its circuitry."
-
- icon_state = "Helix"
- icon_living = "Helix"
- icon_dead = "m_dead"
- icon_rest = "Helix"
- faction = "horror"
- icon = 'icons/mob/horror_show/master.dmi'
- vis_height = 64
- icon_gib = "generic_gib"
- anchored = TRUE
-
- attack_sound = 'sound/h_sounds/shitty_tim.ogg'
-
- maxHealth = 400
- health = 400
-
- melee_damage_lower = 5
- melee_damage_upper = 8
- grab_resist = 100
-
- response_help = "pets the"
- response_disarm = "bops the"
- response_harm = "hits the"
- attacktext = list("smushed")
- friendly = list("nuzzles", "boops", "bumps against", "leans on")
-
-
- ai_holder_type = null
-
-/mob/living/simple_mob/horror/Master/death()
- playsound(src, 'sound/h_sounds/imbeciles.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Master/bullet_act()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Master/attack_hand()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Master/hitby()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Master/attackby()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
diff --git a/code/modules/mob/living/simple_mob/subtypes/horror/Rickey.dm b/code/modules/mob/living/simple_mob/subtypes/horror/Rickey.dm
deleted file mode 100644
index 01f9b6d7f9..0000000000
--- a/code/modules/mob/living/simple_mob/subtypes/horror/Rickey.dm
+++ /dev/null
@@ -1,57 +0,0 @@
-/mob/living/simple_mob/horror/Rickey
- name = "???"
- desc = "What a handsome Man, his mother must think."
-
- icon_state = "Rickey"
- icon_living = "Rickey"
- icon_dead = "r_head"
- icon_rest = "Rickey"
- faction = "horror"
- icon = 'icons/mob/horror_show/GHPS.dmi'
- icon_gib = "generic_gib"
-
- attack_sound = 'sound/h_sounds/wor.ogg'
-
- maxHealth = 175
- health = 175
-
- melee_damage_lower = 25
- melee_damage_upper = 35
- grab_resist = 100
-
- response_help = "pets the"
- response_disarm = "bops the"
- response_harm = "hits the"
- attacktext = list("smashed")
- friendly = list("nuzzles", "boops", "bumps against", "leans on")
-
-
- say_list_type = /datum/say_list/Rickey
- ai_holder_type = /datum/ai_holder/simple_mob/horror
-
-/mob/living/simple_mob/horror/Rickey/death()
- playsound(src, 'sound/h_sounds/headcrab.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Rickey/bullet_act()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Rickey/attack_hand()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Rickey/hitby()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Rickey/attackby()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/datum/say_list/Rickey
- speak = list("Uuurrgh?","Aauuugghh...", "AAARRRGH!")
- emote_hear = list("shrieks horrifically", "groans in pain", "cries", "whines")
- emote_see = list("flexes to no one in particular", "shakes violently in place", "stares aggressively")
- say_maybe_target = list("Uuurrgghhh?")
- say_got_target = list("AAAHHHHH!")
\ No newline at end of file
diff --git a/code/modules/mob/living/simple_mob/subtypes/horror/Smiley.dm b/code/modules/mob/living/simple_mob/subtypes/horror/Smiley.dm
deleted file mode 100644
index aae4f3cb11..0000000000
--- a/code/modules/mob/living/simple_mob/subtypes/horror/Smiley.dm
+++ /dev/null
@@ -1,57 +0,0 @@
-/mob/living/simple_mob/horror/Smiley
- name = "???"
- desc = "A giant hand, with a large, smiling head on top."
-
- icon_state = "Smiley"
- icon_living = "Smiley"
- icon_dead = "s_head"
- icon_rest = "Smiley"
- faction = "horror"
- icon = 'icons/mob/horror_show/GHPS.dmi'
- icon_gib = "generic_gib"
-
- attack_sound = 'sound/h_sounds/holla.ogg'
-
- maxHealth = 175
- health = 175
-
- melee_damage_lower = 25
- melee_damage_upper = 35
- grab_resist = 100
-
- response_help = "pets the"
- response_disarm = "bops the"
- response_harm = "hits the"
- attacktext = list("smashed")
- friendly = list("nuzzles", "boops", "bumps against", "leans on")
-
-
- say_list_type = /datum/say_list/Smiley
- ai_holder_type = /datum/ai_holder/simple_mob/horror
-
-/mob/living/simple_mob/horror/Smiley/death()
- playsound(src, 'sound/h_sounds/lynx.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Helix/bullet_act()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Helix/attack_hand()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Helix/hitby()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Helix/attackby()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/datum/say_list/Smiley
- speak = list("Uuurrgh?","Aauuugghh...", "AAARRRGH!")
- emote_hear = list("shrieks horrifically", "groans in pain", "cries", "whines")
- emote_see = list("squeezes its fingers together", "shakes violently in place", "stares aggressively")
- say_maybe_target = list("Uuurrgghhh?")
- say_got_target = list("AAAHHHHH!")
\ No newline at end of file
diff --git a/code/modules/mob/living/simple_mob/subtypes/horror/Steve.dm b/code/modules/mob/living/simple_mob/subtypes/horror/Steve.dm
deleted file mode 100644
index 08abc47b4f..0000000000
--- a/code/modules/mob/living/simple_mob/subtypes/horror/Steve.dm
+++ /dev/null
@@ -1,64 +0,0 @@
-/mob/living/simple_mob/horror/Steve
- name = "???"
- desc = "A formless blob of flesh with one, giant, everblinking eye. It has a large machine gun and a watercooler stuck stright into its skin."
-
- icon_state = "Steve"
- icon_living = "Steve"
- icon_dead = "sg_head"
- icon_rest = "Steve"
- faction = "horror"
- icon = 'icons/mob/horror_show/GHPS.dmi'
- icon_gib = "generic_gib"
-
- attack_sound = 'sound/h_sounds/mumble.ogg'
-
- maxHealth = 175
- health = 175
-
- melee_damage_lower = 25
- melee_damage_upper = 35
- grab_resist = 100
-
- projectiletype = /obj/item/projectile/bullet/pistol/medium
- projectilesound = 'sound/weapons/Gunshot_light.ogg'
-
- needs_reload = TRUE
- base_attack_cooldown = 5 // Two attacks a second or so.
- reload_max = 20
-
- response_help = "pets the"
- response_disarm = "bops the"
- response_harm = "hits the"
- attacktext = list("smashed")
- friendly = list("nuzzles", "boops", "bumps against", "leans on")
-
-
- say_list_type = /datum/say_list/Steve
- ai_holder_type = /datum/ai_holder/simple_mob/horror
-
-/mob/living/simple_mob/horror/Steve/death()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Steve/bullet_act()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Steve/attack_hand()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Steve/hitby()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Steve/attackby()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/datum/say_list/Steve
- speak = list("Uuurrgh?","Aauuugghh...", "AAARRRGH!")
- emote_hear = list("shrieks horrifically", "groans in pain", "cries", "whines")
- emote_see = list("blinks aggressively at", "shakes violently in place", "stares aggressively")
- say_maybe_target = list("Uuurrgghhh?")
- say_got_target = list("AAAHHHHH!")
\ No newline at end of file
diff --git a/code/modules/mob/living/simple_mob/subtypes/horror/Willy.dm b/code/modules/mob/living/simple_mob/subtypes/horror/Willy.dm
deleted file mode 100644
index 0c01c98288..0000000000
--- a/code/modules/mob/living/simple_mob/subtypes/horror/Willy.dm
+++ /dev/null
@@ -1,57 +0,0 @@
-/mob/living/simple_mob/horror/Willy
- name = "???"
- desc = "It looks like a giant mascot costume made of flesh and fabric. The two bulging eyes aren't comforting to look at either. At least it smells like a burger and fries."
-
- icon_state = "Willy"
- icon_living = "Willy"
- icon_dead = "w_head"
- icon_rest = "Willy"
- faction = "horror"
- icon = 'icons/mob/horror_show/GHPS.dmi'
- icon_gib = "generic_gib"
-
- attack_sound = 'sound/h_sounds/negative.ogg'
-
- maxHealth = 175
- health = 175
-
- melee_damage_lower = 25
- melee_damage_upper = 35
- grab_resist = 100
-
- response_help = "pets the"
- response_disarm = "bops the"
- response_harm = "hits the"
- attacktext = list("smashed")
- friendly = list("nuzzles", "boops", "bumps against", "leans on")
-
-
- say_list_type = /datum/say_list/Willy
- ai_holder_type = /datum/ai_holder/simple_mob/horror
-
-/mob/living/simple_mob/horror/Willy/death()
- playsound(src, 'sound/h_sounds/sampler.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Willy/bullet_act()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Willy/attack_hand()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Willy/hitby()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Willy/attackby()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/datum/say_list/Willy
- speak = list("Uuurrgh?","Aauuugghh...", "AAARRRGH!")
- emote_hear = list("shrieks horrifically", "groans in pain", "cries", "whines")
- emote_see = list("headbobs", "shakes violently in place", "stares aggressively")
- say_maybe_target = list("Uuurrgghhh?")
- say_got_target = list("AAAHHHHH!")
\ No newline at end of file
diff --git a/code/modules/mob/living/simple_mob/subtypes/horror/bradley.dm b/code/modules/mob/living/simple_mob/subtypes/horror/bradley.dm
deleted file mode 100644
index f1f1af48aa..0000000000
--- a/code/modules/mob/living/simple_mob/subtypes/horror/bradley.dm
+++ /dev/null
@@ -1,57 +0,0 @@
-/mob/living/simple_mob/horror/bradley
- name = "Bradley"
- desc = "What you see is a ball of seemingly melty flesh, stitched together hastily over large, bulging scars. Four metal legs extend out of its sides, The two in the front are larger than the back; and all of the legs are segmented with a unique steel looking metal. In the middle of this monstrosity is a constantly tremmoring eye. While the eye never blinks, it is dyed faintly yellow, with a vertical, read pupil. It seems like it's crying, a weird, oil like liquid seeping from its socket."
-
- icon_state = "Bradley"
- icon_living = "Bradley"
- icon_dead = "b_head"
- icon_rest = "Bradley"
- faction = "horror"
- icon = 'icons/mob/horror_show/GHPS.dmi'
- icon_gib = "generic_gib"
-
- attack_sound = 'sound/h_sounds/holla.ogg'
-
- maxHealth = 175
- health = 175
-
- melee_damage_lower = 25
- melee_damage_upper = 35
- grab_resist = 100
-
- response_help = "pets the"
- response_disarm = "bops the"
- response_harm = "hits the"
- attacktext = list("mutilated")
- friendly = list("nuzzles", "eyeboops", "headbumps against", "leans on")
-
-
- say_list_type = /datum/say_list/bradley
- ai_holder_type = /datum/ai_holder/simple_mob/horror
-
-/mob/living/simple_mob/horror/bradley/death()
- playsound(src, 'sound/h_sounds/mumble.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/bradley/bullet_act()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/bradley/attack_hand()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/bradley/hitby()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/bradley/attackby()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/datum/say_list/bradley
- speak = list("Uuurrgh?","Aauuugghh...", "AAARRRGH!")
- emote_hear = list("shrieks through its skin", "groans in pain", "creaks", "clanks")
- emote_see = list("taps its limbs against the ground", "shakes", "stares aggressively")
- say_maybe_target = list("Uuurrgghhh?")
- say_got_target = list("AAAHHHHH!")
\ No newline at end of file
diff --git a/code/modules/mob/living/simple_mob/subtypes/horror/horror .dm b/code/modules/mob/living/simple_mob/subtypes/horror/horror .dm
deleted file mode 100644
index b663972372..0000000000
--- a/code/modules/mob/living/simple_mob/subtypes/horror/horror .dm
+++ /dev/null
@@ -1,27 +0,0 @@
-/mob/living/simple_mob/horror
- tt_desc = "Homo Horrificus"
- faction = "horror"
- icon = 'icons/mob/horror_show/GHPS.dmi'
- icon_gib = "generic_gib"
-
-/datum/ai_holder/simple_mob/horror
- hostile = TRUE // The majority of simplemobs are hostile, gaslamps are nice.
- cooperative = FALSE
- retaliate = TRUE //so the monster can attack back
- returns_home = FALSE
- can_flee = FALSE
- speak_chance = 3
- wander = TRUE
- base_wander_delay = 9
-
-/mob/living/simple_mob/horror
- min_oxy = 0
- max_oxy = 0
- min_tox = 0
- max_tox = 0
- min_co2 = 0
- max_co2 = 0
- min_n2 = 0
- max_n2 = 0
- minbodytemp = 0
- maxbodytemp = 700
diff --git a/code/modules/mob/living/simple_mob/subtypes/horror/sally.dm b/code/modules/mob/living/simple_mob/subtypes/horror/sally.dm
deleted file mode 100644
index a737a66587..0000000000
--- a/code/modules/mob/living/simple_mob/subtypes/horror/sally.dm
+++ /dev/null
@@ -1,57 +0,0 @@
-/mob/living/simple_mob/horror/Sally
- name = "???"
- desc = "A mass of tentacles hold up a large head, graced with one of the grandest smiles in the galaxy. It's a shame about the constant oil leaking from its eyes."
-
- icon_state = "Sally"
- icon_living = "Sally"
- icon_dead = "ws_head"
- icon_rest = "Sally"
- faction = "horror"
- icon = 'icons/mob/horror_show/widehorror.dmi'
- icon_gib = "generic_gib"
-
- attack_sound = 'sound/h_sounds/sampler.ogg'
-
- maxHealth = 200
- health = 200
-
- melee_damage_lower = 30
- melee_damage_upper = 40
- grab_resist = 100
-
- response_help = "pets the"
- response_disarm = "bops the"
- response_harm = "hits the"
- attacktext = list("smashed")
- friendly = list("nuzzles", "boops", "headbumps against", "leans on")
-
-
- say_list_type = /datum/say_list/Sally
- ai_holder_type = /datum/ai_holder/simple_mob/horror
-
-/mob/living/simple_mob/horror/Sally/death()
- playsound(src, 'sound/h_sounds/lynx.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Sally/bullet_act()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Sally/attack_hand()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Sally/hitby()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/Sally/attackby()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/datum/say_list/Sally
- speak = list("Yeeeeee?","Haaah! Gashuuuuuh!", "Gahgahgahgah...")
- emote_hear = list("shrieks", "groans in pain", "breathes heavily", "gnashes its teeth")
- emote_see = list("wiggles its head", "shakes violently", "stares aggressively")
- say_maybe_target = list("Uuurrgghhh?")
- say_got_target = list("AAAHHHHH!")
\ No newline at end of file
diff --git a/code/modules/mob/living/simple_mob/subtypes/horror/shittytim.dm b/code/modules/mob/living/simple_mob/subtypes/horror/shittytim.dm
deleted file mode 100644
index 0d00ee6cce..0000000000
--- a/code/modules/mob/living/simple_mob/subtypes/horror/shittytim.dm
+++ /dev/null
@@ -1,58 +0,0 @@
-/mob/living/simple_mob/horror/BigTim
- name = "Shitty Tim"
- desc = "A tall figure wearing ripped clothes. Its eyes are placed on the bulb of skin that's folded over the front of its face. He has a gold clock hanging on a gold chain around his neck, and he has a gold and diamond bracelet on his wrist."
-
- icon_state = "shitty_tim"
- icon_living = "shitty_tim"
- icon_dead = "tst_head"
- icon_rest = "shitty_tim"
- faction = "horror"
- icon = 'icons/mob/horror_show/tallhorror.dmi'
- vis_height = 64
- icon_gib = "generic_gib"
-
- attack_sound = 'sound/h_sounds/youknowwhoitis.ogg'
-
- maxHealth = 250
- health = 250
-
- melee_damage_lower = 35
- melee_damage_upper = 45
- grab_resist = 100
-
- response_help = "pets the"
- response_disarm = "bops the"
- response_harm = "hits the"
- attacktext = list("mutilated")
- friendly = list("nuzzles", "boops", "headbumps against", "leans on")
-
-
- say_list_type = /datum/say_list/BigTim
- ai_holder_type = /datum/ai_holder/simple_mob/horror
-
-/mob/living/simple_mob/horror/BigTim/death()
- playsound(src, 'sound/h_sounds/shitty_tim.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/BigTim/bullet_act()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/BigTim/attack_hand()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/BigTim/hitby()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/BigTim/attackby()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/datum/say_list/BigTim
- speak = list("Wuuuuuhhuuhhhhh?","Urk! Aaaaahaaa!", "Yuhyuhyuhyuh...")
- emote_hear = list("shrieks", "groans in pain", "flaps", "gnashes its teeth")
- emote_see = list("jiggles its teeth", "shakes violently", "stares aggressively")
- say_maybe_target = list("Uuurrgghhh?")
- say_got_target = list("AAAHHHHH!")
\ No newline at end of file
diff --git a/code/modules/mob/living/simple_mob/subtypes/horror/timling.dm b/code/modules/mob/living/simple_mob/subtypes/horror/timling.dm
deleted file mode 100644
index f3a93d7a66..0000000000
--- a/code/modules/mob/living/simple_mob/subtypes/horror/timling.dm
+++ /dev/null
@@ -1,58 +0,0 @@
-/mob/living/simple_mob/horror/TinyTim
- name = "???"
- desc = "A tall figure wearing ripped clothes. Its eyes are placed on the bulb of skin that's folded over the front of its face."
-
- icon_state = "timling"
- icon_living = "timling"
- icon_dead = "tt_head"
- icon_rest = "timling"
- faction = "horror"
- icon = 'icons/mob/horror_show/tallhorror.dmi'
- vis_height = 64
- icon_gib = "generic_gib"
-
- attack_sound = 'sound/h_sounds/youknowwhoitis.ogg'
-
- maxHealth = 200
- health = 200
-
- melee_damage_lower = 30
- melee_damage_upper = 40
- grab_resist = 100
-
- response_help = "pets the"
- response_disarm = "bops the"
- response_harm = "hits the"
- attacktext = list("mutilated")
- friendly = list("nuzzles", "boops", "headbumps against", "leans on")
-
-
- say_list_type = /datum/say_list/TinyTim
- ai_holder_type = /datum/ai_holder/simple_mob/horror
-
-/mob/living/simple_mob/horror/TinyTim/death()
- playsound(src, 'sound/h_sounds/shitty_tim.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/TinyTim/bullet_act()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/TinyTim/attack_hand()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/TinyTim/hitby()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/mob/living/simple_mob/horror/TinyTim/attackby()
- playsound(src, 'sound/h_sounds/holla.ogg', 50, 1)
- ..()
-
-/datum/say_list/TinyTim
- speak = list("Wuuuuuhhuuhhhhh?","Urk! Aaaaahaaa!", "Yuhyuhyuhyuh...")
- emote_hear = list("shrieks", "groans in pain", "flaps", "gnashes its teeth")
- emote_see = list("jiggles its teeth", "shakes violently", "stares aggressively")
- say_maybe_target = list("Uuurrgghhh?")
- say_got_target = list("AAAHHHHH!")
\ No newline at end of file
diff --git a/code/modules/modular_computers/computers/subtypes/dev_console.dm b/code/modules/modular_computers/computers/subtypes/dev_console.dm
index a259651da6..a467a77730 100644
--- a/code/modules/modular_computers/computers/subtypes/dev_console.dm
+++ b/code/modules/modular_computers/computers/subtypes/dev_console.dm
@@ -16,4 +16,21 @@
steel_sheet_cost = 20
light_strength = 4
max_damage = 300
- broken_damage = 150
\ No newline at end of file
+ broken_damage = 150
+
+/obj/item/modular_computer/console/update_icon()
+ . = ..()
+ // Connecty
+ if(initial(icon_state) == "console")
+ var/append_string = ""
+ var/left = turn(dir, -90)
+ var/right = turn(dir, 90)
+ var/turf/L = get_step(src, left)
+ var/turf/R = get_step(src, right)
+ var/obj/item/modular_computer/console/LC = locate() in L
+ var/obj/item/modular_computer/console/RC = locate() in R
+ if(LC && LC.dir == dir && initial(LC.icon_state) == "console")
+ append_string += "_L"
+ if(RC && RC.dir == dir && initial(RC.icon_state) == "console")
+ append_string += "_R"
+ icon_state = "console[append_string]"
diff --git a/code/modules/nifsoft/nif_tgui.dm b/code/modules/nifsoft/nif_tgui.dm
index 7be13ceff6..203e0bb858 100644
--- a/code/modules/nifsoft/nif_tgui.dm
+++ b/code/modules/nifsoft/nif_tgui.dm
@@ -47,7 +47,7 @@
qdel_null(screen_icon)
if(ishuman(parent))
owner.verbs -= /mob/living/carbon/human/proc/nif_menu
-
+
/datum/component/nif_menu/proc/create_mob_button(mob/user)
var/datum/hud/HUD = user.hud_used
@@ -55,9 +55,11 @@
screen_icon = new()
RegisterSignal(screen_icon, COMSIG_CLICK, .proc/nif_menu_click)
screen_icon.icon = HUD.ui_style
+ screen_icon.color = HUD.ui_color
+ screen_icon.alpha = HUD.ui_alpha
LAZYADD(HUD.other_important, screen_icon)
user.client?.screen += screen_icon
-
+
user.verbs |= /mob/living/carbon/human/proc/nif_menu
/datum/component/nif_menu/proc/nif_menu_click(source, location, control, params, user)
@@ -118,7 +120,7 @@
data["nif_percent"] = round((durability/initial(durability))*100)
data["nif_stat"] = stat
-
+
var/list/modules = list()
if(stat == NIF_WORKING)
for(var/nifsoft in nifsofts)
diff --git a/code/modules/overmap/ships/computers/engine_control.dm b/code/modules/overmap/ships/computers/engine_control.dm
index 52342e23d3..1110f6b246 100644
--- a/code/modules/overmap/ships/computers/engine_control.dm
+++ b/code/modules/overmap/ships/computers/engine_control.dm
@@ -6,6 +6,13 @@
icon_screen = "engines"
circuit = /obj/item/weapon/circuitboard/engine
+// fancy sprite
+/obj/machinery/computer/ship/engines/adv
+ icon_keyboard = null
+ icon_state = "adv_engines"
+ icon_screen = "adv_engines_screen"
+ light_color = "#05A6A8"
+
/obj/machinery/computer/ship/engines/tgui_interact(mob/user, datum/tgui/ui)
if(!linked)
display_reconnect_dialog(user, "ship control systems")
diff --git a/code/modules/overmap/ships/computers/helm.dm b/code/modules/overmap/ships/computers/helm.dm
index e0692314f9..fe24315788 100644
--- a/code/modules/overmap/ships/computers/helm.dm
+++ b/code/modules/overmap/ships/computers/helm.dm
@@ -30,6 +30,13 @@ GLOBAL_LIST_EMPTY(all_waypoints)
var/accellimit = 0.001 //manual limiter for acceleration
req_one_access = list(access_pilot) //VOREStation Edit
+// fancy sprite
+/obj/machinery/computer/ship/helm/adv
+ icon_keyboard = null
+ icon_state = "adv_helm"
+ icon_screen = "adv_helm_screen"
+ light_color = "#70ffa0"
+
/obj/machinery/computer/ship/helm/Initialize()
. = ..()
get_known_sectors()
diff --git a/code/modules/overmap/ships/computers/sensors.dm b/code/modules/overmap/ships/computers/sensors.dm
index 3775af9a75..9a1c0fb115 100644
--- a/code/modules/overmap/ships/computers/sensors.dm
+++ b/code/modules/overmap/ships/computers/sensors.dm
@@ -7,6 +7,13 @@
extra_view = 4
var/obj/machinery/shipsensors/sensors
+// fancy sprite
+/obj/machinery/computer/ship/sensors/adv
+ icon_keyboard = null
+ icon_state = "adv_sensors"
+ icon_screen = "adv_sensors_screen"
+ light_color = "#05A6A8"
+
/obj/machinery/computer/ship/sensors/attempt_hook_up(obj/effect/overmap/visitable/ship/sector)
if(!(. = ..()))
return
diff --git a/code/modules/overmap/ships/engines/ion_thruster.dm b/code/modules/overmap/ships/engines/ion_thruster.dm
index 3c84790e12..21a4f9ea3a 100644
--- a/code/modules/overmap/ships/engines/ion_thruster.dm
+++ b/code/modules/overmap/ships/engines/ion_thruster.dm
@@ -52,15 +52,17 @@
/obj/machinery/ion_engine/Initialize()
. = ..()
controller = new(src)
-
- var/image/i = image('icons/turf/shuttle_parts_vr.dmi', "ion_overlay") // VOREStation Edit
- i.plane = PLANE_LIGHTING_ABOVE // VOREStation Edit
- add_overlay(i) // VOREStation Edit
+ add_glow()
/obj/machinery/ion_engine/Destroy()
QDEL_NULL(controller)
. = ..()
+/obj/machinery/ion_engine/proc/add_glow()
+ var/image/i = image('icons/turf/shuttle_parts_vr.dmi', "ion_overlay") // VOREStation Edit
+ i.plane = PLANE_LIGHTING_ABOVE // VOREStation Edit
+ add_overlay(i) // VOREStation Edit
+
/obj/machinery/ion_engine/proc/get_status()
. = list()
.+= "Location: [get_area(src)]."
diff --git a/code/modules/overmap/ships/ship_vr.dm b/code/modules/overmap/ships/ship_vr.dm
new file mode 100644
index 0000000000..97afe44e72
--- /dev/null
+++ b/code/modules/overmap/ships/ship_vr.dm
@@ -0,0 +1,48 @@
+/obj/effect/overmap/visitable/ship/Initialize()
+ . = ..()
+ listening_objects += src
+
+/obj/effect/overmap/visitable/ship/Destroy()
+ listening_objects -= src
+ return ..()
+
+/obj/effect/overmap/visitable/ship/MouseDrop(atom/over)
+ if(!isliving(over) || !Adjacent(over) || !Adjacent(usr))
+ return
+ var/mob/living/L = over
+ var/confirm = tgui_alert(L, "You COULD eat this spaceship...", "Eat spaceship?", list("Eat it!", "No, thanks."))
+ if(confirm == "Eat it!")
+ var/obj/belly/bellychoice = tgui_input_list(usr, "Which belly?","Select A Belly", L.vore_organs)
+ if(bellychoice)
+ L.visible_message("[L] is trying to stuff \the [src] into [L.gender == MALE ? "his" : L.gender == FEMALE ? "her" : "their"] [bellychoice]! ","You begin putting \the [src] into your [bellychoice]! ")
+ if(do_after(L, 5 SECONDS, src, exclusive = TASK_ALL_EXCLUSIVE))
+ forceMove(bellychoice)
+ SSskybox.rebuild_skyboxes(map_z)
+ L.visible_message("[L] eats a spaceship! This is totally normal. ","You eat the the spaceship! Yum, metal.")
+
+/obj/effect/overmap/visitable/ship/proc/get_people_in_ship()
+ . = list()
+ for(var/mapz in map_z)
+ var/list/thatz = GLOB.players_by_zlevel[mapz]
+ . += thatz
+
+/obj/effect/overmap/visitable/ship/hear_talk(mob/talker, list/message_pieces, verb)
+ . = ..()
+
+ var/list/listeners = get_people_in_ship()
+ for(var/mob/M as anything in listeners)
+ M.hear_say(message_pieces, verb, FALSE, talker)
+
+/obj/effect/overmap/visitable/ship/show_message(msg, type, alt, alt_type)
+ . = ..()
+
+ var/list/listeners = get_people_in_ship()
+ for(var/mob/M as anything in listeners)
+ M.show_message(msg, type, alt, alt_type)
+
+/obj/effect/overmap/visitable/ship/see_emote(source, message, m_type)
+ . = ..()
+
+ var/list/listeners = get_people_in_ship()
+ for(var/mob/M as anything in listeners)
+ M.show_message(message, m_type)
diff --git a/code/modules/overmap/turfs.dm b/code/modules/overmap/turfs.dm
index 9d7a35c226..33c6b7cb04 100644
--- a/code/modules/overmap/turfs.dm
+++ b/code/modules/overmap/turfs.dm
@@ -10,10 +10,12 @@ var/global/list/map_sectors = list()
/turf/unsimulated/map
icon = 'icons/turf/space.dmi'
icon_state = "map"
+ alpha = 200
/turf/unsimulated/map/edge
opacity = 1
density = TRUE
+ alpha = 255
var/map_is_to_my
var/turf/unsimulated/map/edge/wrap_buddy
@@ -75,6 +77,7 @@ var/global/list/map_sectors = list()
if(x == global.using_map.overmap_size)
I.pixel_x = 5*i + 2
add_overlay(I)
+ AddElement(/datum/element/turf_z_transparency)
/turf/unsimulated/map/Entered(var/atom/movable/O, var/atom/oldloc)
..()
diff --git a/code/modules/planet/sif.dm b/code/modules/planet/sif.dm
index 1d2e4b0af0..e09b808a3a 100644
--- a/code/modules/planet/sif.dm
+++ b/code/modules/planet/sif.dm
@@ -296,7 +296,7 @@ var/datum/planet/sif/planet_sif = null
for(var/mob/living/L as anything in living_mob_list)
if(L.z in holder.our_planet.expected_z_levels)
var/turf/T = get_turf(L)
- if(!T.outdoors)
+ if(!T.is_outdoors())
continue // They're indoors, so no need to rain on them.
// If they have an open umbrella, it'll guard from rain
@@ -349,7 +349,7 @@ var/datum/planet/sif/planet_sif = null
for(var/mob/living/L as anything in living_mob_list)
if(L.z in holder.our_planet.expected_z_levels)
var/turf/T = get_turf(L)
- if(!T.outdoors)
+ if(!T.is_outdoors())
continue // They're indoors, so no need to rain on them.
// If they have an open umbrella, it'll guard from rain
@@ -407,7 +407,7 @@ var/datum/planet/sif/planet_sif = null
for(var/mob/living/carbon/H as anything in human_mob_list)
if(H.z in holder.our_planet.expected_z_levels)
var/turf/T = get_turf(H)
- if(!T.outdoors)
+ if(!T.is_outdoors())
continue // They're indoors, so no need to pelt them with ice.
// If they have an open umbrella, it'll guard from hail
@@ -502,7 +502,7 @@ var/datum/planet/sif/planet_sif = null
for(var/mob/living/L as anything in living_mob_list)
if(L.z in holder.our_planet.expected_z_levels)
var/turf/T = get_turf(L)
- if(!T.outdoors)
+ if(!T.is_outdoors())
continue // They're indoors, so no need to burn them with ash.
L.inflict_heat_damage(rand(1, 3))
@@ -539,7 +539,7 @@ var/datum/planet/sif/planet_sif = null
if(L.z in holder.our_planet.expected_z_levels)
irradiate_nearby_turf(L)
var/turf/T = get_turf(L)
- if(!T.outdoors)
+ if(!T.is_outdoors())
continue // They're indoors, so no need to irradiate them with fallout.
L.rad_act(rand(direct_rad_low, direct_rad_high))
@@ -553,5 +553,5 @@ var/datum/planet/sif/planet_sif = null
var/turf/T = pick(turfs) // We get one try per tick.
if(!istype(T))
return
- if(T.outdoors)
+ if(T.is_outdoors())
SSradiation.radiate(T, rand(fallout_rad_low, fallout_rad_high))
diff --git a/code/modules/planet/sun.dm b/code/modules/planet/sun.dm
index 3903543be6..39dafd5659 100644
--- a/code/modules/planet/sun.dm
+++ b/code/modules/planet/sun.dm
@@ -117,15 +117,15 @@
// Test for corners
for(var/direction in cornerdirs)
var/turf/dirturf = get_step(T, direction)
- if(dirturf && !dirturf.outdoors)
+ if(dirturf && !dirturf.is_outdoors())
var/turf/TL = get_step(T, turn(direction, -45))
var/turf/TR = get_step(T, turn(direction, 45))
// If outdoors at 45 degrees are the same, then this is a corner
- if(TL && TR && TL.outdoors == TR.outdoors)
+ if(TL && TR && TL.is_outdoors() == TR.is_outdoors())
var/atom/movable/sun_visuals_overlap/OL
// Outer corner
- if(TL.outdoors)
+ if(TL.is_outdoors())
OL = spreads["o[direction]"]
// Inner corner
else
@@ -139,11 +139,11 @@
// Take all orthagonals
for(var/direction in cardinal)
var/turf/dirturf = get_step(T, direction)
- if(dirturf && !dirturf.outdoors)
+ if(dirturf && !dirturf.is_outdoors())
var/turf/TL = get_step(T, turn(direction, -45))
var/turf/TR = get_step(T, turn(direction, 45))
// End of a wall, the corner will handle it
- if(TL && TR && TL.outdoors != TR.outdoors)
+ if(TL && TR && TL.is_outdoors() != TR.is_outdoors())
continue
var/atom/movable/sun_visuals_overlap/OL = spreads["[direction]"]
dirturf.vis_contents += OL
diff --git a/code/modules/planet/virgo3b_vr.dm b/code/modules/planet/virgo3b_vr.dm
index d2faf2315d..822faa2d7e 100644
--- a/code/modules/planet/virgo3b_vr.dm
+++ b/code/modules/planet/virgo3b_vr.dm
@@ -276,7 +276,7 @@ var/datum/planet/virgo3b/planet_virgo3b = null
for(var/mob/living/L as anything in living_mob_list)
if(L.z in holder.our_planet.expected_z_levels)
var/turf/T = get_turf(L)
- if(!T.outdoors)
+ if(!T.is_outdoors())
continue // They're indoors, so no need to rain on them.
// If they have an open umbrella, it'll guard from rain
@@ -327,7 +327,7 @@ var/datum/planet/virgo3b/planet_virgo3b = null
for(var/mob/living/L as anything in living_mob_list)
if(L.z in holder.our_planet.expected_z_levels)
var/turf/T = get_turf(L)
- if(!T.outdoors)
+ if(!T.is_outdoors())
continue // They're indoors, so no need to rain on them.
// If they have an open umbrella, it'll guard from rain
@@ -383,7 +383,7 @@ var/datum/planet/virgo3b/planet_virgo3b = null
for(var/mob/living/carbon/H as anything in human_mob_list)
if(H.z in holder.our_planet.expected_z_levels)
var/turf/T = get_turf(H)
- if(!T.outdoors)
+ if(!T.is_outdoors())
continue // They're indoors, so no need to pelt them with ice.
// If they have an open umbrella, it'll guard from hail
@@ -474,7 +474,7 @@ var/datum/planet/virgo3b/planet_virgo3b = null
for(var/mob/living/L as anything in living_mob_list)
if(L.z in holder.our_planet.expected_z_levels)
var/turf/T = get_turf(L)
- if(!T.outdoors)
+ if(!T.is_outdoors())
continue // They're indoors, so no need to burn them with ash.
L.inflict_heat_damage(rand(1, 3))
@@ -511,7 +511,7 @@ var/datum/planet/virgo3b/planet_virgo3b = null
if(L.z in holder.our_planet.expected_z_levels)
irradiate_nearby_turf(L)
var/turf/T = get_turf(L)
- if(!T.outdoors)
+ if(!T.is_outdoors())
continue // They're indoors, so no need to irradiate them with fallout.
L.rad_act(rand(direct_rad_low, direct_rad_high))
@@ -525,6 +525,6 @@ var/datum/planet/virgo3b/planet_virgo3b = null
var/turf/T = pick(turfs) // We get one try per tick.
if(!istype(T))
return
- if(T.outdoors)
+ if(T.is_outdoors())
SSradiation.radiate(T, rand(fallout_rad_low, fallout_rad_high))
diff --git a/code/modules/planet/virgo4_vr.dm b/code/modules/planet/virgo4_vr.dm
index 18f4298aa1..74cd6c33b4 100644
--- a/code/modules/planet/virgo4_vr.dm
+++ b/code/modules/planet/virgo4_vr.dm
@@ -255,7 +255,7 @@ var/datum/planet/virgo4/planet_virgo4 = null
for(var/mob/living/L as anything in living_mob_list)
if(L.z in holder.our_planet.expected_z_levels)
var/turf/T = get_turf(L)
- if(!T.outdoors)
+ if(!T.is_outdoors())
continue // They're indoors, so no need to rain on them.
// If they have an open umbrella, it'll guard from rain
@@ -301,7 +301,7 @@ var/datum/planet/virgo4/planet_virgo4 = null
for(var/mob/living/L as anything in living_mob_list)
if(L.z in holder.our_planet.expected_z_levels)
var/turf/T = get_turf(L)
- if(!T.outdoors)
+ if(!T.is_outdoors())
continue // They're indoors, so no need to rain on them.
// If they have an open umbrella, it'll guard from rain
@@ -354,7 +354,7 @@ var/datum/planet/virgo4/planet_virgo4 = null
for(var/mob/living/carbon/H as anything in human_mob_list)
if(H.z in holder.our_planet.expected_z_levels)
var/turf/T = get_turf(H)
- if(!T.outdoors)
+ if(!T.is_outdoors())
continue // They're indoors, so no need to pelt them with ice.
// If they have an open umbrella, it'll guard from hail
@@ -447,7 +447,7 @@ var/datum/planet/virgo4/planet_virgo4 = null
for(var/mob/living/L as anything in living_mob_list)
if(L.z in holder.our_planet.expected_z_levels)
var/turf/T = get_turf(L)
- if(!T.outdoors)
+ if(!T.is_outdoors())
continue // They're indoors, so no need to burn them with ash.
L.inflict_heat_damage(rand(1, 3))
@@ -484,7 +484,7 @@ var/datum/planet/virgo4/planet_virgo4 = null
if(L.z in holder.our_planet.expected_z_levels)
irradiate_nearby_turf(L)
var/turf/T = get_turf(L)
- if(!T.outdoors)
+ if(!T.is_outdoors())
continue // They're indoors, so no need to irradiate them with fallout.
L.rad_act(rand(direct_rad_low, direct_rad_high))
@@ -498,7 +498,7 @@ var/datum/planet/virgo4/planet_virgo4 = null
var/turf/T = pick(turfs) // We get one try per tick.
if(!istype(T))
return
- if(T.outdoors)
+ if(T.is_outdoors())
SSradiation.radiate(T, rand(fallout_rad_low, fallout_rad_high))
/turf/unsimulated/wall/planetary/normal/virgo4
diff --git a/code/modules/planet/weather.dm b/code/modules/planet/weather.dm
index bbe2318a27..c354e8bde3 100644
--- a/code/modules/planet/weather.dm
+++ b/code/modules/planet/weather.dm
@@ -137,7 +137,7 @@
for(var/mob/M in player_list) // Don't need to care about clientless mobs.
if(M.z in our_planet.expected_z_levels)
var/turf/T = get_turf(M)
- if(!T.outdoors)
+ if(!T.is_outdoors())
continue
to_chat(M, message)
@@ -213,7 +213,7 @@
// Otherwise they should hear some sounds, depending on if they're inside or not.
var/turf/T = get_turf(M)
if(istype(T))
- if(T.outdoors) // Mob is currently outdoors.
+ if(T.is_outdoors()) // Mob is currently outdoors.
hear_outdoor_sounds(M, TRUE)
hear_indoor_sounds(M, FALSE)
diff --git a/code/modules/power/batteryrack.dm b/code/modules/power/batteryrack.dm
index c5021ba960..dcf8dab1bd 100644
--- a/code/modules/power/batteryrack.dm
+++ b/code/modules/power/batteryrack.dm
@@ -9,7 +9,7 @@
/obj/machinery/power/smes/batteryrack
name = "power cell rack PSU"
- desc = "A rack of power cells working as a PSU."
+ desc = "A rack of power cells working as a PSU. Made from a recycled Breaker Box frame."
icon = 'icons/obj/cellrack.dmi'
icon_state = "rack"
capacity = 0
diff --git a/code/modules/power/singularity/containment_field.dm b/code/modules/power/singularity/containment_field.dm
index c47352e09d..58f8ee0275 100644
--- a/code/modules/power/singularity/containment_field.dm
+++ b/code/modules/power/singularity/containment_field.dm
@@ -3,7 +3,7 @@
/obj/machinery/containment_field
name = "Containment Field"
desc = "An energy field."
- icon = 'icons/obj/singularity.dmi'
+ icon = 'icons/obj/machines/field_generator.dmi'
icon_state = "Contain_F"
anchored = TRUE
density = FALSE
diff --git a/code/modules/projectiles/ammunition.dm b/code/modules/projectiles/ammunition.dm
index 2c0742c9f4..67524ac86c 100644
--- a/code/modules/projectiles/ammunition.dm
+++ b/code/modules/projectiles/ammunition.dm
@@ -226,7 +226,7 @@
/var/global/list/magazine_icondata_states = list()
/proc/initialize_magazine_icondata(var/obj/item/ammo_magazine/M)
- var/typestr = "[M.type]"
+ var/typestr = M.type
if(!(typestr in magazine_icondata_keys) || !(typestr in magazine_icondata_states))
magazine_icondata_cache_add(M)
@@ -243,6 +243,6 @@
icon_keys += i
ammo_states += ammo_state
- magazine_icondata_keys["[M.type]"] = icon_keys
- magazine_icondata_states["[M.type]"] = ammo_states
+ magazine_icondata_keys[M.type] = icon_keys
+ magazine_icondata_states[M.type] = ammo_states
diff --git a/code/modules/projectiles/guns/magnetic/bore.dm b/code/modules/projectiles/guns/magnetic/bore.dm
index 3d52f5737e..3cc05cc44b 100644
--- a/code/modules/projectiles/guns/magnetic/bore.dm
+++ b/code/modules/projectiles/guns/magnetic/bore.dm
@@ -82,7 +82,7 @@
return "It has [mat_storage] out of [max_mat_storage] units of [ammo_material] loaded. "
else
return "It\'s out of [ammo_material]! "
-
+
/obj/item/weapon/gun/magnetic/matfed/attackby(var/obj/item/thing, var/mob/user)
if(removable_components)
@@ -165,6 +165,7 @@
item_state = "bore"
wielded_item_state = "bore-wielded"
one_handed_penalty = 5
+ fire_delay = 20
projectile_type = /obj/item/projectile/bullet/magnetic/bore
diff --git a/code/modules/projectiles/guns/projectile/smartgun.dm b/code/modules/projectiles/guns/projectile/smartgun.dm
new file mode 100644
index 0000000000..c74f1b6122
--- /dev/null
+++ b/code/modules/projectiles/guns/projectile/smartgun.dm
@@ -0,0 +1,150 @@
+/**
+ * The gun itself
+ */
+/obj/item/weapon/gun/projectile/smartgun
+ name = "\improper OP-15 'S.M.A.R.T.' Rifle"
+ desc = "Suppressive Manual Action Reciprocating Taser rifle. A modified version of an Armadyne heavy machine gun fitted to fire miniature shock-bolts."
+ description_info = "Alt-click to toggle the rifle's ready state. The rifle can't be unloaded when ready, and requires a few seconds to get ready before firing."
+ icon = 'icons/obj/guns/projectile/smartgun_item.dmi'
+ icon_state = "smartgun"
+ icon_override = 'icons/obj/guns/projectile/smartgun_mob.dmi'
+ item_state = "smartgun"
+ origin_tech = list(TECH_COMBAT = 4, TECH_MATERIAL = 6, TECH_BLUESPACE = 4)
+ w_class = ITEMSIZE_LARGE
+ matter = list(MAT_STEEL = 6000, MAT_DIAMOND = 2000, MAT_URANIUM = 2000)
+ recoil = 1
+ projectile_type = /obj/item/projectile/bullet/smartgun //Only used for chameleon guns
+ slot_flags = SLOT_BACK
+ accuracy = -15
+ one_handed_penalty = 50
+
+ caliber = "smartgun"
+ handle_casings = EJECT_CASINGS
+ load_method = MAGAZINE
+
+ magazine_type = null //the type of magazine that the gun comes preloaded with
+ allowed_magazines = list(/obj/item/ammo_magazine/smartgun) //determines list of which magazines will fit in the gun
+
+ var/closed = TRUE
+ var/cycling = FALSE
+
+ var/static/mutable_appearance/mag_underlay
+
+/obj/item/weapon/gun/projectile/smartgun/make_worn_icon(body_type, slot_name, inhands, default_icon, default_layer, icon/clip_mask)
+ var/image/I = ..()
+ if(I)
+ I.pixel_x = -16
+ return I
+
+/obj/item/weapon/gun/projectile/smartgun/loaded
+ magazine_type = /obj/item/ammo_magazine/smartgun
+
+/obj/item/weapon/gun/projectile/smartgun/Initialize()
+ . = ..()
+ if(!mag_underlay)
+ mag_underlay = mutable_appearance(icon, icon_state = "smartgun_mag")
+
+/obj/item/weapon/gun/projectile/smartgun/consume_next_projectile()
+ if(!closed)
+ return null
+ return ..()
+
+/obj/item/weapon/gun/projectile/smartgun/load_ammo(var/obj/item/A, mob/user)
+ if(closed)
+ to_chat(user, "[src] can't be loaded until you un-ready it. (Alt-click) ")
+ return
+ return ..()
+
+/obj/item/weapon/gun/projectile/smartgun/unload_ammo(mob/user, var/allow_dump=0)
+ if(closed)
+ to_chat(user, "[src] can't be unloaded until you un-ready it. (Alt-click) ")
+ return
+ return ..()
+
+/obj/item/weapon/gun/projectile/smartgun/AltClick(mob/user)
+ if(ishuman(user) && !user.incapacitated() && Adjacent(user))
+ if(cycling)
+ to_chat(user, "[src] is still cycling! ")
+ return
+
+ cycling = TRUE
+
+ if(closed)
+ icon_state = "[initial(icon_state)]_open"
+ playsound(src, 'sound/weapons/smartgunopen.ogg', 75, 0)
+ to_chat(user, "You unready [src] so that it can be reloaded. ")
+ else
+ icon_state = "[initial(icon_state)]_closed"
+ playsound(src, 'sound/weapons/smartgunclose.ogg', 75, 0)
+ to_chat(user, "You ready [src] so that it can be fired. ")
+ addtimer(CALLBACK(src, .proc/toggle_real_state), 2 SECONDS, TIMER_UNIQUE)
+
+/obj/item/weapon/gun/projectile/smartgun/proc/toggle_real_state()
+ cycling = FALSE
+ closed = !closed
+
+/obj/item/weapon/gun/projectile/smartgun/update_icon()
+ . = ..()
+ underlays = null
+ if(ammo_magazine)
+ underlays += mag_underlay
+
+/**
+ * The bullet that flies through the air
+ */
+/obj/item/projectile/bullet/smartgun
+ name = "smartgun rail"
+ icon_state = "smartgunproj"
+ icon = 'icons/obj/guns/projectile/smartgun_32.dmi'
+ fire_sound = 'sound/weapons/Gunshot4.ogg' // hmm
+
+ // Slight damage and big stun
+ damage_type = BRUTE
+ damage = 10
+ agony = 70
+ check_armour = "bullet"
+ embed_chance = 0 // There's a separate sprite for this, but for now let's just not embed
+ accuracy = -30 // 2 turfs closer for the purpose of accuracy
+
+ muzzle_type = /obj/effect/projectile/muzzle/lightning
+
+/obj/item/projectile/bullet/smartgun/launch_projectile(atom/target, target_zone, mob/user, params, angle_override, forced_spread)
+ . = ..()
+ if(ismob(target))
+ Beam(get_turf(target), icon_state = "sniper_beam", time = 0.25 SECONDS, maxdistance = 15)
+ set_homing_target(target)
+
+/**
+ * The item of ammo that holds the bullet
+ */
+/obj/item/ammo_casing/smartgun
+ name = "smartgun rail"
+ desc = "A smartgun rail casing."
+ icon = 'icons/obj/guns/projectile/smartgun_32.dmi'
+ icon_state = "smartguncase"
+ randpixel = 10
+ slot_flags = SLOT_BELT
+ w_class = ITEMSIZE_SMALL
+
+ leaves_residue = FALSE
+ caliber = "smartgun"
+ projectile_type = /obj/item/projectile/bullet/smartgun
+
+/**
+ * The magazine that holds the items of ammo
+ */
+/obj/item/ammo_magazine/smartgun
+ name = "smartgun magazine"
+ desc = "A holder for smartgun rails for the S.M.A.R.T. rifle."
+ icon = 'icons/obj/guns/projectile/smartgun_32.dmi'
+ icon_state = "smartgunmag"
+ slot_flags = SLOT_BELT
+ matter = list(MAT_STEEL = 500)
+ w_class = ITEMSIZE_SMALL
+
+ mag_type = MAGAZINE
+ caliber = "smartgun"
+ max_ammo = 5
+ ammo_type = /obj/item/ammo_casing/smartgun
+ multiple_sprites = TRUE
+
diff --git a/code/modules/reagents/machinery/dispenser/reagent_tank.dm b/code/modules/reagents/machinery/dispenser/reagent_tank.dm
index 42e59d0c98..ce4ac4f1b3 100644
--- a/code/modules/reagents/machinery/dispenser/reagent_tank.dm
+++ b/code/modules/reagents/machinery/dispenser/reagent_tank.dm
@@ -1,8 +1,8 @@
/obj/structure/reagent_dispensers
name = "Dispenser"
desc = "..."
- icon = 'icons/obj/objects.dmi'
- icon_state = "watertank"
+ icon = 'icons/obj/chemical_tanks.dmi'
+ icon_state = "tank"
layer = TABLE_LAYER
density = TRUE
anchored = FALSE
@@ -76,14 +76,15 @@
/obj/structure/reagent_dispensers/blob_act()
qdel(src)
+/*
+ * Tanks
+ */
-
-//Dispensers
+//Water
/obj/structure/reagent_dispensers/watertank
- name = "watertank"
- desc = "A watertank."
- icon = 'icons/obj/objects_vr.dmi' //VOREStation Edit
- icon_state = "watertank"
+ name = "water tank"
+ desc = "A water tank."
+ icon_state = "water"
amount_per_transfer_from_this = 10
/obj/structure/reagent_dispensers/watertank/Initialize()
@@ -93,17 +94,17 @@
/obj/structure/reagent_dispensers/watertank/high
name = "high-capacity water tank"
desc = "A highly-pressurized water tank made to hold vast amounts of water.."
- icon_state = "watertank_high"
+ icon_state = "water_high"
/obj/structure/reagent_dispensers/watertank/high/Initialize()
. = ..()
reagents.add_reagent("water", 4000)
+//Fuel
/obj/structure/reagent_dispensers/fueltank
- name = "fueltank"
- desc = "A fueltank."
- icon = 'icons/obj/objects_vr.dmi' //VOREStation Edit
- icon_state = "weldtank"
+ name = "fuel tank"
+ desc = "A fuel tank."
+ icon_state = "fuel"
amount_per_transfer_from_this = 10
var/modded = 0
var/obj/item/device/assembly_holder/rig = null
@@ -112,30 +113,45 @@
. = ..()
reagents.add_reagent("fuel",1000)
-//VOREStation Add
/obj/structure/reagent_dispensers/fueltank/high
name = "high-capacity fuel tank"
desc = "A highly-pressurized fuel tank made to hold vast amounts of fuel."
- icon_state = "weldtank_high"
+ icon_state = "fuel_high"
/obj/structure/reagent_dispensers/fueltank/high/Initialize()
. = ..()
reagents.add_reagent("fuel",4000)
+//Foam
/obj/structure/reagent_dispensers/foam
- name = "foamtank"
+ name = "foam tank"
desc = "A foam tank."
- icon = 'icons/obj/objects_vr.dmi'
- icon_state = "foamtank"
+ icon_state = "foam"
amount_per_transfer_from_this = 10
/obj/structure/reagent_dispensers/foam/Initialize()
. = ..()
reagents.add_reagent("firefoam",1000)
+//Helium3
+/obj/structure/reagent_dispensers/he3
+ name = "/improper He3 tank"
+ desc = "A Helium3 tank."
+ icon_state = "he3"
+ amount_per_transfer_from_this = 10
+
+/obj/structure/reagent_dispenser/he3/Initialize()
+ ..()
+ reagents.add_reagent("helium3",1000)
+
+/*
+ * Misc
+ */
+
/obj/structure/reagent_dispensers/fueltank/barrel
name = "hazardous barrel"
desc = "An open-topped barrel full of nasty-looking liquid."
+ icon = 'icons/obj/objects_vr.dmi'
icon_state = "barrel"
modded = TRUE
@@ -433,7 +449,7 @@
/obj/structure/reagent_dispensers/acid/Initialize()
. = ..()
reagents.add_reagent("sacid", 1000)
-
+
//Cooking oil refill tank
/obj/structure/reagent_dispensers/cookingoil
name = "cooking oil tank"
@@ -457,14 +473,3 @@
reagents.splash_area(get_turf(src), 3)
visible_message(span("danger", "The [src] bursts open, spreading oil all over the area."))
qdel(src)
-
-/obj/structure/reagent_dispensers/he3
- name = "fueltank"
- desc = "A fueltank."
- icon = 'icons/obj/objects.dmi'
- icon_state = "weldtank"
- amount_per_transfer_from_this = 10
-
-/obj/structure/reagent_dispenser/he3/Initialize()
- ..()
- reagents.add_reagent("helium3",1000)
diff --git a/code/modules/reagents/reactions/instant/drinks.dm b/code/modules/reagents/reactions/instant/drinks.dm
index 8814bf518e..bd56670ec5 100644
--- a/code/modules/reagents/reactions/instant/drinks.dm
+++ b/code/modules/reagents/reactions/instant/drinks.dm
@@ -399,7 +399,7 @@
name = "Singulo"
id = "singulo"
result = "singulo"
- required_reagents = list("vodka" = 5, "radium" = 1, "wine" = 5)
+ required_reagents = list("vodka" = 5, "radium" = 1, "redwine" = 5)
result_amount = 10
/decl/chemical_reaction/instant/drinks/alliescocktail
@@ -505,14 +505,14 @@
name = "Acid Spit"
id = "acidspit"
result = "acidspit"
- required_reagents = list("sacid" = 1, "wine" = 5)
+ required_reagents = list("sacid" = 1, "redwine" = 5)
result_amount = 6
/decl/chemical_reaction/instant/drinks/amasec
name = "Amasec"
id = "amasec"
result = "amasec"
- required_reagents = list("iron" = 1, "wine" = 5, "vodka" = 5)
+ required_reagents = list("iron" = 1, "redwine" = 5, "vodka" = 5)
result_amount = 10
/decl/chemical_reaction/instant/drinks/changelingsting
@@ -661,7 +661,7 @@
name = "Melon Spritzer"
id = "melonspritzer"
result = "melonspritzer"
- required_reagents = list("watermelonjuice" = 2, "wine" = 2, "applejuice" = 1, "limejuice" = 1)
+ required_reagents = list("watermelonjuice" = 2, "redwine" = 2, "applejuice" = 1, "limejuice" = 1)
result_amount = 6
/decl/chemical_reaction/instant/drinks/fauxfizz
@@ -915,7 +915,7 @@
name = "Wine brandy"
id = "winebrandy"
result = "winebrandy"
- required_reagents = list("wine" = 10)
+ required_reagents = list("redwine" = 10)
catalysts = list("enzyme" = 10) //10u enzyme so it requires more than is usually added. Stops overlap with wine recipe
result_amount = 5
@@ -937,7 +937,7 @@
name = "Vesper"
id = "vesper"
result = "vesper"
- required_reagents = list("gin" = 3, "vodka" = 1, "wine" = 1)
+ required_reagents = list("gin" = 3, "vodka" = 1, "redwine" = 1)
result_amount = 4
/decl/chemical_reaction/instant/drinks/rotgut
diff --git a/code/modules/reagents/reactions/instant/drinks_vr.dm b/code/modules/reagents/reactions/instant/drinks_vr.dm
index f234184d86..5f32c7e5f8 100644
--- a/code/modules/reagents/reactions/instant/drinks_vr.dm
+++ b/code/modules/reagents/reactions/instant/drinks_vr.dm
@@ -60,7 +60,7 @@
name = "Negroni Sbagliato"
id = "sbagliato"
result = "sbagliato"
- required_reagents = list("wine" = 1, "vermouth" = 1, "sodawater" =1)
+ required_reagents = list("redwine" = 1, "vermouth" = 1, "sodawater" =1)
result_amount = 3
/decl/chemical_reaction/instant/drinks/italiancrisis
@@ -187,7 +187,7 @@
name = "New York Sour"
id = "newyorksour"
result = "newyorksour"
- required_reagents = list("whiskeysour" = 3, "wine" = 2, "egg" = 1)
+ required_reagents = list("whiskeysour" = 3, "redwine" = 2, "egg" = 1)
result_amount = 6
/decl/chemical_reaction/instant/drinks/mudslide
diff --git a/code/modules/reagents/reactions/instant/instant_vr.dm b/code/modules/reagents/reactions/instant/instant_vr.dm
index 4eef9c3492..c061368419 100644
--- a/code/modules/reagents/reactions/instant/instant_vr.dm
+++ b/code/modules/reagents/reactions/instant/instant_vr.dm
@@ -209,7 +209,6 @@
/decl/chemical_reaction/instant/slime_food/on_reaction(var/datum/reagents/holder)
var/list/borks = subtypesof(/obj/item/weapon/reagent_containers/food/snacks)
-
playsound(holder.my_atom, 'sound/effects/phasein.ogg', 100, 1)
@@ -416,7 +415,6 @@
blocked += typesof(/mob/living/simple_mob/construct) //Should only exist
blocked += typesof(/mob/living/simple_mob/vore/demon) //as player-controlled
blocked += typesof(/mob/living/simple_mob/shadekin) //and/or event things
- blocked += typesof(/mob/living/simple_mob/horror)
var/list/voremobs = typesof(mob_path) - blocked // list of possible hostile mobs
playsound(holder.my_atom, 'sound/effects/phasein.ogg', 100, 1)
diff --git a/code/modules/recycling/disposal.dm b/code/modules/recycling/disposal.dm
index da3e3c64de..e2042a9b9d 100644
--- a/code/modules/recycling/disposal.dm
+++ b/code/modules/recycling/disposal.dm
@@ -523,6 +523,15 @@
H.vent_gas(loc)
qdel(H)
+/obj/machinery/disposal/hitby(atom/movable/AM)
+ . = ..()
+ if(istype(AM, /obj/item) && !istype(AM, /obj/item/projectile))
+ if(prob(75))
+ AM.forceMove(src)
+ visible_message("\The [AM] lands in \the [src].")
+ else
+ visible_message("\The [AM] bounces off of \the [src]'s rim!")
+
/obj/machinery/disposal/CanPass(atom/movable/mover, turf/target)
if(istype(mover, /obj/item/projectile))
return 1
diff --git a/code/modules/shuttles/shuttle.dm b/code/modules/shuttles/shuttle.dm
index a062d2a3d3..cb120ef214 100644
--- a/code/modules/shuttles/shuttle.dm
+++ b/code/modules/shuttles/shuttle.dm
@@ -348,6 +348,11 @@
for(var/obj/structure/cable/C in A)
powernets |= C.powernet
+ // Update our base turfs before we move, so that transparent turfs look good.
+ var/new_base = destination.base_turf || /turf/space
+ for(var/area/A as anything in shuttle_area)
+ A.base_turf = new_base
+
// Actually do the movement of everything - This replaces origin.move_contents_to(destination)
translate_turfs(turf_translation, current_location.base_area, current_location.base_turf)
current_location = destination
diff --git a/code/modules/tables/rack_vr.dm b/code/modules/tables/rack_vr.dm
index 137dc32fd0..af422bfb0a 100644
--- a/code/modules/tables/rack_vr.dm
+++ b/code/modules/tables/rack_vr.dm
@@ -1,3 +1,6 @@
+/obj/structure/table/rack
+ icon = 'icons/obj/objects_vr.dmi'
+
/obj/structure/table/rack/steel
color = "#666666"
@@ -8,7 +11,6 @@
/obj/structure/table/rack/shelf
name = "shelving"
desc = "Some nice metal shelves."
- icon = 'icons/obj/objects_vr.dmi'
icon_state = "shelf"
/obj/structure/table/rack/shelf/steel
@@ -17,3 +19,16 @@
/obj/structure/table/rack/shelf/steel/New()
material = get_material_by_name(MAT_STEEL)
..()
+
+// SOMEONE should add cool overlay stuff to this
+/obj/structure/table/rack/gun_rack
+ name = "gun rack"
+ desc = "Seems like you could prop up some rifles here."
+ icon_state = "gunrack"
+
+/obj/structure/table/rack/gun_rack/steel
+ color = "#666666"
+
+/obj/structure/table/rack/gun_rack/steel/New()
+ material = get_material_by_name(MAT_STEEL)
+ ..()
\ No newline at end of file
diff --git a/code/modules/ventcrawl/ventcrawl_atmospherics.dm b/code/modules/ventcrawl/ventcrawl_atmospherics.dm
index 3ae52380d6..2c2cb6ca9d 100644
--- a/code/modules/ventcrawl/ventcrawl_atmospherics.dm
+++ b/code/modules/ventcrawl/ventcrawl_atmospherics.dm
@@ -24,7 +24,7 @@
. = ..()
/obj/machinery/atmospherics/relaymove(mob/living/user, direction)
- if(user.loc != src || !(direction & initialize_directions)) //can't go in a way we aren't connecting to
+ if(user.loc != src || !(direction & initialize_directions) || !IS_CARDINAL(direction)) //can't go in a way we aren't connecting to
return
ventcrawl_to(user,findConnecting(direction, user.ventcrawl_layer),direction)
diff --git a/code/modules/vore/eating/belly_obj_vr.dm b/code/modules/vore/eating/belly_obj_vr.dm
index a8aea6c376..d62866118c 100644
--- a/code/modules/vore/eating/belly_obj_vr.dm
+++ b/code/modules/vore/eating/belly_obj_vr.dm
@@ -384,8 +384,8 @@
formatted_message = replacetext(raw_message, "%belly", lowertext(name))
formatted_message = replacetext(formatted_message, "%pred", owner)
formatted_message = replacetext(formatted_message, "%prey", english_list(contents))
- formatted_message = replacetext(formatted_message, "%count", contents.len)
formatted_message = replacetext(formatted_message, "%countprey", living_count)
+ formatted_message = replacetext(formatted_message, "%count", contents.len)
return("[formatted_message] ")
@@ -656,14 +656,14 @@
struggle_outer_message = replacetext(struggle_outer_message, "%pred", owner)
struggle_outer_message = replacetext(struggle_outer_message, "%prey", R)
struggle_outer_message = replacetext(struggle_outer_message, "%belly", lowertext(name))
- struggle_outer_message = replacetext(struggle_outer_message, "%count", contents.len)
struggle_outer_message = replacetext(struggle_outer_message, "%countprey", living_count)
+ struggle_outer_message = replacetext(struggle_outer_message, "%count", contents.len)
struggle_user_message = replacetext(struggle_user_message, "%pred", owner)
struggle_user_message = replacetext(struggle_user_message, "%prey", R)
struggle_user_message = replacetext(struggle_user_message, "%belly", lowertext(name))
- struggle_user_message = replacetext(struggle_user_message, "%count", contents.len)
struggle_user_message = replacetext(struggle_user_message, "%countprey", living_count)
+ struggle_user_message = replacetext(struggle_user_message, "%count", contents.len)
struggle_outer_message = "[struggle_outer_message] "
struggle_user_message = "[struggle_user_message] "
diff --git a/code/modules/vore/eating/bellymodes_vr.dm b/code/modules/vore/eating/bellymodes_vr.dm
index 41b0bfae1e..15099c56f5 100644
--- a/code/modules/vore/eating/bellymodes_vr.dm
+++ b/code/modules/vore/eating/bellymodes_vr.dm
@@ -121,8 +121,8 @@
formatted_message = replacetext(raw_message, "%belly", lowertext(name))
formatted_message = replacetext(formatted_message, "%pred", owner)
formatted_message = replacetext(formatted_message, "%prey", english_list(contents))
- formatted_message = replacetext(formatted_message, "%count", contents.len)
formatted_message = replacetext(formatted_message, "%countprey", living_count)
+ formatted_message = replacetext(formatted_message, "%count", contents.len)
to_chat(M, "[formatted_message] ")
@@ -243,14 +243,14 @@
digest_alert_owner = replacetext(digest_alert_owner, "%pred", owner)
digest_alert_owner = replacetext(digest_alert_owner, "%prey", M)
digest_alert_owner = replacetext(digest_alert_owner, "%belly", lowertext(name))
- digest_alert_owner = replacetext(digest_alert_owner, "%count", contents.len)
digest_alert_owner = replacetext(digest_alert_owner, "%countprey", living_count)
+ digest_alert_owner = replacetext(digest_alert_owner, "%count", contents.len)
digest_alert_prey = replacetext(digest_alert_prey, "%pred", owner)
digest_alert_prey = replacetext(digest_alert_prey, "%prey", M)
digest_alert_prey = replacetext(digest_alert_prey, "%belly", lowertext(name))
- digest_alert_prey = replacetext(digest_alert_prey, "%count", contents.len)
digest_alert_prey = replacetext(digest_alert_prey, "%countprey", living_count)
+ digest_alert_prey = replacetext(digest_alert_prey, "%count", contents.len)
//Send messages
to_chat(owner, "[digest_alert_owner] ")
diff --git a/code/modules/vore/eating/living_vr.dm b/code/modules/vore/eating/living_vr.dm
index 80ce37c5d5..23dd3eea55 100644
--- a/code/modules/vore/eating/living_vr.dm
+++ b/code/modules/vore/eating/living_vr.dm
@@ -936,6 +936,8 @@
screen_icon = new()
RegisterSignal(screen_icon, COMSIG_CLICK, .proc/vore_panel_click)
screen_icon.icon = HUD.ui_style
+ screen_icon.color = HUD.ui_color
+ screen_icon.alpha = HUD.ui_alpha
LAZYADD(HUD.other_important, screen_icon)
user.client?.screen += screen_icon
diff --git a/code/unit_tests/mob_tests.dm b/code/unit_tests/mob_tests.dm
index 0c74449d2d..868d93903e 100644
--- a/code/unit_tests/mob_tests.dm
+++ b/code/unit_tests/mob_tests.dm
@@ -7,7 +7,21 @@
async = 1
/datum/unit_test/space_suffocation/start_test()
- var/turf/space/T = locate()
+ // Get an empty space level instead of just picking a random space turf
+ var/empty_z = using_map.get_empty_zlevel()
+ if(!empty_z)
+ fail("Unable to get empty z-level for suffocation test!")
+ return 1
+
+ // Away from map edges so they don't transit while we're testing
+ var/mid_w = round(world.maxx*0.5)
+ var/mid_h = round(world.maxy*0.5)
+
+ var/turf/T = locate(mid_w, mid_h, empty_z)
+
+ if(!T)
+ fail("Unable to find middle turf for suffocation test!")
+ return 1
H = new(T)
startOxyloss = H.getOxyLoss()
diff --git a/code/unit_tests/vore_tests_vr.dm b/code/unit_tests/vore_tests_vr.dm
index 7d060b1ca4..2bcfcc13fa 100644
--- a/code/unit_tests/vore_tests_vr.dm
+++ b/code/unit_tests/vore_tests_vr.dm
@@ -91,9 +91,20 @@
fail("[pred.vore_selected].nom_mob([prey]) did not put prey inside [pred]")
return 1
else
- var/turf/T = locate(/turf/space)
+ // Get an empty space level instead of just picking a random space turf
+ var/empty_z = using_map.get_empty_zlevel()
+ if(!empty_z)
+ fail("Unable to get empty z-level for vore space protection test!")
+ return 1
+
+ // Away from map edges so they don't transit while we're testing
+ var/mid_w = round(world.maxx*0.5)
+ var/mid_h = round(world.maxy*0.5)
+
+ var/turf/T = locate(mid_w, mid_h, empty_z)
+
if(!T)
- fail("could not find a space turf for testing")
+ fail("Unable to get turf for vore space protection test!")
return 1
else
pred.forceMove(T)
diff --git a/icons/_nanomaps/tether_nanomap_z1.png b/icons/_nanomaps/tether_nanomap_z1.png
index 860af5469a..b05aa25693 100644
Binary files a/icons/_nanomaps/tether_nanomap_z1.png and b/icons/_nanomaps/tether_nanomap_z1.png differ
diff --git a/icons/_nanomaps/tether_nanomap_z3.png b/icons/_nanomaps/tether_nanomap_z3.png
index 6dd5c295e7..f06a01fdd6 100644
Binary files a/icons/_nanomaps/tether_nanomap_z3.png and b/icons/_nanomaps/tether_nanomap_z3.png differ
diff --git a/icons/_nanomaps/tether_nanomap_z5.png b/icons/_nanomaps/tether_nanomap_z5.png
index 385892f83e..f86361257a 100644
Binary files a/icons/_nanomaps/tether_nanomap_z5.png and b/icons/_nanomaps/tether_nanomap_z5.png differ
diff --git a/icons/inventory/accessory/item_vr.dmi b/icons/inventory/accessory/item_vr.dmi
index fdb8608648..f4b317aba9 100644
Binary files a/icons/inventory/accessory/item_vr.dmi and b/icons/inventory/accessory/item_vr.dmi differ
diff --git a/icons/inventory/accessory/mob_vr.dmi b/icons/inventory/accessory/mob_vr.dmi
index c5e7908d71..834ba6f831 100644
Binary files a/icons/inventory/accessory/mob_vr.dmi and b/icons/inventory/accessory/mob_vr.dmi differ
diff --git a/icons/inventory/accessory/mob_vr_teshari.dmi b/icons/inventory/accessory/mob_vr_teshari.dmi
index fce61f2bb8..45e62b9325 100644
Binary files a/icons/inventory/accessory/mob_vr_teshari.dmi and b/icons/inventory/accessory/mob_vr_teshari.dmi differ
diff --git a/icons/inventory/suit/item.dmi b/icons/inventory/suit/item.dmi
index 82ae304307..602ab0bcd2 100644
Binary files a/icons/inventory/suit/item.dmi and b/icons/inventory/suit/item.dmi differ
diff --git a/icons/inventory/suit/mob.dmi b/icons/inventory/suit/mob.dmi
index f5c48376be..6d959d86d8 100644
Binary files a/icons/inventory/suit/mob.dmi and b/icons/inventory/suit/mob.dmi differ
diff --git a/icons/mob/items/lefthand_suits.dmi b/icons/mob/items/lefthand_suits.dmi
index aab06d09ee..fd2c56a4c5 100644
Binary files a/icons/mob/items/lefthand_suits.dmi and b/icons/mob/items/lefthand_suits.dmi differ
diff --git a/icons/mob/items/righthand_suits.dmi b/icons/mob/items/righthand_suits.dmi
index 6afe96f806..d710deb759 100644
Binary files a/icons/mob/items/righthand_suits.dmi and b/icons/mob/items/righthand_suits.dmi differ
diff --git a/icons/mob/robots.dmi b/icons/mob/robots.dmi
index a28378eeef..3157dea03a 100644
Binary files a/icons/mob/robots.dmi and b/icons/mob/robots.dmi differ
diff --git a/icons/mob/screen_full_vore.dmi b/icons/mob/screen_full_vore.dmi
index 4d89bd8204..b738cae800 100644
Binary files a/icons/mob/screen_full_vore.dmi and b/icons/mob/screen_full_vore.dmi differ
diff --git a/icons/obj/64x64.dmi b/icons/obj/64x64.dmi
new file mode 100644
index 0000000000..db555529a7
Binary files /dev/null and b/icons/obj/64x64.dmi differ
diff --git a/icons/obj/casino.dmi b/icons/obj/casino.dmi
new file mode 100644
index 0000000000..17405361e2
Binary files /dev/null and b/icons/obj/casino.dmi differ
diff --git a/icons/obj/chemical_tanks.dmi b/icons/obj/chemical_tanks.dmi
new file mode 100644
index 0000000000..2775483204
Binary files /dev/null and b/icons/obj/chemical_tanks.dmi differ
diff --git a/icons/obj/closet.dmi b/icons/obj/closet.dmi
index 14f7fba854..b8b832471d 100644
Binary files a/icons/obj/closet.dmi and b/icons/obj/closet.dmi differ
diff --git a/icons/obj/closets/bases/cabinet.dmi b/icons/obj/closets/bases/cabinet.dmi
index 236b164ca6..a8c0261900 100644
Binary files a/icons/obj/closets/bases/cabinet.dmi and b/icons/obj/closets/bases/cabinet.dmi differ
diff --git a/icons/obj/closets/bases/cart.dmi b/icons/obj/closets/bases/cart.dmi
index 852e539b4d..da1b28500b 100644
Binary files a/icons/obj/closets/bases/cart.dmi and b/icons/obj/closets/bases/cart.dmi differ
diff --git a/icons/obj/closets/bases/closet.dmi b/icons/obj/closets/bases/closet.dmi
index 551435629e..2753b92b91 100644
Binary files a/icons/obj/closets/bases/closet.dmi and b/icons/obj/closets/bases/closet.dmi differ
diff --git a/icons/obj/closets/bases/crate.dmi b/icons/obj/closets/bases/crate.dmi
index 83500acb3b..d83ac8da7b 100644
Binary files a/icons/obj/closets/bases/crate.dmi and b/icons/obj/closets/bases/crate.dmi differ
diff --git a/icons/obj/closets/bases/large_crate.dmi b/icons/obj/closets/bases/large_crate.dmi
index fd3400ed72..a8cb85d5ce 100644
Binary files a/icons/obj/closets/bases/large_crate.dmi and b/icons/obj/closets/bases/large_crate.dmi differ
diff --git a/icons/obj/closets/decals/closet.dmi b/icons/obj/closets/decals/closet.dmi
index a7bb7591b1..97e24b4f50 100644
Binary files a/icons/obj/closets/decals/closet.dmi and b/icons/obj/closets/decals/closet.dmi differ
diff --git a/icons/obj/computer.dmi b/icons/obj/computer.dmi
index 165cc44179..5b58a84313 100644
Binary files a/icons/obj/computer.dmi and b/icons/obj/computer.dmi differ
diff --git a/icons/obj/computer_vr.dmi b/icons/obj/computer_vr.dmi
index 34716d288c..c75bc3a7b5 100644
Binary files a/icons/obj/computer_vr.dmi and b/icons/obj/computer_vr.dmi differ
diff --git a/icons/obj/gun.dmi b/icons/obj/gun.dmi
index f229285fe7..9e2f5f10a4 100644
Binary files a/icons/obj/gun.dmi and b/icons/obj/gun.dmi differ
diff --git a/icons/obj/guns/projectile/smartgun_32.dmi b/icons/obj/guns/projectile/smartgun_32.dmi
new file mode 100644
index 0000000000..82a8e765c4
Binary files /dev/null and b/icons/obj/guns/projectile/smartgun_32.dmi differ
diff --git a/icons/obj/guns/projectile/smartgun_item.dmi b/icons/obj/guns/projectile/smartgun_item.dmi
new file mode 100644
index 0000000000..69d8095ba5
Binary files /dev/null and b/icons/obj/guns/projectile/smartgun_item.dmi differ
diff --git a/icons/obj/guns/projectile/smartgun_mob.dmi b/icons/obj/guns/projectile/smartgun_mob.dmi
new file mode 100644
index 0000000000..de816c33be
Binary files /dev/null and b/icons/obj/guns/projectile/smartgun_mob.dmi differ
diff --git a/icons/obj/jukebox.dmi b/icons/obj/jukebox.dmi
index 1ac739dffc..439d460b81 100644
Binary files a/icons/obj/jukebox.dmi and b/icons/obj/jukebox.dmi differ
diff --git a/icons/obj/machines/field_generator.dmi b/icons/obj/machines/field_generator.dmi
index fcb083f846..45aa7d209c 100644
Binary files a/icons/obj/machines/field_generator.dmi and b/icons/obj/machines/field_generator.dmi differ
diff --git a/icons/obj/modular_console.dmi b/icons/obj/modular_console.dmi
index 125711410d..60c2c0f25b 100644
Binary files a/icons/obj/modular_console.dmi and b/icons/obj/modular_console.dmi differ
diff --git a/icons/obj/objects_vr.dmi b/icons/obj/objects_vr.dmi
index 19c7947b4b..467297775f 100644
Binary files a/icons/obj/objects_vr.dmi and b/icons/obj/objects_vr.dmi differ
diff --git a/icons/obj/pipes/disposal.dmi b/icons/obj/pipes/disposal.dmi
index 21ecaf5280..11be7044bc 100644
Binary files a/icons/obj/pipes/disposal.dmi and b/icons/obj/pipes/disposal.dmi differ
diff --git a/icons/obj/playing_cards.dmi b/icons/obj/playing_cards.dmi
index 04239be49d..04e7af96fe 100644
Binary files a/icons/obj/playing_cards.dmi and b/icons/obj/playing_cards.dmi differ
diff --git a/icons/obj/salvageable.dmi b/icons/obj/salvageable.dmi
index ea2004324a..f2e0aaed20 100644
Binary files a/icons/obj/salvageable.dmi and b/icons/obj/salvageable.dmi differ
diff --git a/icons/obj/sofas.dmi b/icons/obj/sofas.dmi
index 21de5449ea..9864a923ac 100644
Binary files a/icons/obj/sofas.dmi and b/icons/obj/sofas.dmi differ
diff --git a/icons/obj/vending.dmi b/icons/obj/vending.dmi
index cfd31736e9..aaf1aa1453 100755
Binary files a/icons/obj/vending.dmi and b/icons/obj/vending.dmi differ
diff --git a/icons/turf/fancy_shuttles/_fancy_helpers.dmi b/icons/turf/fancy_shuttles/_fancy_helpers.dmi
new file mode 100644
index 0000000000..8b7fcb5eaf
Binary files /dev/null and b/icons/turf/fancy_shuttles/_fancy_helpers.dmi differ
diff --git a/icons/turf/fancy_shuttles/delivery.dmi b/icons/turf/fancy_shuttles/delivery.dmi
new file mode 100644
index 0000000000..1aae679adc
Binary files /dev/null and b/icons/turf/fancy_shuttles/delivery.dmi differ
diff --git a/icons/turf/fancy_shuttles/delivery_preview.dmi b/icons/turf/fancy_shuttles/delivery_preview.dmi
new file mode 100644
index 0000000000..51150ea1ef
Binary files /dev/null and b/icons/turf/fancy_shuttles/delivery_preview.dmi differ
diff --git a/icons/turf/fancy_shuttles/dropship.dmi b/icons/turf/fancy_shuttles/dropship.dmi
new file mode 100644
index 0000000000..a8249949e8
Binary files /dev/null and b/icons/turf/fancy_shuttles/dropship.dmi differ
diff --git a/icons/turf/fancy_shuttles/dropship_preview.dmi b/icons/turf/fancy_shuttles/dropship_preview.dmi
new file mode 100644
index 0000000000..fef5fb379d
Binary files /dev/null and b/icons/turf/fancy_shuttles/dropship_preview.dmi differ
diff --git a/icons/turf/fancy_shuttles/escape.dmi b/icons/turf/fancy_shuttles/escape.dmi
new file mode 100644
index 0000000000..82f98e904b
Binary files /dev/null and b/icons/turf/fancy_shuttles/escape.dmi differ
diff --git a/icons/turf/fancy_shuttles/escape_preview.dmi b/icons/turf/fancy_shuttles/escape_preview.dmi
new file mode 100644
index 0000000000..6c92bbbdec
Binary files /dev/null and b/icons/turf/fancy_shuttles/escape_preview.dmi differ
diff --git a/icons/turf/fancy_shuttles/exploration.dmi b/icons/turf/fancy_shuttles/exploration.dmi
new file mode 100644
index 0000000000..5da4ff378e
Binary files /dev/null and b/icons/turf/fancy_shuttles/exploration.dmi differ
diff --git a/icons/turf/fancy_shuttles/exploration_preview.dmi b/icons/turf/fancy_shuttles/exploration_preview.dmi
new file mode 100644
index 0000000000..2ed3af4069
Binary files /dev/null and b/icons/turf/fancy_shuttles/exploration_preview.dmi differ
diff --git a/icons/turf/fancy_shuttles/generic.dmi b/icons/turf/fancy_shuttles/generic.dmi
new file mode 100644
index 0000000000..5e52d1c33e
Binary files /dev/null and b/icons/turf/fancy_shuttles/generic.dmi differ
diff --git a/icons/turf/fancy_shuttles/generic_preview.dmi b/icons/turf/fancy_shuttles/generic_preview.dmi
new file mode 100644
index 0000000000..bab99053bb
Binary files /dev/null and b/icons/turf/fancy_shuttles/generic_preview.dmi differ
diff --git a/icons/turf/fancy_shuttles/lifeboat.dmi b/icons/turf/fancy_shuttles/lifeboat.dmi
new file mode 100644
index 0000000000..f52831ac40
Binary files /dev/null and b/icons/turf/fancy_shuttles/lifeboat.dmi differ
diff --git a/icons/turf/fancy_shuttles/lifeboat_preview.dmi b/icons/turf/fancy_shuttles/lifeboat_preview.dmi
new file mode 100644
index 0000000000..e28b2586aa
Binary files /dev/null and b/icons/turf/fancy_shuttles/lifeboat_preview.dmi differ
diff --git a/icons/turf/fancy_shuttles/medical.dmi b/icons/turf/fancy_shuttles/medical.dmi
new file mode 100644
index 0000000000..dc1833cc55
Binary files /dev/null and b/icons/turf/fancy_shuttles/medical.dmi differ
diff --git a/icons/turf/fancy_shuttles/medical_preview.dmi b/icons/turf/fancy_shuttles/medical_preview.dmi
new file mode 100644
index 0000000000..1b688eb8f0
Binary files /dev/null and b/icons/turf/fancy_shuttles/medical_preview.dmi differ
diff --git a/icons/turf/fancy_shuttles/miner.dmi b/icons/turf/fancy_shuttles/miner.dmi
new file mode 100644
index 0000000000..1687e59aea
Binary files /dev/null and b/icons/turf/fancy_shuttles/miner.dmi differ
diff --git a/icons/turf/fancy_shuttles/miner_preview.dmi b/icons/turf/fancy_shuttles/miner_preview.dmi
new file mode 100644
index 0000000000..848a76ca3c
Binary files /dev/null and b/icons/turf/fancy_shuttles/miner_preview.dmi differ
diff --git a/icons/turf/fancy_shuttles/orangeline.dmi b/icons/turf/fancy_shuttles/orangeline.dmi
new file mode 100644
index 0000000000..de62f36f5b
Binary files /dev/null and b/icons/turf/fancy_shuttles/orangeline.dmi differ
diff --git a/icons/turf/fancy_shuttles/orangeline_preview.dmi b/icons/turf/fancy_shuttles/orangeline_preview.dmi
new file mode 100644
index 0000000000..1826583b2f
Binary files /dev/null and b/icons/turf/fancy_shuttles/orangeline_preview.dmi differ
diff --git a/icons/turf/fancy_shuttles/pod.dmi b/icons/turf/fancy_shuttles/pod.dmi
new file mode 100644
index 0000000000..7f531daa7e
Binary files /dev/null and b/icons/turf/fancy_shuttles/pod.dmi differ
diff --git a/icons/turf/fancy_shuttles/pod_preview.dmi b/icons/turf/fancy_shuttles/pod_preview.dmi
new file mode 100644
index 0000000000..e3cff0f677
Binary files /dev/null and b/icons/turf/fancy_shuttles/pod_preview.dmi differ
diff --git a/icons/turf/fancy_shuttles/science.dmi b/icons/turf/fancy_shuttles/science.dmi
new file mode 100644
index 0000000000..b7cb2228b0
Binary files /dev/null and b/icons/turf/fancy_shuttles/science.dmi differ
diff --git a/icons/turf/fancy_shuttles/science_preview.dmi b/icons/turf/fancy_shuttles/science_preview.dmi
new file mode 100644
index 0000000000..7c19d05c5b
Binary files /dev/null and b/icons/turf/fancy_shuttles/science_preview.dmi differ
diff --git a/icons/turf/fancy_shuttles/security.dmi b/icons/turf/fancy_shuttles/security.dmi
new file mode 100644
index 0000000000..70fdbfbc65
Binary files /dev/null and b/icons/turf/fancy_shuttles/security.dmi differ
diff --git a/icons/turf/fancy_shuttles/security_preview.dmi b/icons/turf/fancy_shuttles/security_preview.dmi
new file mode 100644
index 0000000000..d0017da2a4
Binary files /dev/null and b/icons/turf/fancy_shuttles/security_preview.dmi differ
diff --git a/icons/turf/fancy_shuttles/tourbus.dmi b/icons/turf/fancy_shuttles/tourbus.dmi
new file mode 100644
index 0000000000..beb0b4b30d
Binary files /dev/null and b/icons/turf/fancy_shuttles/tourbus.dmi differ
diff --git a/icons/turf/fancy_shuttles/tourbus_preview.dmi b/icons/turf/fancy_shuttles/tourbus_preview.dmi
new file mode 100644
index 0000000000..56e5b6d455
Binary files /dev/null and b/icons/turf/fancy_shuttles/tourbus_preview.dmi differ
diff --git a/icons/turf/fancy_shuttles/wagon.dmi b/icons/turf/fancy_shuttles/wagon.dmi
new file mode 100644
index 0000000000..ceae25d789
Binary files /dev/null and b/icons/turf/fancy_shuttles/wagon.dmi differ
diff --git a/icons/turf/fancy_shuttles/wagon_preview.dmi b/icons/turf/fancy_shuttles/wagon_preview.dmi
new file mode 100644
index 0000000000..aa9b8317e0
Binary files /dev/null and b/icons/turf/fancy_shuttles/wagon_preview.dmi differ
diff --git a/icons/turf/shuttle_parts_vr.dmi b/icons/turf/shuttle_parts_vr.dmi
index 740688a502..6f138b26cc 100644
Binary files a/icons/turf/shuttle_parts_vr.dmi and b/icons/turf/shuttle_parts_vr.dmi differ
diff --git a/maps/offmap_vr/om_ships/aro2.dm b/maps/offmap_vr/om_ships/aro2.dm
index d31b8f2ca1..d42ef4d6bb 100644
--- a/maps/offmap_vr/om_ships/aro2.dm
+++ b/maps/offmap_vr/om_ships/aro2.dm
@@ -49,7 +49,7 @@
desc = "A pool of inky-black fluid that shimmers oddly in the light if hit just right."
description_info = "Surfluid is KHI's main method of production, using swarms of nanites to process raw materials into finished products at the cost of immense amounts of energy."
color = "#222222"
- outdoors = FALSE
+ outdoors = OUTDOORS_NO
reagent_type = "liquid_protean"
// The 'ship'
diff --git a/maps/offmap_vr/om_ships/aro3.dm b/maps/offmap_vr/om_ships/aro3.dm
index 803f5c1625..791a53a642 100644
--- a/maps/offmap_vr/om_ships/aro3.dm
+++ b/maps/offmap_vr/om_ships/aro3.dm
@@ -66,13 +66,14 @@
name = "Aronai - Ship's Boat"
requires_power = 1
dynamic_lighting = 1
+ base_turf = /turf/simulated/floor/reinforced
/turf/simulated/floor/water/indoors/surfluid
name = "surfluid pool"
desc = "A pool of inky-black fluid that shimmers oddly in the light if hit just right."
description_info = "Surfluid is KHI's main method of production, using swarms of nanites to process raw materials into finished products at the cost of immense amounts of energy."
color = "#222222"
- outdoors = FALSE
+ outdoors = OUTDOORS_NO
reagent_type = "liquid_protean"
// The 'ship'
@@ -108,7 +109,7 @@
/obj/effect/shuttle_landmark/shuttle_initializer/aroboat3
name = "Aronai's Boat Bay"
base_area = /area/aro3/flight_deck
- base_turf = /turf/simulated/floor/tiled/eris/dark/techfloor_grid
+ base_turf = /turf/simulated/floor/reinforced
landmark_tag = "omship_spawn_aroboat3"
docking_controller = "aroship3_boatbay"
shuttle_type = /datum/shuttle/autodock/overmap/aroboat3
diff --git a/maps/offmap_vr/om_ships/aro3.dmm b/maps/offmap_vr/om_ships/aro3.dmm
index 41bba6aafd..385b05f701 100644
--- a/maps/offmap_vr/om_ships/aro3.dmm
+++ b/maps/offmap_vr/om_ships/aro3.dmm
@@ -99,6 +99,7 @@
/obj/effect/floor_decal/milspec/color/red/half{
dir = 1
},
+/obj/effect/floor_decal/milspec/stripe,
/turf/simulated/floor/tiled/milspec,
/area/aro3/flight_deck)
"aB" = (
@@ -233,14 +234,19 @@
/turf/simulated/wall/tgmc/durawall,
/area/aro3/cockpit)
"bs" = (
-/obj/machinery/power/rtg/abductor/hybrid/built,
-/obj/structure/cable/cyan{
- icon_state = "0-2"
+/obj/structure/bed/chair/shuttle_padded{
+ dir = 1
},
-/obj/machinery/light{
- dir = 4
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "aro3boat"
},
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
+ dir = 6
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/supply{
+ dir = 10
+ },
+/turf/simulated/floor/tiled/steel,
/area/shuttle/aroboat3)
"bv" = (
/obj/machinery/door/airlock/angled_tgmc/cell{
@@ -443,12 +449,6 @@
},
/turf/simulated/floor/tiled/milspec,
/area/aro3/cockpit)
-"cE" = (
-/obj/effect/floor_decal/milspec/color/red/half{
- dir = 8
- },
-/turf/simulated/floor/tiled/milspec,
-/area/aro3/flight_deck)
"cH" = (
/turf/simulated/floor/water/indoors/surfluid,
/area/aro3/surfluid)
@@ -494,20 +494,26 @@
/turf/simulated/floor/tiled/eris/cafe,
/area/aro3/kitchen)
"cV" = (
+/obj/machinery/door/airlock/angled_tgmc/security_glass{
+ dir = 4;
+ name = "shuttle airlock"
+ },
+/obj/effect/map_helper/airlock/door/simple,
+/obj/structure/cable/cyan{
+ icon_state = "4-8"
+ },
+/obj/structure/fans/hardlight,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
dir = 4
},
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
dir = 8
},
-/obj/structure/cable/cyan{
- icon_state = "4-8"
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "aro3boat"
},
-/obj/effect/floor_decal/milspec/color/black/half{
- dir = 8
- },
-/turf/simulated/floor/tiled/milspec,
-/area/aro3/flight_deck)
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/aroboat3)
"db" = (
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
dir = 10
@@ -804,14 +810,21 @@
},
/turf/simulated/floor/tiled/milspec,
/area/aro3/power)
-"eI" = (
-/obj/structure/bed/chair/bay/comfy/blue{
- dir = 1
+"eG" = (
+/obj/machinery/embedded_controller/radio/simple_docking_controller{
+ dir = 8;
+ frequency = 1380;
+ id_tag = "aroboat3_docker";
+ pixel_x = 25;
+ req_one_access = list(777)
},
-/obj/machinery/atmospherics/unary/vent_pump/on{
- dir = 1
+/obj/structure/bed/chair/shuttle_padded{
+ dir = 8
},
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "aro3boat"
+ },
+/turf/simulated/floor/tiled/steel,
/area/shuttle/aroboat3)
"eK" = (
/obj/structure/table/marble,
@@ -1080,6 +1093,7 @@
/obj/effect/floor_decal/milspec/color/red/half{
dir = 1
},
+/obj/effect/floor_decal/milspec/stripe,
/turf/simulated/floor/tiled/milspec,
/area/aro3/flight_deck)
"gK" = (
@@ -1331,6 +1345,13 @@
},
/turf/simulated/floor/tiled/milspec,
/area/aro3/power)
+"ii" = (
+/obj/effect/floor_decal/milspec/stripe,
+/obj/effect/floor_decal/milspec/stripe{
+ dir = 1
+ },
+/turf/simulated/floor/tiled/milspec,
+/area/aro3/flight_deck)
"ij" = (
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
@@ -1350,6 +1371,15 @@
/obj/effect/floor_decal/milspec/monotile,
/turf/simulated/floor/tiled/milspec,
/area/aro3/medical)
+"it" = (
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "aro3boat"
+ },
+/obj/machinery/atmospherics/unary/vent_scrubber/on{
+ dir = 8
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/aroboat3)
"iw" = (
/obj/effect/floor_decal/milspec/color/orange/half{
dir = 1
@@ -1643,13 +1673,6 @@
},
/turf/simulated/floor/tiled/techmaint,
/area/aro3/medical)
-"ke" = (
-/obj/structure/fans/hardlight,
-/obj/machinery/door/blast/multi_tile/four_tile_hor_sec{
- id = "aroshipshutter_ramp"
- },
-/turf/simulated/floor/reinforced,
-/area/aro3/flight_deck)
"kg" = (
/obj/machinery/light{
dir = 4
@@ -1976,14 +1999,13 @@
/turf/simulated/wall/rpshull,
/area/space)
"lY" = (
-/obj/structure/bed/chair/bay/comfy/blue{
- dir = 1
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "aro3boat"
},
-/obj/machinery/alarm/alarms_hidden{
- dir = 4;
- pixel_x = -26
+/obj/structure/bed/chair/shuttle_padded{
+ dir = 4
},
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
+/turf/simulated/floor/tiled/steel,
/area/shuttle/aroboat3)
"lZ" = (
/obj/structure/cable/cyan{
@@ -2009,14 +2031,14 @@
/turf/simulated/floor/tiled/milspec,
/area/aro3/hallway_starboard)
"md" = (
-/obj/machinery/light{
- dir = 8
+/obj/effect/fancy_shuttle{
+ dir = 1;
+ fancy_shuttle_tag = "aro3boat"
},
-/obj/effect/floor_decal/milspec/color/red/half{
- dir = 8
+/turf/simulated/wall/fancy_shuttle{
+ fancy_shuttle_tag = "aro3boat"
},
-/turf/simulated/floor/tiled/milspec,
-/area/aro3/flight_deck)
+/area/shuttle/aroboat3)
"mf" = (
/obj/effect/floor_decal/milspec/color/black/half{
dir = 4
@@ -2201,6 +2223,14 @@
/obj/effect/floor_decal/milspec/monotile,
/turf/simulated/floor/tiled/milspec,
/area/aro3/function)
+"nr" = (
+/obj/structure/fans/hardlight,
+/obj/machinery/door/blast/angled{
+ dir = 2;
+ id = "aroshipshutter_ramp"
+ },
+/turf/simulated/floor/reinforced/airless,
+/area/aro3/flight_deck)
"ns" = (
/turf/simulated/wall/tgmc/durawall,
/area/aro3/function)
@@ -2300,11 +2330,10 @@
/turf/simulated/floor/wood,
/area/aro3/suite_starboard)
"oe" = (
-/obj/structure/sign/warning/vacuum{
- pixel_x = 16;
- pixel_y = -30
+/obj/effect/floor_decal/milspec/stripe{
+ dir = 1
},
-/obj/effect/floor_decal/milspec/color/red/half,
+/obj/effect/floor_decal/milspec/stripe,
/turf/simulated/floor/tiled/milspec,
/area/aro3/flight_deck)
"oh" = (
@@ -2358,6 +2387,9 @@
/obj/effect/floor_decal/milspec/color/red/half{
dir = 1
},
+/obj/effect/floor_decal/milspec/stripe{
+ dir = 5
+ },
/turf/simulated/floor/tiled/milspec,
/area/aro3/flight_deck)
"oz" = (
@@ -2454,12 +2486,6 @@
},
/turf/space,
/area/space)
-"pg" = (
-/obj/effect/floor_decal/milspec/color/red/corner{
- dir = 1
- },
-/turf/simulated/floor/tiled/milspec,
-/area/aro3/flight_deck)
"pj" = (
/obj/structure/cable/cyan{
icon_state = "1-2"
@@ -2469,6 +2495,16 @@
},
/turf/simulated/floor/wood,
/area/aro3/suite_port)
+"pk" = (
+/obj/structure/cable/cyan{
+ icon_state = "1-2"
+ },
+/obj/effect/floor_decal/milspec/stripe{
+ dir = 6
+ },
+/obj/effect/floor_decal/milspec/stripe,
+/turf/simulated/floor/tiled/milspec,
+/area/aro3/flight_deck)
"pl" = (
/obj/structure/cable/cyan{
icon_state = "1-8"
@@ -3111,12 +3147,6 @@
},
/turf/simulated/floor/tiled/milspec,
/area/aro3/function)
-"tz" = (
-/turf/simulated/shuttle/wall/voidcraft/blue{
- hard_corner = 1;
- icon_state = "void-hc"
- },
-/area/shuttle/aroboat3)
"tB" = (
/obj/machinery/alarm/angled/hidden{
pixel_x = -4;
@@ -3512,6 +3542,7 @@
/obj/effect/floor_decal/milspec/color/red/half{
dir = 1
},
+/obj/effect/floor_decal/milspec/stripe,
/turf/simulated/floor/tiled/milspec,
/area/aro3/flight_deck)
"ws" = (
@@ -3724,10 +3755,10 @@
/obj/structure/sign/vacuum{
pixel_x = -32
},
-/obj/effect/floor_decal/milspec/color/red/half{
- dir = 8
- },
/obj/effect/floor_decal/milspec/stripe,
+/obj/effect/floor_decal/milspec/stripe{
+ dir = 1
+ },
/turf/simulated/floor/tiled/milspec,
/area/aro3/flight_deck)
"xE" = (
@@ -3750,7 +3781,12 @@
/obj/structure/cable/cyan{
icon_state = "1-2"
},
-/turf/simulated/wall/rpshull,
+/obj/structure/fans/hardlight,
+/obj/machinery/door/blast/angled{
+ dir = 2;
+ id = "aroshipshutter_ramp"
+ },
+/turf/simulated/floor/reinforced/airless,
/area/aro3/flight_deck)
"xI" = (
/obj/structure/flora/pottedplant/unusual,
@@ -3782,6 +3818,15 @@
},
/turf/simulated/floor/carpet/turcarpet,
/area/aro3/suite_starboard)
+"xR" = (
+/obj/structure/bed/chair/shuttle_padded{
+ dir = 8
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "aro3boat"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/aroboat3)
"xS" = (
/obj/effect/shuttle_landmark{
base_area = /area/space;
@@ -3872,6 +3917,9 @@
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
dir = 5
},
+/obj/effect/floor_decal/milspec/stripe{
+ dir = 8
+ },
/turf/simulated/floor/tiled/milspec,
/area/aro3/flight_deck)
"yz" = (
@@ -3990,17 +4038,13 @@
/turf/simulated/floor/tiled/milspec/sterile,
/area/aro3/medical)
"zi" = (
-/obj/machinery/power/apc/alarms_hidden{
- dir = 8;
- req_access = list()
+/obj/machinery/light{
+ dir = 8
},
-/obj/structure/cable/cyan{
- icon_state = "0-4"
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "aro3boat"
},
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 6
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
+/turf/simulated/floor/tiled/steel,
/area/shuttle/aroboat3)
"zj" = (
/obj/machinery/atmospherics/binary/pump/on{
@@ -4049,6 +4093,9 @@
},
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
+/obj/effect/floor_decal/milspec/stripe{
+ dir = 8
+ },
/turf/simulated/floor/tiled/milspec,
/area/aro3/flight_deck)
"zt" = (
@@ -4261,6 +4308,12 @@
/obj/effect/floor_decal/milspec/monotile,
/turf/simulated/floor/tiled/milspec,
/area/aro3/kitchen)
+"Al" = (
+/obj/structure/bed/chair/shuttle_padded{
+ dir = 8
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/aroboat3)
"Am" = (
/obj/machinery/recharge_station,
/obj/effect/floor_decal/milspec/color/emerald,
@@ -4397,7 +4450,8 @@
name = "hangar shutters";
pixel_x = -28
},
-/obj/machinery/door/blast/multi_tile/four_tile_hor_sec{
+/obj/machinery/door/blast/angled{
+ dir = 2;
id = "aroshipshutter_ramp"
},
/turf/simulated/floor/reinforced,
@@ -4425,12 +4479,6 @@
},
/turf/simulated/floor/tiled/milspec,
/area/aro3/hallway_port)
-"BO" = (
-/obj/effect/floor_decal/milspec/color/red/corner{
- dir = 8
- },
-/turf/simulated/floor/tiled/milspec,
-/area/aro3/flight_deck)
"BQ" = (
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
@@ -4504,13 +4552,13 @@
/turf/simulated/floor/plating/eris/under,
/area/aro3/atmos)
"Cu" = (
-/obj/structure/bed/chair/bay/comfy/blue{
- dir = 1
+/obj/structure/bed/chair/shuttle_padded{
+ dir = 4
},
-/obj/machinery/atmospherics/unary/vent_scrubber/on{
- dir = 1
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "aro3boat"
},
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
+/turf/simulated/floor/tiled/steel,
/area/shuttle/aroboat3)
"Cv" = (
/obj/effect/floor_decal/milspec/monotile,
@@ -4576,6 +4624,10 @@
pixel_x = 28
},
/obj/structure/fans/hardlight,
+/obj/machinery/door/blast/angled{
+ dir = 2;
+ id = "aroshipshutter_ramp"
+ },
/turf/simulated/floor/reinforced,
/area/aro3/flight_deck)
"CN" = (
@@ -4611,11 +4663,16 @@
/turf/simulated/floor/tiled/techmaint,
/area/aro3/hallway_bunkrooms)
"Di" = (
-/obj/effect/floor_decal/industrial/warning/dust{
+/obj/effect/floor_decal/milspec/color/red/half{
dir = 1
},
-/turf/simulated/floor/reinforced/airless,
-/area/space)
+/obj/effect/floor_decal/milspec/stripe,
+/obj/machinery/computer/shuttle_control/explore/aroboat3{
+ dir = 4;
+ req_one_access = list(777)
+ },
+/turf/simulated/floor/tiled/milspec,
+/area/aro3/flight_deck)
"Dk" = (
/turf/simulated/floor/tiled/milspec/raised,
/area/aro3/power)
@@ -4645,14 +4702,24 @@
/turf/simulated/floor/tiled/milspec,
/area/aro3/hallway_bunkrooms)
"DA" = (
-/obj/structure/cable/cyan{
- icon_state = "1-2"
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "aro3boat"
},
-/obj/effect/floor_decal/industrial/warning/dust{
- dir = 1
+/obj/machinery/power/apc/angled/hidden{
+ dir = 8;
+ req_one_access = list(777)
},
-/turf/simulated/floor/reinforced/airless,
-/area/space)
+/obj/structure/cable/cyan,
+/obj/machinery/alarm/angled/hidden{
+ dir = 8;
+ req_one_access = list(777)
+ },
+/obj/structure/closet/autolok_wall{
+ dir = 1;
+ pixel_y = -32
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/aroboat3)
"DB" = (
/obj/structure/cable/cyan{
icon_state = "2-8"
@@ -4847,10 +4914,6 @@
/obj/effect/floor_decal/milspec/monotile,
/turf/simulated/floor/tiled/milspec,
/area/aro3/function)
-"EH" = (
-/obj/effect/floor_decal/milspec/color/red/half,
-/turf/simulated/floor/tiled/milspec,
-/area/aro3/flight_deck)
"EI" = (
/obj/structure/lattice,
/obj/structure/hull_corner/long_vert{
@@ -4900,14 +4963,6 @@
},
/turf/simulated/floor/tiled/milspec,
/area/aro3/function)
-"Fc" = (
-/obj/structure/window/plastitanium/full,
-/obj/structure/window/plastitanium{
- dir = 1
- },
-/obj/machinery/door/firedoor/glass,
-/turf/simulated/floor/plating/eris/under,
-/area/shuttle/aroboat3)
"Ff" = (
/obj/structure/table/glass,
/obj/item/device/defib_kit/loaded,
@@ -5013,6 +5068,14 @@
/obj/effect/floor_decal/milspec/monotile,
/turf/simulated/floor/tiled/milspec,
/area/aro3/workshop)
+"FY" = (
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "aro3boat"
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
+/obj/machinery/atmospherics/pipe/simple/hidden/supply,
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/aroboat3)
"FZ" = (
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
@@ -5131,12 +5194,6 @@
},
/turf/simulated/floor/tiled/techmaint/airless,
/area/space)
-"Hc" = (
-/obj/effect/floor_decal/milspec/color/red/half{
- dir = 9
- },
-/turf/simulated/floor/tiled/milspec,
-/area/aro3/flight_deck)
"Hd" = (
/turf/simulated/wall/tgmc/durawall,
/area/aro3/hallway_starboard)
@@ -5211,9 +5268,6 @@
"Hz" = (
/turf/simulated/wall/tgmc/durawall/deco0,
/area/aro3/suite_port)
-"HE" = (
-/turf/simulated/shuttle/wall/voidcraft/blue,
-/area/shuttle/aroboat3)
"HG" = (
/obj/structure/hull_corner{
dir = 8
@@ -5438,6 +5492,9 @@
/obj/structure/cable/cyan{
icon_state = "1-2"
},
+/obj/effect/floor_decal/milspec/stripe{
+ dir = 8
+ },
/turf/simulated/floor/tiled/milspec,
/area/aro3/flight_deck)
"Kf" = (
@@ -5868,6 +5925,9 @@
/obj/structure/cable/cyan{
icon_state = "1-2"
},
+/obj/effect/floor_decal/milspec/stripe{
+ dir = 8
+ },
/turf/simulated/floor/tiled/milspec,
/area/aro3/flight_deck)
"MC" = (
@@ -6281,12 +6341,10 @@
/turf/simulated/floor/tiled/milspec,
/area/aro3/surfluid)
"Pa" = (
-/obj/effect/floor_decal/milspec/color/red/half{
- dir = 9
+/turf/simulated/wall/fancy_shuttle/window{
+ fancy_shuttle_tag = "aro3boat"
},
-/obj/structure/prop/tgmc_missile/double,
-/turf/simulated/floor/tiled/milspec,
-/area/aro3/flight_deck)
+/area/shuttle/aroboat3)
"Pb" = (
/obj/machinery/light{
dir = 1
@@ -6455,26 +6513,25 @@
/turf/simulated/floor/tiled/milspec,
/area/aro3/eva_hall)
"QA" = (
-/obj/effect/floor_decal/milspec/color/red/half{
- dir = 10
+/turf/simulated/wall/fancy_shuttle{
+ fancy_shuttle_tag = "aro3boat"
},
-/obj/structure/prop/tgmc_missile/fatty,
-/turf/simulated/floor/tiled/milspec,
-/area/aro3/flight_deck)
+/area/shuttle/aroboat3)
"QB" = (
-/obj/structure/fans/hardlight,
+/obj/effect/shuttle_landmark/shuttle_initializer/aroboat3,
/obj/structure/cable/cyan{
icon_state = "4-8"
},
-/obj/effect/map_helper/airlock/door/simple,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 8
- },
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
dir = 4
},
-/obj/machinery/door/airlock/voidcraft,
-/turf/simulated/floor/tiled/eris/steel/panels,
+/obj/machinery/atmospherics/pipe/simple/hidden/supply{
+ dir = 8
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "aro3boat"
+ },
+/turf/simulated/floor/tiled/steel,
/area/shuttle/aroboat3)
"QD" = (
/obj/structure/fans/hardlight,
@@ -6766,20 +6823,19 @@
/turf/simulated/floor/reinforced/airless,
/area/space)
"Tb" = (
-/obj/structure/cable/cyan{
- icon_state = "1-8"
- },
-/obj/structure/cable/cyan{
- icon_state = "1-4"
- },
-/obj/effect/shuttle_landmark/shuttle_initializer/aroboat3,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
+ dir = 5
},
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 6
+ dir = 5
},
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "aro3boat"
+ },
+/obj/structure/cable/cyan{
+ icon_state = "2-4"
+ },
+/turf/simulated/floor/tiled/steel,
/area/shuttle/aroboat3)
"Tc" = (
/turf/simulated/wall/tgmc/durawall,
@@ -6985,8 +7041,13 @@
/turf/simulated/floor/tiled/milspec,
/area/aro3/power)
"UE" = (
-/obj/machinery/computer/shuttle_control/explore/aroboat3,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "aro3boat"
+ },
+/obj/machinery/atmospherics/unary/vent_pump/on{
+ dir = 4
+ },
+/turf/simulated/floor/tiled/steel,
/area/shuttle/aroboat3)
"UI" = (
/obj/structure/sign/warning/vacuum{
@@ -7055,6 +7116,10 @@
/area/space)
"Vg" = (
/obj/structure/fans/hardlight,
+/obj/machinery/door/blast/angled{
+ dir = 2;
+ id = "aroshipshutter_ramp"
+ },
/turf/simulated/floor/reinforced,
/area/aro3/flight_deck)
"Vk" = (
@@ -7286,9 +7351,7 @@
/turf/simulated/floor/tiled/milspec,
/area/aro3/hallway_port)
"Xo" = (
-/obj/machinery/ion_engine{
- dir = 1
- },
+/obj/machinery/ion_engine,
/turf/space,
/area/aro3/engines)
"Xp" = (
@@ -7356,16 +7419,13 @@
/turf/simulated/floor/tiled/milspec,
/area/aro3/atmos)
"XV" = (
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "aro3boat"
+ },
/obj/structure/cable/cyan{
icon_state = "1-2"
},
-/obj/machinery/embedded_controller/radio/simple_docking_controller{
- dir = 8;
- frequency = 1380;
- id_tag = "aroboat3_docker";
- pixel_x = 25
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
+/turf/simulated/floor/tiled/steel,
/area/shuttle/aroboat3)
"Yb" = (
/obj/structure/cable/cyan{
@@ -7423,12 +7483,14 @@
/turf/simulated/floor/tiled/techmaint,
/area/aro3/medical)
"Yq" = (
-/obj/structure/cable/cyan{
- icon_state = "1-2"
+/obj/machinery/computer/shuttle_control/explore/aroboat3{
+ req_one_access = list(777)
},
-/obj/effect/floor_decal/milspec/color/red/half,
-/turf/simulated/floor/tiled/milspec,
-/area/aro3/flight_deck)
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "aro3boat"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/aroboat3)
"Yt" = (
/obj/structure/closet/crate/bin{
anchored = 1;
@@ -7593,6 +7655,9 @@
/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
dir = 4
},
+/obj/effect/floor_decal/milspec/stripe{
+ dir = 8
+ },
/turf/simulated/floor/tiled/milspec,
/area/aro3/flight_deck)
"Zv" = (
@@ -7628,6 +7693,9 @@
/obj/structure/cable/cyan{
icon_state = "1-2"
},
+/obj/effect/floor_decal/milspec/stripe{
+ dir = 8
+ },
/turf/simulated/floor/tiled/milspec,
/area/aro3/flight_deck)
"ZI" = (
@@ -16182,7 +16250,7 @@ eb
mI
tv
on
-aq
+Uz
Px
ps
xa
@@ -17035,15 +17103,15 @@ NC
Ty
To
Iq
+Di
+QA
+QA
+QA
Pa
QA
-HE
-HE
-HE
-HE
-HE
-tz
-Hc
+Pa
+QA
+QA
md
xB
Bw
@@ -17178,16 +17246,16 @@ Rj
lm
Iq
wq
-EH
-Fc
+QA
+QA
UE
lY
zi
Cu
-HE
-gH
-Ov
-BJ
+Cu
+QA
+QA
+ii
Vg
hD
hD
@@ -17320,16 +17388,16 @@ mF
lm
Iq
aA
-EH
-Fc
+Pa
+Yq
bs
-XV
+FY
Tb
-eI
-HE
-gH
-Ov
-BJ
+XV
+XV
+DA
+QA
+ii
Vg
hD
hD
@@ -17462,16 +17530,16 @@ oz
lm
Jj
gH
-EH
-HE
-HE
-HE
+QA
+QA
+it
+Al
QB
-HE
-tz
-gH
-Ov
-BJ
+xR
+eG
+QA
+QA
+ii
Vg
hD
hD
@@ -17604,18 +17672,18 @@ Ad
LD
QD
gH
-BO
-cE
-cE
-cE
+QA
+QA
+QA
+Pa
cV
-cE
-cE
-pg
-Ov
+Pa
+QA
+QA
+QA
oe
-Ur
-Di
+nr
+hD
hD
hD
Au
@@ -17755,9 +17823,9 @@ yy
MA
MA
MA
-Yq
+pk
xG
-DA
+te
te
te
sV
@@ -17898,7 +17966,7 @@ Ov
Ov
Ov
BJ
-ke
+Vg
hD
hD
hD
diff --git a/maps/offmap_vr/talon/talon_v2.dmm b/maps/offmap_vr/talon/talon_v2.dmm
index bdb401a681..1c040f2c16 100644
--- a/maps/offmap_vr/talon/talon_v2.dmm
+++ b/maps/offmap_vr/talon/talon_v2.dmm
@@ -165,7 +165,6 @@
/area/talon_v2/engineering/generators)
"aq" = (
/obj/machinery/recharge_station,
-/obj/structure/catwalk,
/turf/simulated/floor/plating,
/area/talon_v2/engineering/generators)
"ar" = (
@@ -5645,12 +5644,18 @@
/turf/simulated/floor/tiled/techfloor,
/area/talon_v2/crew_quarters/cap_room)
"so" = (
-/obj/item/weapon/storage/dicecup/loaded,
+/obj/item/weapon/storage/dicecup/loaded{
+ pixel_x = 7;
+ pixel_y = 11
+ },
/obj/machinery/atmospherics/unary/vent_pump/on{
dir = 8
},
/obj/effect/floor_decal/corner/black/diagonal,
/obj/structure/table/marble,
+/obj/item/weapon/deck/cards{
+ pixel_x = 3
+ },
/turf/simulated/floor/tiled/white,
/area/talon_v2/crew_quarters/bar)
"ss" = (
@@ -7128,7 +7133,6 @@
/area/talon_v2/central_hallway/fore)
"xq" = (
/obj/effect/floor_decal/corner/black/diagonal,
-/obj/item/weapon/deck/cards,
/obj/structure/table/marble,
/turf/simulated/floor/tiled/white,
/area/talon_v2/crew_quarters/bar)
@@ -8587,9 +8591,6 @@
},
/turf/simulated/floor/plating,
/area/talon_v2/engineering)
-"Ct" = (
-/turf/simulated/floor/plating,
-/area/talon_v2/crew_quarters/bar)
"Cw" = (
/obj/structure/bed/chair/bay/chair{
dir = 1
@@ -26215,7 +26216,7 @@ JO
JO
qc
qI
-Ct
+oh
DU
Hl
Hl
diff --git a/maps/southern_cross/events/wildlife_encounter.dm b/maps/southern_cross/events/wildlife_encounter.dm
index 0a045f9f17..57fde54ef1 100644
--- a/maps/southern_cross/events/wildlife_encounter.dm
+++ b/maps/southern_cross/events/wildlife_encounter.dm
@@ -24,7 +24,9 @@
// continue // Not on the right z-level.
if(L.stat)
continue // Don't want dead people.
- if(istype(get_turf(L), /turf/simulated/floor/outdoors) && istype(get_area(L),/area/surface/outside/wilderness))
+ var/turf/T = get_turf(L)
+ var/area/A = get_area(L)
+ if(T?.is_outdoors() && istype(A, /area/tether/outpost/exploration_plains)) // VOREStation Edit
potential_victims += L
if(potential_victims.len)
diff --git a/maps/southern_cross/southern_cross_areas.dm b/maps/southern_cross/southern_cross_areas.dm
index 94d357763b..4d9c76f95f 100644
--- a/maps/southern_cross/southern_cross_areas.dm
+++ b/maps/southern_cross/southern_cross_areas.dm
@@ -61,6 +61,7 @@
ambience = AMBIENCE_SIF
always_unpowered = TRUE
flags = AREA_FLAG_IS_NOT_PERSISTENT
+ outdoors = OUTDOORS_YES
// The area near the outpost, so POIs don't show up right next to the outpost.
/area/surface/outside/plains/outpost
@@ -163,10 +164,12 @@
/area/surface/outpost/mining_main
name = "North Mining Outpost"
icon_state = "outpost_mine_main"
+ outdoors = OUTDOORS_NO
/area/surface/outpost/mining_main/exterior
name = "North Mining Outpost Exterior"
icon_state = "outpost_mine_main"
+ outdoors = OUTDOORS_YES
/area/surface/outpost/mining_main/crew_area
name = "North Mining Crew Area"
@@ -205,6 +208,7 @@
/area/surface/outpost/research
icon_state = "outpost_research"
+ outdoors = OUTDOORS_NO
/area/surface/outpost/research/xenoresearch
name = "\improper Xenoresearch"
@@ -291,6 +295,7 @@
/area/surface/outpost/main
name = "\improper Main Outpost"
icon_state = "Sleep"
+ outdoors = OUTDOORS_NO
/area/surface/outpost/main/gen_room
name = "\improper Main Outpost SMES"
@@ -371,6 +376,7 @@
/area/outpost/mining_station
icon_state = "outpost_mine_main"
name = "Mining Station"
+ outdoors = OUTDOORS_NO
/area/outpost/mining_station/dorms
name = "Mining Station Dormitory"
diff --git a/maps/southern_cross/turfs/outdoors.dm b/maps/southern_cross/turfs/outdoors.dm
index 167b1256f5..7f7b39fc4a 100644
--- a/maps/southern_cross/turfs/outdoors.dm
+++ b/maps/southern_cross/turfs/outdoors.dm
@@ -24,19 +24,19 @@
oxygen = MOLES_O2SIF
nitrogen = MOLES_N2SIF
temperature = TEMPERATURE_SIF
- outdoors = TRUE
+ outdoors = OUTDOORS_YES
/turf/simulated/floor/tiled/steel/sif/planetuse
oxygen = MOLES_O2SIF
nitrogen = MOLES_N2SIF
temperature = TEMPERATURE_SIF
- outdoors = TRUE
+ outdoors = OUTDOORS_YES
/turf/simulated/floor/plating/sif/planetuse
oxygen = MOLES_O2SIF
nitrogen = MOLES_N2SIF
temperature = TEMPERATURE_SIF
- outdoors = TRUE
+ outdoors = OUTDOORS_YES
/turf/simulated/floor/outdoors/snow/sif/planetuse
oxygen = MOLES_O2SIF
diff --git a/maps/submaps/admin_use_vr/guttersite.dm b/maps/submaps/admin_use_vr/guttersite.dm
deleted file mode 100644
index e83532c429..0000000000
--- a/maps/submaps/admin_use_vr/guttersite.dm
+++ /dev/null
@@ -1,85 +0,0 @@
-// -- Datums -- //
-
-/obj/effect/overmap/visitable/sector/guttersite
- name = "Gutter Site"
- desc = "A shoddy asteroid installation."
- scanner_desc = @{"[i]Transponder[/i]: Strong Comms Signal
-[b]Notice[/b]: WARNING! KEEP OUT! MEMBERS ONLY!"}
- icon_state = "os_fortress_r"
- known = FALSE
- initial_generic_waypoints = list("guttersite_lshuttle", "guttersite_sshuttle", "guttersite_mshuttle")
-
-// -- Objs -- //
-/obj/effect/shuttle_landmark/premade/guttersite/sshuttle
- name = "Gutter - Small Shuttle"
- landmark_tag = "guttersite_sshuttle"
-
-/obj/effect/shuttle_landmark/premade/guttersite/lshuttle
- name = "Gutter - Large Shuttle"
- landmark_tag = "guttersite_lshuttle"
-
-/obj/effect/shuttle_landmark/premade/guttersite/mshuttle
- name = "Gutter - Medi Shuttle"
- landmark_tag = "guttersite_mshuttle"
-
-//This does nothing right now, but is framework if we do POIs for this place
-/obj/away_mission_init/guttersite
- name = "away mission initializer - guttersite"
-
-/obj/away_mission_init/guttersite/Initialize()
- initialized = TRUE
- return INITIALIZE_HINT_QDEL
-
-/area/tether_away/guttersite
- name = "Away Mission - guttersite"
- icon = 'icons/turf/areas_vr.dmi'
- icon_state = "dark"
-
-/area/tether_away/guttersite/explored
- icon_state = "debrisexplored"
-
-/area/tether_away/guttersite/unexplored
- icon_state = "debrisunexplored"
-
-/area/tether_away/guttersite/derelict
- icon_state = "debrisexplored"
- forced_ambience = list('sound/ambience/tension/tension.ogg', 'sound/ambience/tension/horror.ogg')
-
-/area/tether_away/guttersite/engines
- name = "Gutter - Gutter Engineering"
-
-/area/tether_away/guttersite/security
- name = "Gutter - Gutter Security and Holding"
-
-/area/tether_away/guttersite/docking
- name = "Gutter - Gutter Docks"
-
-/area/tether_away/guttersite/office
- name = "Gutter - Gutter Offices"
-
-/area/tether_away/guttersite/atmos
- name = "Gutter - Gutter Atmospherics"
-
-/area/tether_away/guttersite/maint
- name = "Gutter - Gutter Maintenance"
-
-/area/tether_away/guttersite/vault
- name = "Gutter - Gutter Vault"
-
-/area/tether_away/guttersite/bridge
- name = "Gutter - Gutter Bridge"
-
-/area/tether_away/guttersite/walkway
- name = "Gutter - Gutter Walkway"
-
-/area/tether_away/guttersite/medbay
- name = "Gutter - Gutter Medbay"
-
-/area/tether_away/guttersite/commons
- name = "Gutter - Gutter Commons"
-
-/area/tether_away/guttersite/storage
- name = "Gutter - Gutter Tool Storage"
-
-/area/tether_away/guttersite/teleporter
- name = "Gutter - Gutter Teleporter"
diff --git a/maps/submaps/admin_use_vr/guttersite.dmm b/maps/submaps/admin_use_vr/guttersite.dmm
deleted file mode 100644
index 4e485330e9..0000000000
--- a/maps/submaps/admin_use_vr/guttersite.dmm
+++ /dev/null
@@ -1,25460 +0,0 @@
-//MAP CONVERTED BY dmm2tgm.py THIS HEADER COMMENT PREVENTS RECONVERSION, DO NOT REMOVE
-"aa" = (
-/turf/space,
-/area/tether_away/guttersite/unexplored)
-"ab" = (
-/turf/simulated/mineral/floor/vacuum,
-/area/space)
-"ac" = (
-/turf/simulated/mineral/cave,
-/area/space)
-"ad" = (
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"ae" = (
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/teleporter)
-"af" = (
-/obj/structure/lattice,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"ag" = (
-/turf/simulated/mineral/cave,
-/area/tether_away/guttersite/unexplored)
-"ah" = (
-/turf/simulated/wall/r_wall,
-/area/tether_away/guttersite/teleporter)
-"ai" = (
-/obj/structure/lattice,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/teleporter)
-"aj" = (
-/turf/simulated/mineral/cave,
-/area/tether_away/guttersite/teleporter)
-"ak" = (
-/obj/structure/lattice,
-/turf/space,
-/area/tether_away/guttersite/unexplored)
-"al" = (
-/obj/structure/frame/computer{
- dir = 4
- },
-/obj/structure/cable{
- d2 = 2;
- icon_state = "0-2"
- },
-/turf/simulated/floor/airless,
-/area/tether_away/guttersite/teleporter)
-"am" = (
-/obj/machinery/teleport/station,
-/obj/structure/cable{
- d2 = 2;
- icon_state = "0-2"
- },
-/turf/simulated/floor/airless,
-/area/tether_away/guttersite/teleporter)
-"an" = (
-/obj/machinery/teleport/hub,
-/turf/simulated/floor/airless,
-/area/tether_away/guttersite/teleporter)
-"ao" = (
-/obj/item/weapon/material/shard{
- icon_state = "medium"
- },
-/turf/simulated/floor/airless,
-/area/tether_away/guttersite/teleporter)
-"ap" = (
-/turf/simulated/floor/airless,
-/area/tether_away/guttersite/teleporter)
-"aq" = (
-/obj/structure/cable,
-/turf/simulated/floor/airless,
-/area/tether_away/guttersite/teleporter)
-"ar" = (
-/obj/structure/table/rack,
-/obj/item/clothing/gloves/yellow,
-/obj/item/weapon/storage/toolbox/mechanical,
-/turf/simulated/floor/airless,
-/area/tether_away/guttersite/teleporter)
-"as" = (
-/obj/structure/girder,
-/turf/simulated/floor/airless,
-/area/tether_away/guttersite/teleporter)
-"at" = (
-/obj/item/weapon/cell,
-/turf/simulated/floor/airless,
-/area/tether_away/guttersite/teleporter)
-"au" = (
-/obj/structure/grille/broken,
-/turf/simulated/floor/airless,
-/area/tether_away/guttersite/teleporter)
-"av" = (
-/obj/structure/table,
-/turf/simulated/floor/airless,
-/area/tether_away/guttersite/teleporter)
-"aw" = (
-/obj/structure/closet,
-/turf/simulated/floor/airless,
-/area/tether_away/guttersite/teleporter)
-"ax" = (
-/turf/simulated/wall/r_wall,
-/area/tether_away/guttersite/storage)
-"ay" = (
-/obj/structure/boulder,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"az" = (
-/obj/structure/inflatable/door,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"aA" = (
-/obj/structure/bonfire/sifwood,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"aB" = (
-/turf/simulated/wall/r_wall,
-/area/tether_away/guttersite/maint)
-"aC" = (
-/obj/machinery/light{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"aD" = (
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"aE" = (
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/maint)
-"aF" = (
-/turf/simulated/wall/r_wall,
-/area/tether_away/guttersite/engines)
-"aG" = (
-/turf/simulated/wall,
-/area/tether_away/guttersite/engines)
-"aH" = (
-/obj/machinery/door/airlock/multi_tile/glass,
-/turf/simulated/floor/tiled/eris/techmaint_panels,
-/area/tether_away/guttersite/engines)
-"aI" = (
-/turf/simulated/floor/tiled/eris/techmaint_panels,
-/area/tether_away/guttersite/engines)
-"aJ" = (
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/engines)
-"aK" = (
-/obj/machinery/light_switch{
- on = 0;
- pixel_y = 26
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/engines)
-"aL" = (
-/obj/structure/loot_pile/surface/bones,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"aM" = (
-/obj/structure/table/steel,
-/obj/item/weapon/storage/toolbox/electrical,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/engines)
-"aN" = (
-/obj/structure/sign/poster{
- dir = 1;
- icon_state = ""
- },
-/turf/simulated/wall,
-/area/tether_away/guttersite/maint)
-"aO" = (
-/obj/machinery/computer/ship/navigation/telescreen{
- pixel_y = 23
- },
-/obj/structure/table/steel,
-/obj/fiftyspawner/glass,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/engines)
-"aP" = (
-/turf/simulated/wall,
-/area/tether_away/guttersite/maint)
-"aQ" = (
-/turf/simulated/wall,
-/area/tether_away/guttersite/atmos)
-"aR" = (
-/obj/machinery/door/airlock/multi_tile/glass,
-/turf/simulated/floor/tiled/eris/techmaint_panels,
-/area/tether_away/guttersite/atmos)
-"aS" = (
-/turf/simulated/floor/tiled/eris/techmaint_panels,
-/area/tether_away/guttersite/atmos)
-"aT" = (
-/turf/simulated/wall/r_wall,
-/area/tether_away/guttersite/atmos)
-"aU" = (
-/obj/structure/table/steel,
-/obj/machinery/atmospherics/unary/vent_pump/on,
-/obj/fiftyspawner/steel,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/engines)
-"aV" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/structure/cable/cyan{
- d1 = 2;
- d2 = 4;
- icon_state = "2-4"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/maint)
-"aW" = (
-/obj/structure/cable/cyan{
- d1 = 2;
- d2 = 8;
- icon_state = "2-8"
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/engines)
-"aX" = (
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/engines)
-"aY" = (
-/obj/machinery/light{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/engines)
-"aZ" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark,
-/area/tether_away/guttersite/maint)
-"ba" = (
-/obj/item/weapon/circuitboard/teleporter,
-/turf/simulated/floor/airless,
-/area/tether_away/guttersite/teleporter)
-"bb" = (
-/obj/structure/barricade,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/unexplored)
-"bc" = (
-/obj/structure/cable/cyan{
- icon_state = "0-4"
- },
-/obj/machinery/power/rtg/fake_gen,
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/engines)
-"bd" = (
-/obj/machinery/power/terminal{
- dir = 4
- },
-/obj/structure/cable/cyan{
- d2 = 8;
- icon_state = "0-8"
- },
-/obj/structure/cable/cyan,
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/engines)
-"be" = (
-/obj/structure/table/steel,
-/obj/machinery/atmospherics/unary/vent_pump/on,
-/obj/fiftyspawner/rods,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/atmos)
-"bf" = (
-/obj/machinery/computer/ship/navigation/telescreen{
- pixel_y = 23
- },
-/obj/structure/table/steel,
-/obj/item/weapon/storage/toolbox/mechanical,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/atmos)
-"bg" = (
-/obj/structure/table/steel,
-/obj/fiftyspawner/wood,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/atmos)
-"bh" = (
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/atmos)
-"bi" = (
-/obj/machinery/light_switch{
- on = 0;
- pixel_y = 26
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/atmos)
-"bj" = (
-/obj/structure/cable/cyan{
- d1 = 2;
- d2 = 4;
- icon_state = "2-4"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"bk" = (
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/engines)
-"bl" = (
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 4;
- dir = 4;
- icon_state = "2-8"
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/engines)
-"bm" = (
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/obj/structure/cable/cyan{
- d1 = 2;
- d2 = 8;
- icon_state = "2-8"
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 5
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 6
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/engines)
-"bn" = (
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/techmaint_panels,
-/area/tether_away/guttersite/engines)
-"bo" = (
-/turf/simulated/floor/tiled/eris/dark,
-/area/tether_away/guttersite/maint)
-"bp" = (
-/obj/machinery/light{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/atmos)
-"bq" = (
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"br" = (
-/obj/machinery/atmospherics/pipe/simple/visible/blue{
- dir = 4
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"bs" = (
-/obj/machinery/meter,
-/obj/machinery/atmospherics/pipe/simple/visible/blue{
- dir = 4
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"bt" = (
-/obj/machinery/atmospherics/unary/vent_scrubber/on,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"bu" = (
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/maint)
-"bv" = (
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/obj/machinery/atmospherics/pipe/manifold/hidden/supply,
-/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers,
-/turf/simulated/floor/tiled/eris/dark,
-/area/tether_away/guttersite/maint)
-"bw" = (
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/structure/cable/cyan{
- d1 = 2;
- d2 = 8;
- icon_state = "2-8"
- },
-/obj/structure/cable/cyan{
- icon_state = "1-8"
- },
-/turf/simulated/floor/tiled/eris/dark,
-/area/tether_away/guttersite/maint)
-"bx" = (
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/techmaint_panels,
-/area/tether_away/guttersite/maint)
-"by" = (
-/obj/structure/cable/cyan{
- d1 = 2;
- d2 = 8;
- icon_state = "2-8"
- },
-/obj/machinery/atmospherics/pipe/manifold/hidden/supply,
-/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/atmos)
-"bz" = (
-/obj/machinery/power/terminal{
- dir = 4
- },
-/obj/structure/cable/cyan{
- d2 = 8;
- icon_state = "0-8"
- },
-/obj/structure/cable/cyan{
- d2 = 2;
- icon_state = "0-2"
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/engines)
-"bA" = (
-/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers,
-/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
- dir = 1
- },
-/obj/structure/table/darkglass,
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"bB" = (
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 4;
- dir = 1;
- icon_state = "1-2"
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 4;
- dir = 4;
- icon_state = "1-4"
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/engines)
-"bC" = (
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/engines)
-"bD" = (
-/obj/machinery/door/airlock/multi_tile/glass{
- dir = 2
- },
-/turf/simulated/floor/tiled/eris/techmaint_panels,
-/area/tether_away/guttersite/engines)
-"bE" = (
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark,
-/area/tether_away/guttersite/maint)
-"bF" = (
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/atmos)
-"bG" = (
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 8;
- icon_state = "1-8"
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/engines)
-"bH" = (
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/engines)
-"bI" = (
-/obj/machinery/atmospherics/pipe/simple/visible/supply{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/visible/scrubbers{
- dir = 10
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"bJ" = (
-/obj/machinery/atmospherics/pipe/simple/visible/universal{
- dir = 8
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"bK" = (
-/obj/machinery/atmospherics/pipe/simple/visible/blue{
- dir = 10
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"bL" = (
-/obj/machinery/atmospherics/binary/pump/on{
- dir = 8
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"bM" = (
-/obj/machinery/atmospherics/pipe/simple/visible/red{
- dir = 4
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"bN" = (
-/obj/machinery/meter,
-/obj/machinery/atmospherics/pipe/simple/visible/red{
- dir = 4
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"bO" = (
-/obj/structure/table/steel,
-/obj/structure/cable/cyan,
-/obj/machinery/power/apc{
- dir = 4;
- name = "east bump";
- pixel_x = 24
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/engines)
-"bP" = (
-/obj/structure/table/steel,
-/obj/structure/cable/cyan,
-/obj/machinery/power/apc{
- cell_type = /obj/item/weapon/cell/super;
- dir = 8;
- name = "west bump";
- pixel_x = -24
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/atmos)
-"bQ" = (
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 4;
- dir = 4;
- icon_state = "1-4"
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/engines)
-"bR" = (
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 4;
- icon_state = "1-4"
- },
-/turf/simulated/floor/tiled/eris/dark,
-/area/tether_away/guttersite/maint)
-"bS" = (
-/obj/machinery/light{
- dir = 4
- },
-/obj/structure/cable/cyan{
- d1 = 2;
- d2 = 8;
- icon_state = "2-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/maint)
-"bT" = (
-/obj/machinery/light,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/engines)
-"bU" = (
-/obj/machinery/alarm{
- alarm_id = null;
- breach_detection = 0;
- dir = 1;
- pixel_y = -22
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/engines)
-"bV" = (
-/obj/machinery/firealarm{
- dir = 1;
- pixel_y = -25
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/engines)
-"bW" = (
-/obj/structure/table/steel,
-/obj/fiftyspawner/plasteel,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/engines)
-"bX" = (
-/obj/structure/table/steel,
-/obj/machinery/atmospherics/unary/vent_scrubber/on{
- dir = 1
- },
-/obj/fiftyspawner/plasteel/hull,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/engines)
-"bY" = (
-/obj/machinery/power/apc{
- dir = 4;
- name = "east bump";
- pixel_x = 24
- },
-/obj/structure/cable/cyan,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/maint)
-"bZ" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/structure/bed/chair/bay/comfy/black,
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"ca" = (
-/obj/machinery/door/airlock/multi_tile/glass{
- dir = 2
- },
-/turf/simulated/floor/tiled/eris/techmaint_panels,
-/area/tether_away/guttersite/maint)
-"cb" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 6
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 6
- },
-/obj/structure/bed/chair/bay/comfy/black{
- dir = 1
- },
-/obj/structure/cable/cyan{
- d1 = 2;
- d2 = 4;
- icon_state = "2-4"
- },
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"cc" = (
-/obj/machinery/atmospherics/pipe/simple/visible/scrubbers{
- dir = 5
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"cd" = (
-/obj/machinery/atmospherics/pipe/simple/visible/red{
- dir = 10
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"ce" = (
-/obj/machinery/atmospherics/binary/pump/on{
- dir = 4
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"cf" = (
-/obj/machinery/atmospherics/pipe/simple/visible/blue,
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"cg" = (
-/obj/machinery/atmospherics/pipe/simple/visible/red,
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"ch" = (
-/obj/machinery/atmospherics/unary/vent_pump/on{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"ci" = (
-/obj/structure/cable/cyan{
- d1 = 2;
- d2 = 4;
- icon_state = "2-4"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"cj" = (
-/obj/machinery/light,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"ck" = (
-/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden,
-/obj/structure/window/basic,
-/obj/structure/window/basic{
- dir = 4
- },
-/obj/structure/table/darkglass,
-/obj/structure/cable/cyan{
- d1 = 2;
- d2 = 8;
- icon_state = "2-8"
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/white/monofloor,
-/area/tether_away/guttersite/office)
-"cl" = (
-/obj/item/weapon/hand_tele,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"cm" = (
-/obj/machinery/atmospherics/pipe/simple/visible/blue{
- dir = 5
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"cn" = (
-/obj/machinery/light{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/visible/blue{
- dir = 4
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"co" = (
-/obj/structure/loot_pile/surface/bones,
-/obj/random/gun/random,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"cp" = (
-/obj/structure/window/basic{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/white/monofloor,
-/area/tether_away/guttersite/office)
-"cr" = (
-/obj/structure/table/darkglass,
-/obj/item/key,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"cs" = (
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/unexplored)
-"ct" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 6
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 6
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/maint)
-"cu" = (
-/obj/structure/table/steel,
-/obj/machinery/atmospherics/unary/vent_scrubber/on{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/atmos)
-"cv" = (
-/obj/machinery/atmospherics/pipe/manifold/visible/blue{
- dir = 1
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"cw" = (
-/obj/machinery/light{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/visible/blue{
- dir = 10
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"cx" = (
-/obj/machinery/atmospherics/pipe/simple/visible/red{
- dir = 5
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"cy" = (
-/obj/machinery/meter,
-/obj/machinery/atmospherics/pipe/manifold/visible/red{
- dir = 1
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"cz" = (
-/obj/machinery/light{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/maint)
-"cA" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/maint)
-"cB" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 10
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 10
- },
-/obj/structure/cable/cyan{
- d1 = 2;
- d2 = 8;
- icon_state = "2-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/maint)
-"cC" = (
-/obj/machinery/door/airlock/multi_tile/glass,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/maint)
-"cD" = (
-/obj/machinery/alarm{
- dir = 4;
- pixel_x = -22
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/maint)
-"cE" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/maint)
-"cF" = (
-/turf/simulated/wall/r_wall,
-/area/tether_away/guttersite/commons)
-"cG" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/maint)
-"cH" = (
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"cI" = (
-/obj/machinery/light{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"cJ" = (
-/obj/fiftyspawner/glass,
-/obj/fiftyspawner/steel,
-/turf/simulated/floor/airless,
-/area/tether_away/guttersite/teleporter)
-"cK" = (
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"cL" = (
-/obj/machinery/atmospherics/unary/vent_scrubber/on,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"cM" = (
-/obj/effect/landmark/corpse/clown,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"cN" = (
-/obj/machinery/power/apc{
- dir = 4;
- name = "east bump";
- pixel_x = 24
- },
-/obj/structure/cable/cyan{
- d2 = 8;
- icon_state = "0-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"cO" = (
-/obj/structure/bed/chair/bay/comfy/black,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"cP" = (
-/obj/machinery/vending/loadout/uniform,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"cQ" = (
-/obj/structure/cable/cyan{
- d2 = 4;
- icon_state = "0-4"
- },
-/obj/machinery/power/smes/buildable/point_of_interest,
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/engines)
-"cR" = (
-/obj/machinery/light{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"cS" = (
-/obj/machinery/atmospherics/unary/vent_pump/on{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"cT" = (
-/obj/structure/inflatable/door,
-/turf/simulated/floor/plating/eris,
-/area/tether_away/guttersite/unexplored)
-"cU" = (
-/obj/machinery/vending/boozeomat,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"cV" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 5
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 5
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 4;
- icon_state = "1-4"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/maint)
-"cW" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/machinery/light,
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/maint)
-"cX" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/machinery/door/firedoor,
-/obj/machinery/door/airlock/maintenance_hatch{
- req_access = list(0);
- req_one_access = list(10)
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"cY" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"cZ" = (
-/turf/simulated/floor/tiled/eris/steel/bar_light,
-/area/tether_away/guttersite/commons)
-"da" = (
-/obj/structure/window/basic{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"db" = (
-/obj/machinery/vending/food,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"dc" = (
-/obj/machinery/light{
- dir = 1
- },
-/obj/structure/table/darkglass,
-/obj/machinery/chemical_dispenser/bar_alc/full,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"dd" = (
-/obj/machinery/light,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"de" = (
-/turf/simulated/wall/r_wall,
-/area/tether_away/guttersite/medbay)
-"df" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/machinery/door/firedoor/glass,
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/commons)
-"dg" = (
-/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers,
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"dh" = (
-/obj/structure/table/darkglass,
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"di" = (
-/obj/structure/table/darkglass,
-/obj/item/weapon/storage/box/glasses/meta,
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"dj" = (
-/obj/structure/table/darkglass,
-/obj/item/weapon/reagent_containers/food/drinks/shaker,
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"dk" = (
-/turf/simulated/mineral/cave,
-/area/tether_away/guttersite/commons)
-"dl" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 10
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 10
- },
-/obj/structure/cable/cyan{
- d1 = 2;
- d2 = 8;
- icon_state = "2-8"
- },
-/obj/structure/cable/cyan{
- icon_state = "1-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"dm" = (
-/obj/machinery/door/firedoor,
-/obj/machinery/door/airlock/maintenance_hatch{
- req_one_access = list()
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"dn" = (
-/turf/simulated/wall/r_wall,
-/area/tether_away/guttersite/walkway)
-"do" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"dp" = (
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"dq" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"dr" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/obj/machinery/door/firedoor,
-/obj/machinery/door/airlock/maintenance_hatch{
- req_access = list(0);
- req_one_access = list(10)
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"ds" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/obj/machinery/door/firedoor,
-/obj/machinery/door/airlock/maintenance_hatch{
- req_access = list(0);
- req_one_access = list(10)
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/obj/item/tape/engineering,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"dt" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"du" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"dv" = (
-/obj/machinery/access_button{
- command = "cycle_exterior";
- frequency = 448;
- master_tag = "guttersite_northlock";
- name = "exterior access button";
- pixel_x = -5;
- pixel_y = -26
- },
-/turf/simulated/mineral/floor/vacuum,
-/area/space)
-"dw" = (
-/obj/structure/grille,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced{
- dir = 8
- },
-/obj/structure/window/reinforced{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"dx" = (
-/obj/machinery/door/airlock/glass_external{
- req_one_access = list(15)
- },
-/obj/effect/map_helper/airlock/door/ext_door,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"dy" = (
-/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
- dir = 8
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 4;
- icon_state = "1-4"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"dz" = (
-/obj/structure/closet/medical_wall,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"dA" = (
-/obj/structure/grille,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced/full,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"dB" = (
-/obj/structure/grille,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced{
- dir = 4
- },
-/obj/structure/window/reinforced{
- dir = 1
- },
-/obj/structure/sign/securearea{
- desc = "A warning sign which reads 'EXTERNAL AIRLOCK'";
- icon_state = "space";
- layer = 4;
- name = "EXTERNAL AIRLOCK"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"dC" = (
-/obj/machinery/atmospherics/unary/vent_pump/on{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"dD" = (
-/obj/structure/medical_stand,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"dE" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 10
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 10
- },
-/obj/structure/cable/cyan{
- d1 = 2;
- d2 = 8;
- icon_state = "2-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"dF" = (
-/obj/structure/dogbed,
-/mob/living/simple_mob/vore/redpanda/fae{
- name = "Rhythm"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"dG" = (
-/obj/structure/bed/padded,
-/obj/item/weapon/bedsheet/medical,
-/obj/effect/decal/cleanable/blood,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"dH" = (
-/obj/structure/grille,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"dI" = (
-/obj/machinery/embedded_controller/radio/airlock/docking_port{
- frequency = 448;
- id_tag = "guttersite_northlock";
- name = "Airlock controller";
- pixel_x = -25
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"dJ" = (
-/obj/machinery/alarm{
- dir = 4;
- pixel_x = -22
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"dK" = (
-/obj/structure/grille,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"dL" = (
-/obj/structure/window/basic{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"dM" = (
-/obj/machinery/firealarm{
- dir = 1;
- pixel_y = -25
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"dN" = (
-/turf/simulated/wall/r_wall,
-/area/tether_away/guttersite/office)
-"dO" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced{
- dir = 4
- },
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/commons)
-"dP" = (
-/obj/machinery/atmospherics/unary/vent_pump/high_volume{
- dir = 4;
- frequency = 448;
- id_tag = "guttersite_northlock_pump"
- },
-/obj/machinery/airlock_sensor{
- frequency = 448;
- id_tag = "guttersite_northlock_sensor";
- pixel_y = -25
- },
-/obj/effect/map_helper/airlock/sensor/chamber_sensor,
-/obj/effect/map_helper/airlock/atmos/chamber_pump,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"dQ" = (
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 10
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"dR" = (
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"dS" = (
-/obj/machinery/light{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"dT" = (
-/obj/machinery/atmospherics/pipe/simple/hidden,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"dU" = (
-/obj/machinery/light{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"dV" = (
-/obj/machinery/light{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"dW" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/structure/bed/chair/bay/comfy/black{
- dir = 1
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"dX" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"dY" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/wall/r_wall,
-/area/tether_away/guttersite/commons)
-"dZ" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/structure/closet/cabinet,
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"ea" = (
-/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers,
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"eb" = (
-/turf/simulated/wall/r_wall,
-/area/tether_away/guttersite/bridge)
-"ec" = (
-/obj/structure/window/basic,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"ed" = (
-/turf/simulated/wall/r_wall,
-/area/tether_away/guttersite/vault)
-"ee" = (
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/walkway)
-"ef" = (
-/obj/machinery/light{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/walkway)
-"eg" = (
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/bridge)
-"eh" = (
-/obj/machinery/light{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/bridge)
-"ei" = (
-/obj/machinery/door/window/southleft,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"ej" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/machinery/washing_machine,
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"ek" = (
-/obj/structure/window/basic{
- dir = 8
- },
-/obj/structure/filingcabinet/filingcabinet,
-/turf/simulated/floor/tiled/eris/white/monofloor,
-/area/tether_away/guttersite/office)
-"el" = (
-/obj/machinery/alarm{
- dir = 4;
- pixel_x = -22
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/vault)
-"em" = (
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/vault)
-"en" = (
-/obj/machinery/alarm{
- dir = 4;
- pixel_x = -22
- },
-/obj/machinery/light{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/walkway)
-"eo" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"ep" = (
-/obj/machinery/atmospherics/unary/vent_scrubber/on,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/walkway)
-"eq" = (
-/obj/machinery/atmospherics/unary/vent_scrubber/on,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/bridge)
-"er" = (
-/obj/machinery/alarm{
- dir = 4;
- pixel_x = -22
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"es" = (
-/turf/simulated/floor/tiled/eris/white/monofloor,
-/area/tether_away/guttersite/office)
-"et" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/structure/curtain/open/shower,
-/obj/machinery/shower,
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/techfloor_grid,
-/area/tether_away/guttersite/commons)
-"eu" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/techfloor_grid,
-/area/tether_away/guttersite/commons)
-"ev" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/structure/table/darkglass,
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"ew" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/structure/bed/chair/bay/comfy/black{
- dir = 8
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"ex" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 9
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 9
- },
-/obj/structure/cable/cyan{
- icon_state = "1-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"ey" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"ez" = (
-/obj/machinery/power/apc{
- cell_type = /obj/item/weapon/cell/super;
- dir = 8;
- name = "west bump";
- pixel_x = -24
- },
-/obj/structure/cable/cyan{
- d2 = 4;
- icon_state = "0-4"
- },
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"eA" = (
-/obj/structure/bed/chair/bay/comfy/black{
- dir = 4
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"eB" = (
-/obj/structure/table/darkglass,
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"eC" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/obj/structure/bed/chair/bay/comfy/black{
- dir = 8
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/obj/structure/cable/cyan{
- icon_state = "1-8"
- },
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"eD" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/machinery/door/firedoor,
-/obj/machinery/door/airlock/maintenance_hatch{
- req_one_access = list()
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/obj/item/tape/engineering,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"eE" = (
-/turf/space,
-/area/space)
-"eF" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/obj/structure/bed/chair/bay/comfy/black{
- dir = 8
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"eG" = (
-/obj/structure/bedsheetbin,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"eH" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"eI" = (
-/obj/machinery/atmospherics/unary/vent_pump/on{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/walkway)
-"eJ" = (
-/obj/machinery/firealarm{
- dir = 1;
- pixel_y = -25
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/walkway)
-"eK" = (
-/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
- dir = 4
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"eL" = (
-/obj/machinery/atmospherics/unary/vent_pump/on{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/bridge)
-"eM" = (
-/obj/machinery/atmospherics/unary/vent_pump/on{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/white/monofloor,
-/area/tether_away/guttersite/office)
-"eN" = (
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 9
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"eO" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"eP" = (
-/obj/item/device/radio/headset/heads/captain/alt{
- desc = "The headset of an Eltorro employee.";
- name = "Rus's Headset"
- },
-/turf/simulated/floor/carpet/gaycarpet,
-/area/tether_away/guttersite/unexplored)
-"eQ" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/machinery/light{
- dir = 4
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"eR" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/obj/machinery/door/firedoor,
-/obj/machinery/door/airlock/maintenance_hatch{
- req_one_access = list()
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"eS" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/walkway)
-"eT" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/obj/machinery/light{
- dir = 4
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/walkway)
-"eU" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/structure/bed/padded,
-/obj/item/weapon/bedsheet/medical,
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/obj/effect/decal/cleanable/blood,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"eV" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 5
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 9
- },
-/obj/structure/window/basic{
- dir = 1
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 4;
- icon_state = "1-4"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"eW" = (
-/obj/machinery/atmospherics/unary/vent_scrubber/on{
- dir = 8
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"eX" = (
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"eY" = (
-/obj/machinery/power/apc{
- dir = 4;
- name = "east bump";
- pixel_x = 24
- },
-/obj/structure/bed/chair/bay/comfy/black{
- dir = 8
- },
-/obj/structure/cable/cyan{
- d2 = 8;
- icon_state = "0-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"eZ" = (
-/obj/item/weapon/cell/super,
-/turf/simulated/floor/airless,
-/area/tether_away/guttersite/teleporter)
-"fa" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 6
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 10
- },
-/obj/structure/filingcabinet/filingcabinet,
-/turf/simulated/floor/tiled/eris/white/monofloor,
-/area/tether_away/guttersite/office)
-"fb" = (
-/obj/machinery/atmospherics/unary/vent_scrubber/on{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/white/monofloor,
-/area/tether_away/guttersite/office)
-"fc" = (
-/obj/machinery/power/apc{
- dir = 4;
- name = "east bump";
- pixel_x = 24
- },
-/obj/structure/cable/cyan{
- d2 = 8;
- icon_state = "0-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"fd" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/obj/machinery/door/firedoor,
-/obj/machinery/door/airlock/maintenance_hatch{
- req_one_access = list()
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/walkway)
-"fe" = (
-/obj/item/trash/cheesie,
-/obj/item/trash/liquidprotein,
-/obj/item/trash/liquidprotein,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"ff" = (
-/turf/simulated/wall/lead,
-/area/tether_away/guttersite/unexplored)
-"fg" = (
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"fh" = (
-/obj/structure/bed/chair/bay/comfy/black{
- dir = 8
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"fi" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/walkway)
-"fj" = (
-/obj/machinery/power/apc{
- cell_type = /obj/item/weapon/cell/super;
- dir = 8;
- name = "west bump";
- pixel_x = -24
- },
-/obj/structure/cable/cyan{
- d2 = 4;
- icon_state = "0-4"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/walkway)
-"fk" = (
-/obj/random/humanoidremains,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/vault)
-"fl" = (
-/obj/machinery/light,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/bridge)
-"fm" = (
-/obj/machinery/firealarm{
- dir = 1;
- pixel_y = -25
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/bridge)
-"fn" = (
-/obj/structure/bed/chair/bay/comfy/black{
- dir = 4
- },
-/mob/living/simple_mob/vore/catgirl{
- name = "Lucy"
- },
-/turf/simulated/floor/tiled/eris/white/techfloor_grid,
-/area/tether_away/guttersite/office)
-"fo" = (
-/obj/machinery/door/firedoor,
-/obj/machinery/door/airlock/maintenance_hatch{
- req_one_access = list()
- },
-/obj/item/tape/engineering,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"fp" = (
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/walkway)
-"fq" = (
-/turf/simulated/wall/r_wall,
-/area/tether_away/guttersite/docking)
-"fr" = (
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"fs" = (
-/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
- dir = 8
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 4;
- icon_state = "1-4"
- },
-/obj/structure/cable/cyan{
- icon_state = "1-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/walkway)
-"ft" = (
-/obj/machinery/light{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"fu" = (
-/turf/simulated/wall/r_wall,
-/area/tether_away/guttersite/security)
-"fv" = (
-/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers,
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/walkway)
-"fw" = (
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"fx" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/obj/item/tape/engineering,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"fy" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/walkway)
-"fz" = (
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/security)
-"fA" = (
-/obj/machinery/atmospherics/pipe/simple/visible/blue{
- dir = 6
- },
-/obj/machinery/meter,
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/security)
-"fB" = (
-/obj/machinery/atmospherics/portables_connector{
- dir = 8
- },
-/obj/effect/floor_decal/industrial/outline/red,
-/obj/machinery/portable_atmospherics/canister/air,
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/security)
-"fC" = (
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 6
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"fD" = (
-/obj/machinery/atmospherics/pipe/simple/visible/universal{
- dir = 8
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/security)
-"fE" = (
-/obj/machinery/meter,
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 4
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/security)
-"fF" = (
-/obj/machinery/atmospherics/binary/pump/on{
- dir = 8
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/security)
-"fG" = (
-/obj/machinery/atmospherics/pipe/manifold/visible/blue,
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/security)
-"fH" = (
-/obj/machinery/atmospherics/portables_connector{
- dir = 8
- },
-/obj/effect/floor_decal/industrial/outline,
-/obj/machinery/portable_atmospherics/canister/air,
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/security)
-"fI" = (
-/obj/machinery/atmospherics/unary/vent_scrubber/on,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"fJ" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/door/firedoor,
-/obj/machinery/door/airlock/maintenance_hatch{
- req_one_access = list()
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/walkway)
-"fK" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/bridge)
-"fL" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/door/firedoor,
-/obj/machinery/door/airlock/maintenance_hatch{
- req_one_access = list()
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/obj/item/tape/engineering,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/bridge)
-"fM" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/obj/structure/cable/cyan{
- d1 = 2;
- d2 = 8;
- icon_state = "2-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/bridge)
-"fN" = (
-/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
- dir = 1
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/bridge)
-"fO" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 10
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 9
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/bridge)
-"fP" = (
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/bridge)
-"fQ" = (
-/obj/machinery/power/apc{
- dir = 4;
- name = "east bump";
- pixel_x = 24
- },
-/obj/structure/cable/cyan{
- d2 = 8;
- icon_state = "0-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/bridge)
-"fR" = (
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/bridge)
-"fS" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 6
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 6
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/obj/item/tape/engineering,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"fT" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/door/firedoor,
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/obj/machinery/door/airlock/hatch{
- frequency = 12341;
- id_tag = "gutter vault";
- req_access = list(150)
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"fU" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/machinery/atmospherics/pipe/simple/hidden,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"fV" = (
-/obj/machinery/atmospherics/unary/vent_pump/on{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"fW" = (
-/obj/item/weapon/storage/toolbox/lunchbox/heart/filled,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"fX" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/structure/sign/securearea{
- desc = "A warning sign which reads 'EXTERNAL AIRLOCK'";
- icon_state = "space";
- layer = 4;
- name = "EXTERNAL AIRLOCK"
- },
-/obj/structure/window/reinforced{
- dir = 1
- },
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced{
- dir = 8
- },
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/security)
-"fY" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced{
- dir = 1
- },
-/obj/machinery/door/firedoor/glass,
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/security)
-"fZ" = (
-/obj/item/trash/cheesie,
-/obj/item/trash/liquidprotein,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"ga" = (
-/obj/effect/floor_decal/industrial/warning/corner{
- dir = 8
- },
-/obj/machinery/atmospherics/unary/vent_scrubber/on{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gb" = (
-/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gc" = (
-/obj/machinery/atmospherics/unary/vent_pump/on{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gd" = (
-/obj/structure/table/steel,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"ge" = (
-/obj/structure/bed/chair/office/dark{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gf" = (
-/obj/machinery/door/firedoor,
-/obj/machinery/door/airlock/maintenance_hatch{
- req_one_access = list(38)
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gg" = (
-/obj/structure/fence,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gh" = (
-/obj/machinery/door/airlock/glass_external,
-/obj/machinery/access_button{
- command = "cycle_exterior";
- frequency = 1999;
- master_tag = "westlock";
- name = "exterior access button";
- pixel_x = -5;
- pixel_y = -26
- },
-/obj/effect/map_helper/airlock/door/ext_door,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gi" = (
-/obj/machinery/atmospherics/unary/vent_pump/high_volume{
- dir = 4;
- frequency = 1999;
- id_tag = "westlock_pump"
- },
-/obj/machinery/light/small,
-/obj/machinery/embedded_controller/radio/airlock/docking_port{
- frequency = 1999;
- id_tag = "westlock";
- pixel_y = 28
- },
-/obj/machinery/airlock_sensor{
- frequency = 1999;
- id_tag = "westlock_sensor";
- pixel_y = -25
- },
-/obj/effect/map_helper/airlock/atmos/chamber_pump,
-/obj/effect/map_helper/airlock/sensor/chamber_sensor,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gj" = (
-/obj/machinery/door/airlock/glass_external,
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 4
- },
-/obj/effect/map_helper/airlock/door/int_door,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gk" = (
-/obj/effect/floor_decal/industrial/warning{
- dir = 8
- },
-/obj/machinery/access_button{
- command = "cycle_interior";
- frequency = 1999;
- master_tag = "westlock";
- name = "interior access button";
- pixel_x = -28;
- pixel_y = 26
- },
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gl" = (
-/obj/effect/floor_decal/sign/dock/two,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/atmospherics/pipe/manifold/hidden{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gm" = (
-/obj/structure/bed/chair/office/dark{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gn" = (
-/obj/structure/closet,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"go" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced,
-/obj/structure/window/reinforced{
- dir = 4
- },
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/commons)
-"gp" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced,
-/obj/machinery/door/firedoor/glass,
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/security)
-"gq" = (
-/obj/effect/floor_decal/industrial/warning/corner{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gr" = (
-/obj/structure/fence/door/locked{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gs" = (
-/obj/structure/bed,
-/obj/item/weapon/bedsheet/pirate,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"gt" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced{
- dir = 1
- },
-/obj/machinery/door/firedoor/glass,
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/docking)
-"gu" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/machinery/door/firedoor/glass,
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/docking)
-"gv" = (
-/obj/effect/floor_decal/industrial/warning/corner{
- dir = 8
- },
-/obj/machinery/atmospherics/unary/vent_scrubber/on{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"gw" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/obj/effect/decal/cleanable/blood/oil,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/vault)
-"gx" = (
-/obj/machinery/atmospherics/unary/vent_pump/on{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"gy" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 5
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 5
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gz" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gA" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/machinery/door/airlock/maintenance_hatch{
- req_one_access = list(38)
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gB" = (
-/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gC" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/turf/simulated/wall/r_wall,
-/area/tether_away/guttersite/security)
-"gD" = (
-/obj/structure/table/rack/shelf/steel,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/vault)
-"gE" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 10
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 10
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gF" = (
-/obj/structure/table/rack,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/vault)
-"gG" = (
-/obj/machinery/atmospherics/unary/vent_pump/high_volume{
- dir = 4;
- frequency = 1380;
- id_tag = "dock_d2a2_pump"
- },
-/obj/machinery/light/small,
-/obj/machinery/embedded_controller/radio/airlock/docking_port{
- frequency = 1380;
- id_tag = "guttersite_sshuttle";
- pixel_y = 28
- },
-/obj/machinery/airlock_sensor{
- frequency = 1380;
- id_tag = "dock_d2a2_sensor";
- pixel_y = -25
- },
-/obj/effect/map_helper/airlock/atmos/chamber_pump,
-/obj/effect/map_helper/airlock/sensor/chamber_sensor,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"gH" = (
-/obj/machinery/door/airlock/glass_external{
- req_one_access = list()
- },
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 4
- },
-/obj/effect/map_helper/airlock/door/int_door,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"gI" = (
-/obj/structure/closet{
- name = "mechanical equipment"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"gJ" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/door/firedoor,
-/obj/machinery/door/airlock/vault/bolted,
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/obj/item/tape/engineering,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/vault)
-"gK" = (
-/obj/machinery/alarm{
- dir = 4;
- pixel_x = -22
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gL" = (
-/obj/machinery/firealarm{
- dir = 1;
- pixel_y = -25
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gM" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gN" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gO" = (
-/obj/structure/fence/end{
- dir = 4
- },
-/obj/structure/fence,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gP" = (
-/obj/structure/fence{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gQ" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced{
- dir = 1
- },
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced{
- dir = 8;
- health = 1e+006
- },
-/obj/structure/window/reinforced{
- dir = 8;
- health = 1e+006
- },
-/obj/structure/window/reinforced,
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/docking)
-"gR" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced,
-/obj/machinery/door/firedoor/glass,
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/docking)
-"gS" = (
-/obj/effect/floor_decal/industrial/warning/corner{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"gT" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/structure/cable/cyan{
- d1 = 2;
- d2 = 8;
- icon_state = "2-8"
- },
-/obj/item/tape/engineering,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/vault)
-"gU" = (
-/obj/structure/barricade,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gV" = (
-/obj/machinery/alarm{
- dir = 4;
- pixel_x = -22
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 4;
- icon_state = "1-4"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/bridge)
-"gW" = (
-/obj/structure/fence/door/opened{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gX" = (
-/obj/machinery/light,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gY" = (
-/obj/machinery/light{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"gZ" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 5
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 9
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"ha" = (
-/obj/machinery/atmospherics/unary/vent_scrubber/on{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"hb" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 5
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 5
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/bridge)
-"hc" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/light{
- dir = 1
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/bridge)
-"hd" = (
-/obj/machinery/fitness/punching_bag/clown,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"he" = (
-/obj/machinery/atmospherics/unary/vent_scrubber/on{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"hf" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 5
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 9
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"hg" = (
-/obj/machinery/light{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"hh" = (
-/obj/machinery/atmospherics/pipe/simple/hidden,
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"hi" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/structure/bed/chair/office/dark{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"hj" = (
-/mob/living/simple_mob/mobs_monsters/clowns/big/cluwne,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"hk" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/door/firedoor,
-/obj/machinery/door/airlock/maintenance_hatch{
- req_one_access = list()
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/obj/item/tape/engineering,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"hl" = (
-/obj/structure/fence/door/locked,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"hm" = (
-/obj/structure/fence/end{
- dir = 8
- },
-/obj/structure/fence/end{
- dir = 4
- },
-/obj/structure/fence,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"hn" = (
-/obj/structure/fence/end{
- dir = 8
- },
-/obj/structure/fence,
-/obj/structure/fence/end{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"ho" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced{
- dir = 8;
- health = 1e+006
- },
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/docking)
-"hp" = (
-/obj/structure/grille,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced{
- dir = 8
- },
-/obj/structure/window/reinforced{
- dir = 1
- },
-/obj/structure/window/reinforced{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"hq" = (
-/obj/machinery/alarm{
- dir = 4;
- pixel_x = -22
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"hr" = (
-/obj/machinery/atmospherics/unary/vent_pump/on{
- dir = 1
- },
-/obj/structure/table/rack,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/vault)
-"hs" = (
-/obj/structure/grille,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced{
- dir = 8
- },
-/obj/structure/sign/securearea{
- desc = "A warning sign which reads 'EXTERNAL AIRLOCK'";
- icon_state = "space";
- layer = 4;
- name = "EXTERNAL AIRLOCK"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"ht" = (
-/obj/machinery/atmospherics/pipe/simple/visible/blue{
- dir = 6
- },
-/obj/machinery/meter,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"hu" = (
-/obj/machinery/atmospherics/portables_connector{
- dir = 8
- },
-/obj/effect/floor_decal/industrial/outline/red,
-/obj/machinery/portable_atmospherics/canister/air,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"hv" = (
-/obj/machinery/door/airlock/glass_external{
- req_one_access = list(15)
- },
-/obj/effect/map_helper/airlock/door/ext_door,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"hw" = (
-/obj/machinery/light{
- dir = 4
- },
-/obj/structure/table/rack,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/vault)
-"hx" = (
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 6
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"hy" = (
-/obj/machinery/atmospherics/pipe/simple/visible/universal{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"hz" = (
-/obj/machinery/meter,
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"hA" = (
-/obj/machinery/atmospherics/binary/pump/on{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"hB" = (
-/obj/machinery/atmospherics/pipe/manifold/visible/blue,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"hC" = (
-/obj/machinery/atmospherics/portables_connector{
- dir = 8
- },
-/obj/effect/floor_decal/industrial/outline,
-/obj/machinery/portable_atmospherics/canister/air,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"hD" = (
-/obj/structure/bed/chair/office/dark{
- dir = 1
- },
-/mob/living/simple_mob/vore/wolfgirl,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"hF" = (
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 5
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"hG" = (
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"hH" = (
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 4
- },
-/obj/machinery/light{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"hI" = (
-/obj/machinery/atmospherics/pipe/manifold4w/hidden,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"hJ" = (
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"hK" = (
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 8
- },
-/obj/machinery/light{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"hL" = (
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 8
- },
-/obj/machinery/atmospherics/unary/vent_pump/on,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"hM" = (
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 9
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"hN" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 5
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 5
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"hO" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"hP" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 10
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 9
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"hQ" = (
-/obj/machinery/firealarm{
- dir = 1;
- pixel_y = -25
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"hR" = (
-/obj/machinery/atmospherics/unary/vent_scrubber/on{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"hS" = (
-/obj/effect/shuttle_landmark/premade/guttersite/sshuttle,
-/turf/space,
-/area/space)
-"hT" = (
-/obj/effect/shuttle_landmark/premade/guttersite/lshuttle,
-/turf/space,
-/area/space)
-"hU" = (
-/obj/structure/table/rack/steel,
-/obj/random/powercell,
-/obj/random/multiple/voidsuit,
-/obj/item/weapon/tank/oxygen,
-/obj/random/tool,
-/obj/random/drinkbottle,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/unexplored)
-"hV" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"hW" = (
-/obj/machinery/firealarm{
- dir = 1;
- pixel_y = -25
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"hX" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/structure/window/basic{
- dir = 8
- },
-/obj/structure/window/basic,
-/obj/structure/table/darkglass,
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/white/monofloor,
-/area/tether_away/guttersite/office)
-"hY" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/structure/table/darkglass,
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/white/monofloor,
-/area/tether_away/guttersite/office)
-"hZ" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced,
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/commons)
-"ia" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced{
- dir = 8
- },
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/medbay)
-"ib" = (
-/obj/machinery/vending/cola/soft,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/walkway)
-"ic" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced{
- dir = 4
- },
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/medbay)
-"id" = (
-/obj/effect/floor_decal/industrial/warning{
- dir = 8
- },
-/obj/machinery/access_button{
- command = "cycle_interior";
- frequency = 1380;
- master_tag = "guttersite_sshuttle";
- name = "interior access button";
- pixel_x = -28;
- pixel_y = 26
- },
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"ie" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced{
- dir = 4
- },
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/walkway)
-"if" = (
-/obj/random/mob/mouse,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"ig" = (
-/mob/living/simple_mob/vore/aggressive/rat/phoron,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"ih" = (
-/obj/machinery/computer/arcade/battle,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/bridge)
-"ii" = (
-/obj/effect/overmap/visitable/sector/guttersite,
-/turf/space,
-/area/tether_away/guttersite/unexplored)
-"ij" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/structure/table/darkglass,
-/obj/item/weapon/pen/blue,
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/white/monofloor,
-/area/tether_away/guttersite/office)
-"ik" = (
-/turf/simulated/floor/tiled/eris/white/techfloor_grid,
-/area/tether_away/guttersite/office)
-"il" = (
-/turf/simulated/floor/tiled/eris/white/panels,
-/area/tether_away/guttersite/office)
-"im" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/white/panels,
-/area/tether_away/guttersite/office)
-"in" = (
-/obj/machinery/atmospherics/pipe/manifold/hidden/supply,
-/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers,
-/obj/structure/table/darkglass,
-/obj/item/weapon/paper_bin,
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/white/monofloor,
-/area/tether_away/guttersite/office)
-"io" = (
-/obj/machinery/door/window/westleft,
-/turf/simulated/floor/tiled/eris/white/monofloor,
-/area/tether_away/guttersite/office)
-"ip" = (
-/obj/machinery/vending/nifsoft_shop,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"iq" = (
-/obj/structure/bed/chair/bay/comfy/black,
-/turf/simulated/floor/tiled/eris/white/panels,
-/area/tether_away/guttersite/office)
-"ir" = (
-/obj/item/weapon/card/id/assistant,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"is" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/obj/structure/cable/cyan{
- icon_state = "1-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"it" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/structure/cable/cyan{
- icon_state = "1-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"iu" = (
-/obj/machinery/door/window/westright,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"iv" = (
-/obj/structure/window/basic{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"iw" = (
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/obj/item/tape/engineering,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/vault)
-"ix" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden,
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"iy" = (
-/obj/structure/window/basic{
- dir = 8
- },
-/obj/machinery/papershredder,
-/turf/simulated/floor/tiled/eris/white/monofloor,
-/area/tether_away/guttersite/office)
-"iz" = (
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 4;
- icon_state = "1-4"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/vault)
-"iA" = (
-/obj/structure/table/rack/shelf/steel,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"iB" = (
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/vault)
-"iC" = (
-/obj/machinery/vending/sovietsoda,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"iD" = (
-/obj/machinery/vending/snack,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"iE" = (
-/obj/machinery/vending/cigarette,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"iF" = (
-/obj/structure/bed/chair/bay/comfy/black{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"iG" = (
-/obj/structure/table/darkglass,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"iH" = (
-/obj/structure/bed/chair/bay/comfy/black{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"iI" = (
-/obj/machinery/firealarm{
- dir = 1;
- pixel_y = -25
- },
-/obj/machinery/light{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/vault)
-"iJ" = (
-/mob/living/simple_mob/vore/aggressive/mimic,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"iK" = (
-/obj/structure/table/rack/steel,
-/obj/item/weapon/implant/sizecontrol,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"iL" = (
-/obj/structure/grille,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced/full,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"iM" = (
-/obj/machinery/power/apc{
- dir = 4;
- name = "east bump";
- pixel_x = 24
- },
-/obj/random/cutout,
-/obj/structure/cable/cyan{
- d2 = 8;
- icon_state = "0-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/vault)
-"iO" = (
-/obj/structure/grille,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"iP" = (
-/obj/structure/grille,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"iQ" = (
-/obj/machinery/embedded_controller/radio/airlock/docking_port{
- frequency = 1276;
- id_tag = "guttersite_lshuttle";
- name = "Airlock controller";
- pixel_x = -25
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"iR" = (
-/mob/living/simple_mob/mechanical/hivebot/ranged_damage/basic,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"iS" = (
-/mob/living/simple_mob/mechanical/hivebot/tank/meatshield,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"iU" = (
-/obj/machinery/light{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/vault)
-"iV" = (
-/obj/item/clothing/under/assistantformal,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"iW" = (
-/obj/item/weapon/reagent_containers/food/snacks/clownburger,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"iX" = (
-/obj/machinery/computer/arcade/orion_trail,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/bridge)
-"iY" = (
-/obj/machinery/vending/snack,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/bridge)
-"iZ" = (
-/obj/machinery/light,
-/obj/machinery/vending/fitness,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/walkway)
-"ja" = (
-/obj/structure/bed/chair/bay/comfy/black{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/bridge)
-"jb" = (
-/obj/structure/table/darkglass,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/bridge)
-"jc" = (
-/obj/structure/bed/chair/bay/comfy/black{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/bridge)
-"jd" = (
-/obj/structure/table/rack/steel,
-/obj/random/tetheraid,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"jg" = (
-/obj/item/trash/liquidfood,
-/obj/item/trash/liquidprotein,
-/obj/item/trash/cheesie,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"jh" = (
-/mob/living/simple_mob/mobs_monsters/clowns/big/sentinel,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"ji" = (
-/obj/machinery/meter,
-/obj/machinery/atmospherics/pipe/simple/visible/red{
- dir = 10
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"jj" = (
-/obj/random/curseditem,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"jk" = (
-/obj/item/weapon/reagent_containers/food/snacks/clownstears,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"jl" = (
-/obj/structure/loot_pile/surface/bones,
-/obj/item/weapon/reagent_containers/food/drinks/bottle/bottleofnothing,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"jm" = (
-/obj/item/weapon/storage/backpack/clown,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"jn" = (
-/obj/item/weapon/stamp/clown,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"jo" = (
-/obj/structure/table/rack/shelf/steel,
-bj/item/weapon/reagent_containers/food/snacks/donut/plain/jelly/cherryjelly,
-/obj/item/weapon/reagent_containers/food/snacks/donut/jelly,
-/obj/item/weapon/reagent_containers/food/snacks/donut/normal,
-/obj/item/weapon/reagent_containers/food/snacks/donut/poisonberry,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"jp" = (
-/obj/structure/table/rack/shelf/steel,
-bj/item/weapon/reagent_containers/food/snacks/donut/plain/jelly/cherryjelly,
-/obj/item/weapon/reagent_containers/food/snacks/donut/jelly,
-/obj/item/weapon/reagent_containers/food/snacks/donut/normal,
-/obj/item/weapon/reagent_containers/food/snacks/donut/slimejelly,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"jq" = (
-/obj/structure/table/rack/shelf/steel,
-/obj/item/weapon/reagent_containers/food/snacks/donut/chaos,
-bj/item/weapon/reagent_containers/food/snacks/donut/plain/jelly/cherryjelly,
-bj/item/weapon/reagent_containers/food/snacks/donut/plain/jelly/cherryjelly,
-/obj/item/weapon/reagent_containers/food/snacks/donut/jelly,
-/obj/item/weapon/reagent_containers/food/snacks/donut/normal,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"jv" = (
-/obj/structure/table/darkglass,
-/obj/machinery/chemical_dispenser/biochemistry/full,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"jw" = (
-/obj/item/weapon/reagent_containers/spray/waterflower,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"jx" = (
-/mob/living/simple_mob/vore/wolfgirl,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"jy" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/obj/machinery/door/firedoor,
-/obj/machinery/door/airlock/maintenance_hatch{
- req_one_access = list(38)
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"jz" = (
-/mob/living/simple_mob/vore/wolfgirl{
- name = "Tricky Dixie"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/unexplored)
-"jA" = (
-/obj/structure/closet/cabinet,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"jB" = (
-/obj/machinery/washing_machine,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"jC" = (
-/obj/machinery/door/airlock/maintenance_hatch{
- req_one_access = list()
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"jD" = (
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"jE" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/obj/machinery/door/firedoor,
-/obj/machinery/door/airlock/maintenance_hatch{
- req_one_access = list()
- },
-/obj/machinery/atmospherics/pipe/simple/hidden,
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/obj/item/tape/engineering,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"jF" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden,
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"jG" = (
-/obj/machinery/meter,
-/obj/machinery/atmospherics/pipe/simple/visible/blue,
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"jH" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"jI" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"jJ" = (
-/obj/machinery/power/apc{
- cell_type = /obj/item/weapon/cell/super;
- dir = 8;
- name = "west bump";
- pixel_x = -24
- },
-/obj/structure/cable/cyan{
- d2 = 4;
- icon_state = "0-4"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"jK" = (
-/obj/machinery/atmospherics/pipe/simple/hidden,
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 6
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 6
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"jL" = (
-/obj/structure/bed/padded,
-/obj/item/weapon/bedsheet/ian,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"jM" = (
-/obj/structure/bed/padded,
-/obj/item/weapon/bedsheet/captain,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"jN" = (
-/obj/structure/bed/padded,
-/obj/item/weapon/bedsheet/mime,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"jO" = (
-/obj/structure/bed/padded,
-/obj/item/weapon/bedsheet/hop,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"jP" = (
-/obj/structure/bed/padded,
-/obj/item/weapon/bedsheet/cosmos,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"jQ" = (
-/obj/structure/bed/padded,
-/obj/item/weapon/bedsheet/hos,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"jR" = (
-/obj/structure/bed/padded,
-/obj/item/weapon/bedsheet/pirate,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"jS" = (
-/obj/structure/bed/padded,
-/obj/item/weapon/bedsheet/ce,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"jT" = (
-/obj/structure/window/basic,
-/obj/structure/bed/padded,
-/obj/item/weapon/bedsheet/clown,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"jU" = (
-/obj/structure/window/basic,
-/obj/structure/bed/padded,
-/obj/item/weapon/bedsheet/medical,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"jV" = (
-/obj/structure/window/basic,
-/obj/structure/bed/padded,
-/obj/item/weapon/bedsheet/rd,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"jW" = (
-/obj/structure/window/basic,
-/obj/structure/bed/padded,
-/obj/item/weapon/bedsheet/rainbow,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"jX" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"jY" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/wall/r_wall,
-/area/tether_away/guttersite/security)
-"jZ" = (
-/obj/machinery/meter,
-/obj/machinery/atmospherics/pipe/simple/visible/red{
- dir = 6
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"ka" = (
-/obj/structure/bed/chair/bay/comfy/black{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"kb" = (
-/obj/structure/bed/chair/bay/comfy/black{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"kc" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/structure/table/steel,
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"kd" = (
-/obj/machinery/light,
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"ke" = (
-/obj/machinery/atmospherics/unary/vent_scrubber/on{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"kf" = (
-/obj/item/device/flashlight/lamp/green,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"kg" = (
-/obj/machinery/atmospherics/unary/vent_pump/on{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"kh" = (
-/obj/item/weapon/book{
- author = "Urist McHopefulsoul";
- desc = "It contains fourty blank pages followed by the entire screenplay of a movie called 'Requiem for a Dream'";
- name = "A Comprehensive Guide to Assisting"
- },
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"ki" = (
-/obj/structure/reagent_dispensers/water_cooler/full{
- icon_state = "water_cooler-vend"
- },
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"kj" = (
-/obj/machinery/firealarm{
- dir = 1;
- pixel_y = -25
- },
-/obj/structure/table/darkglass,
-/obj/machinery/microwave,
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"kk" = (
-/obj/structure/table/darkglass,
-/obj/item/weapon/storage/box/cups,
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"kl" = (
-/obj/machinery/light,
-/obj/structure/table/darkglass,
-/obj/item/weapon/storage/box/condimentbottles,
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"km" = (
-/obj/structure/table/darkglass,
-/obj/item/weapon/storage/box/donkpockets,
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"kn" = (
-/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers,
-/obj/structure/table/steel,
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"ko" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/structure/table/steel,
-/obj/item/device/flashlight/lamp,
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"kp" = (
-/turf/simulated/floor/tiled/eris/dark/techfloor_grid,
-/area/tether_away/guttersite/commons)
-"kq" = (
-/obj/structure/sink{
- dir = 8;
- pixel_x = -12;
- pixel_y = 8
- },
-/turf/simulated/floor/tiled/eris/dark/techfloor_grid,
-/area/tether_away/guttersite/commons)
-"kr" = (
-/obj/structure/toilet{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/techfloor_grid,
-/area/tether_away/guttersite/commons)
-"ks" = (
-/obj/machinery/holoplant,
-/obj/machinery/holoplant{
- icon_state = "plant-09"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"kt" = (
-/obj/machinery/holoplant,
-/obj/machinery/holoplant{
- icon_state = "plant-10"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"ku" = (
-/obj/machinery/holoplant,
-/obj/machinery/holoplant{
- icon_state = "plant-15"
- },
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"kv" = (
-/obj/structure/window/basic,
-/obj/machinery/holoplant,
-/obj/machinery/holoplant{
- icon_state = "plant-1"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"kw" = (
-/obj/machinery/holoplant,
-/obj/machinery/holoplant{
- icon_state = "plant-13"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/bridge)
-"kx" = (
-/obj/machinery/holoplant,
-/obj/machinery/holoplant{
- icon_state = "plant-15"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"ky" = (
-/obj/machinery/vending/loadout/overwear,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"kz" = (
-/obj/machinery/vending/loadout/clothing,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"kA" = (
-/obj/structure/table/darkglass,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"kB" = (
-/obj/structure/bed/chair/bay/comfy/black{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"kC" = (
-/obj/structure/window/basic{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"kD" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/structure/table/steel,
-/obj/item/weapon/pen/fountain,
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"kE" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/structure/table/steel,
-/obj/item/weapon/paper_bin,
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"kF" = (
-/obj/machinery/atmospherics/unary/vent_scrubber/on,
-/obj/structure/table/darkglass,
-/obj/structure/window/basic{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"kG" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 9
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 9
- },
-/obj/structure/table/steel,
-/obj/structure/cable/cyan{
- icon_state = "1-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"kH" = (
-/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden,
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"kI" = (
-/obj/machinery/vending/medical,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"kJ" = (
-/obj/effect/floor_decal/sign/dock/two,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/atmospherics/pipe/manifold/hidden{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/manifold/hidden{
- dir = 4
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"kK" = (
-/obj/structure/cable{
- d2 = 4;
- icon_state = "0-4"
- },
-/obj/machinery/power/apc{
- cell_type = /obj/item/weapon/cell/super;
- dir = 8;
- name = "west bump";
- pixel_x = -24
- },
-/turf/simulated/floor/airless,
-/area/tether_away/guttersite/teleporter)
-"kL" = (
-/obj/machinery/atmospherics/unary/vent_pump/on{
- dir = 1
- },
-/obj/structure/table/darkglass,
-/obj/structure/window/basic,
-/obj/structure/window/basic{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"kM" = (
-/obj/structure/table/darkglass,
-/obj/structure/window/basic,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"kN" = (
-/obj/structure/table/darkglass,
-/obj/structure/window/basic{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"kO" = (
-/obj/structure/window/basic{
- dir = 1
- },
-/obj/structure/window/basic{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"kP" = (
-/obj/structure/window/basic{
- dir = 1
- },
-/obj/structure/medical_stand,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"kQ" = (
-/obj/structure/medical_stand,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"kR" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/machinery/atmospherics/pipe/simple/hidden,
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"kS" = (
-/obj/machinery/light{
- dir = 4
- },
-/obj/structure/closet/crate/medical/blood,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"kT" = (
-/obj/structure/window/basic{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"kU" = (
-/obj/machinery/atmospherics/pipe/simple/hidden,
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"kV" = (
-/obj/machinery/atmospherics/pipe/simple/hidden,
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 4;
- icon_state = "1-4"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"kW" = (
-/obj/machinery/light,
-/obj/structure/window/basic{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"kX" = (
-/obj/structure/sign/nosmoking_1,
-/turf/simulated/wall/r_wall,
-/area/tether_away/guttersite/medbay)
-"kY" = (
-/obj/structure/table/darkglass,
-/obj/item/weapon/storage/box/masks,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"kZ" = (
-/obj/structure/table/darkglass,
-/obj/item/weapon/surgical/surgicaldrill,
-/obj/item/weapon/surgical/scalpel,
-/obj/item/weapon/surgical/circular_saw,
-/obj/item/weapon/surgical/cautery,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"la" = (
-/obj/structure/sink{
- dir = 8;
- pixel_x = -12;
- pixel_y = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"lb" = (
-/obj/machinery/light{
- dir = 1
- },
-/obj/machinery/vending/engivend,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"lc" = (
-/obj/machinery/vending/engineering,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"ld" = (
-/obj/machinery/vending/tool,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"le" = (
-/obj/structure/closet/toolcloset,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"lf" = (
-/obj/structure/window/basic{
- dir = 4
- },
-/obj/structure/closet/toolcloset,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"lg" = (
-/obj/structure/window/basic{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"lh" = (
-/obj/structure/window/basic{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"li" = (
-/obj/item/toy/figure/assistant,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"lj" = (
-/obj/structure/closet/walllocker/emerglocker/east,
-/obj/structure/closet/firecloset/full,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"lk" = (
-/obj/structure/closet/crate/engineering/electrical,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"ll" = (
-/obj/structure/window/basic,
-/obj/structure/closet/crate/engineering/electrical,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"lm" = (
-/obj/structure/window/basic,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"ln" = (
-/obj/structure/table/darkglass,
-/obj/item/weapon/storage/toolbox/electrical,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"lo" = (
-/obj/machinery/light,
-/obj/structure/window/basic{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"lp" = (
-/obj/structure/closet/crate/engineering,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"lq" = (
-/mob/living/bot/mulebot,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"lr" = (
-/obj/structure/closet/crate/solar,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"ls" = (
-/obj/structure/closet/crate/science,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"lt" = (
-/obj/structure/closet/crate/rcd,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"lu" = (
-/obj/structure/closet/firecloset/full,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"lv" = (
-/obj/structure/closet/firecloset/full,
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"lw" = (
-/obj/structure/closet/firecloset/full,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/bridge)
-"lx" = (
-/obj/machinery/light{
- dir = 4
- },
-/obj/structure/closet/firecloset/full,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"ly" = (
-/obj/structure/closet/firecloset/full,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"lz" = (
-/obj/structure/closet/firecloset/full,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"lA" = (
-/obj/structure/window/basic{
- dir = 4
- },
-/obj/structure/window/basic,
-/obj/structure/bed/chair/bay/comfy/black{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"lB" = (
-/obj/structure/table/darkglass,
-/obj/item/weapon/storage/toolbox/mechanical,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/storage)
-"lD" = (
-/obj/machinery/atmospherics/unary/vent_scrubber/on,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/vault)
-"lE" = (
-/obj/machinery/atmospherics/pipe/manifold/visible/red{
- dir = 4
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"lF" = (
-/obj/machinery/light,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"lG" = (
-/obj/machinery/light{
- dir = 1
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/security)
-"lH" = (
-/obj/machinery/door/firedoor,
-/obj/machinery/door/airlock/maintenance_hatch{
- req_one_access = list()
- },
-/obj/item/tape/engineering,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"lI" = (
-/obj/machinery/atmospherics/pipe/manifold/visible/blue{
- dir = 8
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"lJ" = (
-/obj/item/weapon/storage/toolbox/electrical{
- pixel_x = 1;
- pixel_y = -1
- },
-/turf/simulated/floor/airless,
-/area/tether_away/guttersite/teleporter)
-"lK" = (
-/obj/machinery/power/apc{
- dir = 4;
- name = "east bump";
- pixel_x = 24
- },
-/obj/structure/cable/cyan{
- d2 = 8;
- icon_state = "0-8"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"lL" = (
-/obj/structure/loot_pile/surface/bones,
-/obj/random/weapon/guarenteed,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"lM" = (
-/obj/item/toy/plushie/carp,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"lN" = (
-/obj/structure/loot_pile/surface/bones,
-/turf/simulated/mineral/floor/vacuum,
-/area/space)
-"lO" = (
-/obj/structure/bonfire,
-/turf/simulated/mineral/floor/vacuum,
-/area/space)
-"lP" = (
-/obj/item/tape/engineering,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"lQ" = (
-/obj/item/weapon/card/emag_broken,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"lR" = (
-/obj/item/toy/plushie/carp,
-/turf/simulated/mineral/floor/vacuum,
-/area/space)
-"lS" = (
-/obj/structure/inflatable/door,
-/turf/simulated/mineral/floor/vacuum,
-/area/space)
-"lT" = (
-/obj/item/pizzavoucher,
-/turf/simulated/mineral/floor/vacuum,
-/area/space)
-"lU" = (
-/mob/living/simple_mob/animal/space/carp/large/huge,
-/turf/simulated/mineral/floor/vacuum,
-/area/space)
-"lV" = (
-/obj/item/clothing/suit/storage/hooded/carp_costume,
-/turf/simulated/mineral/floor/vacuum,
-/area/space)
-"lW" = (
-/obj/item/clothing/suit/storage/hooded/techpriest,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"lX" = (
-/obj/machinery/meter,
-/obj/machinery/atmospherics/pipe/simple/visible/blue{
- dir = 10
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"lY" = (
-/obj/machinery/light{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"lZ" = (
-/obj/machinery/light,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"ma" = (
-/obj/machinery/atmospherics/unary/vent_scrubber/on{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"mb" = (
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 4
- },
-/obj/machinery/atmospherics/unary/vent_pump/on,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"mc" = (
-/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/manifold/hidden/supply,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"md" = (
-/obj/structure/outcrop/phoron,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/teleporter)
-"me" = (
-/obj/structure/cable,
-/obj/machinery/power/port_gen/pacman,
-/turf/simulated/floor/airless,
-/area/tether_away/guttersite/teleporter)
-"mf" = (
-/obj/item/stack/material/phoron,
-/obj/item/stack/material/phoron,
-/turf/simulated/floor/airless,
-/area/tether_away/guttersite/teleporter)
-"mg" = (
-/obj/machinery/door/airlock/glass_external{
- req_one_access = list(15)
- },
-/obj/effect/map_helper/airlock/door/int_door,
-/obj/machinery/atmospherics/pipe/simple/hidden,
-/obj/item/tape/engineering,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"mh" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced{
- dir = 8;
- health = 1e+006
- },
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/walkway)
-"mi" = (
-/obj/machinery/atmospherics/binary/pump/on,
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"mj" = (
-/obj/machinery/atmospherics/binary/pump/on{
- dir = 1;
- target_pressure = 200
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"mk" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced{
- dir = 1
- },
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/office)
-"ml" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced{
- dir = 8
- },
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/office)
-"mm" = (
-/obj/structure/table/rack,
-/obj/item/weapon/tank/oxygen,
-/obj/random/multiple/voidsuit,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"mn" = (
-/obj/machinery/access_button{
- command = "cycle_interior";
- frequency = 448;
- master_tag = "guttersite_northlock";
- name = "interior access button";
- pixel_x = -28;
- pixel_y = 26
- },
-/obj/machinery/atmospherics/pipe/simple/hidden,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"mo" = (
-/obj/machinery/atmospherics/portables_connector{
- dir = 1
- },
-/obj/effect/floor_decal/industrial/outline/yellow,
-/obj/machinery/portable_atmospherics/canister/empty,
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"mp" = (
-/obj/machinery/atmospherics/portables_connector{
- dir = 1
- },
-/obj/effect/floor_decal/industrial/outline/blue,
-/obj/machinery/portable_atmospherics/canister/empty,
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"mq" = (
-/obj/machinery/atmospherics/portables_connector{
- dir = 1
- },
-/obj/effect/floor_decal/industrial/outline,
-/obj/machinery/portable_atmospherics/canister/air,
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"mr" = (
-/obj/machinery/atmospherics/portables_connector{
- dir = 1
- },
-/obj/effect/floor_decal/industrial/outline/red,
-/obj/machinery/portable_atmospherics/canister/air,
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"ms" = (
-/obj/structure/table/steel,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/atmos)
-"mt" = (
-/obj/machinery/firealarm{
- dir = 1;
- pixel_y = -25
- },
-/turf/simulated/floor/plating/eris/under,
-/area/tether_away/guttersite/atmos)
-"mu" = (
-/obj/structure/window/basic{
- dir = 4
- },
-/obj/structure/table/darkglass,
-/turf/simulated/floor/tiled/eris/white/monofloor,
-/area/tether_away/guttersite/office)
-"mv" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced{
- dir = 1
- },
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/bridge)
-"mw" = (
-/obj/structure/table/darkglass,
-/obj/item/device/flashlight/lamp/green,
-/turf/simulated/floor/tiled/eris/white/monofloor,
-/area/tether_away/guttersite/office)
-"mx" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced,
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/bridge)
-"my" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced{
- dir = 8;
- health = 1e+006
- },
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/docking)
-"mz" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced{
- dir = 4
- },
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/docking)
-"mA" = (
-/obj/structure/grille,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced{
- dir = 4
- },
-/obj/structure/window/reinforced{
- dir = 1
- },
-/obj/structure/window/reinforced{
- dir = 8;
- health = 1e+006
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"mB" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced{
- dir = 1
- },
-/obj/structure/window/reinforced{
- dir = 8
- },
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/docking)
-"mC" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced{
- dir = 1
- },
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/docking)
-"mD" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced{
- dir = 4
- },
-/obj/structure/window/reinforced{
- dir = 1
- },
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/docking)
-"mE" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced{
- dir = 8
- },
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/docking)
-"mF" = (
-/obj/structure/window/reinforced{
- dir = 1
- },
-/turf/simulated/wall/r_wall,
-/area/tether_away/guttersite/docking)
-"mG" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced,
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/docking)
-"mH" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced{
- dir = 4
- },
-/obj/structure/window/reinforced,
-/turf/simulated/floor/plating,
-/area/tether_away/guttersite/docking)
-"mI" = (
-/obj/machinery/atmospherics/unary/vent_pump/high_volume{
- dir = 4;
- frequency = 1276;
- id_tag = "guttersite_lshuttle_pump"
- },
-/obj/machinery/airlock_sensor{
- frequency = 1276;
- id_tag = "guttersite_lshuttle_sensor";
- pixel_y = -25
- },
-/obj/effect/map_helper/airlock/sensor/chamber_sensor,
-/obj/effect/map_helper/airlock/atmos/chamber_pump,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"mJ" = (
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 10
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"mK" = (
-/obj/machinery/door/airlock/glass_external{
- req_one_access = list(15)
- },
-/obj/effect/map_helper/airlock/door/int_door,
-/obj/machinery/atmospherics/pipe/simple/hidden,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"mL" = (
-/obj/structure/table/rack,
-/obj/item/weapon/tank/oxygen,
-/obj/random/multiple/voidsuit,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"mM" = (
-/obj/structure/table/darkglass,
-/obj/item/weapon/pen/blue,
-/turf/simulated/floor/tiled/eris/white/monofloor,
-/area/tether_away/guttersite/office)
-"mN" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/bridge)
-"mO" = (
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 6
- },
-/obj/structure/table/darkglass,
-/obj/item/weapon/paper_bin,
-/turf/simulated/floor/tiled/eris/white/monofloor,
-/area/tether_away/guttersite/office)
-"mP" = (
-/obj/machinery/access_button{
- command = "cycle_interior";
- frequency = 1276;
- master_tag = "guttersite_lshuttle";
- name = "interior access button";
- pixel_x = -28;
- pixel_y = 26
- },
-/obj/machinery/atmospherics/pipe/simple/hidden,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"mQ" = (
-/obj/structure/grille,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced{
- dir = 4
- },
-/obj/structure/window/reinforced{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"mR" = (
-/obj/machinery/door/airlock/glass_external{
- req_one_access = list()
- },
-/obj/effect/map_helper/airlock/door/ext_door,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"mS" = (
-/obj/structure/flora/pumpkin/carved/owo,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"mT" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 10
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 9
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/vault)
-"mU" = (
-/turf/simulated/floor/carpet/gaycarpet,
-/area/tether_away/guttersite/unexplored)
-"mW" = (
-/obj/item/weapon/reagent_containers/food/drinks/cans/cola,
-/turf/simulated/floor/carpet/gaycarpet,
-/area/tether_away/guttersite/unexplored)
-"mX" = (
-/obj/item/weapon/gun/projectile/shotgun/doublebarrel/sawn,
-/turf/simulated/floor/carpet/gaycarpet,
-/area/tether_away/guttersite/unexplored)
-"mY" = (
-/obj/item/weapon/material/twohanded/baseballbat/metal,
-/turf/simulated/floor/carpet/gaycarpet,
-/area/tether_away/guttersite/unexplored)
-"mZ" = (
-/obj/item/weapon/light/bulb,
-/turf/simulated/floor/carpet/gaycarpet,
-/area/tether_away/guttersite/unexplored)
-"na" = (
-/obj/item/clothing/mask/gas/wwii,
-/turf/simulated/floor/carpet/gaycarpet,
-/area/tether_away/guttersite/unexplored)
-"nb" = (
-/obj/machinery/floodlight,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"ne" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 9
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 9
- },
-/obj/item/tape/engineering,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"nf" = (
-/obj/structure/table/rack,
-/obj/random/janusmodule,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/vault)
-"nh" = (
-/obj/item/mecha_parts/mecha_equipment/tool/drill,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"ni" = (
-/obj/structure/loot_pile/mecha/ripley,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"nj" = (
-/obj/structure/closet/secure_closet/freezer/fridge,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"nk" = (
-/obj/item/clothing/head/helmet/space/syndicate/black,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"nm" = (
-/obj/item/clothing/suit/space/syndicate/black,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"nn" = (
-/obj/item/weapon/tank/air,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"np" = (
-/obj/structure/trash_pile,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"nq" = (
-/obj/item/trash/liquidprotein,
-/obj/item/trash/cheesie,
-/obj/item/trash/candy,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"nr" = (
-/obj/item/trash/liquidfood,
-/obj/item/trash/liquidprotein,
-/obj/item/trash/cheesie,
-/obj/item/trash/candy,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"ns" = (
-/obj/item/trash/liquidprotein,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"nt" = (
-/obj/structure/signpost,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"nu" = (
-/obj/random/outcrop,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"nv" = (
-/mob/living/simple_mob/mechanical/hivebot/tank/armored,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"nw" = (
-/obj/machinery/light{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"nx" = (
-/obj/machinery/atmospherics/unary/vent_pump/on{
- dir = 4
- },
-/obj/machinery/light{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/security)
-"ny" = (
-/mob/living/simple_mob/vore/catgirl{
- name = "Blaire"
- },
-/turf/simulated/floor/tiled/eris/steel/bar_light,
-/area/tether_away/guttersite/commons)
-"nz" = (
-/mob/living/simple_mob/mobs_monsters/clowns/big/tunnelclown,
-/turf/simulated/mineral/floor/vacuum,
-/area/tether_away/guttersite/unexplored)
-"nA" = (
-/obj/machinery/portable_atmospherics/canister/air,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"nB" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 5
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"nC" = (
-/obj/effect/map_helper/airlock/door/int_door,
-/obj/machinery/door/airlock/glass_external{
- req_one_access = list(15)
- },
-/obj/machinery/atmospherics/pipe/simple/hidden,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"nD" = (
-/obj/machinery/access_button{
- command = "cycle_interior";
- frequency = 1990;
- master_tag = "guttersite_mshuttle";
- name = "interior access button";
- pixel_x = -28;
- pixel_y = -26
- },
-/obj/machinery/atmospherics/pipe/simple/hidden,
-/obj/machinery/light{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"nE" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"nF" = (
-/obj/machinery/embedded_controller/radio/airlock/docking_port{
- frequency = 1990;
- id_tag = "guttersite_mshuttle";
- name = "Airlock controller";
- pixel_x = -25
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"nG" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 10
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"nH" = (
-/obj/machinery/atmospherics/pipe/simple/hidden,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"nI" = (
-/obj/effect/map_helper/airlock/atmos/chamber_pump,
-/obj/machinery/atmospherics/unary/vent_pump/high_volume{
- dir = 4;
- frequency = 1990;
- id_tag = "guttersite_mshuttle_pump"
- },
-/obj/machinery/light{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"nJ" = (
-/obj/machinery/airlock_sensor{
- frequency = 1990;
- id_tag = "guttersite_mshuttle_sensor";
- pixel_y = -25
- },
-/obj/effect/map_helper/airlock/sensor/chamber_sensor,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"nK" = (
-/obj/effect/map_helper/airlock/door/ext_door,
-/obj/machinery/door/airlock/glass_external{
- req_one_access = list(15)
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"nL" = (
-/obj/structure/grille,
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced{
- dir = 8
- },
-/obj/structure/window/reinforced{
- dir = 4
- },
-/obj/structure/window/reinforced,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"nM" = (
-/obj/machinery/access_button{
- command = "cycle_exterior";
- frequency = 1990;
- master_tag = "guttersite_mshuttle";
- name = "exterior access button";
- pixel_x = 26;
- pixel_y = 26
- },
-/turf/simulated/floor/plating/eris/under/airless,
-/area/tether_away/guttersite/docking)
-"nN" = (
-/obj/effect/shuttle_landmark/premade/guttersite/mshuttle,
-/turf/space,
-/area/space)
-"oY" = (
-/obj/item/tape/engineering,
-/turf/simulated/floor/tiled/eris/steel/bar_dance,
-/area/tether_away/guttersite/commons)
-"pl" = (
-/obj/item/stack/material/steel,
-/obj/item/stack/material/steel,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"uO" = (
-/obj/structure/medical_stand,
-/obj/effect/decal/cleanable/blood,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"ve" = (
-/obj/effect/decal/cleanable/blood,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"vK" = (
-/obj/item/stack/material/wood,
-/obj/item/stack/material/wood,
-/obj/item/stack/material/wood,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"wl" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/obj/item/tape/engineering,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/commons)
-"Ax" = (
-/obj/machinery/atmospherics/unary/vent_pump/on{
- dir = 8
- },
-/obj/effect/decal/cleanable/blood/oil,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"Cn" = (
-/obj/item/tape/engineering,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/vault)
-"EB" = (
-/obj/effect/decal/cleanable/blood/oil,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"EO" = (
-/obj/item/stack/material/steel,
-/obj/item/stack/material/steel,
-/obj/item/stack/material/steel,
-/obj/item/stack/material/steel,
-/obj/effect/decal/cleanable/blood/oil,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"FA" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/machinery/door/firedoor,
-/obj/machinery/door/airlock/maintenance_hatch{
- req_one_access = list()
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/obj/item/tape/medical,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"GP" = (
-/obj/item/tape/engineering,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/office)
-"La" = (
-/obj/structure/barricade,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"Ob" = (
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/maint)
-"OO" = (
-/obj/item/stack/material/steel,
-/obj/item/stack/material/steel,
-/obj/item/stack/material/steel,
-/obj/item/stack/material/steel,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"PF" = (
-/obj/effect/decal/cleanable/blood/oil,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"Qq" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/obj/effect/decal/cleanable/blood,
-/obj/effect/decal/cleanable/blood/oil,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"QN" = (
-/turf/simulated/floor/plating/eris/under/airless,
-/area/tether_away/guttersite/docking)
-"SX" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/simple/hidden,
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/obj/effect/decal/cleanable/blood/oil,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/docking)
-"TZ" = (
-/obj/item/stack/material/steel,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"Uv" = (
-/obj/machinery/access_button{
- command = "cycle_exterior";
- frequency = 1276;
- master_tag = "guttersite_lshuttle";
- name = "exterior access button";
- pixel_x = 26;
- pixel_y = -26
- },
-/turf/simulated/floor/plating/eris/under/airless,
-/area/tether_away/guttersite/docking)
-"UU" = (
-/obj/item/stack/material/wood,
-/turf/simulated/floor/tiled/eris/dark/gray_perforated,
-/area/tether_away/guttersite/medbay)
-"Yg" = (
-/obj/machinery/access_button{
- command = "cycle_exterior";
- frequency = 1380;
- master_tag = "guttersite_sshuttle";
- name = "exterior access button";
- pixel_x = -5;
- pixel_y = -26
- },
-/turf/simulated/floor/plating/eris/under/airless,
-/area/tether_away/guttersite/docking)
-
-(1,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ii
-"}
-(2,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(3,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(4,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(5,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(6,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-nu
-nu
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(7,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-cl
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-nu
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(8,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ad
-ad
-aL
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(9,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ad
-ad
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ag
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-nu
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(10,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-nu
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-nu
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(11,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ad
-nu
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-nu
-ad
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(12,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-aa
-aa
-aa
-ad
-ad
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(13,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-aa
-aa
-aa
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-aa
-aa
-aa
-ad
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(14,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-lM
-ag
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-nu
-ad
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(15,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-aa
-aa
-aa
-ad
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-ad
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(16,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(17,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-nu
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(18,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ad
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(19,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-ag
-aa
-ad
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-ir
-kf
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(20,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-ag
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-iV
-kh
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(21,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-ag
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-li
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(22,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-lM
-ad
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-nu
-ad
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(23,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(24,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(25,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-nu
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(26,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aF
-aF
-aF
-aF
-aF
-aF
-aF
-aF
-aF
-aF
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ad
-ad
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(27,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aG
-aJ
-aJ
-aJ
-aJ
-aJ
-aJ
-aJ
-aJ
-aF
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-nu
-ad
-ad
-ad
-ad
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(28,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-lM
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aG
-aJ
-bc
-bc
-bc
-bc
-bc
-bc
-aJ
-aF
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-nu
-ad
-ad
-ad
-ad
-aL
-ad
-ad
-ad
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(29,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-lM
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aB
-aB
-aG
-aK
-aW
-bd
-bz
-bG
-bz
-bG
-bT
-aF
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-jl
-ad
-nu
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ad
-ad
-aL
-ad
-ad
-ad
-ad
-ad
-ad
-ad
-ag
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(30,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aB
-aE
-aH
-aJ
-aX
-cQ
-cQ
-aX
-cQ
-aX
-bU
-aF
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-iJ
-ad
-ad
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ad
-ad
-ad
-ad
-ad
-ad
-ad
-ad
-ad
-aL
-nu
-ag
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(31,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aB
-aE
-aI
-aJ
-aX
-bk
-bk
-aX
-bk
-aX
-aJ
-aF
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ad
-ad
-ad
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-aL
-ad
-ad
-ad
-ad
-ad
-ag
-ag
-ad
-ad
-ad
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(32,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aB
-aE
-aG
-aM
-aX
-bl
-bB
-bH
-bQ
-aX
-bV
-aF
-ag
-ag
-ay
-jw
-jw
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ad
-ad
-ag
-ag
-ag
-ag
-ag
-ag
-ad
-fX
-gh
-gp
-aL
-ag
-ag
-ag
-ag
-ad
-ad
-ad
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(33,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ac
-aB
-aE
-aG
-aO
-aX
-bk
-aX
-aX
-aX
-aX
-bW
-aF
-ag
-ay
-ad
-jj
-ad
-ad
-ad
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-ag
-ag
-ad
-ad
-ag
-ag
-ad
-ad
-ad
-ad
-fY
-gi
-gp
-ag
-ag
-ag
-ag
-ag
-ad
-ad
-ad
-ad
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(34,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ac
-aB
-aE
-aG
-aU
-aY
-bm
-bC
-bO
-aJ
-aJ
-bX
-aF
-ag
-ay
-ad
-ad
-cM
-ad
-ad
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-nu
-ag
-ag
-ad
-az
-ad
-ad
-fu
-fu
-fu
-fu
-gj
-fu
-fu
-fu
-fu
-ag
-ag
-ag
-ad
-ad
-ad
-ad
-ad
-ad
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(35,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ac
-ac
-aB
-aE
-aG
-aG
-aG
-bn
-bD
-aF
-aF
-aF
-aB
-aB
-ag
-hd
-iW
-ad
-jh
-ad
-ad
-aL
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-nu
-nu
-ag
-ag
-ag
-ag
-fu
-fu
-jJ
-gY
-ga
-gk
-gq
-fw
-gK
-fu
-ag
-ag
-ag
-ag
-ad
-ad
-aL
-ad
-ad
-ad
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(36,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ac
-ac
-ac
-aB
-aE
-aN
-aE
-aE
-bu
-aE
-aE
-aE
-cz
-cD
-aB
-ag
-hd
-ad
-ad
-jm
-ad
-iW
-aL
-ag
-ag
-ag
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-nu
-nu
-ag
-ag
-fu
-fu
-fC
-jK
-fU
-gb
-gl
-fU
-gy
-gL
-fu
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ad
-ad
-ad
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(37,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ac
-ac
-ac
-aB
-ct
-cC
-cG
-aZ
-bv
-bo
-bo
-bo
-bo
-aE
-aB
-ag
-hd
-jk
-hj
-aA
-ad
-ad
-ad
-ad
-ag
-ag
-ag
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-ad
-nu
-ag
-ag
-fu
-fz
-fD
-jX
-fw
-gc
-gm
-fw
-gz
-jx
-fu
-fu
-fu
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ad
-ad
-ad
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(38,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ac
-ac
-ac
-aB
-aV
-Ob
-Ob
-bE
-bw
-bE
-bE
-bE
-bR
-aE
-aB
-ag
-ad
-ad
-ad
-aL
-ad
-jn
-ad
-ad
-ag
-ag
-ag
-ag
-ad
-ad
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-ad
-nu
-nu
-ag
-fu
-fz
-fE
-jX
-fw
-gd
-gd
-gd
-gz
-fw
-fu
-fw
-fu
-fu
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ad
-ad
-ad
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(39,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ac
-ac
-ac
-aB
-cA
-aP
-aE
-aE
-bu
-aE
-aE
-aE
-bS
-bY
-aB
-ag
-ad
-ad
-ad
-nz
-ad
-ad
-ad
-ay
-ag
-ag
-ag
-ag
-az
-ag
-ag
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-ad
-ad
-nu
-ag
-fu
-lG
-fF
-jX
-fw
-gd
-gd
-gd
-gz
-gX
-fu
-fw
-gX
-fu
-fu
-fu
-ag
-ag
-ag
-ag
-ag
-ad
-ad
-ad
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(40,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-aa
-aa
-aa
-aa
-ad
-ac
-ac
-ac
-ac
-aB
-cA
-aP
-aP
-aP
-bx
-ca
-aB
-aB
-aB
-aB
-aB
-ag
-ad
-cM
-ad
-jk
-ad
-cM
-ay
-ag
-ag
-ag
-ag
-ag
-ad
-ag
-ag
-ag
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-ad
-ad
-nu
-ag
-fu
-fA
-fG
-jX
-jx
-ge
-ge
-ge
-gz
-fw
-fu
-fw
-fw
-fw
-jo
-fu
-fu
-ag
-ag
-ag
-ag
-ag
-ad
-ad
-ad
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(41,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ad
-ad
-aa
-aa
-aa
-ad
-ab
-ab
-ab
-ac
-ac
-aB
-cA
-aQ
-be
-bp
-by
-bF
-bP
-cu
-ms
-ms
-aT
-ag
-ad
-ad
-ad
-ad
-ad
-ad
-ay
-ag
-ag
-ag
-ag
-ad
-ad
-ag
-ag
-ag
-ag
-ag
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-ad
-ad
-nu
-ag
-fu
-fB
-fH
-jX
-fw
-fw
-fw
-fw
-gz
-jx
-fu
-nw
-if
-fw
-jp
-gY
-fu
-fu
-ag
-ag
-ag
-ag
-ag
-ad
-ad
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(42,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ad
-aa
-aa
-aa
-ad
-ac
-ac
-lS
-ac
-ac
-aB
-cA
-aQ
-bf
-bq
-bI
-cc
-bq
-bq
-bq
-bq
-aT
-ag
-ad
-ad
-ad
-ad
-ad
-ag
-ag
-ag
-ag
-ag
-ad
-ad
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-ad
-ad
-fu
-fu
-fu
-fu
-jY
-fu
-gf
-fu
-fu
-gA
-fu
-fu
-fw
-fw
-fw
-jq
-fw
-iA
-fu
-fu
-ag
-ag
-ag
-ag
-ad
-ad
-ad
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(43,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-aa
-aa
-aa
-ad
-ac
-ac
-lS
-ac
-ac
-aB
-cA
-aQ
-bg
-bq
-bJ
-bJ
-bq
-bq
-bq
-mt
-aT
-ag
-ag
-az
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ad
-ad
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-ad
-ad
-fu
-ly
-fw
-gY
-jX
-fw
-fw
-fw
-fu
-gz
-fw
-fw
-fw
-fw
-fw
-he
-fw
-iA
-fw
-fu
-fu
-ag
-ag
-ag
-ag
-ad
-ad
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(44,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-aa
-aa
-aa
-ab
-ac
-ac
-ab
-ac
-ac
-aB
-cA
-aR
-bh
-bq
-br
-bM
-bq
-bq
-bq
-bq
-aT
-ag
-ag
-ad
-ag
-ag
-ag
-ad
-ad
-ad
-az
-ad
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-ad
-ad
-fu
-nw
-fw
-fw
-kc
-fw
-jx
-fw
-fu
-gB
-gM
-gM
-gM
-gM
-gM
-hf
-fw
-iA
-fw
-iK
-fu
-ag
-ag
-ag
-ag
-ad
-ad
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(45,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ab
-ac
-ac
-ab
-ac
-ac
-aB
-cA
-aS
-bh
-bq
-bL
-ce
-bq
-bq
-bq
-bq
-aT
-ag
-ag
-ad
-ad
-ad
-ad
-ad
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-ad
-fu
-fw
-fw
-fI
-kn
-fV
-fw
-fw
-fu
-gz
-fw
-fw
-fw
-fw
-fw
-gc
-fw
-fw
-fw
-jd
-fu
-ag
-ag
-ag
-ag
-ad
-ad
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(46,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ab
-ac
-ac
-ab
-ac
-ac
-aB
-cA
-aQ
-bi
-bq
-bs
-bN
-bq
-bq
-bq
-bq
-aT
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-cF
-cF
-cF
-cF
-cF
-cF
-cF
-cF
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ad
-fu
-fw
-fw
-fw
-ko
-fw
-fw
-fw
-fu
-gz
-fw
-fw
-fw
-fw
-fw
-fw
-fw
-fw
-fw
-jd
-fu
-ag
-ag
-ag
-ag
-ad
-ad
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(47,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ab
-ac
-ac
-ab
-ac
-ac
-aB
-cA
-aQ
-bh
-bq
-br
-cd
-cg
-cx
-bq
-bq
-aT
-ag
-ag
-ag
-ag
-ag
-ag
-cF
-cF
-dh
-jD
-ez
-jD
-jD
-kd
-cF
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-dn
-dn
-dn
-dn
-dn
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-fu
-fw
-fw
-fw
-kD
-hD
-fw
-fw
-fu
-gz
-hg
-fw
-fw
-fw
-fw
-fw
-fw
-hg
-fw
-jd
-fu
-ag
-ag
-ag
-ag
-ad
-ad
-ad
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(48,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ac
-ac
-ac
-ab
-ac
-ac
-aB
-cA
-aQ
-bh
-bq
-bK
-cf
-cm
-bM
-bq
-bq
-aT
-ag
-ag
-ag
-ag
-ag
-cF
-cF
-dh
-dh
-jD
-eA
-jD
-ka
-jD
-cF
-cF
-cF
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-dn
-dn
-en
-fj
-iZ
-dn
-dn
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-fu
-fw
-fw
-fw
-kE
-hD
-fw
-gX
-fu
-gC
-fu
-fu
-fu
-fu
-fu
-gf
-fu
-fu
-fu
-fu
-fu
-ag
-ag
-ag
-ad
-ad
-aL
-ad
-ad
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(49,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ac
-ac
-ac
-ac
-ab
-ac
-ac
-aB
-cA
-aT
-aT
-aT
-aT
-aT
-br
-bM
-bq
-bq
-aT
-aT
-ag
-ag
-ag
-ag
-cF
-cZ
-cZ
-jD
-jD
-eB
-jD
-dh
-ke
-jD
-jD
-cF
-dn
-dn
-dn
-dn
-dn
-mh
-mh
-mh
-mh
-mh
-mh
-mh
-mh
-dn
-ib
-ee
-fp
-ee
-ee
-dn
-mh
-mh
-mh
-mh
-mh
-mh
-mh
-dn
-dn
-dn
-dn
-dn
-fu
-fw
-fw
-fw
-kc
-fw
-fw
-gn
-fu
-hi
-fw
-gm
-fw
-nx
-fw
-fw
-gP
-fw
-fw
-fw
-fu
-ag
-ag
-ad
-ad
-ad
-ad
-ad
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(50,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ac
-ac
-ac
-ac
-ab
-ac
-ac
-aB
-cB
-cE
-cE
-cE
-cV
-aQ
-cn
-bM
-bq
-jZ
-mo
-aT
-ag
-ag
-ag
-cF
-cF
-cZ
-di
-cb
-ey
-eC
-ey
-eF
-eK
-ey
-eO
-eR
-eS
-eS
-eS
-eS
-eS
-eS
-eT
-eS
-eS
-eS
-eS
-eS
-eS
-fd
-eS
-fi
-fs
-fi
-eS
-fd
-eS
-eS
-eS
-eS
-eS
-eS
-eS
-eT
-eS
-eS
-eS
-eS
-jy
-jH
-jH
-jI
-kG
-fw
-fw
-gn
-fu
-gE
-gN
-gN
-gN
-gZ
-fw
-fw
-hl
-fw
-fw
-gX
-fu
-ag
-ad
-ad
-ad
-ag
-ag
-ad
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(51,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ac
-ac
-ac
-ac
-ab
-ac
-ac
-aB
-aE
-aE
-aE
-aE
-cA
-aQ
-br
-cy
-mi
-lE
-mp
-aT
-ag
-ag
-cF
-cF
-dc
-cZ
-dh
-dW
-jD
-jD
-jD
-jD
-kg
-jD
-jD
-cF
-dn
-dn
-ie
-ie
-ie
-ie
-dn
-ie
-ie
-ie
-ie
-ie
-ie
-dn
-ef
-ep
-fv
-eI
-ee
-dn
-ie
-ie
-ie
-ie
-ie
-ie
-ie
-dn
-dn
-dn
-dn
-dn
-fu
-fu
-fw
-fw
-fu
-fu
-gf
-fu
-fu
-fw
-fw
-fw
-fw
-ha
-fw
-fw
-hm
-gg
-gg
-gg
-fu
-ag
-ad
-ad
-ad
-ag
-ag
-ag
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(52,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ac
-ac
-ac
-ac
-lS
-ac
-ac
-aB
-aB
-aB
-aB
-aB
-cA
-aT
-br
-bM
-bq
-jZ
-mo
-aT
-ag
-cF
-cF
-cZ
-jv
-ny
-dh
-dW
-jD
-ka
-jD
-ka
-jD
-jD
-jD
-cF
-ac
-ac
-ab
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-dn
-dn
-ee
-fy
-eJ
-dn
-dn
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-fu
-fu
-fw
-fu
-fw
-fw
-gY
-fw
-jx
-fw
-jx
-fw
-fw
-fw
-fw
-hl
-fw
-fw
-fu
-fu
-ag
-ad
-ad
-ag
-ag
-ad
-ag
-ad
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(53,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ac
-ac
-ac
-ac
-lS
-ac
-ac
-ac
-ac
-ac
-ac
-aB
-cW
-aT
-br
-cy
-mi
-lE
-mp
-aT
-ag
-cF
-cU
-cZ
-cZ
-cZ
-dh
-dW
-jD
-dh
-jD
-dh
-jD
-jD
-ki
-cF
-ac
-ab
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-dn
-dn
-fJ
-dn
-dn
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-fu
-fu
-fu
-nw
-fw
-fw
-fw
-fw
-fw
-jx
-fw
-fw
-fw
-fw
-gP
-fw
-fw
-fu
-ag
-ag
-ad
-ad
-ag
-ag
-ad
-ag
-ag
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(54,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ac
-ac
-ac
-ab
-ab
-ab
-ab
-ab
-ab
-ac
-ac
-aB
-cA
-aT
-br
-bM
-bq
-jZ
-mo
-aT
-cF
-cF
-db
-cZ
-cZ
-cZ
-dj
-dW
-jD
-kb
-jD
-kb
-jD
-jD
-kj
-cF
-ac
-ab
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-mv
-fK
-mx
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-fu
-fu
-gg
-gg
-gr
-gg
-gO
-gg
-gW
-gg
-gO
-gr
-hn
-gg
-fu
-fu
-ag
-ag
-ad
-ad
-ag
-ad
-ad
-ag
-ag
-ag
-ad
-ad
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(55,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ac
-ac
-ab
-lR
-ab
-lT
-ab
-ab
-lR
-ab
-ac
-aB
-cA
-aT
-br
-ji
-mi
-lE
-mp
-aT
-cF
-cF
-cF
-cF
-dm
-cF
-cF
-dX
-jD
-jD
-jD
-jD
-jD
-jD
-kk
-cF
-ac
-ab
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-mv
-fK
-mx
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-fu
-fw
-fw
-fw
-fw
-gP
-fw
-fw
-fw
-gP
-fw
-fw
-gX
-fu
-ag
-ag
-ad
-ad
-ad
-ag
-ad
-ag
-ag
-ad
-ag
-ad
-ad
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(56,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ac
-ac
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-ac
-aB
-cA
-aT
-cv
-jG
-mj
-lI
-mq
-aT
-cF
-jL
-jP
-jT
-da
-kt
-cF
-dY
-cF
-cF
-jD
-jD
-jD
-jD
-kl
-cF
-ac
-ab
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-mv
-fK
-mx
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-fu
-fu
-fw
-fw
-fw
-gP
-fw
-fw
-if
-gP
-fw
-fw
-fu
-fu
-ag
-ag
-ad
-ad
-ad
-ag
-ad
-ag
-ag
-ad
-ag
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(57,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ac
-ac
-ab
-ab
-ab
-lU
-ab
-ab
-ab
-ab
-ac
-aB
-cA
-aT
-br
-bq
-bq
-lX
-mr
-aT
-cF
-cI
-cH
-cH
-cH
-cH
-jA
-dZ
-eG
-cF
-cF
-jD
-jD
-jD
-km
-cF
-ac
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-eb
-eb
-fL
-eb
-eb
-eb
-eb
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-fu
-nw
-fw
-fw
-gP
-fw
-fw
-fw
-gP
-fw
-fw
-fu
-ag
-ag
-ad
-ad
-ad
-ag
-ag
-ad
-ad
-ad
-ad
-ag
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(58,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ac
-ac
-ab
-ab
-lR
-ab
-ab
-ab
-ab
-ab
-ac
-aB
-cA
-aT
-cv
-jG
-mj
-lI
-mq
-aT
-cF
-jM
-jQ
-jU
-da
-cH
-cL
-ea
-cS
-cH
-cF
-jD
-jD
-jD
-cF
-cF
-ab
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-eb
-eb
-eh
-fM
-fR
-gV
-ja
-eb
-eb
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-fu
-fu
-fu
-fw
-gP
-gU
-gU
-gU
-gP
-hg
-fu
-fu
-ag
-ad
-ad
-ad
-ag
-ag
-ad
-ad
-ag
-ad
-ag
-ag
-ad
-ad
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(59,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ac
-ac
-ac
-ab
-ab
-lV
-ab
-lR
-ab
-ab
-ac
-aB
-cA
-aT
-br
-bq
-bq
-lX
-mr
-aT
-cF
-cF
-cF
-cF
-cH
-cH
-jB
-ej
-jB
-cH
-cF
-oY
-jD
-kd
-cF
-ab
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-mv
-ih
-eg
-fK
-eg
-fP
-jb
-fl
-eb
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-fu
-fu
-fu
-fu
-gU
-fu
-fu
-fu
-fu
-ag
-ag
-ad
-ad
-ag
-ag
-ag
-ad
-ag
-ag
-ad
-ag
-ag
-ad
-ad
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(60,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ab
-ac
-ac
-ac
-ab
-ab
-ab
-ab
-ab
-ac
-ac
-aB
-cA
-aT
-cw
-jG
-mj
-lI
-mq
-aT
-dk
-dk
-dk
-cF
-cH
-cH
-cH
-eo
-cH
-cH
-lH
-oY
-jD
-ku
-cF
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-mv
-iX
-eg
-fN
-mN
-hb
-jc
-fm
-eb
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-bb
-cs
-cs
-cs
-ag
-ag
-ag
-ad
-ag
-ag
-ag
-ag
-ad
-ad
-ag
-ad
-ag
-ag
-ad
-ad
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(61,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ac
-ac
-ac
-ab
-lN
-ac
-ac
-ac
-ac
-ac
-aB
-cW
-aT
-bq
-bq
-bq
-lX
-mr
-aT
-cF
-cF
-cF
-cF
-cH
-cH
-cF
-dY
-cF
-cF
-cF
-oY
-jD
-cF
-cF
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-mv
-lw
-eg
-fK
-eg
-fK
-eg
-kw
-mx
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-ag
-cs
-ag
-ag
-ag
-ad
-ag
-ag
-co
-ag
-ag
-ad
-ag
-ad
-ag
-ag
-ad
-ad
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(62,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ab
-ac
-ac
-ab
-lO
-ac
-ac
-ac
-ax
-ax
-ax
-cX
-ax
-ax
-ax
-aT
-aT
-aT
-aT
-cF
-jN
-jR
-jV
-da
-cH
-cF
-et
-kp
-kq
-cF
-jD
-cF
-cF
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-eb
-eh
-eq
-fO
-eL
-fK
-ja
-eg
-mx
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-ag
-cs
-ag
-ag
-ag
-ad
-ag
-ag
-iR
-ag
-ag
-ad
-ag
-ad
-ag
-ag
-ad
-ad
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(63,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ab
-ac
-ac
-ab
-ab
-ac
-ac
-ax
-ax
-lk
-ll
-cY
-aD
-aD
-ax
-ag
-ag
-ag
-ag
-cF
-cI
-cH
-cH
-cH
-cH
-cF
-eu
-kp
-kp
-cF
-lv
-cF
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-mv
-iY
-eg
-fP
-eg
-fK
-jb
-eg
-mx
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-ag
-cs
-ag
-ag
-ag
-ad
-ag
-ag
-ad
-ad
-ag
-ad
-ag
-iS
-ag
-ag
-ad
-ad
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(64,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ac
-ac
-lS
-ac
-ac
-ax
-ax
-aC
-aD
-lm
-cY
-aD
-aD
-ax
-ax
-ag
-ag
-ag
-cF
-jO
-jS
-jW
-da
-cH
-jC
-eu
-kp
-kr
-cF
-cF
-cF
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-eb
-eb
-eg
-fQ
-eg
-fK
-jc
-eb
-eb
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-cs
-cs
-ag
-ag
-ig
-ag
-ag
-ag
-ad
-ad
-ad
-ag
-lL
-ag
-ag
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(65,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ac
-ac
-lS
-ac
-ac
-ax
-le
-aD
-aD
-aD
-cY
-aD
-aD
-lq
-ax
-ag
-ag
-ag
-cF
-cF
-cF
-cF
-lH
-cF
-cF
-dY
-cF
-cF
-cF
-cF
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-eb
-eb
-eb
-eb
-fL
-eb
-eb
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-ag
-cs
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ad
-ag
-ag
-ag
-ag
-ad
-ad
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(66,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ac
-ac
-ab
-ac
-ac
-ax
-le
-aD
-aD
-bt
-dg
-ch
-aD
-lq
-ax
-ag
-ag
-ag
-cF
-ks
-kB
-kB
-lP
-cH
-kN
-ev
-kA
-lu
-hZ
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-de
-de
-de
-de
-de
-de
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-mv
-fK
-mx
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-jz
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ad
-ag
-ag
-ag
-ag
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(67,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ac
-ac
-ab
-ac
-ax
-ax
-lf
-lh
-lh
-lA
-cY
-aD
-aD
-cj
-ax
-ag
-ag
-ag
-cF
-cO
-cH
-cH
-cH
-cH
-kO
-ew
-cH
-cH
-hZ
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-de
-la
-dp
-UU
-dJ
-de
-de
-aa
-aa
-aa
-aa
-aa
-aa
-mv
-fK
-mx
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-cs
-cs
-hU
-ag
-ad
-ad
-ad
-ad
-ad
-ad
-ad
-ag
-ag
-ag
-ad
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(68,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-ac
-ab
-ac
-ax
-lb
-aD
-cr
-ln
-lB
-cY
-aD
-aD
-aD
-ax
-ax
-ax
-ax
-cF
-cO
-cH
-cH
-cH
-cH
-cH
-eo
-cH
-cH
-hZ
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-de
-de
-dp
-uO
-dp
-dD
-dp
-de
-aa
-aa
-aa
-aa
-aa
-aa
-mv
-fK
-mx
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-cT
-ag
-ag
-ag
-ag
-ag
-ag
-ad
-ag
-ag
-ag
-ag
-ag
-ad
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(69,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-ac
-ab
-ac
-ax
-lc
-aD
-aD
-aD
-bj
-dl
-do
-dq
-dq
-dr
-dq
-dq
-dq
-ds
-fx
-dt
-du
-dy
-du
-du
-ex
-cH
-dd
-cF
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-de
-kY
-dp
-dG
-kT
-dG
-kW
-de
-aa
-aa
-aa
-aa
-aa
-aa
-mv
-fK
-mx
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-cT
-ag
-ag
-ag
-ad
-aL
-ag
-ad
-ag
-ag
-ag
-ag
-ag
-ad
-ad
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(70,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-ac
-ab
-ac
-ax
-ld
-aD
-aD
-aD
-cK
-aD
-aD
-aD
-aD
-ax
-ax
-ax
-ax
-cF
-kC
-kC
-kF
-bA
-kL
-cH
-cH
-cH
-cH
-hZ
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-kX
-kZ
-vK
-dL
-TZ
-dL
-OO
-de
-aa
-aa
-aa
-aa
-aa
-aa
-mv
-fK
-mx
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-cT
-ag
-ag
-ag
-ad
-ad
-ag
-ad
-ag
-ag
-ag
-ad
-ad
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(71,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-ac
-ab
-ac
-ax
-lc
-aD
-aD
-aD
-cK
-aD
-aD
-lp
-lp
-ax
-ac
-ac
-ac
-cF
-cP
-cH
-cH
-bZ
-kM
-cH
-cH
-cH
-lP
-de
-ia
-ia
-ia
-ia
-ia
-ia
-ia
-ia
-de
-ve
-dp
-dD
-dC
-dD
-pl
-de
-aa
-aa
-aa
-aa
-aa
-aa
-mv
-fK
-mx
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ad
-ad
-ad
-ad
-ad
-ad
-ad
-ad
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(72,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-ag
-ab
-ac
-ax
-ax
-lg
-lg
-lg
-cK
-lg
-lo
-ax
-ax
-ax
-ac
-ac
-ac
-cF
-ky
-cH
-cH
-dE
-du
-du
-du
-du
-wl
-eD
-eH
-eH
-eH
-eQ
-eH
-eH
-eH
-eH
-FA
-Qq
-eH
-eU
-eV
-dG
-kT
-de
-aa
-aa
-aa
-aa
-aa
-aa
-mv
-fK
-mx
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ad
-ad
-ad
-ad
-ad
-ad
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(73,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-ag
-ad
-ac
-ac
-ax
-ax
-lj
-lr
-cN
-ls
-lt
-ax
-ac
-ac
-ac
-ac
-ac
-cF
-kz
-cH
-cH
-cH
-cH
-cH
-kP
-kQ
-df
-de
-ic
-ic
-ic
-ic
-ic
-ic
-ic
-ic
-de
-EO
-EB
-dL
-eW
-dL
-dM
-de
-aa
-aa
-aa
-aa
-aa
-aa
-mv
-fK
-mx
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ad
-ad
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(74,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ad
-ac
-ac
-ac
-ax
-ax
-ax
-ax
-ax
-ax
-ax
-ac
-ac
-ac
-ac
-ac
-cF
-cI
-kB
-cH
-cH
-cH
-cH
-df
-dO
-go
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-de
-La
-OO
-dp
-eX
-dp
-gI
-de
-aa
-aa
-aa
-aa
-aa
-aa
-mv
-fK
-mx
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(75,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ad
-ab
-ab
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-cF
-kA
-kA
-kA
-cR
-cH
-df
-go
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-de
-de
-dz
-kS
-eY
-kI
-de
-de
-aa
-aa
-aa
-aa
-aa
-aa
-mv
-fK
-mx
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(76,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ab
-ab
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-cF
-cF
-cF
-cF
-cF
-dO
-go
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-de
-de
-de
-de
-de
-de
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-eb
-hc
-mx
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(77,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ac
-ab
-ab
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-mv
-fK
-mx
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(78,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-ag
-ac
-ac
-ab
-ab
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-mv
-fK
-mx
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(79,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-ag
-ac
-ac
-ac
-ab
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-mv
-fK
-mx
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(80,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ac
-ac
-ab
-ab
-ab
-lS
-lS
-ab
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ab
-ab
-ab
-ab
-ab
-mv
-fK
-mx
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-"}
-(81,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ag
-ag
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ab
-ab
-ac
-ac
-ac
-ac
-ac
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ab
-ab
-ab
-ab
-ab
-ab
-mv
-fK
-eb
-ac
-ac
-aa
-aa
-aa
-aa
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(82,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ab
-ac
-ac
-ac
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ab
-ab
-ab
-ab
-ab
-ab
-ac
-eb
-fK
-eb
-ac
-ac
-aa
-aa
-aa
-aa
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(83,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ac
-ac
-ac
-ac
-ac
-ac
-ac
-ad
-ac
-ac
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ad
-ad
-aa
-aa
-aa
-aa
-ad
-ag
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-ac
-eb
-fK
-eb
-ac
-ac
-ac
-aa
-aa
-aa
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(84,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-ac
-eb
-fK
-eb
-ac
-ac
-ac
-ac
-aa
-aa
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(85,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-ac
-eb
-hc
-eb
-ac
-ac
-ac
-ac
-aa
-aa
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(86,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-mv
-fK
-eb
-ac
-ac
-ac
-ac
-ac
-aa
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(87,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-mv
-fK
-eb
-ac
-ac
-ac
-ac
-ac
-ac
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(88,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-mv
-fK
-eb
-ac
-ac
-ac
-ac
-ac
-ac
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(89,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ab
-ab
-ab
-ab
-ab
-dN
-ml
-ml
-dN
-ml
-dN
-hk
-dN
-ac
-ac
-ac
-ac
-ac
-ac
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(90,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-lQ
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ab
-ab
-dN
-ml
-ml
-dN
-kv
-dR
-er
-dR
-dR
-hV
-dN
-ac
-ac
-ac
-ac
-ac
-ac
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(91,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ab
-ab
-ab
-mk
-dR
-iF
-dV
-ec
-dR
-dR
-dR
-dR
-hW
-dN
-dN
-dN
-ac
-ac
-ac
-ac
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-hS
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(92,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ad
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ab
-ab
-ab
-mk
-dR
-iG
-dR
-ei
-dR
-dR
-dR
-dR
-hV
-dR
-kx
-dN
-ac
-ac
-ac
-ac
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(93,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ab
-ab
-ab
-ab
-mk
-dR
-iH
-dR
-ec
-ek
-cp
-io
-iy
-hX
-iu
-iv
-dN
-ac
-ac
-ac
-ac
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-gQ
-Yg
-ho
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(94,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-aa
-aa
-aa
-ad
-aa
-ad
-lW
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ab
-ab
-ab
-ab
-ab
-mk
-dR
-dR
-dR
-ei
-es
-ik
-ik
-ik
-hY
-dR
-dR
-dN
-ac
-ac
-ac
-ac
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-gt
-mR
-gR
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(95,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ab
-ab
-ab
-ab
-ab
-mk
-dR
-iF
-dR
-ec
-eM
-il
-il
-iq
-ij
-dR
-lF
-dN
-ac
-ac
-ac
-ac
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-gt
-gG
-gR
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(96,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-ab
-ab
-ab
-ab
-ab
-ab
-mk
-dR
-iG
-dR
-ec
-fa
-im
-im
-im
-in
-dR
-dR
-dN
-fq
-fq
-fq
-fq
-my
-my
-my
-my
-my
-my
-my
-my
-my
-my
-my
-my
-my
-my
-gu
-gH
-gu
-my
-my
-my
-my
-my
-my
-fq
-my
-my
-my
-my
-my
-fq
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(97,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-ab
-ab
-ab
-dw
-dH
-dH
-dH
-dA
-dS
-iH
-dR
-ec
-fb
-ik
-fn
-ik
-hY
-dR
-dR
-fo
-PF
-lY
-fr
-fr
-fr
-ma
-fr
-fr
-fr
-fr
-fr
-fr
-fr
-fr
-fr
-fr
-fr
-fr
-gv
-id
-gS
-fr
-fr
-fr
-fr
-fr
-fr
-hq
-fr
-fr
-lY
-fr
-hQ
-fq
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(98,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ab
-ab
-ab
-dx
-dI
-dP
-dA
-mm
-dR
-dR
-dR
-ec
-mu
-mw
-mM
-mO
-ck
-ix
-ix
-jE
-SX
-jF
-jF
-jF
-jF
-kH
-jF
-jF
-jF
-jF
-jF
-jF
-jF
-jF
-jF
-jF
-jF
-jF
-kH
-kJ
-kR
-kU
-kU
-kU
-kV
-hh
-hh
-hh
-hh
-hh
-hF
-hN
-fr
-mG
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(99,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ab
-ab
-ab
-dv
-dA
-dR
-dQ
-mg
-mn
-dT
-dT
-dT
-dT
-dT
-dT
-dT
-eN
-hV
-dR
-dR
-fo
-PF
-fr
-ft
-fr
-fr
-Ax
-fr
-fr
-fr
-fr
-ft
-fr
-fr
-fr
-fr
-fr
-fr
-fr
-gx
-fr
-fr
-ft
-fr
-fr
-lK
-fr
-fr
-fr
-fr
-fr
-hG
-hO
-fr
-mG
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(100,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ak
-aa
-aa
-aa
-ak
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-fW
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ab
-ab
-ab
-ab
-dB
-dK
-dK
-dK
-dA
-dR
-dR
-dR
-dR
-dR
-dR
-dR
-dR
-hV
-dR
-dR
-dN
-fq
-fq
-fq
-fq
-fq
-mz
-mz
-mz
-mz
-mz
-fq
-mz
-mz
-mz
-mz
-mz
-mz
-mz
-mz
-mz
-mz
-mz
-mz
-mz
-fq
-mz
-mz
-mz
-mz
-gu
-hG
-hO
-fr
-mG
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(101,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-af
-ae
-aa
-md
-ai
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ad
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-mk
-ip
-dR
-dR
-dR
-iF
-dR
-iF
-dR
-hV
-dR
-dR
-dN
-ag
-ag
-ag
-ag
-ag
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-mC
-hG
-hO
-fr
-mG
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(102,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ai
-ai
-md
-ae
-md
-ai
-ai
-ae
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-mk
-iC
-dR
-dR
-dR
-iG
-dR
-iG
-dR
-hV
-dR
-dF
-dN
-ag
-ag
-ag
-ag
-ag
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-mC
-hG
-hO
-fr
-mG
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(103,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ae
-ai
-ah
-as
-au
-ah
-ah
-ai
-ae
-ae
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-ab
-mk
-iD
-dR
-ci
-fg
-fh
-fg
-fh
-fg
-is
-dR
-dN
-dN
-ag
-ag
-ag
-ag
-ag
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-mC
-mb
-mc
-hR
-mG
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(104,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ah
-ah
-ah
-ah
-at
-ap
-ar
-ah
-ah
-ae
-ae
-ae
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ab
-ab
-ab
-ag
-ag
-ag
-ag
-ag
-ag
-dN
-iE
-dU
-fc
-dR
-dR
-dR
-dR
-ci
-it
-dR
-dN
-ag
-ag
-ag
-ag
-ag
-ag
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-mC
-hG
-hO
-fr
-mG
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(105,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ah
-ap
-ap
-ao
-ba
-ap
-ai
-kK
-ah
-ah
-ai
-ae
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ab
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-dN
-dN
-dN
-dN
-dR
-dR
-dU
-GP
-fS
-ne
-lx
-dN
-ag
-ag
-ag
-ag
-ag
-ag
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-mF
-hH
-hO
-fr
-mG
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(106,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ah
-ap
-al
-ap
-ap
-ap
-ap
-ap
-me
-ah
-ae
-ai
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-dN
-dN
-dN
-dN
-dN
-fT
-dN
-dN
-dN
-ag
-ag
-ag
-ag
-ag
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-mC
-hG
-hO
-fr
-mG
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(107,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ah
-ap
-am
-aq
-ap
-ap
-ap
-ap
-ai
-au
-ai
-ai
-ak
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ed
-gw
-ed
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-mC
-hG
-hO
-fr
-mG
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(108,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ah
-ap
-an
-ap
-eZ
-ai
-ai
-ai
-mf
-ah
-ae
-ai
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-ag
-nb
-ad
-nt
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ed
-gw
-ed
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-mC
-hG
-hO
-fr
-mG
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(109,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ah
-ap
-ap
-ap
-ap
-ap
-ap
-lJ
-ah
-ah
-ai
-ae
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ag
-ag
-ad
-ad
-ad
-ad
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ed
-ed
-ed
-ed
-gJ
-ed
-ed
-ed
-ed
-ag
-ag
-ag
-ag
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-mB
-mE
-gu
-hG
-hO
-fr
-mG
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(110,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ah
-ah
-ah
-ah
-av
-cJ
-aw
-ah
-ah
-ai
-ae
-ae
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-ag
-ad
-ad
-ad
-ad
-ag
-ag
-ag
-ag
-ag
-ag
-ff
-ed
-el
-iU
-Cn
-gT
-iw
-iz
-iI
-ed
-ag
-ag
-ag
-ag
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-mC
-lz
-hx
-hI
-nB
-fr
-gu
-iP
-iP
-iP
-iP
-nL
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(111,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aj
-aj
-ah
-ah
-ah
-ah
-ah
-aj
-aj
-ae
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ag
-ad
-ad
-ag
-ag
-az
-ag
-ag
-ag
-ag
-ag
-ff
-ff
-ed
-gD
-em
-lD
-mT
-hr
-iB
-gD
-ed
-ag
-ag
-ag
-ag
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-mC
-fr
-hy
-hJ
-nE
-fr
-mL
-gu
-nI
-nF
-nK
-nM
-eE
-nN
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(112,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aj
-aj
-aj
-aj
-aj
-aj
-aj
-aj
-aj
-aj
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ad
-ad
-ad
-ag
-ag
-ad
-ag
-ag
-ag
-ag
-ag
-ff
-ff
-ed
-gD
-em
-em
-em
-nf
-iB
-gD
-ed
-ag
-ag
-ag
-ag
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-mC
-nA
-hz
-hJ
-nG
-nH
-nD
-nC
-hM
-nJ
-gu
-QN
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(113,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aj
-aj
-aj
-aj
-aj
-aj
-aj
-aj
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ag
-ad
-ag
-ag
-ag
-ag
-ad
-ag
-ag
-ag
-ag
-ag
-ff
-ff
-ed
-gD
-em
-gF
-fk
-hw
-iM
-gD
-ed
-ag
-ag
-ag
-ag
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-mC
-nA
-hA
-hJ
-hO
-fr
-gu
-iO
-iO
-iO
-iO
-nL
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(114,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ad
-ad
-ad
-ag
-ag
-ag
-ag
-ad
-ag
-ag
-ag
-ag
-ag
-ff
-ff
-ed
-ed
-ed
-ed
-ed
-ed
-ed
-ed
-ed
-ag
-ag
-ag
-ag
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-mC
-ht
-hB
-hJ
-hO
-fr
-mG
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(115,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-az
-ag
-ag
-ag
-ag
-ag
-ff
-ff
-ff
-ff
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-mC
-hu
-hC
-hJ
-hO
-fr
-mG
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(116,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ad
-ad
-ad
-ad
-ag
-ag
-ff
-ff
-ff
-ff
-ag
-ag
-ag
-ag
-ag
-ag
-ff
-ff
-ff
-ag
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-mD
-mz
-gu
-hJ
-hO
-fr
-mG
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(117,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ad
-np
-ag
-ag
-ad
-ag
-ag
-ad
-ag
-ag
-ag
-ff
-ff
-ff
-ff
-ff
-ag
-ag
-ff
-ff
-ff
-ff
-ff
-ag
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-mC
-hJ
-hO
-fr
-mG
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(118,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-nb
-nq
-ad
-ad
-ad
-ag
-ag
-ad
-ad
-ag
-ag
-ff
-ff
-ff
-ff
-ff
-ag
-ag
-ff
-ff
-ff
-ff
-ff
-ag
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-fq
-hK
-hO
-fr
-mG
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(119,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-jg
-nr
-ns
-ag
-ad
-ag
-ag
-ag
-ad
-ag
-ag
-ag
-ag
-ag
-ff
-ff
-ag
-ag
-ff
-ff
-ff
-ff
-ff
-ag
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-mC
-hJ
-hO
-fr
-mG
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(120,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-np
-np
-np
-ag
-ad
-ag
-ag
-ag
-ad
-ag
-ag
-ag
-ag
-ag
-ff
-ff
-ag
-ag
-ff
-ff
-ff
-ad
-ad
-ag
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-mC
-hL
-hP
-hR
-mG
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(121,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-ag
-ad
-ag
-ag
-ag
-ad
-az
-ad
-ad
-ad
-ag
-ad
-ag
-ag
-ag
-ag
-ag
-ag
-az
-ag
-ag
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-mC
-hJ
-fr
-fr
-mG
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(122,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-ag
-ad
-ad
-ag
-ag
-ag
-ag
-ag
-ag
-ad
-az
-ad
-ag
-ag
-ag
-ag
-ag
-ad
-ad
-ag
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-hp
-hs
-iP
-iP
-iP
-iL
-hJ
-fr
-fr
-mG
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(123,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-ag
-ad
-ad
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ad
-ag
-ag
-ag
-ag
-ag
-nv
-ag
-ag
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-Uv
-hv
-iQ
-mI
-iL
-mL
-hJ
-fr
-fr
-mG
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(124,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ad
-ag
-nm
-nb
-ni
-ag
-ag
-ag
-ad
-ag
-ag
-ag
-ag
-ag
-ad
-ag
-aa
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-QN
-iL
-fr
-mJ
-mK
-mP
-hM
-fr
-fr
-mG
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(125,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ad
-ad
-ad
-fe
-np
-nj
-ag
-ag
-ad
-az
-iR
-ad
-ad
-az
-ad
-ag
-aa
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-mA
-iO
-iO
-iO
-iO
-iL
-fr
-fr
-lZ
-mG
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(126,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ad
-ns
-nb
-nh
-fZ
-ag
-ag
-ff
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-aa
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-mQ
-mz
-mz
-mz
-mH
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(127,1,1) = {"
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-nk
-np
-nn
-gs
-ag
-ag
-ff
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(128,1,1) = {"
-aa
-aa
-ag
-ag
-ad
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ff
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-hT
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(129,1,1) = {"
-aa
-ag
-ag
-mS
-ad
-ad
-ad
-mS
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-az
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(130,1,1) = {"
-aa
-ag
-ad
-ad
-mU
-mU
-mU
-ad
-ad
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(131,1,1) = {"
-aa
-ag
-ad
-mU
-mU
-mW
-mU
-mU
-ad
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(132,1,1) = {"
-aa
-ag
-ad
-mU
-mZ
-mX
-mU
-mU
-ad
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(133,1,1) = {"
-aa
-ag
-ad
-mU
-na
-mU
-mU
-mU
-ad
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(134,1,1) = {"
-aa
-ag
-ad
-mU
-eP
-mY
-mU
-mU
-ad
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(135,1,1) = {"
-aa
-ag
-ad
-mU
-mU
-mU
-mU
-mU
-ad
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(136,1,1) = {"
-aa
-ag
-ad
-ad
-mU
-mU
-mU
-ad
-ad
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(137,1,1) = {"
-aa
-ag
-ag
-mS
-ad
-ad
-ad
-mS
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(138,1,1) = {"
-aa
-aa
-ag
-ag
-ad
-ad
-ad
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(139,1,1) = {"
-aa
-aa
-aa
-ag
-ag
-ag
-ag
-ag
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
-(140,1,1) = {"
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-aa
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-eE
-"}
diff --git a/maps/submaps/surface_submaps/plains/priderock.dmm b/maps/submaps/surface_submaps/plains/priderock.dmm
index 1b2246d2af..5f8f432b60 100644
--- a/maps/submaps/surface_submaps/plains/priderock.dmm
+++ b/maps/submaps/surface_submaps/plains/priderock.dmm
@@ -50,7 +50,7 @@
"Tb" = (/obj/structure/railing,/turf/simulated/floor/outdoors/dirt,/area/submap/priderock)
"Td" = (/obj/structure/cliff/automatic{dir = 10},/obj/structure/railing,/obj/structure/railing{dir = 8},/turf/simulated/floor/outdoors/dirt,/area/submap/priderock)
"Ud" = (/obj/effect/decal/cleanable/dirt,/obj/random/junk,/turf/simulated/floor/outdoors/dirt,/area/submap/priderock)
-"UG" = (/obj/vehicle/train/engine/quadbike/random{desc = "A rideable electric ATV designed for all terrain. Looks very worn down."; locked = 1; name = "Old looking ATV"},/turf/simulated/floor/outdoors/dirt,/area/submap/priderock)
+"UG" = (/obj/vehicle/train/engine/quadbike/random{desc = "A rideable electric ATV designed for all terrain. Looks very worn down."; locked = 0; name = "Old looking ATV"},/turf/simulated/floor/outdoors/dirt,/area/submap/priderock)
"VF" = (/obj/structure/cliff/automatic{dir = 5},/obj/structure/railing{dir = 1},/obj/structure/railing{dir = 4},/turf/simulated/floor/outdoors/dirt,/area/submap/priderock)
"VM" = (/obj/structure/loot_pile/maint/trash,/turf/template_noop,/area/submap/priderock)
"Wk" = (/turf/simulated/floor/outdoors/dirt,/area/submap/priderock)
diff --git a/maps/tether/submaps/_tether_submaps.dm b/maps/tether/submaps/_tether_submaps.dm
index 45f844115f..9c804b2390 100644
--- a/maps/tether/submaps/_tether_submaps.dm
+++ b/maps/tether/submaps/_tether_submaps.dm
@@ -58,7 +58,6 @@
#include "../../submaps/admin_use_vr/ert.dm"
#include "../../submaps/admin_use_vr/mercship.dm"
-#include "../../submaps/admin_use_vr/guttersite.dm"
/datum/map_template/admin_use/ert
name = "Special Area - ERT"
@@ -100,11 +99,6 @@
desc = "Sneaky"
mappath = 'maps/submaps/admin_use_vr/dojo.dmm'
-/datum/map_template/admin_use/guttersite
- name = "Special Area - Guttersite"
- desc = "A space for bad guys to hang out"
- mappath = 'maps/submaps/admin_use_vr/guttersite.dmm'
-
//////////////////////////////////////////////////////////////////////////////
//Rogue Mines Stuff
diff --git a/maps/tether/submaps/tether_misc.dmm b/maps/tether/submaps/tether_misc.dmm
index c5a31f2f13..8697685e25 100644
--- a/maps/tether/submaps/tether_misc.dmm
+++ b/maps/tether/submaps/tether_misc.dmm
@@ -1222,6 +1222,20 @@
/obj/structure/closet/alien,
/turf/simulated/shuttle/floor/alien,
/area/unknown/dorm6)
+"dD" = (
+/obj/effect/step_trigger/teleporter/random{
+ affect_ghosts = 1;
+ name = "escapeshuttle_leave";
+ teleport_x = 25;
+ teleport_x_offset = 245;
+ teleport_y = 25;
+ teleport_y_offset = 245;
+ teleport_z = 4;
+ teleport_z_offset = 4
+ },
+/turf/space,
+/turf/space/transit/north,
+/area/space)
"dE" = (
/obj/structure/shuttle/engine/heater,
/obj/structure/window/reinforced{
@@ -1661,20 +1675,17 @@
},
/turf/simulated/floor/holofloor/tiled,
/area/holodeck/source_thunderdomecourt)
-"fg" = (
-/obj/effect/step_trigger/teleporter/random{
- affect_ghosts = 1;
- name = "escapeshuttle_leave";
- teleport_x = 25;
- teleport_x_offset = 245;
- teleport_y = 25;
- teleport_y_offset = 245;
- teleport_z = 4;
- teleport_z_offset = 4
+"fi" = (
+/obj/structure/bed/chair/sofa/bench/right{
+ padding_color = "#99AAFF"
},
-/turf/space,
-/turf/space/transit/north,
-/area/space)
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"fn" = (
/obj/structure/holostool,
/obj/effect/floor_decal/carpet{
@@ -1961,12 +1972,16 @@
/obj/structure/flora/grass/both,
/turf/simulated/floor/holofloor/snow,
/area/holodeck/holodorm/source_snow)
-"gE" = (
-/obj/effect/floor_decal/industrial/warning{
- dir = 8
+"gv" = (
+/obj/effect/shuttle_landmark{
+ base_area = null;
+ base_turf = null;
+ docking_controller = null;
+ landmark_tag = "escape_transit";
+ name = "Escape Transit"
},
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
+/turf/simulated/floor/tiled/techfloor/grid/transit,
+/area/space)
"gN" = (
/obj/structure/flora/ausbushes/fullgrass,
/turf/simulated/floor/holofloor/desert,
@@ -1994,12 +2009,18 @@
/obj/effect/floor_decal/industrial/danger,
/turf/simulated/floor/tiled/steel,
/area/centcom/simulated/main_hall)
-"gX" = (
-/obj/effect/floor_decal/borderfloor{
- dir = 6
+"he" = (
+/obj/structure/bed/chair/sofa/bench/left{
+ dir = 4;
+ padding_color = "#99AAFF"
},
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"hg" = (
/obj/structure/flora/ausbushes/ywflowers,
/obj/effect/landmark{
@@ -2064,6 +2085,12 @@
"hF" = (
/turf/simulated/floor/holofloor/space,
/area/holodeck/holodorm/source_space)
+"hI" = (
+/obj/effect/floor_decal/transit/orange{
+ dir = 8
+ },
+/turf/simulated/floor/tiled/techfloor/grid/transit,
+/area/space)
"hJ" = (
/obj/structure/bed/chair/holochair{
dir = 4
@@ -2122,38 +2149,11 @@
/turf/simulated/floor/holofloor/tiled/dark,
/area/holodeck/holodorm/source_boxing)
"ig" = (
-/obj/effect/step_trigger/thrower{
- affect_ghosts = 1;
- name = "thrower_throwdownside";
- nostop = 1;
- stopper = 0;
- tiles = 0
- },
/obj/effect/floor_decal/transit/orange{
dir = 4
},
-/obj/effect/transit/light{
- dir = 4
- },
-/turf/simulated/floor/tiled/techfloor/grid{
- icon = 'icons/turf/transit_vr.dmi';
- initial_flooring = null
- },
+/turf/simulated/floor/tiled/techfloor/grid/transit,
/area/space)
-"ih" = (
-/obj/effect/floor_decal/industrial/warning{
- dir = 8
- },
-/obj/effect/floor_decal/borderfloor/corner,
-/obj/structure/closet/walllocker_double/hydrant/south,
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
-"ii" = (
-/obj/effect/floor_decal/borderfloor/corner{
- dir = 8
- },
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
"in" = (
/obj/effect/floor_decal/transit/orange{
dir = 8
@@ -2161,10 +2161,7 @@
/obj/effect/transit/light{
dir = 8
},
-/turf/simulated/floor/tiled/techfloor/grid{
- icon = 'icons/turf/transit_vr.dmi';
- initial_flooring = null
- },
+/turf/simulated/floor/tiled/techfloor/grid/transit,
/area/space)
"iq" = (
/obj/structure/closet/secure_closet/nanotrasen_security,
@@ -2182,17 +2179,8 @@
/obj/effect/transit/light{
dir = 4
},
-/turf/simulated/floor/tiled/techfloor/grid{
- icon = 'icons/turf/transit_vr.dmi';
- initial_flooring = null
- },
+/turf/simulated/floor/tiled/techfloor/grid/transit,
/area/space)
-"ix" = (
-/obj/effect/floor_decal/industrial/warning/corner{
- dir = 8
- },
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
"iO" = (
/obj/effect/step_trigger/teleporter/random{
affect_ghosts = 1;
@@ -2206,26 +2194,31 @@
},
/turf/space/transit/west,
/area/space)
-"iU" = (
-/obj/structure/table/standard,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
"jf" = (
/turf/space/transit/north,
/area/space)
+"jA" = (
+/obj/machinery/light{
+ dir = 1
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
+ },
+/obj/structure/table/standard,
+/obj/random/forgotten_tram,
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"jL" = (
-/obj/effect/shuttle_landmark{
- base_area = null;
- base_turf = null;
- docking_controller = null;
- landmark_tag = "escape_transit";
- name = "Escape Transit"
+/obj/effect/floor_decal/techfloor/orange{
+ dir = 8
},
-/turf/simulated/floor/tiled/techfloor/grid{
- icon = 'icons/turf/transit_vr.dmi';
- initial_flooring = null
+/obj/machinery/light{
+ dir = 8
},
-/area/space)
+/turf/simulated/floor/tiled/techfloor/grid,
+/area/centcom/simulated/terminal)
"jQ" = (
/obj/effect/shuttle_landmark/transit{
base_area = /area/space;
@@ -2261,7 +2254,7 @@
name = "\improper CentCom Security Arrivals"
})
"lf" = (
-/obj/effect/floor_decal/techfloor/orange{
+/obj/effect/floor_decal/transit/orange{
dir = 8
},
/obj/effect/step_trigger/thrower{
@@ -2271,41 +2264,65 @@
stopper = 0;
tiles = 0
},
-/turf/simulated/floor/tiled/techfloor/grid{
- icon = 'icons/turf/transit_vr.dmi';
- initial_flooring = null
- },
-/area/space)
-"mb" = (
-/obj/effect/floor_decal/techfloor/orange{
- dir = 4
- },
-/obj/effect/step_trigger/thrower{
- affect_ghosts = 1;
- name = "thrower_throwdownside";
- nostop = 1;
- stopper = 0;
- tiles = 0
- },
-/obj/effect/floor_decal/transit/orange{
- dir = 4
- },
-/turf/simulated/floor/tiled/techfloor/grid{
- icon = 'icons/turf/transit_vr.dmi';
- initial_flooring = null
- },
-/area/space)
-"mF" = (
/obj/effect/transit/light{
dir = 8
},
+/turf/simulated/floor/tiled/techfloor/grid/transit,
+/area/space)
+"lu" = (
+/obj/effect/step_trigger/thrower{
+ affect_ghosts = 1;
+ name = "thrower_throwdownside";
+ nostop = 1;
+ stopper = 0;
+ tiles = 0
+ },
+/obj/effect/floor_decal/transit/orange{
+ dir = 4
+ },
+/obj/effect/transit/light{
+ dir = 4
+ },
+/turf/simulated/floor/tiled/techfloor/grid/transit,
+/area/space)
+"lW" = (
+/obj/random/forgotten_tram,
+/obj/structure/bed/chair/sofa/bench/left{
+ dir = 4;
+ padding_color = "#99AAFF"
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
+"mb" = (
/obj/effect/floor_decal/transit/orange{
dir = 8
},
-/turf/simulated/floor/tiled/techfloor/grid{
- icon = 'icons/turf/transit_vr.dmi';
- initial_flooring = null
+/obj/effect/step_trigger/thrower{
+ affect_ghosts = 1;
+ name = "thrower_throwdownside";
+ nostop = 1;
+ stopper = 0;
+ tiles = 0
},
+/turf/simulated/floor/tiled/techfloor/grid/transit,
+/area/space)
+"mF" = (
+/obj/effect/step_trigger/thrower{
+ affect_ghosts = 1;
+ name = "thrower_throwdownside";
+ nostop = 1;
+ stopper = 0;
+ tiles = 0
+ },
+/obj/effect/floor_decal/transit/orange{
+ dir = 4
+ },
+/turf/simulated/floor/tiled/techfloor/grid/transit,
/area/space)
"mN" = (
/obj/structure/table/glass,
@@ -2322,24 +2339,31 @@
},
/turf/unsimulated/floor/steel,
/area/centcom/control)
+"nz" = (
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
+ },
+/obj/structure/closet/walllocker/medical/west{
+ dir = 1;
+ pixel_x = 0;
+ pixel_y = -32
+ },
+/obj/structure/bed/chair/shuttle_padded{
+ dir = 8
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"nB" = (
-/obj/structure/bed/chair/shuttle{
- dir = 8
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
},
-/obj/effect/floor_decal/borderfloor{
- dir = 4
- },
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
-"nC" = (
-/obj/structure/bed/chair/shuttle{
- dir = 8
- },
-/obj/effect/floor_decal/borderfloor{
- dir = 5
- },
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
+/obj/machinery/vending/snack,
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"nV" = (
/obj/item/toy/chess/rook_black,
/turf/simulated/floor/holofloor/wmarble,
@@ -2347,10 +2371,42 @@
"nW" = (
/turf/simulated/floor/holofloor/wood,
/area/holodeck/source_chess)
+"nZ" = (
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
+ },
+/obj/structure/closet/walllocker/emerglocker/east{
+ dir = 2;
+ pixel_x = 0;
+ pixel_y = 32
+ },
+/obj/structure/bed/chair/shuttle_padded{
+ dir = 4
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"oI" = (
/obj/effect/step_trigger/teleporter/planetary_fall/virgo3b,
/turf/space/transit/east,
/area/space)
+"oL" = (
+/obj/effect/floor_decal/transit/orange{
+ dir = 8
+ },
+/obj/effect/transit/light{
+ dir = 8
+ },
+/obj/effect/step_trigger/thrower{
+ affect_ghosts = 1;
+ name = "thrower_throwdownside";
+ nostop = 1;
+ stopper = 0;
+ tiles = 0
+ },
+/turf/simulated/floor/tiled/techfloor/grid/transit,
+/area/space)
"oT" = (
/obj/item/toy/chess/pawn_black,
/turf/simulated/floor/holofloor/wmarble,
@@ -2363,26 +2419,18 @@
/obj/effect/floor_decal/sign/small_8,
/turf/simulated/floor/holofloor/wood,
/area/holodeck/source_chess)
-"pk" = (
-/obj/structure/bed/chair/shuttle{
+"pv" = (
+/obj/effect/floor_decal/techfloor/orange{
dir = 8
},
-/obj/effect/floor_decal/borderfloor{
- dir = 6
- },
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
-"pv" = (
-/obj/effect/transit/light{
- dir = 4
- },
-/obj/effect/floor_decal/transit/orange{
- dir = 4
- },
-/turf/simulated/floor/tiled/techfloor/grid{
- icon = 'icons/turf/transit_vr.dmi';
- initial_flooring = null
+/obj/effect/step_trigger/thrower{
+ affect_ghosts = 1;
+ name = "thrower_throwdownside";
+ nostop = 1;
+ stopper = 0;
+ tiles = 0
},
+/turf/simulated/floor/tiled/techfloor/grid/transit,
/area/space)
"pz" = (
/obj/machinery/transhuman/resleever,
@@ -2397,6 +2445,22 @@
},
/turf/space/transit/east,
/area/space)
+"pQ" = (
+/obj/effect/floor_decal/techfloor/orange{
+ dir = 4
+ },
+/obj/effect/step_trigger/thrower{
+ affect_ghosts = 1;
+ name = "thrower_throwdownside";
+ nostop = 1;
+ stopper = 0;
+ tiles = 0
+ },
+/obj/effect/floor_decal/transit/orange{
+ dir = 4
+ },
+/turf/simulated/floor/tiled/techfloor/grid/transit,
+/area/space)
"pT" = (
/turf/simulated/floor/holofloor/bmarble,
/area/holodeck/source_chess)
@@ -2409,10 +2473,26 @@
},
/turf/simulated/floor/tiled/techfloor/grid,
/area/centcom/simulated/terminal)
+"qa" = (
+/obj/machinery/light{
+ dir = 8
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"qc" = (
-/obj/structure/sign/warning/docking_area,
-/turf/unsimulated/wall,
-/area/centcom/simulated/terminal)
+/obj/effect/transit/light{
+ dir = 8
+ },
+/obj/effect/floor_decal/transit/orange{
+ dir = 8
+ },
+/turf/simulated/floor/tiled/techfloor/grid/transit,
+/area/space)
"qn" = (
/turf/space/transit/east,
/area/space)
@@ -2432,14 +2512,22 @@
/obj/effect/floor_decal/sign/small_6,
/turf/simulated/floor/holofloor/wood,
/area/holodeck/source_chess)
-"rh" = (
-/obj/structure/table/standard,
-/obj/effect/floor_decal/borderfloor{
- dir = 1
+"ra" = (
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
},
-/obj/random/forgotten_tram,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
+/obj/structure/closet/walllocker/emerglocker/east{
+ dir = 2;
+ pixel_x = 0;
+ pixel_y = 32
+ },
+/obj/structure/bed/chair/shuttle_padded{
+ dir = 8
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"ru" = (
/obj/item/toy/chess/pawn_black,
/turf/simulated/floor/holofloor/bmarble,
@@ -2456,30 +2544,32 @@
/turf/space/internal_edge/top,
/area/space)
"sp" = (
+/obj/effect/transit/light{
+ dir = 4
+ },
+/obj/effect/floor_decal/transit/orange{
+ dir = 4
+ },
+/turf/simulated/floor/tiled/techfloor/grid/transit,
+/area/space)
+"st" = (
+/obj/structure/sign/warning/docking_area,
+/turf/unsimulated/wall,
+/area/centcom/simulated/terminal)
+"sw" = (
+/obj/effect/step_trigger/lost_in_space/tram,
/obj/effect/floor_decal/transit/orange{
dir = 8
},
-/obj/effect/transit/light{
- dir = 8
- },
-/obj/effect/step_trigger/thrower{
- affect_ghosts = 1;
- name = "thrower_throwdownside";
- nostop = 1;
- stopper = 0;
- tiles = 0
- },
-/turf/simulated/floor/tiled/techfloor/grid{
- icon = 'icons/turf/transit_vr.dmi';
- initial_flooring = null
- },
+/turf/simulated/floor/tiled/techfloor/grid/transit,
/area/space)
"sx" = (
-/obj/effect/floor_decal/techfloor/orange{
- dir = 8
+/obj/effect/step_trigger/lost_in_space/tram,
+/obj/effect/floor_decal/transit/orange{
+ dir = 4
},
-/turf/simulated/floor/tiled/techfloor/grid,
-/area/centcom/simulated/terminal)
+/turf/simulated/floor/tiled/techfloor/grid/transit,
+/area/space)
"sB" = (
/obj/structure/table/glass,
/obj/item/weapon/storage/pill_bottle/spaceacillin,
@@ -2489,16 +2579,22 @@
/obj/effect/overmap/bluespace_rift,
/turf/unsimulated/map,
/area/overmap)
+"sH" = (
+/obj/structure/closet/walllocker_double/hydrant/south,
+/obj/structure/bed/chair/sofa/bench/right{
+ dir = 4;
+ padding_color = "#99AAFF"
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"sN" = (
-/obj/effect/step_trigger/lost_in_space/tram,
-/obj/effect/floor_decal/transit/orange{
- dir = 8
- },
-/turf/simulated/floor/tiled/techfloor/grid{
- icon = 'icons/turf/transit_vr.dmi';
- initial_flooring = null
- },
-/area/space)
+/turf/simulated/floor/maglev,
+/area/centcom/simulated/terminal)
"sQ" = (
/obj/structure/table/reinforced,
/obj/item/weapon/melee/baton/loaded,
@@ -2542,30 +2638,49 @@
/turf/space/transit/east,
/area/space)
"tH" = (
-/obj/effect/floor_decal/transit/orange{
- dir = 8
- },
-/obj/effect/step_trigger/thrower{
- affect_ghosts = 1;
- name = "thrower_throwdownside";
- nostop = 1;
- stopper = 0;
- tiles = 0
- },
-/obj/effect/transit/light{
- dir = 8
- },
-/turf/simulated/floor/tiled/techfloor/grid{
- icon = 'icons/turf/transit_vr.dmi';
- initial_flooring = null
- },
-/area/space)
-"tS" = (
-/obj/structure/bed/chair/shuttle{
+/obj/machinery/light{
dir = 1
},
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
+/obj/random/forgotten_tram,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
+ },
+/obj/structure/table/standard,
+/obj/item/weapon/storage/firstaid/toxin,
+/obj/item/weapon/storage/firstaid/o2,
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
+"tL" = (
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
+ },
+/obj/structure/bed/chair/shuttle_padded{
+ dir = 4
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
+"tV" = (
+/obj/structure/table/standard,
+/obj/random/forgotten_tram,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
+"tW" = (
+/obj/structure/sign/securearea{
+ desc = "A warning sign which reads 'HIGH VOLTAGE'";
+ icon_state = "shock";
+ name = "HIGH VOLTAGE"
+ },
+/turf/unsimulated/wall,
+/area/centcom/simulated/terminal)
"uc" = (
/turf/unsimulated/wall,
/area/centcom/suppy)
@@ -2594,12 +2709,30 @@
icon_state = "dark"
},
/area/centcom/suppy)
+"uj" = (
+/obj/effect/floor_decal/techfloor/orange{
+ dir = 8
+ },
+/turf/simulated/floor/tiled/techfloor/grid,
+/area/centcom/simulated/terminal)
+"uE" = (
+/obj/machinery/door/airlock/glass_external{
+ frequency = 1380;
+ icon_state = "door_locked";
+ id_tag = "escape_shuttle_hatch_station";
+ locked = 1;
+ name = "Shuttle Hatch"
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"uG" = (
/obj/effect/step_trigger/lost_in_space/tram,
-/turf/simulated/floor/tiled/techfloor/grid{
- icon = 'icons/turf/transit_vr.dmi';
- initial_flooring = null
- },
+/turf/simulated/floor/tiled/techfloor/grid/transit,
/area/space)
"uM" = (
/obj/item/toy/chess/knight_black,
@@ -2617,12 +2750,6 @@
icon = 'icons/turf/transit_vr.dmi'
},
/area/space)
-"vz" = (
-/obj/effect/floor_decal/borderfloor{
- dir = 1
- },
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
"vW" = (
/obj/effect/floor_decal/sign/small_a,
/turf/simulated/floor/holofloor/wood,
@@ -2688,14 +2815,18 @@
},
/turf/unsimulated/floor/steel,
/area/centcom/control)
-"xi" = (
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced{
- dir = 1
+"xm" = (
+/obj/machinery/light,
+/obj/random/forgotten_tram,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
},
-/obj/structure/grille,
-/turf/simulated/floor/plating/eris/under,
-/area/shuttle/escape)
+/obj/random/forgotten_tram,
+/obj/structure/table/standard,
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"xu" = (
/obj/structure/sign/painting/public{
pixel_y = 30
@@ -2766,12 +2897,6 @@
},
/turf/simulated/floor/tiled/steel,
/area/centcom/simulated/main_hall)
-"yU" = (
-/obj/effect/floor_decal/industrial/warning/corner{
- dir = 1
- },
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
"yV" = (
/obj/machinery/atmospherics/pipe/manifold/hidden,
/turf/simulated/floor/tiled/white,
@@ -2811,22 +2936,6 @@
},
/turf/simulated/floor/tiled/techfloor/grid,
/area/centcom/simulated/terminal)
-"zw" = (
-/obj/effect/floor_decal/borderfloor{
- dir = 8
- },
-/obj/effect/floor_decal/borderfloor{
- dir = 4
- },
-/obj/machinery/door/airlock/glass_external{
- frequency = 1380;
- icon_state = "door_locked";
- id_tag = "escape_shuttle_hatch_offsite";
- locked = 1;
- name = "Shuttle Hatch"
- },
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
"zF" = (
/obj/structure/reagent_dispensers/peppertank{
pixel_x = 30
@@ -2835,30 +2944,43 @@
/area/centcom/simulated/security{
name = "\improper CentCom Security Arrivals"
})
-"zH" = (
-/obj/effect/floor_decal/borderfloor{
- dir = 9
- },
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
"zK" = (
-/obj/effect/floor_decal/techfloor/orange{
- dir = 8
+/obj/effect/shuttle_landmark{
+ base_area = /area/centcom/simulated/terminal;
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid;
+ docking_controller = null;
+ landmark_tag = "escape_cc";
+ name = "Escape Centcom"
},
-/obj/machinery/light{
- dir = 8
+/obj/machinery/door/airlock/glass_external{
+ frequency = 1380;
+ icon_state = "door_locked";
+ id_tag = "escape_shuttle_hatch_station";
+ locked = 1;
+ name = "Shuttle Hatch"
},
-/turf/simulated/floor/tiled/techfloor/grid,
-/area/centcom/simulated/terminal)
-"Al" = (
-/obj/effect/floor_decal/borderfloor{
- dir = 1
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
},
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"As" = (
-/turf/simulated/floor/maglev,
-/area/centcom/simulated/terminal)
+/obj/machinery/door/airlock/glass_external{
+ frequency = 1380;
+ icon_state = "door_locked";
+ id_tag = "escape_shuttle_hatch_offsite";
+ locked = 1;
+ name = "Shuttle Hatch"
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"Av" = (
/obj/effect/transit/light{
dir = 8
@@ -2877,12 +2999,6 @@
"Az" = (
/turf/unsimulated/beach/coastline,
/area/beach)
-"AD" = (
-/obj/effect/floor_decal/borderfloor{
- dir = 4
- },
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
"AK" = (
/obj/machinery/door/airlock/medical{
name = "Operating Theatre";
@@ -2901,14 +3017,6 @@
/obj/item/toy/chess/bishop_black,
/turf/simulated/floor/holofloor/bmarble,
/area/holodeck/source_chess)
-"Bs" = (
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced{
- dir = 8
- },
-/obj/structure/grille,
-/turf/simulated/floor/plating/eris/under,
-/area/shuttle/escape)
"Bw" = (
/turf/unsimulated/beach/water,
/area/beach)
@@ -2924,31 +3032,9 @@
/turf/space,
/turf/space/internal_edge/bottomleft,
/area/space)
-"Cd" = (
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced,
-/obj/structure/grille,
-/turf/simulated/floor/plating/eris/under,
-/area/shuttle/escape)
"Cn" = (
/turf/simulated/sky/virgo3b/south,
/area/space)
-"Cp" = (
-/obj/effect/floor_decal/borderfloor{
- dir = 4
- },
-/obj/effect/floor_decal/borderfloor{
- dir = 8
- },
-/obj/machinery/door/airlock/glass_external{
- frequency = 1380;
- icon_state = "door_locked";
- id_tag = "escape_shuttle_hatch_station";
- locked = 1;
- name = "Shuttle Hatch"
- },
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
"Ct" = (
/obj/machinery/ntnet_relay,
/turf/unsimulated/floor/steel,
@@ -2969,18 +3055,6 @@
},
/turf/unsimulated/wall,
/area/centcom/simulated/terminal)
-"CD" = (
-/obj/effect/floor_decal/borderfloor{
- dir = 10
- },
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
-"CG" = (
-/obj/effect/floor_decal/borderfloor{
- dir = 5
- },
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
"CJ" = (
/obj/item/toy/chess/pawn_white,
/turf/simulated/floor/holofloor/bmarble,
@@ -2998,15 +3072,6 @@
},
/turf/simulated/floor/tiled/steel,
/area/space)
-"Dm" = (
-/obj/machinery/light{
- dir = 4
- },
-/obj/effect/floor_decal/industrial/warning/corner{
- dir = 4
- },
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
"Dw" = (
/obj/structure/table/standard,
/obj/item/weapon/reagent_containers/food/snacks/chips,
@@ -3016,18 +3081,6 @@
/turf/space,
/turf/space/internal_edge/topright,
/area/space)
-"DI" = (
-/obj/machinery/status_display{
- pixel_y = 32
- },
-/obj/machinery/light{
- dir = 1
- },
-/obj/effect/floor_decal/borderfloor{
- dir = 9
- },
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
"DL" = (
/obj/effect/floor_decal/sign/small_b,
/turf/simulated/floor/holofloor/wood,
@@ -3043,12 +3096,6 @@
/obj/effect/floor_decal/sign/small_g,
/turf/simulated/floor/holofloor/wood,
/area/holodeck/source_chess)
-"Et" = (
-/obj/effect/floor_decal/borderfloor/corner{
- dir = 4
- },
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
"Eu" = (
/obj/structure/sign/painting/public{
pixel_y = -30
@@ -3064,6 +3111,33 @@
},
/turf/simulated/floor/wood,
/area/centcom/simulated/restaurant)
+"Ey" = (
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
+ },
+/obj/structure/closet/walllocker/medical/west{
+ dir = 1;
+ pixel_x = 0;
+ pixel_y = -32
+ },
+/obj/structure/bed/chair/shuttle_padded{
+ dir = 4
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
+"EC" = (
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
+ },
+/obj/machinery/status_display{
+ pixel_x = 34
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"ET" = (
/turf/simulated/floor/tiled/techfloor/grid,
/area/centcom/simulated/terminal)
@@ -3075,10 +3149,6 @@
/obj/structure/table/standard,
/turf/unsimulated/beach/sand,
/area/beach)
-"Fe" = (
-/obj/structure/sign/nanotrasen,
-/turf/simulated/wall/thull,
-/area/shuttle/escape)
"Fp" = (
/obj/effect/transit/light{
dir = 4
@@ -3088,18 +3158,18 @@
icon_state = "rock"
},
/area/space)
-"Ft" = (
-/obj/machinery/light{
- dir = 1
+"Fz" = (
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
},
-/obj/machinery/status_display{
- pixel_y = 32
+/obj/structure/bed/chair/sofa/bench/right{
+ dir = 8;
+ padding_color = "#99AAFF"
},
-/obj/effect/floor_decal/borderfloor{
- dir = 5
- },
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"FC" = (
/turf/simulated/floor/wood,
/area/centcom/simulated/bar)
@@ -3114,35 +3184,9 @@
},
/turf/unsimulated/beach/sand,
/area/beach)
-"FJ" = (
-/obj/structure/bed/chair/shuttle,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
"FT" = (
-/turf/simulated/floor/tiled/techfloor/grid{
- icon = 'icons/turf/transit_vr.dmi';
- initial_flooring = null
- },
+/turf/simulated/floor/tiled/techfloor/grid/transit,
/area/space)
-"FX" = (
-/obj/effect/step_trigger/lost_in_space/tram,
-/obj/effect/floor_decal/transit/orange{
- dir = 4
- },
-/turf/simulated/floor/tiled/techfloor/grid{
- icon = 'icons/turf/transit_vr.dmi';
- initial_flooring = null
- },
-/area/space)
-"FY" = (
-/obj/structure/bed/chair/shuttle{
- dir = 4
- },
-/obj/effect/floor_decal/borderfloor{
- dir = 10
- },
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
"Ga" = (
/turf/unsimulated/floor/steel,
/area/centcom/control)
@@ -3157,12 +3201,6 @@
/obj/effect/overlay/palmtree_l,
/turf/unsimulated/beach/sand,
/area/beach)
-"Gz" = (
-/obj/structure/table/standard,
-/obj/effect/floor_decal/borderfloor,
-/obj/random/forgotten_tram,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
"GU" = (
/obj/structure/bed/chair{
dir = 8
@@ -3216,20 +3254,6 @@
/obj/machinery/light,
/turf/simulated/floor/wood,
/area/centcom/simulated/restaurant)
-"HX" = (
-/obj/structure/bed/chair/shuttle{
- dir = 4
- },
-/obj/effect/floor_decal/borderfloor{
- dir = 9
- },
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
-"Ic" = (
-/obj/structure/table/standard,
-/obj/structure/closet/walllocker/emerglocker/west,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
"Ik" = (
/obj/structure/table/standard,
/obj/item/weapon/reagent_containers/food/drinks/cans/cola,
@@ -3254,21 +3278,13 @@
/turf/unsimulated/floor/steel,
/area/centcom/control)
"IN" = (
-/obj/effect/floor_decal/transit/orange{
- dir = 8
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
},
-/obj/effect/step_trigger/thrower{
- affect_ghosts = 1;
- name = "thrower_throwdownside";
- nostop = 1;
- stopper = 0;
- tiles = 0
- },
-/turf/simulated/floor/tiled/techfloor/grid{
- icon = 'icons/turf/transit_vr.dmi';
- initial_flooring = null
- },
-/area/space)
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"IR" = (
/obj/effect/step_trigger/thrower{
affect_ghosts = 1;
@@ -3287,20 +3303,6 @@
/obj/item/toy/chess/bishop_white,
/turf/simulated/floor/holofloor/bmarble,
/area/holodeck/source_chess)
-"Jq" = (
-/obj/structure/table/standard,
-/obj/item/weapon/storage/firstaid,
-/obj/item/toy/nanotrasenballoon,
-/obj/item/weapon/storage/firstaid/toxin,
-/obj/item/weapon/storage/firstaid/o2,
-/obj/structure/closet/walllocker/medical/west,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
-"Jw" = (
-/obj/structure/table/standard,
-/obj/structure/closet/walllocker/emerglocker/east,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
"Jz" = (
/obj/effect/step_trigger/teleporter/random{
affect_ghosts = 1;
@@ -3386,6 +3388,30 @@
},
/turf/simulated/floor/tiled/steel,
/area/space)
+"Lm" = (
+/obj/structure/bed/chair/sofa/bench{
+ padding_color = "#99AAFF"
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
+"Lu" = (
+/obj/structure/closet/walllocker_double/hydrant/north,
+/obj/structure/bed/chair/sofa/bench/right{
+ dir = 8;
+ padding_color = "#99AAFF"
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"Lz" = (
/obj/effect/step_trigger/teleporter/planetary_fall/virgo3b,
/turf/simulated/sky/virgo3b/south,
@@ -3407,14 +3433,17 @@
/turf/simulated/floor/tiled/white,
/area/centcom/simulated/medical)
"Mb" = (
-/obj/effect/floor_decal/transit/orange{
- dir = 8
+/obj/structure/bed/chair/sofa/bench/right{
+ dir = 4;
+ padding_color = "#99AAFF"
},
-/turf/simulated/floor/tiled/techfloor/grid{
- icon = 'icons/turf/transit_vr.dmi';
- initial_flooring = null
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
},
-/area/space)
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"Me" = (
/turf/simulated/floor/smole/desert,
/area/holodeck/source_smoleworld)
@@ -3422,15 +3451,17 @@
/obj/item/toy/chess/bishop_white,
/turf/simulated/floor/holofloor/wmarble,
/area/holodeck/source_chess)
-"Mq" = (
-/obj/machinery/light{
+"Mm" = (
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
+ },
+/obj/structure/bed/chair/shuttle_padded{
dir = 8
},
-/obj/effect/floor_decal/industrial/warning/corner{
- dir = 1
- },
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"MB" = (
/obj/machinery/sleeper{
dir = 4
@@ -3458,6 +3489,17 @@
},
/turf/space/transit/east,
/area/space)
+"MP" = (
+/obj/structure/bed/chair/sofa/bench/left{
+ padding_color = "#99AAFF"
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"Nj" = (
/obj/item/clothing/head/collectable/paper,
/turf/unsimulated/beach/sand,
@@ -3494,6 +3536,29 @@
},
/turf/simulated/floor/tiled/steel_grid,
/area/centcom/simulated/terminal)
+"NC" = (
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
+ },
+/obj/structure/bed/chair/sofa/bench/left{
+ dir = 8;
+ padding_color = "#99AAFF"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
+"ND" = (
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
+ },
+/obj/machinery/vending/cola/soft{
+ dir = 1
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"NJ" = (
/obj/structure/table/reinforced,
/obj/item/weapon/reagent_containers/food/drinks/flask/barflask,
@@ -3502,13 +3567,17 @@
/turf/simulated/floor/wood,
/area/centcom/simulated/bar)
"NW" = (
-/obj/structure/sign/securearea{
- desc = "A warning sign which reads 'HIGH VOLTAGE'";
- icon_state = "shock";
- name = "HIGH VOLTAGE"
+/obj/machinery/light{
+ dir = 8
},
-/turf/unsimulated/wall,
-/area/centcom/simulated/terminal)
+/obj/random/forgotten_tram,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"Oj" = (
/obj/effect/step_trigger/thrower{
affect_ghosts = 1;
@@ -3534,12 +3603,6 @@
"OY" = (
/turf/unsimulated/map,
/area/overmap)
-"Pe" = (
-/obj/effect/floor_decal/borderfloor/corner{
- dir = 1
- },
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
"Pf" = (
/obj/structure/table/woodentable{
dir = 5
@@ -3549,12 +3612,6 @@
},
/turf/simulated/floor/tiled,
/area/centcom/simulated/terminal)
-"Pg" = (
-/obj/structure/bed/chair/shuttle{
- dir = 4
- },
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
"Pi" = (
/obj/effect/step_trigger/thrower{
affect_ghosts = 1;
@@ -3565,40 +3622,79 @@
},
/turf/space/transit/west,
/area/space)
+"Pk" = (
+/obj/effect/fancy_shuttle/orangeline{
+ dir = 1;
+ fancy_shuttle_tag = "tram";
+ plane = -50
+ },
+/obj/effect/fancy_shuttle_floor_preview/orangeline{
+ dir = 1;
+ plane = -45
+ },
+/turf/simulated/wall/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
+ },
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
+"Pn" = (
+/obj/structure/bed/chair/sofa/bench{
+ dir = 1;
+ padding_color = "#99AAFF"
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"Pq" = (
/obj/machinery/vending/coffee{
dir = 1
},
/turf/simulated/floor/wood,
/area/centcom/simulated/restaurant)
-"Py" = (
-/obj/effect/step_trigger/thrower{
- affect_ghosts = 1;
- name = "thrower_throwdownside";
- nostop = 1;
- stopper = 0;
- tiles = 0
- },
-/obj/effect/floor_decal/transit/orange{
+"Pr" = (
+/obj/machinery/light{
dir = 4
},
-/turf/simulated/floor/tiled/techfloor/grid{
- icon = 'icons/turf/transit_vr.dmi';
- initial_flooring = null
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
},
-/area/space)
+/obj/structure/table/standard,
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
+"Py" = (
+/obj/structure/bed/chair/sofa/bench/left{
+ dir = 1;
+ padding_color = "#99AAFF"
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"PM" = (
/turf/simulated/floor/smole/megablocks,
/area/holodeck/source_smoleworld)
"PU" = (
-/obj/effect/floor_decal/transit/orange{
- dir = 4
+/obj/structure/bed/chair/sofa/bench/right{
+ dir = 1;
+ padding_color = "#99AAFF"
},
-/turf/simulated/floor/tiled/techfloor/grid{
- icon = 'icons/turf/transit_vr.dmi';
- initial_flooring = null
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
},
-/area/space)
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"Qo" = (
/obj/machinery/vending/sovietsoda{
dir = 1
@@ -3621,51 +3717,6 @@
},
/turf/simulated/floor/tiled/techfloor/grid,
/area/centcom/simulated/terminal)
-"Rd" = (
-/obj/structure/bed/chair/shuttle,
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
-"Rg" = (
-/obj/machinery/door/airlock/glass_external{
- frequency = 1380;
- icon_state = "door_locked";
- id_tag = "escape_shuttle_hatch_station";
- locked = 1;
- name = "Shuttle Hatch"
- },
-/obj/effect/floor_decal/borderfloor{
- dir = 4
- },
-/obj/effect/floor_decal/borderfloor{
- dir = 8
- },
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
-"Ri" = (
-/obj/structure/table/standard,
-/obj/effect/floor_decal/borderfloor{
- dir = 1
- },
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
-"Rk" = (
-/obj/structure/bed/chair/shuttle{
- dir = 8
- },
-/obj/effect/floor_decal/borderfloor{
- dir = 1
- },
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
-"Rm" = (
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
-"Ro" = (
-/obj/effect/floor_decal/industrial/warning{
- dir = 4
- },
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
"Rq" = (
/obj/machinery/door/blast/regular{
density = 0;
@@ -3688,16 +3739,6 @@
},
/turf/simulated/floor/tiled/steel,
/area/centcom/simulated/main_hall)
-"Rs" = (
-/obj/effect/floor_decal/industrial/warning{
- dir = 8
- },
-/obj/effect/floor_decal/borderfloor/corner{
- dir = 4
- },
-/obj/structure/closet/walllocker_double/hydrant/north,
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
"Ru" = (
/turf/simulated/floor/tiled/steel,
/area/centcom/simulated/main_hall)
@@ -3724,45 +3765,25 @@
},
/turf/simulated/floor/tiled/white,
/area/centcom/simulated/medical)
-"Rz" = (
-/obj/effect/floor_decal/industrial/warning/corner{
- dir = 4
- },
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
"RA" = (
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
-"RC" = (
-/obj/effect/floor_decal/industrial/warning/corner,
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
-"RD" = (
-/obj/structure/bed/chair/shuttle{
- dir = 8
+/obj/machinery/light,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
},
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
-"RE" = (
-/obj/effect/floor_decal/industrial/warning{
- dir = 4
+/obj/structure/table/standard,
+/obj/item/weapon/storage/firstaid/toxin,
+/obj/item/weapon/storage/firstaid/o2,
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
+"RN" = (
+/turf/simulated/wall/fancy_shuttle/window{
+ fancy_shuttle_tag = "tram"
},
-/obj/effect/floor_decal/borderfloor/corner{
- dir = 8
- },
-/obj/structure/closet/walllocker_double/hydrant/south,
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
-"RF" = (
-/obj/effect/floor_decal/industrial/outline/blue,
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
-"RG" = (
-/obj/effect/floor_decal/borderfloor{
- dir = 8
- },
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"RV" = (
/obj/effect/step_trigger/teleporter/random{
affect_ghosts = 1;
@@ -3776,16 +3797,6 @@
},
/turf/simulated/sky/virgo3b/south,
/area/space)
-"RY" = (
-/obj/effect/floor_decal/industrial/warning{
- dir = 4
- },
-/obj/effect/floor_decal/borderfloor/corner{
- dir = 1
- },
-/obj/structure/closet/walllocker_double/hydrant/north,
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
"Sf" = (
/obj/structure/table/reinforced,
/obj/machinery/chemical_dispenser/bar_alc/full,
@@ -3799,17 +3810,8 @@
stopper = 0;
tiles = 0
},
-/turf/simulated/floor/tiled/techfloor/grid{
- icon = 'icons/turf/transit_vr.dmi';
- initial_flooring = null
- },
+/turf/simulated/floor/tiled/techfloor/grid/transit,
/area/space)
-"Sl" = (
-/obj/structure/bed/chair/shuttle{
- dir = 1
- },
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
"Sm" = (
/turf/simulated/shuttle/wall/alien/blue/hard_corner,
/area/unknown/dorm4)
@@ -3852,15 +3854,6 @@
/obj/structure/fans,
/turf/simulated/shuttle/floor/alien,
/area/unknown/dorm4)
-"Sy" = (
-/obj/structure/bed/chair/shuttle{
- dir = 4
- },
-/obj/effect/floor_decal/borderfloor{
- dir = 1
- },
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
"Sz" = (
/obj/machinery/smartfridge/survival_pod,
/obj/item/weapon/storage/mre/menu11,
@@ -3913,15 +3906,6 @@
/obj/structure/prop/alien/dispenser,
/turf/simulated/shuttle/floor/alien,
/area/unknown/dorm4)
-"SG" = (
-/obj/machinery/light{
- dir = 8
- },
-/obj/effect/floor_decal/industrial/warning/corner{
- dir = 8
- },
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
"SH" = (
/obj/structure/bed/chair{
dir = 8
@@ -4091,13 +4075,6 @@
/obj/effect/overlay/coconut,
/turf/unsimulated/beach/sand,
/area/beach)
-"Tv" = (
-/obj/machinery/light{
- dir = 4
- },
-/obj/effect/floor_decal/industrial/warning/corner,
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
"Tx" = (
/obj/structure/prop/alien/dispenser,
/turf/simulated/shuttle/floor/alien,
@@ -4168,6 +4145,19 @@
/obj/machinery/recharge_station,
/turf/simulated/shuttle/floor/alienplating,
/area/unknown/dorm2)
+"TO" = (
+/obj/structure/bed/chair/sofa/bench/left{
+ dir = 8;
+ padding_color = "#99AAFF"
+ },
+/obj/random/forgotten_tram,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"TP" = (
/turf/simulated/shuttle/floor/alienplating,
/area/unknown/dorm2)
@@ -4329,6 +4319,17 @@
"Ux" = (
/turf/simulated/shuttle/wall/alien,
/area/unknown/dorm1)
+"Uy" = (
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
+ },
+/obj/machinery/status_display{
+ pixel_x = -34
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"Uz" = (
/obj/machinery/recharge_station,
/turf/simulated/shuttle/floor/alienplating,
@@ -4484,12 +4485,6 @@
"Vd" = (
/turf/unsimulated/wall,
/area/centcom/simulated/medical)
-"Ve" = (
-/obj/effect/floor_decal/borderfloor{
- dir = 8
- },
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
"Vf" = (
/obj/machinery/door/airlock{
name = "Unit 4"
@@ -4634,12 +4629,6 @@
},
/turf/simulated/floor/tiled/steel,
/area/centcom/simulated/evac)
-"VK" = (
-/obj/effect/floor_decal/borderfloor{
- dir = 4
- },
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
"VL" = (
/obj/effect/floor_decal/steeldecal/steel_decals9,
/turf/simulated/floor/tiled,
@@ -4668,14 +4657,6 @@
"VQ" = (
/turf/simulated/floor/wood,
/area/centcom/simulated/restaurant)
-"VR" = (
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced{
- dir = 4
- },
-/obj/structure/grille,
-/turf/simulated/floor/plating/eris/under,
-/area/shuttle/escape)
"VS" = (
/obj/effect/floor_decal/corner_steel_grid/diagonal,
/obj/effect/floor_decal/industrial/warning/dust/corner{
@@ -4778,21 +4759,6 @@
},
/turf/simulated/floor/tiled/steel,
/area/centcom/simulated/living)
-"Wt" = (
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced{
- dir = 8
- },
-/obj/effect/shuttle_landmark{
- base_area = /area/centcom/simulated/terminal;
- base_turf = /turf/simulated/floor/tiled/techfloor/grid;
- docking_controller = null;
- landmark_tag = "escape_cc";
- name = "Escape Centcom"
- },
-/obj/structure/grille,
-/turf/simulated/floor/plating/eris/under,
-/area/shuttle/escape)
"Wz" = (
/obj/structure/table/woodentable,
/obj/item/weapon/reagent_containers/food/snacks/pastatomato,
@@ -4840,11 +4806,6 @@
},
/turf/simulated/floor/tiled/steel,
/area/centcom/simulated/main_hall)
-"WF" = (
-/obj/structure/table/standard,
-/obj/random/forgotten_tram,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
"WH" = (
/obj/structure/bed/chair/wood/wings{
dir = 1
@@ -4897,33 +4858,10 @@
"WS" = (
/turf/simulated/floor/tiled/white,
/area/centcom/simulated/medical)
-"WT" = (
-/obj/structure/table/standard,
-/obj/effect/floor_decal/borderfloor,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
-"WU" = (
-/obj/structure/bed/chair/shuttle{
- dir = 8
- },
-/obj/effect/floor_decal/borderfloor,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
-"WV" = (
-/obj/effect/floor_decal/borderfloor,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
"WW" = (
/obj/item/weapon/stool/padded,
/turf/simulated/floor/wood,
/area/centcom/simulated/bar)
-"WZ" = (
-/obj/structure/bed/chair/shuttle{
- dir = 4
- },
-/obj/effect/floor_decal/borderfloor,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
"Xa" = (
/obj/structure/bed/chair/wood/wings{
dir = 4
@@ -5000,10 +4938,6 @@
},
/turf/simulated/floor/tiled/white,
/area/centcom/simulated/medical)
-"Xn" = (
-/obj/effect/floor_decal/borderfloor,
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
"Xp" = (
/obj/structure/toilet{
dir = 8
@@ -5013,10 +4947,6 @@
},
/turf/simulated/floor/tiled/white,
/area/centcom/simulated/bathroom)
-"Xr" = (
-/obj/effect/floor_decal/borderfloor/corner,
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
"Xv" = (
/obj/machinery/vending/cigarette{
dir = 1
@@ -5038,22 +4968,6 @@
/area/centcom/simulated/security{
name = "\improper CentCom Security Arrivals"
})
-"Xy" = (
-/obj/effect/floor_decal/borderfloor{
- dir = 4
- },
-/obj/effect/floor_decal/borderfloor{
- dir = 8
- },
-/obj/machinery/door/airlock/glass_external{
- frequency = 1380;
- icon_state = "door_locked";
- id_tag = "escape_shuttle_hatch_offsite";
- locked = 1;
- name = "Shuttle Hatch"
- },
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
"Xz" = (
/obj/structure/bed/chair/office/dark{
dir = 1
@@ -5103,9 +5017,6 @@
/area/centcom/simulated/security{
name = "\improper CentCom Security Arrivals"
})
-"XE" = (
-/turf/simulated/wall/thull,
-/area/shuttle/escape)
"XH" = (
/obj/structure/bed/chair{
dir = 8
@@ -5185,15 +5096,6 @@
/area/centcom/simulated/security{
name = "\improper CentCom Security Arrivals"
})
-"XW" = (
-/obj/structure/bed/chair/shuttle{
- dir = 4
- },
-/obj/effect/floor_decal/borderfloor{
- dir = 8
- },
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
"XX" = (
/obj/machinery/light{
dir = 4
@@ -5483,14 +5385,6 @@
/obj/effect/floor_decal/sign/small_e,
/turf/simulated/floor/holofloor/wood,
/area/holodeck/source_chess)
-"YY" = (
-/obj/structure/table/standard,
-/obj/item/weapon/storage/firstaid/regular,
-/obj/item/weapon/storage/firstaid/toxin,
-/obj/item/weapon/storage/firstaid/o2,
-/obj/structure/closet/walllocker/medical/east,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
"YZ" = (
/obj/effect/floor_decal/techfloor/orange{
dir = 4
@@ -5621,15 +5515,6 @@
"Zt" = (
/turf/simulated/floor/tiled/steel_grid,
/area/centcom/simulated/terminal)
-"Zw" = (
-/obj/machinery/status_display{
- pixel_y = -30
- },
-/obj/structure/bed/chair/shuttle{
- dir = 1
- },
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/escape)
"Zx" = (
/obj/machinery/light,
/turf/simulated/floor/tiled/white,
@@ -5648,20 +5533,13 @@
},
/turf/simulated/floor/wood,
/area/centcom/simulated/restaurant)
-"ZD" = (
-/obj/machinery/light,
-/obj/effect/floor_decal/borderfloor{
- dir = 10
- },
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
"ZE" = (
-/obj/machinery/light,
-/obj/effect/floor_decal/borderfloor{
- dir = 6
+/turf/simulated/wall/fancy_shuttle{
+ fancy_shuttle_tag = "tram"
},
-/turf/simulated/floor/tiled/steel,
-/area/shuttle/escape)
+/area/shuttle/escape{
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid
+ })
"ZF" = (
/obj/machinery/vending/cola{
dir = 1
@@ -10083,48 +9961,48 @@ Xl
(32,1,1) = {"
Hy
Hy
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
Hy
ap
ap
@@ -10225,47 +10103,47 @@ Xl
(33,1,1) = {"
Hy
Hy
-Mb
-Mb
-in
-Mb
-Mb
-Mb
-tH
-IN
-IN
-IN
-tH
-IN
-IN
-IN
-tH
-IN
-IN
-IN
-sp
-lf
-IN
-IN
-sp
-IN
-IN
-IN
-sp
-IN
-IN
-IN
-sp
-Mb
-Mb
-Mb
-mF
-Mb
-Mb
-Mb
-in
-sN
-Mb
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
dg
Av
ap
@@ -10367,47 +10245,47 @@ Xl
(34,1,1) = {"
Hy
Hy
-FT
-FT
-FT
-FT
-FT
-FT
-Sh
-Sh
-Sh
-Sh
-Sh
-FT
-FT
-FT
-FT
-FT
-FT
-FT
-jL
-FT
-FT
-FT
-FT
-FT
-FT
-FT
-Sh
-Sh
-Sh
-Sh
-Sh
-FT
-FT
-FT
-FT
-FT
-FT
-FT
-FT
-uG
-FT
+hI
+hI
+in
+hI
+hI
+hI
+lf
+mb
+mb
+mb
+lf
+mb
+mb
+mb
+lf
+mb
+mb
+mb
+oL
+pv
+mb
+mb
+oL
+mb
+mb
+mb
+oL
+mb
+mb
+mb
+oL
+hI
+hI
+hI
+qc
+hI
+hI
+hI
+in
+sw
+hI
dg
Hy
ap
@@ -10518,6 +10396,11 @@ FT
Sh
Sh
Sh
+Sh
+Sh
+FT
+FT
+gv
FT
FT
FT
@@ -10531,12 +10414,7 @@ FT
FT
FT
FT
-FT
-FT
-FT
-FT
-FT
-FT
+Sh
Sh
Sh
Sh
@@ -10659,6 +10537,9 @@ cq
cq
vu
vu
+vu
+vu
+vu
cq
cq
cq
@@ -10675,11 +10556,8 @@ cq
cq
cq
cq
-cq
-cq
-cq
-cq
-cq
+vu
+vu
vu
vu
cq
@@ -10800,6 +10678,10 @@ FT
FT
FT
Sh
+Sh
+Sh
+Sh
+Sh
FT
FT
FT
@@ -10816,13 +10698,9 @@ FT
FT
FT
FT
-FT
-FT
-FT
-FT
-FT
-FT
-FT
+Sh
+Sh
+Sh
Sh
FT
FT
@@ -10942,6 +10820,10 @@ FT
FT
FT
Sh
+Sh
+Sh
+Sh
+Sh
FT
FT
FT
@@ -10958,13 +10840,9 @@ FT
FT
FT
FT
-FT
-FT
-FT
-FT
-FT
-FT
-FT
+Sh
+Sh
+Sh
Sh
FT
FT
@@ -11084,6 +10962,10 @@ FT
FT
FT
Sh
+Sh
+Sh
+Sh
+Sh
FT
FT
FT
@@ -11100,13 +10982,9 @@ FT
FT
FT
FT
-FT
-FT
-FT
-FT
-FT
-FT
-FT
+Sh
+Sh
+Sh
Sh
FT
FT
@@ -11226,6 +11104,10 @@ FT
FT
FT
Sh
+Sh
+Sh
+Sh
+Sh
FT
FT
FT
@@ -11242,13 +11124,9 @@ FT
FT
FT
FT
-FT
-FT
-FT
-FT
-FT
-FT
-FT
+Sh
+Sh
+Sh
Sh
FT
FT
@@ -11368,6 +11246,10 @@ FT
FT
FT
Sh
+Sh
+Sh
+Sh
+Sh
FT
FT
FT
@@ -11384,13 +11266,9 @@ FT
FT
FT
FT
-FT
-FT
-FT
-FT
-FT
-FT
-FT
+Sh
+Sh
+Sh
Sh
FT
FT
@@ -11511,6 +11389,9 @@ cq
cq
vu
vu
+vu
+vu
+vu
cq
cq
cq
@@ -11527,11 +11408,8 @@ cq
cq
cq
cq
-cq
-cq
-cq
-cq
-cq
+vu
+vu
vu
vu
cq
@@ -11654,6 +11532,8 @@ FT
Sh
Sh
Sh
+Sh
+Sh
FT
FT
FT
@@ -11670,9 +11550,7 @@ FT
FT
FT
FT
-FT
-FT
-FT
+Sh
Sh
Sh
Sh
@@ -11787,47 +11665,47 @@ Xl
(44,1,1) = {"
Hy
Hy
-FT
-FT
-FT
-FT
-FT
-FT
-Sh
-Sh
-Sh
-Sh
-Sh
-FT
-FT
-FT
-FT
-FT
-FT
-FT
-FT
-FT
-FT
-FT
-FT
-FT
-FT
-FT
-Sh
-Sh
-Sh
-Sh
-Sh
-FT
-FT
-FT
-FT
-FT
-FT
-FT
-FT
-uG
-FT
+ig
+ig
+is
+ig
+ig
+ig
+lu
+mF
+mF
+mF
+lu
+mF
+mF
+mF
+lu
+mF
+mF
+mF
+lu
+pQ
+mF
+mF
+lu
+mF
+mF
+mF
+lu
+mF
+mF
+mF
+lu
+ig
+ig
+ig
+sp
+ig
+ig
+ig
+is
+sx
+ig
dg
Hy
ap
@@ -11929,47 +11807,47 @@ Xl
(45,1,1) = {"
Hy
Hy
-PU
-PU
-is
-PU
-PU
-PU
-ig
-Py
-Py
-Py
-ig
-Py
-Py
-Py
-ig
-Py
-Py
-Py
-ig
-mb
-Py
-Py
-ig
-Py
-Py
-Py
-ig
-Py
-Py
-Py
-ig
-PU
-PU
-PU
-pv
-PU
-PU
-PU
-is
-FX
-PU
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
+dg
dg
Fp
ap
@@ -12071,48 +11949,48 @@ Xl
(46,1,1) = {"
Hy
Hy
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
-dg
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
+ap
Hy
ap
ap
@@ -15293,10 +15171,10 @@ Jz
Jz
Jz
Jz
-fg
-fg
-fg
-fg
+dD
+dD
+dD
+dD
iO
El
El
@@ -15438,7 +15316,7 @@ jf
Gs
Gs
Gs
-fg
+dD
iO
El
El
@@ -15580,7 +15458,7 @@ jf
Gs
Gs
Gs
-fg
+dD
iO
El
El
@@ -15722,7 +15600,7 @@ jf
Gs
Gs
Gs
-fg
+dD
iO
El
El
@@ -15864,7 +15742,7 @@ jf
Gs
Gs
Gs
-fg
+dD
iO
El
El
@@ -16006,7 +15884,7 @@ jf
Gs
Gs
Gs
-fg
+dD
iO
El
El
@@ -16148,7 +16026,7 @@ jf
Gs
Gs
Gs
-fg
+dD
iO
El
El
@@ -16290,7 +16168,7 @@ jf
Gs
Gs
Gs
-fg
+dD
iO
El
El
@@ -16432,7 +16310,7 @@ jf
Gs
Gs
Gs
-fg
+dD
iO
El
El
@@ -16574,7 +16452,7 @@ jf
Gs
Gs
Gs
-fg
+dD
iO
El
El
@@ -16716,7 +16594,7 @@ jf
Gs
Gs
Gs
-fg
+dD
iO
El
El
@@ -16795,35 +16673,35 @@ ae
ae
ae
ae
-qc
-dZ
-dZ
-dZ
-dZ
-dZ
-dZ
-dZ
-dZ
-NW
-dZ
-dZ
-dZ
-dZ
-dZ
-dZ
-dZ
-dZ
-dZ
-dZ
-dZ
-NW
-dZ
-dZ
-dZ
-dZ
-dZ
-dZ
-CC
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
ae
ae
ae
@@ -16858,7 +16736,7 @@ jf
Gs
Gs
Gs
-fg
+dD
iO
El
El
@@ -16937,35 +16815,35 @@ ae
ae
ae
ae
-sT
-sx
-sx
-sx
-zK
-sx
-sx
-sx
-sx
-zK
-sx
-sx
-sx
-sx
-zK
-sx
-sx
-sx
-sx
-zK
-sx
-sx
-sx
-sx
-zK
-sx
-sx
-sx
-sT
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
+ae
ae
ae
ae
@@ -17000,7 +16878,7 @@ jf
Gs
Gs
Gs
-fg
+dD
iO
El
El
@@ -17079,35 +16957,35 @@ ae
ae
ae
ae
-sT
-ET
-ET
-ET
-ET
-ET
-ET
-XE
-XE
-Rg
-XE
-Fe
-Cp
-Bs
-Wt
-Bs
-Cp
-Fe
-XE
-Rg
-XE
-XE
-ET
-ET
-ET
-ET
-ET
-ET
-sT
+st
+dZ
+dZ
+dZ
+dZ
+dZ
+dZ
+dZ
+dZ
+tW
+dZ
+dZ
+dZ
+dZ
+dZ
+dZ
+dZ
+dZ
+dZ
+dZ
+dZ
+tW
+dZ
+dZ
+dZ
+dZ
+dZ
+dZ
+CC
ae
ae
ae
@@ -17142,7 +17020,7 @@ jf
Gs
Gs
Gs
-fg
+dD
iO
El
El
@@ -17222,33 +17100,33 @@ ae
ae
ae
sT
-ET
-ET
-ET
-ET
-XE
-XE
-XE
-XE
-Rs
-yU
-SG
-gE
-yU
-Rm
-ix
-gE
-Mq
-ix
-ih
-XE
-XE
-XE
-XE
-ET
-ET
-ET
-ET
+uj
+uj
+uj
+jL
+uj
+uj
+uj
+uj
+jL
+uj
+uj
+uj
+uj
+jL
+uj
+uj
+uj
+uj
+jL
+uj
+uj
+uj
+uj
+jL
+uj
+uj
+uj
sT
ae
ae
@@ -17284,7 +17162,7 @@ jf
Gs
Gs
Gs
-fg
+dD
iO
El
El
@@ -17364,33 +17242,33 @@ ae
ae
ae
sT
-As
-As
-As
-XE
-Fe
-FJ
-Jq
-Sl
-Al
-HX
-XW
-Ve
-XW
-XW
-XW
-Ve
-XW
-FY
-Xn
-FJ
-Ic
-Zw
-XE
-XE
-As
-As
-As
+ET
+ET
+ET
+ET
+ET
+ET
+ZE
+ZE
+zK
+ZE
+RN
+RN
+ZE
+RN
+RN
+ZE
+RN
+RN
+ZE
+uE
+ZE
+Pk
+ET
+ET
+ET
+ET
+ET
sT
ae
ae
@@ -17426,7 +17304,7 @@ jf
Gs
Gs
Gs
-fg
+dD
iO
El
El
@@ -17506,33 +17384,33 @@ ae
ae
ae
sT
-ET
-ET
-XE
-XE
-XE
-DI
-RG
-RG
-Pe
-Ri
-WF
-RA
-WF
-iU
-iU
-RA
-WF
-WT
-ii
-RG
-RG
-ZD
-Fe
-XE
-XE
-ET
-ET
+sN
+sN
+sN
+sN
+sN
+sN
+ZE
+tL
+IN
+ZE
+lW
+Mb
+NW
+he
+Mb
+qa
+he
+sH
+ZE
+IN
+tL
+ZE
+sN
+sN
+sN
+sN
+sN
sT
ae
ae
@@ -17568,7 +17446,7 @@ jf
Gs
Gs
Gs
-fg
+dD
iO
El
El
@@ -17650,29 +17528,29 @@ ae
sT
ET
ET
-xi
-Pg
-zH
-Pe
-Rd
-Rd
-Rm
-Rk
-RD
+ET
+ET
+ET
+ET
+ZE
+tH
+IN
+ZE
+IN
+IN
+IN
+IN
+IN
+IN
+IN
+IN
+ZE
+IN
RA
-RD
-RD
-RD
-RA
-RD
-WU
-Rm
-tS
-tS
-ii
-CD
-Pg
-Cd
+ZE
+ET
+ET
+ET
ET
ET
sT
@@ -17710,7 +17588,7 @@ jf
Gs
Gs
Gs
-fg
+dD
iO
El
El
@@ -17792,29 +17670,29 @@ ae
sT
ET
ET
-xi
-WF
-Al
-Rm
-RF
-RF
-Rm
-vz
-RA
-RA
-RA
-RA
-RA
-RA
-RA
-WV
-Rm
-RF
-RF
-Rm
-Xn
-WF
-Cd
+ET
+ET
+ET
+ET
+ZE
+ra
+IN
+Uy
+IN
+fi
+tV
+Py
+fi
+tV
+Py
+IN
+Uy
+IN
+nz
+ZE
+ET
+ET
+ET
ET
ET
sT
@@ -17852,7 +17730,7 @@ jf
Gs
Gs
Gs
-fg
+dD
iO
El
El
@@ -17934,29 +17812,29 @@ ae
sT
ET
ET
-xi
-RD
-CG
-Et
-Rd
-Rd
-Rm
-Sy
-Pg
-RA
-Pg
-Pg
-Pg
-RA
-Pg
-WZ
-Rm
-tS
-tS
-Xr
-gX
-RD
-Cd
+ET
+ET
+ET
+ET
+ZE
+nB
+IN
+IN
+IN
+Lm
+tV
+Pn
+Lm
+tV
+Pn
+IN
+IN
+IN
+ND
+ZE
+ET
+ET
+ET
ET
ET
sT
@@ -17994,7 +17872,7 @@ jf
Gs
Gs
Gs
-fg
+dD
iO
El
El
@@ -18076,29 +17954,29 @@ ae
sT
ET
ET
-XE
-XE
-XE
-Ft
-AD
-AD
-Et
-rh
-iU
-RA
-iU
-WF
-iU
-RA
-iU
-Gz
-Xr
-AD
-AD
+ET
+ET
+ET
+ET
ZE
-Fe
-XE
-XE
+nZ
+IN
+EC
+IN
+MP
+tV
+PU
+MP
+tV
+PU
+IN
+EC
+IN
+Ey
+ZE
+ET
+ET
+ET
ET
ET
sT
@@ -18113,30 +17991,30 @@ ae
ap
ap
ap
-fg
-fg
-fg
-fg
-fg
-fg
-fg
-fg
-fg
-fg
-fg
-fg
-fg
-fg
-fg
-fg
-fg
-fg
-fg
-fg
-fg
-fg
-fg
-fg
+dD
+dD
+dD
+dD
+dD
+dD
+dD
+dD
+dD
+dD
+dD
+dD
+dD
+dD
+dD
+dD
+dD
+dD
+dD
+dD
+dD
+dD
+dD
+dD
iO
El
El
@@ -18216,33 +18094,33 @@ ae
ae
ae
sT
-As
-As
-As
-XE
-Fe
-FJ
-Jw
-Sl
-Al
-nC
-nB
-VK
-nB
-nB
-nB
-VK
-nB
-pk
-Xn
-FJ
-YY
-Zw
-XE
-XE
-As
-As
-As
+ET
+ET
+ET
+ET
+ET
+ET
+ZE
+jA
+IN
+ZE
+IN
+IN
+IN
+IN
+IN
+IN
+IN
+IN
+ZE
+IN
+xm
+ZE
+ET
+ET
+ET
+ET
+ET
sT
ae
ae
@@ -18358,33 +18236,33 @@ ae
ae
ae
sT
-ET
-ET
-ET
-ET
-XE
-XE
-XE
-XE
-RY
-Rz
-Tv
-Ro
-Rz
-Rm
-RC
-Ro
-Dm
-RC
-RE
-XE
-XE
-XE
-XE
-ET
-ET
-ET
-ET
+sN
+sN
+sN
+sN
+sN
+sN
+ZE
+Mm
+IN
+ZE
+Lu
+NC
+Pr
+Fz
+NC
+Pr
+Fz
+TO
+ZE
+IN
+Mm
+ZE
+sN
+sN
+sN
+sN
+sN
sT
ae
ae
@@ -18506,22 +18384,22 @@ ET
ET
ET
ET
-XE
-XE
-zw
-XE
-Fe
-zw
-VR
-VR
-VR
-zw
-Fe
-XE
-Xy
-XE
-XE
-ET
+ZE
+ZE
+As
+ZE
+RN
+RN
+ZE
+RN
+RN
+ZE
+RN
+RN
+ZE
+As
+ZE
+ZE
ET
ET
ET
@@ -18648,6 +18526,7 @@ Rc
zv
pX
pX
+pX
LD
NA
NA
@@ -18661,7 +18540,6 @@ NA
NA
NA
NA
-NA
YZ
pX
pX
diff --git a/maps/tether/tether-01-surface1.dmm b/maps/tether/tether-01-surface1.dmm
index 44ba3e7e5c..76a66b19ab 100644
--- a/maps/tether/tether-01-surface1.dmm
+++ b/maps/tether/tether-01-surface1.dmm
@@ -3469,7 +3469,10 @@
/turf/simulated/floor/tiled,
/area/tether/surfacebase/tram)
"afH" = (
-/turf/simulated/floor/maglev,
+/obj/effect/floor_decal/techfloor/orange{
+ dir = 4
+ },
+/turf/simulated/floor/tiled/techfloor/grid,
/area/tether/surfacebase/tram)
"afI" = (
/obj/item/device/radio/intercom{
@@ -11606,6 +11609,9 @@
/obj/effect/floor_decal/techfloor/orange{
dir = 4
},
+/obj/machinery/light{
+ dir = 4
+ },
/turf/simulated/floor/tiled/techfloor/grid,
/area/tether/surfacebase/tram)
"atD" = (
@@ -11857,11 +11863,12 @@
/turf/simulated/floor/tiled,
/area/tether/surfacebase/tram)
"aua" = (
-/obj/effect/floor_decal/techfloor/orange{
- dir = 4
- },
-/obj/machinery/light{
- dir = 4
+/obj/effect/shuttle_landmark{
+ base_area = /area/tether/surfacebase/tram;
+ base_turf = /turf/simulated/floor/tiled/techfloor/grid;
+ docking_controller = null;
+ landmark_tag = "escape_station";
+ name = "Tether Surface Base"
},
/turf/simulated/floor/tiled/techfloor/grid,
/area/tether/surfacebase/tram)
@@ -21276,14 +21283,7 @@
/turf/simulated/floor/tiled/steel_grid,
/area/tether/surfacebase/tram)
"aJq" = (
-/obj/effect/shuttle_landmark{
- base_area = /area/tether/surfacebase/tram;
- base_turf = /turf/simulated/floor/tiled/techfloor/grid;
- docking_controller = null;
- landmark_tag = "escape_station";
- name = "Tether Surface Base"
- },
-/turf/simulated/floor/tiled/techfloor/grid,
+/turf/simulated/floor/maglev,
/area/tether/surfacebase/tram)
"aJr" = (
/obj/effect/floor_decal/borderfloor{
@@ -33125,6 +33125,13 @@
},
/turf/simulated/floor/tiled,
/area/tether/surfacebase/lowernorthhall)
+"gQH" = (
+/obj/structure/grille,
+/obj/structure/window/reinforced/full,
+/obj/machinery/door/firedoor,
+/obj/structure/window/reinforced,
+/turf/simulated/floor/plating,
+/area/crew_quarters/visitor_laundry)
"gVe" = (
/obj/effect/floor_decal/borderfloor{
dir = 4
@@ -39200,11 +39207,11 @@ aah
aah
yiS
aHo
+aHL
+aHL
aad
-aad
-aad
-aad
-aad
+aHL
+aHL
aad
aad
aad
@@ -39342,13 +39349,13 @@ aah
aah
yiS
aah
+aHL
aad
aad
+aHL
aad
aad
-aad
-aad
-aad
+aHL
aad
aad
aad
@@ -39484,7 +39491,7 @@ aah
aah
yiS
aah
-aad
+aHL
aad
aad
aad
@@ -39628,10 +39635,10 @@ yiS
aah
aah
aad
+aHL
aad
aad
-aad
-aad
+aHL
aad
aad
aad
@@ -39772,8 +39779,8 @@ aah
aad
aad
aad
-aad
-aad
+aHL
+aHL
aad
aad
aad
@@ -39917,7 +39924,7 @@ aad
aad
aad
aad
-aad
+aHL
aad
aad
aad
@@ -40055,11 +40062,11 @@ aah
baU
baU
aad
+aHL
aad
aad
aad
-aad
-aad
+aHL
aad
aHL
aad
@@ -40199,7 +40206,7 @@ baU
aad
aad
aad
-aad
+aHL
aad
aad
aad
@@ -40486,7 +40493,7 @@ aad
aad
aad
aad
-aad
+aHL
aad
aad
aad
@@ -40625,7 +40632,7 @@ baU
aad
aad
aad
-aad
+aHL
aad
aad
aad
@@ -54990,7 +54997,7 @@ rnt
aUP
aUP
sch
-aWn
+gQH
baU
baU
baU
@@ -55657,16 +55664,15 @@ aFU
atA
atA
atA
-atA
aJp
aub
aub
aub
+aub
wXW
atA
atA
atA
-atA
mtl
auc
auc
@@ -55674,6 +55680,7 @@ auc
auc
auc
auc
+auc
auD
aad
aad
@@ -55796,13 +55803,13 @@ aud
aud
aud
aud
+aua
aud
aud
aud
aud
aud
aud
-aJq
aud
aud
aud
@@ -55930,34 +55937,34 @@ baU
aah
aah
auD
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
auD
aad
aad
@@ -56072,34 +56079,34 @@ baU
aah
aah
auD
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
auD
aad
aad
@@ -56782,34 +56789,34 @@ aad
aad
aah
auD
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
+aJq
auD
aad
aad
@@ -56924,34 +56931,34 @@ aad
aad
aah
auD
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
-afH
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
+aud
auD
aad
aad
@@ -57066,34 +57073,34 @@ aad
aad
aah
auD
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
+afH
+afH
+afH
+afH
+atC
+afH
+afH
+afH
+afH
+aue
+atC
+afH
+afH
+afH
+atC
+afH
+afH
+afH
+atC
+aue
+afH
+afH
+afH
+atC
+afH
+afH
+afH
+afH
auD
aad
aad
@@ -57207,36 +57214,36 @@ aad
aad
aad
aad
-auD
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-aud
-auD
+aty
+atx
+atx
+atx
+atx
+atx
+atx
+atx
+atx
+atx
+atx
+atx
+atx
+atx
+atx
+atx
+atx
+atx
+atx
+atx
+atx
+atx
+atx
+atx
+atx
+atx
+atx
+atx
+atx
+aty
aad
aad
aad
@@ -57349,36 +57356,36 @@ aad
aad
aad
aad
-auD
-atC
-atC
-atC
-atC
-aua
-atC
-atC
-atC
-atC
-aue
-aua
-atC
-atC
-atC
-aua
-atC
-atC
-atC
-aua
-aue
-atC
-atC
-atC
-aua
-atC
-atC
-atC
-atC
-auD
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
aad
aad
aad
@@ -57491,36 +57498,36 @@ aad
aad
aad
aad
-aty
-atx
-atx
-atx
-atx
-atx
-atx
-atx
-atx
-atx
-atx
-atx
-atx
-atx
-atx
-atx
-atx
-atx
-atx
-atx
-atx
-atx
-atx
-atx
-atx
-atx
-atx
-atx
-atx
-aty
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
+aad
aad
aad
aad
diff --git a/maps/tether/tether-02-surface2.dmm b/maps/tether/tether-02-surface2.dmm
index c9d89ca3bb..b439b014b2 100644
--- a/maps/tether/tether-02-surface2.dmm
+++ b/maps/tether/tether-02-surface2.dmm
@@ -26085,100 +26085,71 @@
/turf/simulated/floor/tiled/techmaint,
/area/tether/surfacebase/east_stairs_two)
"aUL" = (
-/obj/effect/floor_decal/corner/purple{
- dir = 5
+/obj/effect/floor_decal/borderfloor{
+ dir = 9
},
-/obj/effect/floor_decal/borderfloor/shifted{
- dir = 1
+/obj/effect/floor_decal/corner/purple/border{
+ dir = 9
},
-/obj/effect/floor_decal/corner/purple/border/shifted{
- dir = 1
- },
-/obj/machinery/camera/network/civilian,
-/obj/structure/closet/jcloset,
+/obj/machinery/vending/wardrobe/janidrobe,
/turf/simulated/floor/tiled,
/area/janitor)
"aUM" = (
/obj/machinery/newscaster{
pixel_y = 32
},
-/obj/effect/floor_decal/borderfloor/shifted{
+/obj/effect/floor_decal/borderfloor{
dir = 1
},
-/obj/effect/floor_decal/corner/purple/border/shifted{
+/obj/effect/floor_decal/corner/purple/border{
dir = 1
},
-/obj/effect/floor_decal/corner/purple{
- dir = 5
- },
-/obj/machinery/vending/wardrobe/janidrobe,
/turf/simulated/floor/tiled,
/area/janitor)
"aUN" = (
-/obj/structure/cable{
- d2 = 2;
- icon_state = "0-2"
- },
-/obj/machinery/power/apc{
- dir = 1;
- name = "north bump";
- pixel_y = 24
- },
-/obj/effect/floor_decal/borderfloor/shifted{
+/obj/effect/floor_decal/borderfloor{
dir = 1
},
-/obj/effect/floor_decal/corner/purple/border/shifted{
+/obj/effect/floor_decal/corner/purple/border{
dir = 1
},
-/obj/effect/floor_decal/corner/purple{
- dir = 5
+/obj/structure/sink/kitchen{
+ pixel_y = 22
},
/turf/simulated/floor/tiled,
/area/janitor)
"aUO" = (
-/obj/effect/floor_decal/borderfloor/shifted{
- dir = 1
- },
-/obj/effect/floor_decal/corner/purple/border/shifted{
- dir = 1
- },
-/obj/effect/floor_decal/corner/purple{
- dir = 5
- },
/obj/structure/janitorialcart,
-/obj/structure/sink/kitchen{
- pixel_y = 28
+/obj/effect/floor_decal/borderfloor{
+ dir = 1
+ },
+/obj/effect/floor_decal/corner/purple/border{
+ dir = 1
},
/turf/simulated/floor/tiled,
/area/janitor)
"aUP" = (
/obj/structure/janitorialcart,
-/obj/effect/floor_decal/borderfloor/shifted{
- dir = 1
- },
-/obj/effect/floor_decal/corner/purple/border/shifted{
- dir = 1
- },
-/obj/effect/floor_decal/corner/purple{
- dir = 5
- },
/obj/machinery/alarm{
pixel_y = 22
},
/obj/machinery/light{
dir = 1
},
+/obj/effect/floor_decal/borderfloor{
+ dir = 1
+ },
+/obj/effect/floor_decal/corner/purple/border{
+ dir = 1
+ },
/turf/simulated/floor/tiled,
/area/janitor)
"aUQ" = (
/obj/structure/janitorialcart,
-/obj/effect/floor_decal/borderfloor/shifted{
- dir = 1
+/obj/effect/floor_decal/borderfloor{
+ dir = 5
},
-/obj/effect/floor_decal/corner/purple/border/shifted{
- dir = 1
- },
-/obj/effect/floor_decal/corner/purple{
+/obj/effect/floor_decal/corner/purple/border{
dir = 5
},
/turf/simulated/floor/tiled,
@@ -26359,36 +26330,28 @@
/turf/simulated/floor/tiled/techmaint,
/area/tether/surfacebase/east_stairs_two)
"aVu" = (
-/obj/machinery/button/remote/blast_door{
- id = "janitor_blast";
- name = "Desk Shutters";
- pixel_x = -22
- },
/obj/effect/floor_decal/borderfloor{
dir = 8
},
/obj/effect/floor_decal/corner/purple/border{
dir = 8
},
+/obj/machinery/power/apc{
+ cell_type = /obj/item/weapon/cell/super;
+ dir = 8;
+ name = "west bump";
+ nightshift_setting = 2;
+ pixel_x = -30
+ },
+/obj/structure/cable{
+ d2 = 4;
+ icon_state = "0-4"
+ },
/turf/simulated/floor/tiled,
/area/janitor)
"aVv" = (
/turf/simulated/floor/tiled,
/area/janitor)
-"aVw" = (
-/obj/structure/cable{
- d1 = 1;
- d2 = 4;
- icon_state = "1-4"
- },
-/turf/simulated/floor/tiled,
-/area/janitor)
-"aVx" = (
-/obj/structure/cable{
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled,
-/area/janitor)
"aVy" = (
/obj/structure/cable{
d1 = 4;
@@ -27078,6 +27041,7 @@
"aWr" = (
/obj/effect/floor_decal/borderfloor/corner,
/obj/effect/floor_decal/corner/purple/bordercorner,
+/obj/structure/closet/jequipcloset,
/turf/simulated/floor/tiled,
/area/janitor)
"aWs" = (
@@ -27510,7 +27474,7 @@
/obj/machinery/atmospherics/unary/vent_pump/on,
/obj/machinery/light_switch{
dir = 4;
- pixel_x = -28
+ pixel_x = -31
},
/obj/effect/floor_decal/borderfloor{
dir = 8
@@ -27524,6 +27488,11 @@
/obj/effect/floor_decal/corner/purple/bordercorner2{
dir = 10
},
+/obj/machinery/button/remote/blast_door{
+ id = "janitor_blast";
+ name = "Desk Shutters";
+ pixel_x = -22
+ },
/turf/simulated/floor/tiled,
/area/janitor)
"aXj" = (
@@ -27784,9 +27753,6 @@
dir = 2;
icon_state = "pipe-c"
},
-/obj/structure/extinguisher_cabinet{
- pixel_x = 25
- },
/obj/effect/floor_decal/borderfloor{
dir = 4
},
@@ -27798,15 +27764,16 @@
/obj/item/weapon/grenade/chem_grenade/cleaner,
/obj/item/weapon/grenade/chem_grenade/cleaner,
/obj/item/weapon/grenade/chem_grenade/cleaner,
-/obj/item/weapon/storage/box/mousetraps,
-/obj/item/weapon/storage/box/lights/mixed,
-/obj/item/weapon/storage/box/lights/mixed,
/obj/item/weapon/reagent_containers/spray/cleaner,
/obj/item/weapon/reagent_containers/spray/cleaner,
/obj/item/weapon/reagent_containers/spray/cleaner,
/obj/item/weapon/soap/nanotrasen,
/obj/item/weapon/soap/nanotrasen,
/obj/item/weapon/soap/nanotrasen,
+/obj/structure/extinguisher_cabinet{
+ dir = 8;
+ pixel_x = 30
+ },
/turf/simulated/floor/tiled,
/area/janitor)
"aXT" = (
@@ -48962,7 +48929,7 @@ aLY
aTe
aUc
aUM
-aVv
+aVy
aWq
aVv
aXQ
@@ -49104,7 +49071,7 @@ aLY
aTf
aUc
aUN
-aVw
+aVy
aVv
aXj
aXR
@@ -49246,7 +49213,7 @@ aLY
aTg
aUc
aUO
-aVx
+aVy
aWr
aXk
aXS
@@ -49388,7 +49355,7 @@ aLY
aTh
aUc
aUP
-aVx
+aVy
aWs
aUc
aUc
diff --git a/maps/tether/tether-03-surface3.dmm b/maps/tether/tether-03-surface3.dmm
index b5b680db24..5b92fba54d 100644
--- a/maps/tether/tether-03-surface3.dmm
+++ b/maps/tether/tether-03-surface3.dmm
@@ -18345,7 +18345,9 @@
/obj/effect/floor_decal/corner/lime/border{
dir = 1
},
-/obj/machinery/smartfridge/produce/persistent_lossy,
+/obj/structure/table/standard{
+ name = "plastic table frame"
+ },
/turf/simulated/floor/tiled,
/area/tether/surfacebase/botanystorage)
"aDY" = (
@@ -21015,6 +21017,9 @@
/area/crew_quarters/kitchen)
"aIl" = (
/obj/item/weapon/stool/padded,
+/obj/effect/floor_decal/spline/plain{
+ dir = 1
+ },
/turf/simulated/floor/carpet/turcarpet,
/area/crew_quarters/bar)
"aIm" = (
@@ -21028,7 +21033,7 @@
/area/crew_quarters/bar)
"aIn" = (
/obj/effect/floor_decal/spline/plain{
- dir = 4
+ dir = 5
},
/turf/simulated/floor/carpet/turcarpet,
/area/crew_quarters/bar)
@@ -23292,17 +23297,6 @@
},
/turf/simulated/floor/tiled/steel_grid,
/area/rnd/robotics/surgeryroom2)
-"aMA" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 6
- },
-/obj/structure/cable/orange{
- d1 = 2;
- d2 = 4;
- icon_state = "2-4"
- },
-/turf/simulated/floor/tiled,
-/area/tether/surfacebase/shuttle_pad)
"aMB" = (
/obj/structure/disposalpipe/segment,
/obj/structure/cable/orange{
@@ -23744,19 +23738,11 @@
/turf/simulated/floor/bluegrid,
/area/rnd/robotics/mechbay)
"aNx" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 9
- },
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
dir = 5
},
-/obj/structure/cable/orange{
- d1 = 1;
- d2 = 8;
- icon_state = "1-8"
- },
-/obj/machinery/camera/network/civilian{
- dir = 1
+/obj/machinery/atmospherics/pipe/simple/hidden/supply{
+ dir = 5
},
/turf/simulated/floor/tiled,
/area/tether/surfacebase/shuttle_pad)
@@ -24060,6 +24046,9 @@
pixel_x = 30
},
/obj/structure/disposalpipe/segment,
+/obj/machinery/camera/network/civilian{
+ dir = 9
+ },
/turf/simulated/floor/tiled,
/area/tether/surfacebase/shuttle_pad)
"aOe" = (
@@ -24530,6 +24519,9 @@
dir = 10
},
/obj/structure/disposalpipe/segment,
+/obj/machinery/atmospherics/pipe/simple/hidden/supply{
+ dir = 10
+ },
/turf/simulated/floor/tiled,
/area/tether/surfacebase/shuttle_pad)
"aPd" = (
@@ -24702,14 +24694,16 @@
/turf/simulated/floor/tiled/techmaint,
/area/tether/surfacebase/shuttle_pad)
"aPu" = (
-/obj/machinery/door/airlock/glass,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/obj/structure/cable/orange{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
+ d2 = 4;
+ icon_state = "0-4"
+ },
+/obj/machinery/power/apc{
+ cell_type = /obj/item/weapon/cell/super;
+ dir = 8;
+ name = "west bump";
+ pixel_x = -30
},
-/obj/machinery/door/firedoor,
/turf/simulated/floor/tiled,
/area/tether/surfacebase/southhall)
"aPv" = (
@@ -24854,20 +24848,36 @@
/turf/simulated/floor/plating,
/area/rnd/outpost/xenobiology/outpost_breakroom)
"aPL" = (
-/obj/machinery/door/airlock/glass,
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/door/firedoor,
-/obj/structure/disposalpipe/segment,
+/obj/structure/cable/orange{
+ d1 = 2;
+ d2 = 4;
+ icon_state = "2-4"
+ },
+/obj/structure/cable/orange{
+ d1 = 4;
+ d2 = 8;
+ icon_state = "4-8"
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
+ dir = 6
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/supply{
+ dir = 6
+ },
/turf/simulated/floor/tiled,
/area/tether/surfacebase/southhall)
"aPM" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 5
- },
+/obj/structure/disposalpipe/segment,
/obj/structure/cable/orange{
d1 = 1;
- d2 = 4;
- icon_state = "1-4"
+ d2 = 8;
+ icon_state = "1-8"
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
+ dir = 9
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/supply{
+ dir = 9
},
/turf/simulated/floor/tiled,
/area/tether/surfacebase/southhall)
@@ -24936,30 +24946,6 @@
},
/turf/simulated/floor/tiled,
/area/rnd/outpost/xenobiology/outpost_breakroom)
-"aPZ" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 10
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 6
- },
-/obj/structure/cable/orange{
- d1 = 2;
- d2 = 8;
- icon_state = "2-8"
- },
-/obj/machinery/light{
- dir = 1
- },
-/turf/simulated/floor/tiled,
-/area/tether/surfacebase/southhall)
-"aQa" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 9
- },
-/obj/structure/disposalpipe/segment,
-/turf/simulated/floor/tiled,
-/area/tether/surfacebase/southhall)
"aQb" = (
/obj/machinery/papershredder,
/turf/simulated/floor/wood,
@@ -27204,9 +27190,11 @@
/turf/simulated/floor/tiled/monotile,
/area/hallway/lower/third_south)
"aUq" = (
-/obj/effect/floor_decal/rust/part_rusted1,
/obj/machinery/atmospherics/binary/pump,
-/turf/simulated/floor/tiled/eris/dark/golden,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
/area/shuttle/tourbus/general)
"aUr" = (
/obj/structure/disposalpipe/segment{
@@ -27264,7 +27252,10 @@
/obj/structure/bed/chair/bay/chair{
dir = 8
},
-/turf/simulated/floor/tiled/eris/dark/golden,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
/area/shuttle/tourbus/general)
"aUy" = (
/obj/machinery/door/firedoor/glass,
@@ -27352,15 +27343,6 @@
},
/turf/simulated/floor/tiled/white,
/area/tether/surfacebase/medical/triage)
-"aUE" = (
-/obj/structure/bed/chair/bay/chair{
- dir = 8
- },
-/obj/structure/closet/emergsuit_wall{
- pixel_x = 32
- },
-/turf/simulated/floor/tiled/eris/dark/golden,
-/area/shuttle/tourbus/general)
"aUF" = (
/turf/simulated/floor/wood,
/area/tether/surfacebase/public_garden_three)
@@ -27428,20 +27410,13 @@
/area/tether/surfacebase/public_garden_three)
"aUN" = (
/obj/structure/bed/chair/bay/chair{
- dir = 1
+ dir = 4
},
-/obj/machinery/power/apc{
- name = "south bump";
- pixel_y = -28;
- req_access = list();
- req_one_access = list(11,67)
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
},
-/obj/structure/cable{
- d2 = 4;
- icon_state = "0-4"
- },
-/turf/simulated/floor/tiled/eris/white/orangecorner,
-/area/shuttle/tourbus/cockpit)
+/turf/simulated/floor/tiled,
+/area/shuttle/tourbus/general)
"aUO" = (
/obj/effect/floor_decal/techfloor{
dir = 6
@@ -27472,13 +27447,6 @@
},
/turf/simulated/floor/tiled/white,
/area/tether/surfacebase/medical/chemistry)
-"aUQ" = (
-/obj/structure/handrail{
- dir = 8
- },
-/obj/machinery/light/small,
-/turf/simulated/floor/plating/eris/under,
-/area/shuttle/tourbus/general)
"aUR" = (
/obj/structure/disposalpipe/segment{
dir = 4
@@ -27753,15 +27721,6 @@
},
/turf/simulated/floor/tiled/white,
/area/tether/surfacebase/medical/lobby)
-"aVm" = (
-/obj/structure/cable{
- d1 = 2;
- d2 = 8;
- icon_state = "2-8"
- },
-/obj/machinery/atmospherics/pipe/manifold4w/hidden/yellow,
-/turf/simulated/floor/tiled/eris/dark/golden,
-/area/shuttle/tourbus/general)
"aVn" = (
/obj/effect/floor_decal/borderfloorwhite,
/obj/effect/floor_decal/corner/paleblue/border,
@@ -27988,21 +27947,6 @@
},
/turf/simulated/floor/tiled,
/area/tether/surfacebase/surface_three_hall)
-"aVF" = (
-/obj/machinery/embedded_controller/radio/simple_docking_controller{
- dir = 8;
- frequency = 1380;
- id_tag = "tourbus_docker";
- pixel_x = 28
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/yellow{
- dir = 4
- },
-/obj/structure/bed/chair/bay/chair{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/golden,
-/area/shuttle/tourbus/general)
"aVG" = (
/obj/effect/floor_decal/borderfloor{
dir = 1
@@ -28041,10 +27985,6 @@
},
/turf/simulated/floor/tiled/dark,
/area/tether/surfacebase/security/upperhall)
-"aVJ" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/yellow,
-/turf/simulated/wall/shull,
-/area/shuttle/tourbus/general)
"aVK" = (
/obj/effect/floor_decal/borderfloor{
dir = 8
@@ -28074,18 +28014,6 @@
/obj/structure/sign/poster,
/turf/simulated/floor/tiled,
/area/tether/surfacebase/security/upperhall)
-"aVM" = (
-/obj/machinery/atmospherics/portables_connector{
- dir = 4
- },
-/obj/effect/floor_decal/industrial/outline/red,
-/obj/machinery/portable_atmospherics/canister/phoron,
-/obj/machinery/door/window/southleft{
- dir = 1;
- req_one_access = list(19,43,67)
- },
-/turf/simulated/floor/tiled/eris/dark/bluecorner,
-/area/shuttle/tourbus/general)
"aVN" = (
/obj/machinery/door/firedoor/glass,
/obj/structure/grille,
@@ -28205,22 +28133,6 @@
},
/turf/simulated/wall,
/area/tether/surfacebase/security/upperhall)
-"aWc" = (
-/obj/machinery/light/small,
-/obj/structure/cable{
- d1 = 1;
- d2 = 4;
- icon_state = "1-4"
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/yellow{
- dir = 9
- },
-/obj/machinery/door/window/southright{
- dir = 1;
- req_one_access = list(19,43,67)
- },
-/turf/simulated/floor/tiled/eris/dark/bluecorner,
-/area/shuttle/tourbus/general)
"aWd" = (
/obj/effect/landmark/start{
name = "Medical Doctor"
@@ -28595,39 +28507,6 @@
},
/turf/simulated/floor/tiled/white,
/area/tether/surfacebase/medical/storage)
-"aWK" = (
-/obj/machinery/power/smes/buildable{
- charge = 500000
- },
-/obj/structure/cable{
- d2 = 8;
- icon_state = "0-8"
- },
-/obj/structure/window/reinforced{
- dir = 1
- },
-/turf/simulated/floor/tiled/eris/dark/bluecorner,
-/area/shuttle/tourbus/general)
-"aWL" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/yellow{
- dir = 4
- },
-/obj/structure/cable{
- d2 = 4;
- icon_state = "0-4"
- },
-/obj/structure/bed/chair/bay/chair{
- dir = 4
- },
-/obj/machinery/power/apc{
- dir = 8;
- name = "west bump";
- pixel_x = -28;
- req_access = list();
- req_one_access = list(11,67)
- },
-/turf/simulated/floor/tiled/eris/dark/golden,
-/area/shuttle/tourbus/general)
"aWM" = (
/obj/structure/disposalpipe/segment,
/turf/simulated/floor/grass,
@@ -28659,20 +28538,6 @@
/obj/machinery/light,
/turf/simulated/floor/tiled,
/area/tether/surfacebase/surface_three_hall)
-"aWP" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced,
-/obj/machinery/door/blast/regular{
- density = 0;
- dir = 4;
- icon_state = "pdoor0";
- id = "tourbus_windows";
- name = "Shuttle Blast Doors";
- opacity = 0
- },
-/turf/simulated/floor/tiled/steel_dirty,
-/area/shuttle/tourbus/general)
"aWQ" = (
/obj/machinery/atmospherics/unary/vent_pump/on{
dir = 1
@@ -28746,14 +28611,6 @@
},
/turf/simulated/floor/tiled,
/area/tether/surfacebase/security/processing)
-"aWX" = (
-/obj/machinery/shipsensors{
- dir = 1
- },
-/obj/effect/floor_decal/industrial/warning/full,
-/obj/machinery/light/small,
-/turf/simulated/floor/plating/eris/under,
-/area/shuttle/tourbus/general)
"aWY" = (
/obj/structure/bed/chair{
dir = 1
@@ -28774,15 +28631,13 @@
/turf/simulated/floor/tiled,
/area/tether/surfacebase/security/upperhall)
"aXa" = (
-/obj/machinery/door/airlock/glass{
- req_one_access = list(19,43,67)
- },
/obj/structure/cable{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
+ icon_state = "1-8"
},
-/turf/simulated/floor/tiled/eris/techmaint_panels,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
/area/shuttle/tourbus/general)
"aXb" = (
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
@@ -29985,7 +29840,7 @@
"aZg" = (
/obj/effect/floor_decal/corner/grey/diagonal,
/obj/machinery/door/firedoor/glass,
-/obj/machinery/smartfridge/produce,
+/obj/machinery/smartfridge/produce/persistent_lossy,
/turf/simulated/floor/tiled/white,
/area/crew_quarters/kitchen)
"aZh" = (
@@ -31662,11 +31517,19 @@
/turf/simulated/floor/wood,
/area/crew_quarters/bar)
"bbX" = (
-/obj/machinery/atmospherics/unary/engine{
+/obj/effect/fancy_shuttle_floor_preview/tourbus{
dir = 1
},
-/turf/simulated/floor/reinforced,
-/turf/simulated/shuttle/plating/carry,
+/obj/effect/fancy_shuttle/tourbus{
+ dir = 1;
+ fancy_shuttle_tag = "tourbus"
+ },
+/obj/machinery/atmospherics/unary/engine/fancy_shuttle{
+ dir = 1
+ },
+/turf/simulated/wall/fancy_shuttle/nondense{
+ fancy_shuttle_tag = "tourbus"
+ },
/area/shuttle/tourbus/general)
"bbY" = (
/obj/structure/cable/green{
@@ -33551,16 +33414,8 @@
/turf/simulated/floor/tiled/techfloor,
/area/tether/surfacebase/shuttle_pad)
"bfj" = (
-/obj/machinery/power/apc{
- cell_type = /obj/item/weapon/cell/super;
- dir = 8;
- name = "west bump";
- pixel_x = -28
- },
-/obj/structure/cable/orange{
- d2 = 4;
- icon_state = "0-4"
- },
+/obj/machinery/door/firedoor,
+/obj/machinery/door/airlock/glass_external/public,
/turf/simulated/floor/tiled,
/area/tether/surfacebase/southhall)
"bfk" = (
@@ -33813,19 +33668,10 @@
/turf/simulated/floor/lino,
/area/tether/surfacebase/entertainment/backstage)
"bfJ" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/structure/cable/orange{
- d1 = 1;
- d2 = 8;
- icon_state = "1-8"
- },
-/obj/structure/cable/orange{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled,
+/obj/machinery/door/firedoor,
+/obj/structure/grille,
+/obj/structure/window/reinforced/full,
+/turf/simulated/floor/plating,
/area/tether/surfacebase/southhall)
"bfK" = (
/obj/structure/table/gamblingtable,
@@ -34096,10 +33942,15 @@
/turf/simulated/floor/tiled/eris/steel/bar_dance,
/area/tether/surfacebase/barbackmaintenance)
"bgm" = (
-/obj/machinery/alarm{
- dir = 8;
- pixel_x = 28
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
+/obj/machinery/atmospherics/pipe/simple/hidden/supply,
+/obj/machinery/door/firedoor,
+/obj/structure/cable/orange{
+ d1 = 1;
+ d2 = 2;
+ icon_state = "1-2"
},
+/obj/machinery/door/airlock/glass_external/public,
/obj/structure/disposalpipe/segment,
/turf/simulated/floor/tiled,
/area/tether/surfacebase/southhall)
@@ -34500,9 +34351,6 @@
},
/turf/simulated/floor/tiled/techfloor,
/area/crew_quarters/sleep/cryo)
-"bgZ" = (
-/turf/simulated/wall/r_wall,
-/area/tether/surfacebase/southhall)
"bha" = (
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
@@ -36233,22 +36081,6 @@
},
/turf/simulated/floor/tiled/steel_grid,
/area/rnd/robotics/resleeving)
-"bkN" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced{
- dir = 8
- },
-/obj/machinery/door/firedoor/glass,
-/obj/machinery/door/blast/regular{
- density = 0;
- icon_state = "pdoor0";
- id = "tourbus_windows";
- name = "Shuttle Blast Doors";
- opacity = 0
- },
-/turf/simulated/floor/plating/eris/under,
-/area/shuttle/tourbus/general)
"bkO" = (
/obj/machinery/transhuman/resleever,
/turf/simulated/floor/tiled/dark,
@@ -37948,35 +37780,6 @@
},
/turf/simulated/floor/tiled/dark,
/area/tether/surfacebase/security/iaa/officeb)
-"caw" = (
-/obj/effect/floor_decal/steeldecal/steel_decals_central5{
- dir = 4
- },
-/obj/effect/floor_decal/steeldecal/steel_decals_central5{
- dir = 8
- },
-/obj/machinery/door/airlock/glass_external/public{
- frequency = 1380;
- id_tag = "tourbus_right"
- },
-/obj/structure/cable/orange{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/yellow{
- dir = 4
- },
-/obj/effect/map_helper/airlock/door/simple,
-/obj/machinery/door/blast/regular{
- density = 0;
- icon_state = "pdoor0";
- id = "tourbus_windows";
- name = "Shuttle Blast Doors";
- opacity = 0
- },
-/turf/simulated/floor/tiled/eris/techmaint_panels,
-/area/shuttle/tourbus/general)
"cbn" = (
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
dir = 4
@@ -38003,14 +37806,66 @@
/obj/item/weapon/storage/secure/briefcase,
/turf/simulated/floor/tiled/dark,
/area/tether/surfacebase/security/iaa/officea)
+"ccN" = (
+/obj/machinery/button/remote/airlock{
+ desiredstate = 1;
+ id = "tourbus_left";
+ name = "hatch bolt control";
+ pixel_x = 4;
+ pixel_y = 30;
+ req_one_access = list(19,43,67);
+ specialfunctions = 4
+ },
+/obj/machinery/door/blast/regular{
+ density = 0;
+ icon_state = "pdoor0";
+ id = "tourbus_windows";
+ name = "Shuttle Blast Doors";
+ opacity = 0
+ },
+/obj/machinery/door/airlock/angled_tgmc/security_glass{
+ dir = 4;
+ icon_state = "door_locked";
+ id_tag = "tourbus_left";
+ locked = 1;
+ name = "tourbus airlock"
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/tourbus/general)
+"cdf" = (
+/turf/simulated/wall/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/area/shuttle/tourbus/cockpit)
"cdv" = (
/obj/structure/cable/orange{
d1 = 4;
d2 = 8;
icon_state = "4-8"
},
+/obj/machinery/atmospherics/pipe/simple/hidden/yellow{
+ dir = 4
+ },
+/obj/effect/map_helper/airlock/door/simple,
+/obj/machinery/door/blast/regular{
+ density = 0;
+ icon_state = "pdoor0";
+ id = "tourbus_windows";
+ name = "Shuttle Blast Doors";
+ opacity = 0
+ },
+/obj/machinery/door/airlock/angled_tgmc/security_glass{
+ dir = 4;
+ name = "tourbus airlock"
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
/turf/simulated/floor/tiled,
-/area/tether/surfacebase/shuttle_pad)
+/area/shuttle/tourbus/general)
"ceN" = (
/obj/structure/disposalpipe/segment{
dir = 8;
@@ -38034,15 +37889,6 @@
},
/turf/simulated/floor/tiled,
/area/hallway/lower/third_south)
-"cnN" = (
-/obj/structure/bed/chair/bay/chair{
- dir = 4
- },
-/obj/structure/closet/emergsuit_wall{
- pixel_y = 32
- },
-/turf/simulated/floor/tiled/eris/dark/golden,
-/area/shuttle/tourbus/general)
"cnO" = (
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
dir = 5
@@ -38057,15 +37903,6 @@
},
/turf/simulated/floor/carpet/blue,
/area/tether/surfacebase/security/breakroom)
-"cnZ" = (
-/obj/structure/bed/chair/bay/chair{
- dir = 4
- },
-/obj/structure/closet/emergsuit_wall{
- pixel_x = -32
- },
-/turf/simulated/floor/tiled/eris/dark/golden,
-/area/shuttle/tourbus/general)
"cpd" = (
/obj/effect/floor_decal/borderfloor{
dir = 1
@@ -38153,6 +37990,9 @@
/turf/simulated/floor/tiled,
/area/tether/surfacebase/surface_three_hall)
"cGs" = (
+/obj/effect/floor_decal/spline/plain{
+ dir = 1
+ },
/turf/simulated/floor/carpet/turcarpet,
/area/crew_quarters/bar)
"cGt" = (
@@ -38210,6 +38050,16 @@
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
/turf/simulated/floor/wood,
/area/library)
+"cUF" = (
+/obj/machinery/computer/shuttle_control/explore/tourbus,
+/obj/machinery/light/small{
+ dir = 1
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/tourbus/cockpit)
"cVg" = (
/obj/structure/bed/chair/office/dark{
dir = 4
@@ -38276,6 +38126,20 @@
},
/turf/simulated/floor/tiled,
/area/tether/surfacebase/southhall)
+"daD" = (
+/obj/structure/cable/orange{
+ d1 = 4;
+ d2 = 8;
+ icon_state = "4-8"
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/yellow{
+ dir = 4
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/yellow{
+ dir = 4
+ },
+/turf/simulated/floor/reinforced,
+/area/tether/surfacebase/shuttle_pad)
"daN" = (
/obj/effect/floor_decal/borderfloor{
dir = 1
@@ -38318,27 +38182,54 @@
},
/turf/simulated/floor/tiled/steel_grid,
/area/rnd/robotics/mechbay)
+"ddb" = (
+/obj/effect/floor_decal/borderfloorblack{
+ dir = 8
+ },
+/obj/effect/floor_decal/industrial/danger{
+ dir = 8
+ },
+/obj/structure/cable/orange{
+ d1 = 4;
+ d2 = 8;
+ icon_state = "4-8"
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/yellow{
+ dir = 4
+ },
+/turf/simulated/floor/tiled,
+/area/tether/surfacebase/shuttle_pad)
"ddn" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced{
+/obj/structure/bed/chair/bay/chair{
dir = 1
},
-/obj/machinery/door/firedoor/glass,
-/obj/machinery/door/blast/regular{
- density = 0;
- dir = 4;
- icon_state = "pdoor0";
- id = "tourbus_windows";
- name = "Shuttle Blast Doors";
- opacity = 0
+/obj/machinery/power/apc{
+ name = "south bump";
+ pixel_y = -28;
+ req_access = list();
+ req_one_access = list(11,67)
},
-/turf/simulated/floor/plating/eris/under,
+/obj/structure/cable{
+ d2 = 4;
+ icon_state = "0-4"
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
/area/shuttle/tourbus/cockpit)
"dgA" = (
/obj/structure/flora/bboulder2,
/turf/simulated/floor/grass,
/area/tether/surfacebase/public_garden_three)
+"diF" = (
+/obj/structure/cable/orange{
+ d1 = 4;
+ d2 = 8;
+ icon_state = "4-8"
+ },
+/turf/simulated/floor/tiled,
+/area/tether/surfacebase/shuttle_pad)
"djy" = (
/obj/machinery/door/airlock{
name = "Unit 3"
@@ -38521,7 +38412,10 @@
d2 = 2;
icon_state = "1-2"
},
-/turf/simulated/floor/tiled/eris/dark/golden,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
/area/shuttle/tourbus/general)
"dVZ" = (
/obj/structure/table/woodentable,
@@ -38601,9 +38495,6 @@
},
/turf/simulated/floor/tiled/dark,
/area/tether/surfacebase/security/iaa/officeb)
-"eiO" = (
-/turf/simulated/floor/tiled/eris/dark/golden,
-/area/shuttle/tourbus/general)
"ely" = (
/obj/machinery/atmospherics/unary/vent_pump/on{
dir = 8
@@ -38611,6 +38502,21 @@
/obj/structure/disposalpipe/segment,
/turf/simulated/floor/tiled,
/area/tether/surfacebase/southhall)
+"eqZ" = (
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
+/obj/machinery/atmospherics/pipe/simple/hidden/supply,
+/obj/structure/cable/orange{
+ d1 = 1;
+ d2 = 2;
+ icon_state = "1-2"
+ },
+/obj/structure/cable/orange{
+ d1 = 1;
+ d2 = 8;
+ icon_state = "1-8"
+ },
+/turf/simulated/floor/tiled,
+/area/tether/surfacebase/shuttle_pad)
"erS" = (
/obj/effect/floor_decal/steeldecal/steel_decals6{
dir = 10
@@ -38639,10 +38545,6 @@
},
/turf/simulated/floor/plating,
/area/tether/surfacebase/public_garden_three)
-"eCG" = (
-/obj/machinery/computer/ship/helm,
-/turf/simulated/floor/tiled/eris/white/orangecorner,
-/area/shuttle/tourbus/cockpit)
"eCP" = (
/obj/structure/cable/green{
d1 = 4;
@@ -38673,13 +38575,11 @@
/turf/simulated/floor/tiled,
/area/rnd/outpost/xenobiology/outpost_main)
"eGv" = (
-/obj/structure/fuel_port{
- pixel_x = 1
+/obj/machinery/atmospherics/pipe/simple/hidden/yellow,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
},
-/obj/machinery/atmospherics/pipe/simple/hidden/yellow{
- dir = 6
- },
-/turf/simulated/floor/tiled/eris/steel/danger,
+/turf/simulated/floor/tiled,
/area/shuttle/tourbus/general)
"eHk" = (
/obj/structure/sign/nosmoking_2{
@@ -38778,6 +38678,33 @@
/obj/machinery/vending/sovietsoda,
/turf/simulated/floor/tiled,
/area/tether/surfacebase/cafeteria)
+"fag" = (
+/obj/machinery/atmospherics/pipe/simple/hidden/yellow{
+ dir = 4
+ },
+/obj/structure/cable{
+ d2 = 4;
+ icon_state = "0-4"
+ },
+/obj/structure/bed/chair/bay/chair{
+ dir = 4
+ },
+/obj/machinery/power/apc{
+ dir = 8;
+ name = "west bump";
+ pixel_x = -28;
+ req_access = list();
+ req_one_access = list(11,67)
+ },
+/obj/structure/closet/emergsuit_wall{
+ dir = 1;
+ pixel_y = -32
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/tourbus/general)
"faL" = (
/obj/structure/lattice,
/obj/structure/cable/orange{
@@ -38787,13 +38714,26 @@
/turf/simulated/open,
/area/tether/surfacebase/southhall)
"fcg" = (
-/obj/structure/bed/chair/bay/chair{
- dir = 8
+/obj/effect/shuttle_landmark{
+ base_area = /area/tether/surfacebase/shuttle_pad;
+ base_turf = /turf/simulated/floor/reinforced;
+ docking_controller = "tourbus_pad";
+ landmark_tag = "tourbus_dock";
+ name = "Tourbus Pad"
},
-/obj/machinery/light/small{
+/obj/effect/overmap/visitable/ship/landable/tourbus,
+/obj/structure/cable/orange{
+ d1 = 4;
+ d2 = 8;
+ icon_state = "4-8"
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/yellow{
dir = 4
},
-/turf/simulated/floor/tiled/eris/dark/golden,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
/area/shuttle/tourbus/general)
"feu" = (
/obj/machinery/alarm{
@@ -38894,6 +38834,18 @@
"fzy" = (
/turf/simulated/wall,
/area/tether/surfacebase/security/iaa/officecommon)
+"fEX" = (
+/obj/structure/cable{
+ d1 = 2;
+ d2 = 8;
+ icon_state = "2-8"
+ },
+/obj/machinery/atmospherics/pipe/manifold4w/hidden/yellow,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/tourbus/general)
"fGm" = (
/obj/machinery/door/airlock/glass_security{
name = "Briefing Room";
@@ -38909,6 +38861,20 @@
/obj/machinery/door/firedoor/glass,
/turf/simulated/floor/tiled,
/area/tether/surfacebase/security/briefingroom)
+"fJJ" = (
+/obj/machinery/atmospherics/pipe/simple/hidden/yellow{
+ dir = 4
+ },
+/obj/machinery/power/terminal,
+/obj/structure/cable/orange,
+/obj/structure/bed/chair/bay/chair{
+ dir = 8
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/tourbus/general)
"fLx" = (
/obj/structure/grille,
/obj/structure/window/reinforced/full,
@@ -38934,6 +38900,28 @@
},
/turf/simulated/floor/tiled,
/area/tether/surfacebase/security/processing)
+"fNO" = (
+/obj/machinery/embedded_controller/radio/simple_docking_controller{
+ dir = 8;
+ frequency = 1380;
+ id_tag = "tourbus_docker";
+ pixel_x = 28
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/yellow{
+ dir = 4
+ },
+/obj/structure/bed/chair/bay/chair{
+ dir = 8
+ },
+/obj/structure/closet/emergsuit_wall{
+ dir = 1;
+ pixel_y = -32
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/tourbus/general)
"fOj" = (
/obj/structure/disposalpipe/sortjunction/flipped{
dir = 1;
@@ -38956,6 +38944,14 @@
/obj/structure/window/reinforced,
/turf/simulated/floor/plating,
/area/tether/surfacebase/public_garden_three)
+"fWR" = (
+/obj/machinery/atmospherics/pipe/simple/hidden/yellow{
+ dir = 10
+ },
+/turf/simulated/wall/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/area/shuttle/tourbus/general)
"gfg" = (
/obj/machinery/light{
dir = 8
@@ -38994,6 +38990,12 @@
},
/turf/simulated/floor/wood,
/area/crew_quarters/recreation_area)
+"gjD" = (
+/obj/machinery/atmospherics/pipe/simple/hidden/yellow,
+/turf/simulated/wall/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/area/shuttle/tourbus/general)
"gnE" = (
/obj/structure/table/woodentable,
/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
@@ -39076,33 +39078,78 @@
/obj/machinery/atmospherics/pipe/manifold4w/hidden/supply,
/turf/simulated/floor/tiled,
/area/hallway/lower/third_south)
+"gBr" = (
+/obj/machinery/atmospherics/portables_connector{
+ dir = 4
+ },
+/obj/machinery/portable_atmospherics/canister/phoron,
+/obj/machinery/door/window/southleft{
+ dir = 1;
+ req_one_access = list(19,43,67)
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/tourbus/general)
"gCV" = (
/obj/machinery/door/firedoor/glass/hidden/steel{
dir = 1
},
+/obj/structure/cable/orange{
+ d1 = 4;
+ d2 = 8;
+ icon_state = "4-8"
+ },
/turf/simulated/floor/tiled,
/area/tether/surfacebase/shuttle_pad)
-"gHh" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/yellow{
- dir = 10
+"gCZ" = (
+/obj/machinery/light/small,
+/obj/structure/cable{
+ d1 = 1;
+ d2 = 4;
+ icon_state = "1-4"
},
-/turf/simulated/wall/shull,
+/obj/machinery/atmospherics/pipe/simple/hidden/yellow{
+ dir = 9
+ },
+/obj/machinery/door/window/southright{
+ dir = 1;
+ req_one_access = list(19,43,67)
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/tourbus/general)
+"gHc" = (
+/obj/structure/bed/chair/bay/chair{
+ dir = 4
+ },
+/obj/structure/cable{
+ icon_state = "2-4"
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
/area/shuttle/tourbus/general)
"gLd" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/structure/cable/orange{
- d1 = 1;
- d2 = 8;
- icon_state = "1-8"
+/obj/machinery/power/smes/buildable{
+ charge = 500000
},
-/obj/structure/cable/orange{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
+/obj/structure/cable{
+ d2 = 8;
+ icon_state = "0-8"
+ },
+/obj/structure/window/reinforced{
+ dir = 1
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
},
/turf/simulated/floor/tiled,
-/area/tether/surfacebase/shuttle_pad)
+/area/shuttle/tourbus/general)
"gLg" = (
/obj/machinery/holoposter{
dir = 8;
@@ -39120,6 +39167,11 @@
},
/turf/simulated/floor/wood,
/area/tether/surfacebase/public_garden_three)
+"gQb" = (
+/turf/simulated/wall/fancy_shuttle/window{
+ fancy_shuttle_tag = "tourbus"
+ },
+/area/shuttle/tourbus/general)
"gRG" = (
/obj/structure/closet/hydrant{
pixel_x = -32
@@ -39141,13 +39193,18 @@
/turf/simulated/floor/tiled,
/area/tether/surfacebase/surface_three_hall)
"gUL" = (
-/obj/structure/bed/chair/bay/chair{
- dir = 8
+/obj/structure/cable/orange{
+ d1 = 2;
+ d2 = 4;
+ icon_state = "2-4"
},
-/obj/effect/floor_decal/rust/part_rusted1{
- dir = 8
+/obj/machinery/atmospherics/pipe/simple/hidden/yellow{
+ dir = 4
},
-/turf/simulated/floor/tiled/eris/dark/golden,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
/area/shuttle/tourbus/general)
"gVg" = (
/obj/structure/cable/green{
@@ -39237,11 +39294,11 @@
},
/turf/simulated/floor/tiled/dark,
/area/rnd/outpost/xenobiology/outpost_hallway)
-"hlF" = (
-/obj/structure/bed/chair/bay/chair{
- dir = 1
+"hjt" = (
+/obj/machinery/shipsensors/fancy_shuttle,
+/turf/simulated/wall/fancy_shuttle/nondense{
+ fancy_shuttle_tag = "tourbus"
},
-/turf/simulated/floor/tiled/eris/white/orangecorner,
/area/shuttle/tourbus/cockpit)
"hoQ" = (
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
@@ -39254,6 +39311,14 @@
/obj/effect/floor_decal/emblem/nt1,
/turf/simulated/floor/tiled/dark,
/area/bridge)
+"hpY" = (
+/obj/machinery/atmospherics/unary/engine/fancy_shuttle{
+ dir = 1
+ },
+/turf/simulated/wall/fancy_shuttle/nondense{
+ fancy_shuttle_tag = "tourbus"
+ },
+/area/shuttle/tourbus/general)
"hth" = (
/obj/structure/disposalpipe/segment,
/obj/machinery/light{
@@ -39350,17 +39415,6 @@
},
/turf/simulated/floor/tiled,
/area/hallway/lower/third_south)
-"hHL" = (
-/obj/structure/cable/orange{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/obj/machinery/door/firedoor/glass/hidden/steel{
- dir = 2
- },
-/turf/simulated/floor/tiled,
-/area/tether/surfacebase/shuttle_pad)
"hId" = (
/obj/structure/disposalpipe/segment,
/turf/simulated/floor/tiled,
@@ -39540,11 +39594,17 @@
/turf/simulated/floor/tiled/dark,
/area/tether/surfacebase/security/upperhall)
"ivq" = (
-/obj/machinery/computer/ship/engines{
+/obj/structure/bed/chair/bay/chair{
dir = 8
},
-/turf/simulated/floor/tiled/eris/white/orangecorner,
-/area/shuttle/tourbus/cockpit)
+/obj/structure/closet/emergsuit_wall{
+ pixel_y = 32
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/tourbus/general)
"iFr" = (
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/turf/simulated/floor/tiled,
@@ -39699,7 +39759,9 @@
/obj/machinery/atmospherics/pipe/simple/hidden/yellow{
dir = 6
},
-/turf/simulated/wall/shull,
+/turf/simulated/wall/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
/area/shuttle/tourbus/general)
"jrn" = (
/obj/structure/cable/green{
@@ -39727,7 +39789,19 @@
/turf/simulated/floor/tiled,
/area/tether/surfacebase/surface_three_hall)
"jvK" = (
-/turf/simulated/wall/shull,
+/obj/structure/table/standard,
+/obj/structure/closet/emergsuit_wall{
+ pixel_y = 32
+ },
+/obj/machinery/button/remote/blast_door{
+ dir = 4;
+ id = "tourbus_windows";
+ name = "window blast shields"
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
/area/shuttle/tourbus/cockpit)
"jAt" = (
/obj/structure/cable/green{
@@ -39792,6 +39866,11 @@
},
/turf/simulated/floor/grass,
/area/tether/surfacebase/public_garden_three)
+"jER" = (
+/turf/simulated/wall/fancy_shuttle/window{
+ fancy_shuttle_tag = "tourbus"
+ },
+/area/shuttle/tourbus/cockpit)
"jFq" = (
/obj/structure/table/reinforced,
/obj/item/weapon/folder{
@@ -39841,9 +39920,6 @@
},
/turf/simulated/floor/tiled,
/area/tether/surfacebase/surface_three_hall)
-"jHw" = (
-/turf/simulated/wall/shull,
-/area/shuttle/tourbus/general)
"jJd" = (
/obj/effect/floor_decal/borderfloor{
dir = 1
@@ -39892,36 +39968,6 @@
},
/turf/simulated/floor/tiled,
/area/tether/surfacebase/security/upperhall)
-"jML" = (
-/obj/effect/floor_decal/steeldecal/steel_decals_central5{
- dir = 8
- },
-/obj/effect/floor_decal/steeldecal/steel_decals_central5{
- dir = 4
- },
-/obj/machinery/door/airlock/glass_external{
- icon_state = "door_locked";
- id_tag = "tourbus_left";
- locked = 1;
- req_one_access = list()
- },
-/obj/machinery/button/remote/airlock{
- desiredstate = 1;
- id = "tourbus_left";
- name = "hatch bolt control";
- pixel_y = 30;
- req_one_access = list(19,43,67);
- specialfunctions = 4
- },
-/obj/machinery/door/blast/regular{
- density = 0;
- icon_state = "pdoor0";
- id = "tourbus_windows";
- name = "Shuttle Blast Doors";
- opacity = 0
- },
-/turf/simulated/floor/tiled/eris/techmaint_panels,
-/area/shuttle/tourbus/general)
"jPW" = (
/obj/effect/floor_decal/borderfloor{
dir = 4
@@ -39993,17 +40039,6 @@
},
/turf/simulated/floor/tiled/white,
/area/crew_quarters/barrestroom)
-"jYd" = (
-/obj/structure/cable/orange{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/yellow{
- dir = 4
- },
-/turf/simulated/floor/reinforced,
-/area/tether/surfacebase/shuttle_pad)
"jYD" = (
/turf/simulated/wall,
/area/tether/surfacebase/security/iaa/officeb)
@@ -40021,23 +40056,29 @@
/turf/simulated/floor/grass,
/area/tether/surfacebase/public_garden_three)
"kcC" = (
-/obj/structure/cable{
- icon_state = "1-8"
+/obj/structure/fuel_port{
+ pixel_x = 1
},
-/turf/simulated/floor/tiled/eris/dark/golden,
+/obj/machinery/atmospherics/pipe/simple/hidden/yellow{
+ dir = 6
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
/area/shuttle/tourbus/general)
"kdx" = (
-/obj/structure/table/standard,
+/obj/structure/bed/chair/bay/chair{
+ dir = 4
+ },
/obj/structure/closet/emergsuit_wall{
pixel_y = 32
},
-/obj/machinery/button/remote/blast_door{
- dir = 4;
- id = "tourbus_windows";
- name = "window blast shields"
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
},
-/turf/simulated/floor/tiled/eris/white/orangecorner,
-/area/shuttle/tourbus/cockpit)
+/turf/simulated/floor/tiled,
+/area/shuttle/tourbus/general)
"keg" = (
/obj/effect/floor_decal/borderfloor{
dir = 8
@@ -40081,14 +40122,6 @@
},
/turf/simulated/floor/tiled,
/area/tether/surfacebase/surface_three_hall)
-"kiw" = (
-/obj/structure/cable{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/turf/simulated/floor/tiled/eris/dark/golden,
-/area/shuttle/tourbus/general)
"kjn" = (
/obj/structure/disposalpipe/segment{
dir = 4;
@@ -40104,15 +40137,6 @@
},
/turf/simulated/floor/carpet,
/area/tether/surfacebase/security/hos)
-"kmK" = (
-/obj/structure/bed/chair/bay/chair{
- dir = 4
- },
-/obj/structure/cable{
- icon_state = "2-4"
- },
-/turf/simulated/floor/tiled/eris/dark/golden,
-/area/shuttle/tourbus/general)
"kmS" = (
/obj/effect/floor_decal/borderfloor,
/obj/effect/floor_decal/corner/lightgrey/border,
@@ -40154,23 +40178,6 @@
},
/turf/simulated/floor/tiled/dark,
/area/tether/surfacebase/security/iaa/officea)
-"kun" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/yellow{
- dir = 4
- },
-/obj/structure/cable{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/obj/structure/bed/chair/bay/chair{
- dir = 4
- },
-/obj/structure/cable{
- icon_state = "1-4"
- },
-/turf/simulated/floor/tiled/eris/dark/golden,
-/area/shuttle/tourbus/general)
"kuQ" = (
/obj/effect/floor_decal/borderfloor{
dir = 1
@@ -40613,6 +40620,18 @@
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/turf/simulated/floor/tiled,
/area/rnd/research/testingrange)
+"lVB" = (
+/obj/structure/bed/chair/bay/chair{
+ dir = 8
+ },
+/obj/machinery/light/small{
+ dir = 4
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/tourbus/general)
"lWE" = (
/obj/structure/grille,
/obj/machinery/door/blast/regular{
@@ -40724,6 +40743,15 @@
},
/turf/simulated/floor/carpet/blue,
/area/tether/surfacebase/security/breakroom)
+"mse" = (
+/obj/structure/bed/chair/bay/chair{
+ dir = 8
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/tourbus/general)
"mwz" = (
/obj/effect/floor_decal/corner/red{
dir = 9
@@ -40765,15 +40793,6 @@
},
/turf/simulated/floor/tiled/dark,
/area/tether/surfacebase/security/iaa/officeb)
-"mDf" = (
-/obj/structure/bed/chair/bay/chair{
- dir = 4
- },
-/obj/machinery/light/small{
- dir = 8
- },
-/turf/simulated/floor/tiled/eris/dark/golden,
-/area/shuttle/tourbus/general)
"mFq" = (
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
dir = 4
@@ -40886,6 +40905,17 @@
},
/turf/simulated/floor/tiled,
/area/tether/surfacebase/surface_three_hall)
+"ndK" = (
+/obj/structure/cable{
+ d1 = 2;
+ d2 = 8;
+ icon_state = "2-8"
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/tourbus/cockpit)
"nfl" = (
/obj/structure/disposalpipe/segment{
dir = 4
@@ -40904,6 +40934,18 @@
/obj/machinery/atmospherics/unary/vent_scrubber/on,
/turf/simulated/floor/tiled,
/area/tether/surfacebase/security/briefingroom)
+"ngV" = (
+/obj/structure/bed/chair/bay/chair{
+ dir = 4
+ },
+/obj/machinery/light/small{
+ dir = 8
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/tourbus/general)
"nio" = (
/obj/machinery/camera/network/civilian{
dir = 9
@@ -40924,6 +40966,15 @@
},
/turf/simulated/floor/tiled,
/area/tether/surfacebase/surface_three_hall)
+"nkq" = (
+/obj/machinery/computer/ship/engines{
+ dir = 8
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/tourbus/cockpit)
"nlf" = (
/obj/effect/floor_decal/borderfloor{
dir = 8
@@ -41165,10 +41216,17 @@
/turf/simulated/floor/wood,
/area/crew_quarters/recreation_area)
"ooM" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/yellow,
/obj/effect/floor_decal/steeldecal/monofloor{
dir = 1
},
+/obj/structure/cable/orange{
+ d1 = 4;
+ d2 = 8;
+ icon_state = "4-8"
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/yellow{
+ dir = 9
+ },
/turf/simulated/floor/tiled/monotile,
/area/tether/surfacebase/shuttle_pad)
"opE" = (
@@ -41355,12 +41413,6 @@
},
/turf/simulated/floor/plating,
/area/tether/surfacebase/security/iaa/officeb)
-"oPm" = (
-/obj/structure/bed/chair/bay/chair{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/golden,
-/area/shuttle/tourbus/general)
"oPG" = (
/obj/structure/closet/secure_closet/hos,
/obj/machinery/atmospherics/unary/vent_pump/on{
@@ -41387,6 +41439,15 @@
},
/turf/simulated/floor/wood,
/area/crew_quarters/recreation_area)
+"oSQ" = (
+/obj/structure/bed/chair/bay/chair{
+ dir = 1
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/tourbus/cockpit)
"oTr" = (
/obj/structure/sign/painting/public{
pixel_x = -30
@@ -41581,10 +41642,6 @@
},
/turf/simulated/floor/tiled,
/area/tether/surfacebase/surface_three_hall)
-"pwF" = (
-/obj/machinery/computer/ship/sensors,
-/turf/simulated/floor/tiled/eris/white/orangecorner,
-/area/shuttle/tourbus/cockpit)
"pAh" = (
/obj/effect/floor_decal/steeldecal/steel_decals7{
dir = 6
@@ -41660,11 +41717,19 @@
/turf/simulated/floor/tiled,
/area/tether/surfacebase/security/breakroom)
"pNk" = (
-/obj/machinery/computer/shuttle_control/explore/tourbus,
-/obj/machinery/light/small{
- dir = 1
+/obj/structure/cable{
+ d1 = 1;
+ d2 = 2;
+ icon_state = "1-2"
},
-/turf/simulated/floor/tiled/eris/white/orangecorner,
+/obj/machinery/door/airlock/angled_tgmc/prep/prep_delta{
+ name = "cockpit";
+ req_one_access = list(19,43,67)
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
/area/shuttle/tourbus/cockpit)
"pNF" = (
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
@@ -41867,6 +41932,19 @@
},
/turf/simulated/floor/tiled,
/area/hallway/lower/third_south)
+"qvs" = (
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
+/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
+ dir = 4
+ },
+/obj/structure/cable/orange{
+ d1 = 1;
+ d2 = 2;
+ icon_state = "1-2"
+ },
+/obj/structure/disposalpipe/segment,
+/turf/simulated/floor/tiled,
+/area/tether/surfacebase/shuttle_pad)
"qze" = (
/obj/structure/disposalpipe/segment,
/obj/effect/floor_decal/borderfloor{
@@ -42050,14 +42128,14 @@
/area/tether/surfacebase/security/hos)
"rbR" = (
/obj/structure/cable/orange{
- d1 = 2;
- d2 = 4;
- icon_state = "2-4"
+ d1 = 1;
+ d2 = 2;
+ icon_state = "1-2"
},
-/obj/machinery/atmospherics/pipe/simple/hidden/yellow{
- dir = 4
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
},
-/turf/simulated/floor/tiled/eris/dark/golden,
+/turf/simulated/floor/tiled,
/area/shuttle/tourbus/general)
"rnn" = (
/obj/effect/floor_decal/borderfloor{
@@ -42130,15 +42208,6 @@
},
/turf/simulated/floor/tiled/monotile,
/area/tether/surfacebase/shuttle_pad)
-"rzV" = (
-/obj/structure/bed/chair/bay/chair{
- dir = 8
- },
-/obj/structure/closet/emergsuit_wall{
- pixel_y = 32
- },
-/turf/simulated/floor/tiled/eris/dark/golden,
-/area/shuttle/tourbus/general)
"rAe" = (
/obj/machinery/light{
dir = 1
@@ -42299,6 +42368,23 @@
/obj/machinery/vending/cigarette,
/turf/simulated/floor/tiled,
/area/tether/surfacebase/cafeteria)
+"shl" = (
+/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
+ dir = 4
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/supply,
+/obj/structure/cable/orange{
+ d1 = 1;
+ d2 = 2;
+ icon_state = "1-2"
+ },
+/obj/structure/disposalpipe/segment,
+/obj/machinery/alarm{
+ dir = 8;
+ pixel_x = 24
+ },
+/turf/simulated/floor/tiled,
+/area/tether/surfacebase/shuttle_pad)
"shx" = (
/obj/structure/grille,
/obj/structure/window/reinforced/full,
@@ -42579,25 +42665,6 @@
},
/turf/simulated/floor/tiled,
/area/tether/surfacebase/security/breakroom)
-"tcW" = (
-/obj/effect/shuttle_landmark{
- base_area = /area/tether/surfacebase/shuttle_pad;
- base_turf = /turf/simulated/floor/reinforced;
- docking_controller = "tourbus_pad";
- landmark_tag = "tourbus_dock";
- name = "Tourbus Pad"
- },
-/obj/effect/overmap/visitable/ship/landable/tourbus,
-/obj/structure/cable/orange{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/yellow{
- dir = 4
- },
-/turf/simulated/floor/tiled/eris/dark/golden,
-/area/shuttle/tourbus/general)
"tki" = (
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
@@ -42739,6 +42806,13 @@
},
/turf/simulated/floor/tiled/dark,
/area/tether/surfacebase/security/iaa/officeb)
+"tOT" = (
+/obj/machinery/computer/ship/helm,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/tourbus/cockpit)
"tPE" = (
/obj/structure/table/reinforced,
/obj/item/weapon/book/manual/security_space_law,
@@ -42864,10 +42938,10 @@
/turf/simulated/floor/grass,
/area/tether/surfacebase/public_garden_three)
"uhm" = (
-/obj/structure/bed/chair/bay/chair{
- dir = 8
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
},
-/turf/simulated/floor/tiled/eris/dark/golden,
+/turf/simulated/floor/tiled,
/area/shuttle/tourbus/general)
"uiJ" = (
/obj/machinery/chemical_dispenser/full,
@@ -42998,6 +43072,13 @@
/obj/machinery/atmospherics/unary/vent_scrubber/on,
/turf/simulated/floor/tiled,
/area/tether/surfacebase/surface_three_hall)
+"uLh" = (
+/obj/machinery/computer/ship/sensors,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
+/area/shuttle/tourbus/cockpit)
"uMD" = (
/obj/machinery/hologram/holopad,
/turf/simulated/floor/tiled,
@@ -43040,9 +43121,6 @@
d2 = 8;
icon_state = "4-8"
},
-/obj/machinery/atmospherics/pipe/simple/hidden/yellow{
- dir = 9
- },
/obj/effect/floor_decal/steeldecal/monofloor,
/turf/simulated/floor/tiled/monotile,
/area/tether/surfacebase/shuttle_pad)
@@ -43120,23 +43198,6 @@
},
/turf/simulated/floor/tiled/dark,
/area/tether/surfacebase/security/iaa/officea)
-"voF" = (
-/obj/effect/floor_decal/borderfloorblack{
- dir = 8
- },
-/obj/effect/floor_decal/industrial/danger{
- dir = 8
- },
-/obj/structure/cable/orange{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/yellow{
- dir = 4
- },
-/turf/simulated/floor/tiled,
-/area/tether/surfacebase/shuttle_pad)
"vqv" = (
/obj/structure/grille,
/obj/machinery/door/firedoor,
@@ -43153,14 +43214,6 @@
/obj/structure/window/reinforced/full,
/turf/simulated/floor/plating,
/area/tether/surfacebase/security/upperhall)
-"vrU" = (
-/obj/structure/cable{
- d1 = 2;
- d2 = 8;
- icon_state = "2-8"
- },
-/turf/simulated/floor/tiled/eris/white/orangecorner,
-/area/shuttle/tourbus/cockpit)
"vtN" = (
/obj/effect/floor_decal/corner/lightgrey{
dir = 9
@@ -43538,20 +43591,9 @@
/turf/simulated/floor/tiled/dark,
/area/tether/surfacebase/security/iaa/officeb)
"wyi" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced{
- dir = 4
+/turf/simulated/wall/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
},
-/obj/machinery/door/firedoor/glass,
-/obj/machinery/door/blast/regular{
- density = 0;
- icon_state = "pdoor0";
- id = "tourbus_windows";
- name = "Shuttle Blast Doors";
- opacity = 0
- },
-/turf/simulated/floor/plating/eris/under,
/area/shuttle/tourbus/general)
"wBv" = (
/obj/structure/table/reinforced,
@@ -43624,12 +43666,21 @@
/obj/machinery/atmospherics/pipe/simple/hidden/yellow{
dir = 4
},
-/obj/machinery/power/terminal,
-/obj/structure/cable/orange,
-/obj/structure/bed/chair/bay/chair{
- dir = 8
+/obj/structure/cable{
+ d1 = 4;
+ d2 = 8;
+ icon_state = "4-8"
},
-/turf/simulated/floor/tiled/eris/dark/golden,
+/obj/structure/bed/chair/bay/chair{
+ dir = 4
+ },
+/obj/structure/cable{
+ icon_state = "1-4"
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
+ },
+/turf/simulated/floor/tiled,
/area/shuttle/tourbus/general)
"wQs" = (
/obj/item/device/radio/intercom/department/security{
@@ -43815,6 +43866,11 @@
},
/turf/simulated/floor/tiled,
/area/tether/surfacebase/security/upperhall)
+"xtq" = (
+/turf/simulated/wall/fancy_shuttle/nondense{
+ fancy_shuttle_tag = "tourbus"
+ },
+/area/shuttle/tourbus/cockpit)
"xud" = (
/obj/structure/table/rack/shelf,
/obj/item/weapon/storage/backpack/parachute{
@@ -43989,10 +44045,10 @@
d2 = 2;
icon_state = "1-2"
},
-/obj/effect/floor_decal/rust/part_rusted1{
- dir = 4
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "tourbus"
},
-/turf/simulated/floor/tiled/eris/dark/golden,
+/turf/simulated/floor/tiled,
/area/shuttle/tourbus/general)
"xQv" = (
/obj/structure/table/reinforced,
@@ -55124,18 +55180,18 @@ aHR
awf
aJn
aKa
-aKU
-aKU
-aUQ
-jHw
-jHw
-jHw
-bkN
-jHw
-jML
-jHw
+xtq
+cdf
+cdf
+cdf
+wyi
+gQb
+gQb
+ccN
+gQb
+gQb
jpB
-aVJ
+gjD
bbX
aKU
aOI
@@ -55266,19 +55322,19 @@ aHR
awf
aJn
aKa
-aKU
-aKU
-jvK
+cdf
+cdf
jvK
+cdf
kdx
-jHw
-cnN
-mDf
-eiO
-cnZ
-aWL
-jHw
-jHw
+ngV
+uhm
+uhm
+uhm
+aUN
+fag
+wyi
+wyi
aKU
aOI
aPb
@@ -55408,19 +55464,19 @@ aXn
aIy
ats
aKD
-aKU
-aKU
+jER
+tOT
ddn
-eCG
+cdf
aUN
-jHw
-oPm
-kmK
+gHc
+xOa
+xOa
xOa
dVW
-kun
-aVM
-aWP
+wQf
+gBr
+wyi
aKU
avs
aKj
@@ -55550,19 +55606,19 @@ aXp
awf
aJn
aKa
-aKU
-aKU
-ddn
+jER
+cUF
+ndK
pNk
-vrU
+xOa
aXa
-kiw
+uhm
kcC
eGv
aUq
-aVm
-aWc
-aWP
+fEX
+gCZ
+wyi
aKU
aOI
bgW
@@ -55692,19 +55748,19 @@ aXu
aIz
aJn
aKa
-aKU
-aKU
-ddn
-pwF
-hlF
-jHw
+jER
+uLh
+oSQ
+cdf
+mse
+mse
uhm
gUL
rbR
aUx
-wQf
-aWK
-aWP
+fJJ
+gLd
+wyi
aKU
aOI
bgW
@@ -55834,19 +55890,19 @@ aIa
aOJ
ats
ieb
-aKU
-aKU
-jvK
-jvK
+cdf
+cdf
+nkq
+cdf
ivq
-jHw
-rzV
+lVB
+uhm
fcg
-tcW
-aUE
-aVF
-jHw
-jHw
+uhm
+mse
+fNO
+wyi
+wyi
aKU
aOK
bgW
@@ -55976,19 +56032,19 @@ aIa
aIz
aJn
aKa
-aKU
-aKU
-aWX
-jHw
-jHw
-jHw
+hjt
+cdf
+cdf
+cdf
wyi
-jHw
-caw
-jHw
-gHh
-aVJ
-bbX
+gQb
+gQb
+cdv
+gQb
+gQb
+fWR
+gjD
+hpY
aKU
aOI
bgW
@@ -56125,8 +56181,8 @@ aKU
aKU
aKU
aKU
+daD
aKU
-jYd
aKU
aKU
aKU
@@ -56267,8 +56323,8 @@ aKU
aKU
aKU
aKU
+daD
aKU
-jYd
aKU
aKU
aKU
@@ -56409,8 +56465,8 @@ aKV
aKV
aKV
aKV
+ddb
aKV
-voF
aKV
aKV
aKV
@@ -56694,14 +56750,14 @@ aKj
aKj
aKf
gCV
-hHL
+dAe
aKf
aNX
aKj
aKj
aKf
aKf
-bgZ
+bgW
bdz
bdz
bdz
@@ -56835,19 +56891,19 @@ gfg
aMV
aKe
aKg
+diF
aKg
-cdv
aKg
aKe
aOc
aKe
aKg
-aMA
-aPu
-aPM
-beU
+aKg
+aLA
+aKg
+aKg
bfj
-beU
+aPu
qbo
bhi
bhm
@@ -56977,19 +57033,19 @@ sFW
aMW
sFW
ghf
+eqZ
ghf
-gLd
ghf
sFW
aMW
sFW
aOu
aNx
-aPs
-aPZ
-beV
+aKf
+aKh
+aKW
bfJ
-beV
+aPL
bhj
cYm
oWt
@@ -57127,11 +57183,11 @@ aOd
hth
aOv
aPc
-aPL
-aQa
-hId
+aLB
+shl
+qvs
bgm
-hId
+aPM
ely
hId
jCE
@@ -57269,9 +57325,9 @@ aKj
aKj
eHY
aKf
-aPs
-aPs
-aPs
+aKj
+aKj
+aKj
aPs
bhl
bhl
diff --git a/maps/tether/tether-05-station1.dmm b/maps/tether/tether-05-station1.dmm
index 59416f592b..a3fc4c924c 100644
--- a/maps/tether/tether-05-station1.dmm
+++ b/maps/tether/tether-05-station1.dmm
@@ -64,46 +64,15 @@
/obj/item/clothing/head/pizzaguy,
/turf/simulated/floor/tiled,
/area/quartermaster/warehouse)
-"aai" = (
-/obj/structure/plasticflaps,
-/obj/machinery/conveyor{
- dir = 8;
- id = "shuttle_inbound"
- },
-/turf/simulated/floor/plating,
-/area/shuttle/excursion/cargo)
-"aaj" = (
-/obj/structure/plasticflaps,
-/obj/machinery/conveyor{
- dir = 4;
- id = "shuttle_outbound"
- },
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/cargo)
"aak" = (
-/obj/machinery/atmospherics/unary/vent_pump/on{
- dir = 1
+/obj/machinery/light{
+ dir = 8
},
-/obj/machinery/power/apc{
- alarms_hidden = 1;
- name = "south bump";
- pixel_y = -28;
- req_access = list();
- req_one_access = list(11,67)
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/obj/structure/cable/cyan,
-/obj/machinery/button/remote/blast_door{
- dir = 8;
- id = "shuttle blast";
- name = "Shuttle Blast Doors";
- pixel_x = -25;
- pixel_y = -25;
- req_access = list(67)
- },
-/obj/machinery/light,
-/obj/structure/table/steel_reinforced,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/cockpit)
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"aal" = (
/obj/structure/cable{
d1 = 1;
@@ -901,15 +870,6 @@
},
/turf/simulated/floor/tiled/techmaint,
/area/engineering/engine_smes)
-"abJ" = (
-/obj/machinery/computer/shuttle_control/explore/excursion{
- dir = 1
- },
-/obj/item/device/radio/intercom{
- pixel_y = -24
- },
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/cockpit)
"abK" = (
/obj/structure/disposalpipe/segment{
dir = 4
@@ -3048,11 +3008,6 @@
"afD" = (
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/structure/cable/green{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
/obj/machinery/light{
dir = 4
},
@@ -3350,12 +3305,6 @@
},
/turf/simulated/floor/tiled,
/area/hallway/station/docks)
-"agf" = (
-/obj/structure/disposalpipe/segment{
- dir = 4
- },
-/turf/simulated/wall/rshull,
-/area/shuttle/excursion/cargo)
"agg" = (
/obj/effect/floor_decal/borderfloor{
dir = 1
@@ -3406,13 +3355,19 @@
/turf/simulated/floor/tiled,
/area/hallway/station/atrium)
"agi" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/universal{
+/obj/structure/bed/chair/shuttle{
+ dir = 8
+ },
+/obj/machinery/atmospherics/unary/vent_scrubber/on{
+ dir = 8
+ },
+/obj/machinery/light{
dir = 4
},
-/obj/machinery/alarm{
- pixel_y = 22
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/turf/simulated/floor/tiled/techfloor,
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
"agj" = (
/obj/structure/disposalpipe/segment{
@@ -3599,42 +3554,17 @@
},
/turf/simulated/floor/tiled,
/area/engineering/engine_monitoring)
-"agQ" = (
-/obj/machinery/disposal/deliveryChute{
- dir = 8
- },
-/obj/structure/disposalpipe/trunk{
- dir = 4
- },
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/cargo)
"agR" = (
-/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
- dir = 8
- },
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 5
- },
-/obj/structure/handrail{
dir = 4
},
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 4;
- icon_state = "1-4"
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
+ dir = 9
},
-/obj/structure/cable/cyan{
- d2 = 4;
- icon_state = "0-4"
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/obj/machinery/power/apc{
- dir = 8;
- name = "west bump";
- pixel_x = -28;
- req_access = list();
- req_one_access = list(11,67)
- },
-/turf/simulated/floor/tiled/techmaint,
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
"agS" = (
/obj/structure/filingcabinet,
@@ -3684,18 +3614,16 @@
/turf/simulated/floor/tiled,
/area/hallway/station/docks)
"agV" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 10
+/obj/structure/bed/chair/shuttle{
+ dir = 8
},
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 4
+/obj/machinery/atmospherics/unary/vent_pump/on{
+ dir = 8
},
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/turf/simulated/floor/tiled/techmaint,
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
"agW" = (
/obj/effect/floor_decal/borderfloor{
@@ -3719,10 +3647,6 @@
},
/turf/simulated/floor/tiled,
/area/hallway/station/docks)
-"agX" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/general)
"agY" = (
/obj/effect/floor_decal/borderfloor{
dir = 1
@@ -3884,11 +3808,16 @@
/turf/simulated/floor/tiled,
/area/quartermaster/qm)
"ahk" = (
-/obj/machinery/atmospherics/unary/vent_pump/on{
- dir = 1
+/obj/machinery/power/smes/buildable/point_of_interest,
+/obj/structure/cable/cyan{
+ d2 = 2;
+ icon_state = "0-2"
},
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/general)
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/power)
"ahn" = (
/obj/structure/disposalpipe/segment,
/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
@@ -4068,10 +3997,14 @@
/turf/simulated/floor/tiled,
/area/quartermaster/foyer)
"ahO" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/machinery/door/firedoor/glass,
-/turf/simulated/floor/plating,
+/obj/structure/cable/green{
+ d1 = 1;
+ d2 = 2;
+ icon_state = "1-2"
+ },
+/turf/simulated/wall/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
/area/shuttle/excursion/general)
"ahP" = (
/obj/effect/floor_decal/industrial/warning,
@@ -5401,20 +5334,6 @@
"alF" = (
/turf/simulated/wall/r_wall,
/area/engineering/engine_monitoring)
-"alG" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/obj/structure/panic_button{
- pixel_x = -32;
- pixel_y = 32
- },
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/cockpit)
"alH" = (
/obj/machinery/atmospherics/unary/vent_scrubber/on{
dir = 8
@@ -6527,14 +6446,11 @@
/turf/simulated/floor,
/area/storage/tech)
"aos" = (
-/obj/structure/disposaloutlet{
- dir = 8
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/obj/structure/disposalpipe/trunk{
- dir = 4
- },
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/cargo)
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/general)
"aot" = (
/obj/structure/sign/nosmoking_2{
pixel_x = 32
@@ -6791,9 +6707,8 @@
/turf/simulated/floor,
/area/engineering/break_room)
"aph" = (
-/obj/machinery/door/blast/regular{
- dir = 8
- },
+/obj/effect/floor_decal/borderfloor/corner,
+/obj/effect/floor_decal/industrial/danger/corner,
/turf/simulated/floor/tiled/monotile,
/area/tether/exploration)
"api" = (
@@ -10537,15 +10452,6 @@
},
/turf/simulated/floor/tiled/techmaint,
/area/engineering/gravity_gen)
-"aBd" = (
-/obj/structure/disposaloutlet{
- dir = 4
- },
-/obj/structure/disposalpipe/trunk{
- dir = 8
- },
-/turf/simulated/floor/plating,
-/area/shuttle/excursion/cargo)
"aBe" = (
/turf/simulated/wall,
/area/quartermaster/warehouse)
@@ -10994,23 +10900,9 @@
/turf/simulated/floor/tiled,
/area/hallway/station/docks)
"aCt" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 6
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 6
- },
-/obj/machinery/light{
- dir = 1
- },
-/turf/simulated/floor/tiled/monotile,
-/area/tether/exploration)
-"aCx" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 4
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
+/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
+ dir = 8
},
/turf/simulated/floor/tiled/monotile,
/area/tether/exploration)
@@ -11805,15 +11697,6 @@
/obj/random/tool,
/turf/simulated/floor,
/area/maintenance/cargo)
-"aHN" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
- dir = 1
- },
-/turf/simulated/floor/tiled/monotile,
-/area/tether/exploration)
"aHQ" = (
/obj/machinery/door/airlock/glass_external{
frequency = 1379;
@@ -11885,15 +11768,6 @@
},
/turf/simulated/floor/tiled,
/area/engineering/hallway)
-"aIk" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
- dir = 1
- },
-/turf/simulated/floor/tiled/monotile,
-/area/tether/exploration)
"aIl" = (
/obj/effect/floor_decal/steeldecal/steel_decals7{
dir = 9
@@ -11975,14 +11849,8 @@
/turf/simulated/floor/tiled,
/area/engineering/engineering_monitoring)
"aJa" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 10
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 10
- },
-/obj/machinery/light{
- dir = 1
+/obj/machinery/door/blast/regular{
+ dir = 8
},
/turf/simulated/floor/tiled/monotile,
/area/tether/exploration)
@@ -12808,8 +12676,15 @@
/turf/simulated/floor/tiled/steel_grid,
/area/quartermaster/storage)
"aOH" = (
-/obj/effect/floor_decal/borderfloor/corner,
-/obj/effect/floor_decal/industrial/danger/corner,
+/obj/machinery/atmospherics/pipe/simple/hidden/supply{
+ dir = 6
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
+ dir = 6
+ },
+/obj/machinery/light{
+ dir = 1
+ },
/turf/simulated/floor/tiled/monotile,
/area/tether/exploration)
"aOL" = (
@@ -13183,11 +13058,6 @@
},
/turf/simulated/floor/carpet/oracarpet,
/area/crew_quarters/heads/chief)
-"aSo" = (
-/obj/effect/floor_decal/borderfloor,
-/obj/effect/floor_decal/industrial/danger,
-/turf/simulated/floor/tiled/monotile,
-/area/tether/exploration)
"aSu" = (
/obj/structure/table/reinforced,
/obj/machinery/light{
@@ -13272,22 +13142,11 @@
/obj/machinery/hologram/holopad,
/turf/simulated/floor/carpet/oracarpet,
/area/crew_quarters/heads/chief)
-"aTs" = (
-/obj/machinery/atmospherics/unary/vent_pump/on{
- dir = 1
- },
-/obj/effect/floor_decal/borderfloor,
-/obj/effect/floor_decal/industrial/danger,
-/turf/simulated/floor/tiled/monotile,
-/area/tether/exploration)
"aTA" = (
-/obj/machinery/atmospherics/unary/vent_scrubber/on{
- dir = 1
+/turf/simulated/wall/fancy_shuttle/window{
+ fancy_shuttle_tag = "explo"
},
-/obj/effect/floor_decal/borderfloor,
-/obj/effect/floor_decal/industrial/danger,
-/turf/simulated/floor/tiled/monotile,
-/area/tether/exploration)
+/area/shuttle/excursion/cockpit)
"aTE" = (
/obj/structure/table/reinforced,
/obj/item/weapon/packageWrap,
@@ -13331,11 +13190,11 @@
/turf/simulated/floor/tiled,
/area/engineering/hallway)
"aTO" = (
-/obj/effect/floor_decal/borderfloor/corner{
- dir = 8
+/obj/machinery/atmospherics/pipe/simple/hidden/supply{
+ dir = 4
},
-/obj/effect/floor_decal/industrial/danger/corner{
- dir = 1
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
+ dir = 4
},
/turf/simulated/floor/tiled/monotile,
/area/tether/exploration)
@@ -13591,9 +13450,8 @@
/area/engineering/gravity_gen)
"aWH" = (
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/camera/network/exploration{
- dir = 9
+/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
+ dir = 4
},
/turf/simulated/floor/tiled/monotile,
/area/tether/exploration)
@@ -14483,32 +14341,23 @@
/turf/simulated/floor/tiled,
/area/tether/exploration/crew)
"bmA" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
+/obj/machinery/light{
dir = 8
},
+/obj/machinery/atmospherics/pipe/simple/hidden/supply,
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
/turf/simulated/floor/tiled/monotile,
/area/tether/exploration)
"bmW" = (
/turf/simulated/wall,
/area/quartermaster/belterdock)
"bnf" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced{
- dir = 1
+/obj/machinery/computer/ship/engines/adv,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/obj/machinery/door/blast/regular{
- density = 0;
- dir = 4;
- icon_state = "pdoor0";
- id = "shuttle blast";
- name = "Shuttle Blast Doors";
- opacity = 0
- },
-/obj/machinery/door/firedoor/glass,
-/turf/simulated/floor/plating,
-/area/shuttle/excursion/cargo)
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cockpit)
"bnl" = (
/obj/structure/catwalk,
/turf/simulated/floor,
@@ -14772,6 +14621,15 @@
/obj/effect/floor_decal/industrial/outline/yellow,
/turf/simulated/floor,
/area/storage/emergency_storage/emergency4)
+"bvH" = (
+/obj/machinery/atmospherics/unary/vent_scrubber/on{
+ dir = 8
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"bwb" = (
/obj/machinery/door/airlock/maintenance_hatch{
frequency = 1379;
@@ -14846,6 +14704,14 @@
/obj/structure/window/reinforced,
/turf/simulated/floor/plating,
/area/tether/station/dock_one)
+"byv" = (
+/obj/machinery/atmospherics/portables_connector,
+/obj/machinery/portable_atmospherics/canister/air,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/power)
"byy" = (
/turf/simulated/wall/r_wall,
/area/engineering/gravity_lobby)
@@ -15193,9 +15059,11 @@
/turf/simulated/floor/tiled,
/area/quartermaster/office)
"bLO" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
- dir = 8
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
+ dir = 4
+ },
+/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
+ dir = 1
},
/turf/simulated/floor/tiled/monotile,
/area/tether/exploration)
@@ -15213,12 +15081,6 @@
/obj/machinery/atmospherics/pipe/simple/hidden/black,
/turf/simulated/floor/tiled,
/area/tcommsat/computer)
-"bMv" = (
-/obj/machinery/light/spot{
- pixel_y = 32
- },
-/turf/simulated/wall/rshull,
-/area/shuttle/excursion/cargo)
"bMD" = (
/obj/structure/grille,
/obj/structure/window/reinforced/full,
@@ -15229,40 +15091,35 @@
/obj/machinery/door/firedoor/glass,
/turf/simulated/floor/plating,
/area/tether/station/dock_one)
-"bNZ" = (
-/obj/structure/grille,
-/obj/machinery/door/blast/regular{
- density = 0;
- dir = 4;
- icon_state = "pdoor0";
- id = "shuttle blast";
- name = "Shuttle Blast Doors";
- opacity = 0
- },
-/obj/machinery/door/firedoor/glass,
-/obj/structure/window/reinforced/polarized/full{
- id = "pilot_room"
- },
-/obj/structure/window/reinforced{
- dir = 1
- },
-/turf/simulated/floor/plating,
-/area/shuttle/excursion/cargo)
"bOf" = (
-/obj/effect/floor_decal/industrial/outline/yellow,
-/obj/structure/handrail{
+/obj/structure/table/steel_reinforced,
+/obj/machinery/atmospherics/unary/vent_scrubber/on{
dir = 4
},
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/cargo)
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cockpit)
"bOm" = (
/obj/structure/disposalpipe/segment,
/turf/simulated/wall,
/area/quartermaster/storage)
"bOx" = (
-/obj/effect/floor_decal/industrial/outline/yellow,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/cargo)
+/obj/structure/bed/chair/bay/shuttle{
+ dir = 1
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/supply{
+ dir = 6
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
+ dir = 10
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cockpit)
"bOA" = (
/obj/structure/cable/green{
d1 = 2;
@@ -15308,17 +15165,15 @@
/turf/simulated/floor/tiled,
/area/engineering/gravity_lobby)
"bPq" = (
-/obj/effect/floor_decal/industrial/warning/corner,
-/obj/effect/floor_decal/industrial/outline/yellow,
-/obj/item/device/radio/intercom{
- dir = 4;
- pixel_x = 24
- },
-/obj/structure/handrail{
+/obj/structure/table/steel_reinforced,
+/obj/machinery/atmospherics/unary/vent_pump/on{
dir = 8
},
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/cargo)
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cockpit)
"bPx" = (
/obj/machinery/atmospherics/pipe/manifold/hidden{
dir = 1
@@ -15345,10 +15200,12 @@
/turf/simulated/floor/tiled/monotile,
/area/tether/exploration)
"bPE" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
+/obj/machinery/atmospherics/pipe/simple/hidden/supply{
dir = 4
},
+/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
+ dir = 1
+ },
/turf/simulated/floor/tiled/monotile,
/area/tether/exploration)
"bPX" = (
@@ -15631,27 +15488,6 @@
},
/turf/simulated/floor/tiled/monotile,
/area/tether/exploration)
-"bYJ" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced{
- dir = 4
- },
-/obj/machinery/door/blast/regular{
- density = 0;
- icon_state = "pdoor0";
- id = "shuttle blast";
- name = "Shuttle Blast Doors";
- opacity = 0
- },
-/obj/machinery/door/firedoor/glass,
-/obj/structure/cable/green{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/plating,
-/area/shuttle/excursion/general)
"bYK" = (
/obj/structure/cable/green{
dir = 1;
@@ -15661,11 +15497,15 @@
/turf/simulated/floor/tiled,
/area/tcommsat/computer)
"bYN" = (
-/obj/machinery/light{
- dir = 8
+/obj/machinery/atmospherics/pipe/simple/hidden/supply{
+ dir = 10
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
+ dir = 10
+ },
+/obj/machinery/light{
+ dir = 1
},
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
/turf/simulated/floor/tiled/monotile,
/area/tether/exploration)
"bZd" = (
@@ -15680,20 +15520,6 @@
/obj/item/clothing/gloves/yellow,
/turf/simulated/floor/tiled,
/area/engineering/workshop)
-"bZr" = (
-/obj/effect/floor_decal/industrial/warning/cee{
- dir = 1
- },
-/obj/machinery/door/blast/regular{
- density = 0;
- dir = 4;
- icon_state = "pdoor0";
- id = "shuttle blast";
- name = "Shuttle Blast Doors";
- opacity = 0
- },
-/turf/simulated/floor/plating,
-/area/shuttle/excursion/cargo)
"bZt" = (
/obj/structure/dispenser{
phorontanks = 0
@@ -15707,61 +15533,44 @@
/obj/structure/bed/padded,
/obj/item/weapon/bedsheet/brown,
/obj/structure/curtain/open/bed,
-/obj/machinery/button/windowtint{
- id = "pilot_room";
- pixel_x = 26;
- pixel_y = 6;
- req_access = list()
- },
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/cargo)
-"bZF" = (
-/obj/effect/floor_decal/industrial/outline/yellow,
-/obj/structure/handrail{
- dir = 4
- },
-/obj/machinery/atmospherics/unary/vent_pump/on{
- dir = 4
- },
-/obj/machinery/alarm{
- dir = 4;
- pixel_x = -22
- },
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/cargo)
-"bZH" = (
-/obj/effect/floor_decal/industrial/hatch/yellow,
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
dir = 10
},
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 6
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/cargo)
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cockpit)
+"bZF" = (
+/obj/machinery/computer/shuttle_control/explore/excursion{
+ dir = 4
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cockpit)
+"bZH" = (
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
+/obj/machinery/atmospherics/pipe/simple/hidden/supply,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cockpit)
"bZJ" = (
-/obj/effect/floor_decal/industrial/warning{
+/obj/structure/panic_button{
+ pixel_x = 32;
+ pixel_y = -6
+ },
+/obj/machinery/light{
dir = 4
},
-/obj/effect/floor_decal/industrial/hatch/yellow,
-/obj/machinery/atmospherics/unary/vent_scrubber/on{
- dir = 8
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/cargo)
-"bZR" = (
-/obj/effect/floor_decal/industrial/hatch/yellow,
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/cargo)
-"bZS" = (
-/obj/machinery/disposal/deliveryChute{
- dir = 4
- },
-/obj/structure/disposalpipe/trunk{
- dir = 8
- },
-/turf/simulated/floor/plating,
-/area/shuttle/excursion/cargo)
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cockpit)
"cah" = (
/obj/machinery/computer/telecomms/server{
dir = 8;
@@ -16189,49 +15998,28 @@
/obj/effect/floor_decal/rust,
/turf/simulated/floor,
/area/storage/tech)
-"cvx" = (
-/obj/machinery/shipsensors{
- dir = 1
- },
-/obj/effect/floor_decal/industrial/warning{
- dir = 4
- },
-/obj/effect/floor_decal/industrial/warning{
- dir = 8
- },
-/turf/simulated/floor/plating,
-/area/shuttle/excursion/cargo)
"cwo" = (
-/obj/structure/handrail,
-/obj/machinery/atmospherics/unary/vent_pump/on,
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 6
- },
-/obj/structure/closet/emergsuit_wall{
- pixel_y = 32
- },
-/obj/item/device/radio/intercom{
- dir = 8;
- pixel_x = -24
- },
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/cargo)
-"cwR" = (
-/obj/structure/handrail{
- dir = 1
- },
-/obj/machinery/alarm{
- dir = 1;
- pixel_y = -22
- },
/obj/machinery/atmospherics/unary/vent_scrubber/on{
- dir = 8
- },
-/obj/machinery/light/small{
dir = 4
},
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/cargo)
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cockpit)
+"cwR" = (
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
+ dir = 4
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/supply{
+ dir = 5
+ },
+/obj/machinery/light/small,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cockpit)
"cxj" = (
/obj/structure/catwalk,
/obj/random/junk,
@@ -16249,23 +16037,17 @@
/turf/simulated/floor/tiled/techfloor,
/area/tcommsat/chamber)
"cys" = (
-/obj/effect/floor_decal/industrial/outline/yellow,
-/obj/machinery/power/apc{
- dir = 8;
- name = "west bump";
- pixel_x = -28;
- req_access = list();
- req_one_access = list(11,67)
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
+ dir = 4
},
-/obj/structure/cable/cyan{
- d2 = 4;
- icon_state = "0-4"
+/obj/machinery/atmospherics/pipe/simple/hidden/supply{
+ dir = 4
},
-/obj/machinery/light{
- dir = 8
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/cargo)
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cockpit)
"cyB" = (
/obj/machinery/door/airlock/glass_external,
/obj/effect/map_helper/airlock/door/ext_door,
@@ -16344,22 +16126,41 @@
"cCr" = (
/obj/structure/cable/cyan{
d1 = 2;
- d2 = 8;
- icon_state = "2-8"
+ d2 = 4;
+ icon_state = "2-4"
},
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/cargo)
-"cCJ" = (
-/obj/machinery/conveyor_switch/oneway{
- id = "shuttle_outbound"
- },
-/obj/effect/floor_decal/industrial/warning{
+/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
dir = 4
},
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/cargo)
+/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
+ dir = 4
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cockpit)
+"cCJ" = (
+/obj/structure/cable/cyan{
+ d2 = 8;
+ icon_state = "0-8"
+ },
+/obj/machinery/power/apc/angled{
+ dir = 4;
+ req_access = null;
+ req_one_access = list(11,67)
+ },
+/obj/machinery/alarm/angled{
+ dir = 1
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/obj/structure/bed/chair/bay/shuttle{
+ dir = 1
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cockpit)
"cCL" = (
/obj/structure/grille,
/obj/machinery/door/firedoor/glass,
@@ -16368,6 +16169,16 @@
},
/turf/simulated/floor/plating,
/area/quartermaster/delivery)
+"cDf" = (
+/obj/machinery/atmospherics/portables_connector/aux{
+ dir = 1
+ },
+/obj/machinery/portable_atmospherics/canister/air,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/power)
"cDk" = (
/obj/effect/floor_decal/borderfloor{
dir = 8
@@ -16402,13 +16213,6 @@
},
/turf/simulated/floor/tiled,
/area/ai_monitored/storage/eva)
-"cEi" = (
-/obj/machinery/conveyor_switch/oneway{
- id = "shuttle_inbound"
- },
-/obj/effect/floor_decal/industrial/warning/full,
-/turf/simulated/floor/plating,
-/area/shuttle/excursion/cargo)
"cEE" = (
/turf/simulated/wall/r_wall,
/area/bridge/secondary/teleporter)
@@ -16486,6 +16290,22 @@
},
/turf/simulated/floor/tiled/asteroid_steel/airless,
/area/quartermaster/belterdock)
+"cHP" = (
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
+ dir = 4
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/supply{
+ dir = 4
+ },
+/obj/machinery/door/airlock/angled_tgmc{
+ dir = 4;
+ req_one_access = list(67)
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cockpit)
"cHV" = (
/obj/effect/floor_decal/borderfloor,
/obj/effect/floor_decal/corner/brown/border,
@@ -16498,20 +16318,14 @@
/turf/simulated/floor/tiled,
/area/quartermaster/belterdock)
"cIa" = (
-/obj/machinery/door/firedoor/glass,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/door/airlock/hatch{
+/obj/machinery/door/airlock/angled_tgmc/dropship2_pilot{
req_one_access = list(67)
},
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/cargo)
-"cII" = (
-/obj/machinery/door/firedoor/glass,
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/turf/simulated/floor/plating,
-/area/shuttle/excursion/cargo)
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cockpit)
"cKd" = (
/obj/machinery/power/apc{
name = "south bump";
@@ -16557,13 +16371,27 @@
d2 = 2;
icon_state = "1-2"
},
-/obj/machinery/door/firedoor/glass,
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/door/airlock/hatch{
- req_one_access = list()
+/obj/machinery/door/airlock/angled_tgmc/dropship2_pilot{
+ req_one_access = list(67)
},
-/turf/simulated/floor/tiled/techfloor,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cockpit)
+"cND" = (
+/obj/machinery/atmospherics/pipe/simple/hidden{
+ dir = 4
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/obj/structure/handrail{
+ dir = 8
+ },
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/cargo)
"cNJ" = (
/obj/effect/floor_decal/borderfloor{
@@ -16580,24 +16408,17 @@
},
/turf/simulated/floor/tiled,
/area/quartermaster/belterdock/gear)
-"cNM" = (
-/obj/machinery/light/small{
- dir = 1
- },
-/obj/machinery/portable_atmospherics/canister/phoron,
-/obj/machinery/atmospherics/portables_connector/fuel{
+"cOc" = (
+/obj/machinery/atmospherics/unary/vent_scrubber/on{
dir = 4
},
-/obj/effect/floor_decal/industrial/outline/red,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/general)
-"cOc" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/atmospherics/pipe/manifold/hidden/fuel{
- dir = 1
+/obj/machinery/light{
+ dir = 8
},
-/turf/simulated/floor/tiled/techmaint,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
"cOq" = (
/obj/effect/floor_decal/rust,
@@ -16636,17 +16457,29 @@
/turf/simulated/floor/tiled,
/area/quartermaster/foyer)
"cQu" = (
-/obj/machinery/portable_atmospherics/canister/phoron,
-/obj/effect/floor_decal/industrial/outline/red,
-/obj/machinery/atmospherics/portables_connector/fuel{
- dir = 8
+/obj/structure/cable/cyan{
+ d2 = 2;
+ icon_state = "0-2"
},
-/turf/simulated/floor/tiled/techfloor,
+/obj/machinery/power/apc/angled{
+ dir = 1;
+ req_access = null;
+ req_one_access = list(11,67)
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
+ dir = 10
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
"cRa" = (
-/obj/machinery/recharge_station,
-/obj/effect/floor_decal/industrial/outline/yellow,
-/turf/simulated/floor/tiled/techfloor,
+/obj/machinery/sleep_console,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
"cTd" = (
/obj/effect/floor_decal/industrial/warning,
@@ -16668,24 +16501,15 @@
"cTQ" = (
/obj/structure/cable/cyan{
d1 = 1;
- d2 = 4;
- icon_state = "1-4"
+ d2 = 2;
+ icon_state = "1-2"
},
-/obj/structure/cable/cyan{
- d1 = 2;
- d2 = 4;
- icon_state = "2-4"
+/obj/machinery/atmospherics/pipe/simple/hidden/supply,
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/aux{
- dir = 6
- },
-/turf/simulated/floor/tiled/techmaint,
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
"cUb" = (
/obj/machinery/light/small{
@@ -16742,21 +16566,12 @@
/turf/simulated/floor/tiled,
/area/quartermaster/belterdock)
"cUQ" = (
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
+/obj/structure/bed/chair/shuttle,
+/obj/machinery/alarm/angled,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/aux{
- dir = 8
- },
-/turf/simulated/floor/tiled/techmaint,
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
"cVW" = (
/obj/structure/cable/green{
@@ -16823,6 +16638,13 @@
},
/turf/simulated/floor/tiled/dark,
/area/tether/station/dock_one)
+"cZA" = (
+/obj/machinery/atmospherics/pipe/simple/hidden/supply,
+/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
+ dir = 8
+ },
+/turf/simulated/floor/tiled/monotile,
+/area/tether/exploration)
"cZP" = (
/obj/machinery/camera/network/telecom,
/turf/simulated/floor/bluegrid{
@@ -16839,45 +16661,20 @@
/turf/simulated/floor,
/area/maintenance/cargo)
"cZZ" = (
-/obj/machinery/door/firedoor/glass,
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
+/obj/structure/bed/chair/shuttle,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/aux{
- dir = 8
- },
-/obj/machinery/door/airlock/hatch{
- req_one_access = list(67)
- },
-/turf/simulated/floor/tiled/techmaint,
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
"dbF" = (
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 10
+ dir = 6
},
-/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
- dir = 1
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/obj/structure/cable/cyan{
- d1 = 2;
- d2 = 8;
- icon_state = "2-8"
- },
-/obj/structure/closet/emergsuit_wall{
- pixel_y = 32
- },
-/obj/machinery/atmospherics/binary/pump/aux{
- dir = 4
- },
-/turf/simulated/floor/tiled/techmaint,
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
"dbZ" = (
/obj/structure/cable/green{
@@ -16947,18 +16744,6 @@
},
/turf/simulated/floor/tiled,
/area/tether/exploration/pilot_office)
-"dgu" = (
-/obj/machinery/atmospherics/portables_connector{
- dir = 8
- },
-/obj/machinery/portable_atmospherics/canister/air,
-/obj/effect/floor_decal/industrial/outline/blue,
-/obj/item/device/radio/intercom{
- dir = 4;
- pixel_x = 24
- },
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/general)
"dgF" = (
/obj/machinery/mineral/input,
/obj/machinery/conveyor{
@@ -17011,22 +16796,6 @@
},
/turf/simulated/floor/tiled,
/area/tether/station/dock_one)
-"dhQ" = (
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced{
- dir = 8
- },
-/obj/machinery/door/blast/regular{
- density = 0;
- icon_state = "pdoor0";
- id = "shuttle blast";
- name = "Shuttle Blast Doors";
- opacity = 0
- },
-/obj/machinery/door/firedoor/glass,
-/turf/simulated/floor/plating,
-/area/shuttle/excursion/general)
"dhS" = (
/obj/effect/floor_decal/borderfloor{
dir = 8
@@ -17049,12 +16818,6 @@
},
/turf/simulated/floor/tiled,
/area/tether/station/dock_one)
-"dih" = (
-/obj/machinery/atmospherics/unary/vent_scrubber/on{
- dir = 4
- },
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/general)
"diF" = (
/obj/machinery/atmospherics/pipe/manifold/hidden{
dir = 1
@@ -17062,15 +16825,13 @@
/turf/simulated/floor/plating,
/area/maintenance/station/cargo)
"diP" = (
-/obj/machinery/atmospherics/pipe/manifold/hidden/fuel{
- dir = 8
- },
-/obj/machinery/meter,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
+/obj/machinery/atmospherics/unary/vent_pump/on{
dir = 4
},
-/turf/simulated/floor/tiled/techmaint,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
"diW" = (
/obj/machinery/atmospherics/pipe/simple/hidden{
@@ -17096,12 +16857,21 @@
/turf/simulated/floor/tiled,
/area/hallway/station/docks)
"dju" = (
-/obj/effect/floor_decal/industrial/outline/red,
-/obj/machinery/portable_atmospherics/canister/phoron,
-/obj/machinery/atmospherics/portables_connector/fuel{
+/obj/structure/cable/cyan{
+ d1 = 1;
+ d2 = 4;
+ icon_state = "1-4"
+ },
+/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
+ dir = 1
+ },
+/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
dir = 8
},
-/turf/simulated/floor/tiled/techfloor,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
"djU" = (
/turf/simulated/wall/r_wall,
@@ -17126,14 +16896,21 @@
/turf/simulated/floor/tiled/dark,
/area/bridge/secondary/teleporter)
"dkV" = (
-/obj/structure/bed/chair/shuttle{
+/obj/structure/cable/cyan{
+ d1 = 4;
+ d2 = 8;
+ icon_state = "4-8"
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/supply{
dir = 4
},
-/obj/machinery/alarm{
- dir = 4;
- pixel_x = -22
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
+ dir = 4
},
-/turf/simulated/floor/tiled/techfloor,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
"dls" = (
/obj/machinery/door/airlock/highsecurity{
@@ -17271,15 +17048,22 @@
/turf/simulated/floor,
/area/maintenance/station/eng_lower)
"dsD" = (
+/obj/structure/cable/cyan{
+ d1 = 2;
+ d2 = 8;
+ icon_state = "2-8"
+ },
/obj/structure/cable/cyan{
d1 = 1;
d2 = 2;
icon_state = "1-2"
},
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/atmospherics/pipe/simple/hidden/aux,
-/turf/simulated/floor/tiled/techmaint,
+/obj/machinery/atmospherics/pipe/manifold/hidden/supply,
+/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
"dsX" = (
/obj/machinery/alarm{
@@ -17291,35 +17075,19 @@
/turf/simulated/floor/plating,
/area/maintenance/station/cargo)
"dsY" = (
-/obj/structure/bed/chair/shuttle{
- dir = 8
+/obj/machinery/atmospherics/pipe/simple/hidden/supply{
+ dir = 4
},
-/obj/structure/closet/emergsuit_wall{
- dir = 4;
- pixel_x = 32
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
+ dir = 4
},
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/general)
-"dtd" = (
-/obj/structure/extinguisher_cabinet{
- dir = 8;
- pixel_x = 30
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/obj/machinery/atmospherics/unary/vent_scrubber/on{
- dir = 8
+/obj/structure/handrail{
+ dir = 1
},
-/obj/structure/cable/cyan{
- d1 = 2;
- d2 = 8;
- icon_state = "2-8"
- },
-/obj/structure/table/steel,
-/obj/machinery/cell_charger,
-/obj/random/powercell,
-/obj/item/stack/material/tritium{
- amount = 15
- },
-/turf/simulated/floor/tiled/techfloor,
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
"dua" = (
/obj/structure/shuttle/engine/propulsion{
@@ -17481,29 +17249,20 @@
},
/turf/simulated/floor,
/area/tether/exploration)
-"dBX" = (
-/obj/machinery/firealarm{
- dir = 8;
- pixel_x = -24
- },
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/general)
-"dCJ" = (
-/obj/machinery/atmospherics/binary/pump/fuel,
-/obj/structure/fuel_port{
- dir = 4;
- pixel_x = 29
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/general)
"dDo" = (
/obj/structure/bed/chair/comfy/beige{
dir = 4
},
/turf/simulated/floor/wood,
/area/maintenance/station/cargo)
+"dDu" = (
+/obj/machinery/atmospherics/pipe/simple/hidden{
+ dir = 6
+ },
+/turf/simulated/wall/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/area/shuttle/excursion/cargo)
"dDx" = (
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
dir = 10
@@ -17522,11 +17281,12 @@
/obj/machinery/door/firedoor/glass,
/turf/simulated/floor/plating,
/area/tether/station/dock_one)
-"dEc" = (
-/obj/structure/bed/chair/bay/shuttle{
- dir = 1
+"dGv" = (
+/obj/machinery/computer/ship/sensors/adv,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/turf/simulated/floor/tiled/techmaint,
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/cockpit)
"dHm" = (
/obj/effect/floor_decal/borderfloor{
@@ -17547,52 +17307,19 @@
},
/turf/simulated/floor/tiled,
/area/tether/station/dock_one)
-"dIv" = (
-/obj/structure/bed/chair/shuttle{
- dir = 4
- },
-/obj/machinery/atmospherics/unary/vent_pump/on{
- dir = 4
- },
-/obj/structure/closet/emergsuit_wall{
- dir = 8;
- pixel_x = -32
- },
-/obj/machinery/light{
- dir = 8
- },
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/general)
"dJj" = (
/obj/structure/cable/cyan{
d1 = 1;
d2 = 2;
icon_state = "1-2"
},
-/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
- dir = 8
+/obj/machinery/door/airlock/angled_tgmc{
+ req_one_access = list(67)
},
-/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
- dir = 4
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/obj/machinery/atmospherics/pipe/simple/hidden/aux,
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/general)
-"dJG" = (
-/obj/structure/bed/chair/shuttle{
- dir = 8
- },
-/obj/machinery/atmospherics/unary/vent_scrubber/on{
- dir = 8
- },
-/obj/structure/extinguisher_cabinet{
- dir = 8;
- pixel_x = 30
- },
-/obj/machinery/light{
- dir = 4
- },
-/turf/simulated/floor/tiled/techfloor,
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
"dJJ" = (
/obj/machinery/atmospherics/pipe/simple/hidden{
@@ -17601,12 +17328,9 @@
/turf/simulated/floor/tiled,
/area/tcommsat/computer)
"dJL" = (
-/obj/structure/cable/green{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/reinforced,
+/obj/effect/floor_decal/borderfloor,
+/obj/effect/floor_decal/industrial/danger,
+/turf/simulated/floor/tiled/monotile,
/area/tether/exploration)
"dJN" = (
/obj/structure/disposalpipe/segment,
@@ -17691,17 +17415,6 @@
},
/turf/simulated/floor/tiled,
/area/quartermaster/belterdock/gear)
-"dOQ" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/universal,
-/obj/machinery/light/small{
- dir = 8
- },
-/obj/machinery/firealarm{
- dir = 8;
- pixel_x = -24
- },
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/general)
"dPx" = (
/obj/effect/floor_decal/borderfloor{
dir = 4
@@ -17746,11 +17459,6 @@
},
/turf/simulated/floor,
/area/quartermaster/storage)
-"dQG" = (
-/obj/structure/cable/cyan,
-/obj/machinery/power/smes/buildable/point_of_interest,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/general)
"dQR" = (
/obj/effect/floor_decal/borderfloor{
dir = 8
@@ -17826,31 +17534,15 @@
/obj/random/junk,
/turf/simulated/floor,
/area/maintenance/station/exploration)
-"dWc" = (
-/obj/machinery/atmospherics/unary/vent_pump/on{
+"dWh" = (
+/obj/machinery/atmospherics/portables_connector/fuel{
dir = 4
},
-/obj/structure/cable/cyan{
- d1 = 2;
- d2 = 4;
- icon_state = "2-4"
+/obj/machinery/portable_atmospherics/canister/phoron,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/general)
-"dWh" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
- dir = 5
- },
-/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/manifold4w/hidden/supply,
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/techmaint,
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
"dWO" = (
/obj/effect/floor_decal/borderfloor{
@@ -17879,43 +17571,31 @@
/turf/simulated/floor/tiled,
/area/quartermaster/office)
"dXD" = (
-/obj/machinery/door/firedoor/glass,
/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
- dir = 8
+ dir = 10
},
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 4
+/obj/machinery/atmospherics/pipe/simple/hidden/supply,
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/obj/machinery/door/airlock/hatch{
- req_one_access = list(67)
- },
-/turf/simulated/floor/tiled/techmaint,
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
-"dYO" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/structure/handrail,
-/obj/structure/cable/cyan{
+"dYI" = (
+/obj/structure/cable/green{
d1 = 4;
d2 = 8;
icon_state = "4-8"
},
-/turf/simulated/floor/tiled/techmaint,
+/turf/simulated/floor/reinforced,
+/area/tether/exploration)
+"dYO" = (
+/obj/machinery/portable_atmospherics/canister/empty,
+/obj/machinery/atmospherics/portables_connector,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
"dYV" = (
/obj/machinery/gateway{
@@ -17967,45 +17647,24 @@
},
/turf/simulated/floor/tiled,
/area/engineering/hallway)
-"egt" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
- },
-/obj/structure/cable/cyan{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/general)
"egy" = (
/obj/machinery/gateway,
/obj/effect/floor_decal/industrial/warning,
/turf/simulated/floor/tiled/dark,
/area/gateway)
"egC" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
- dir = 10
- },
-/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
- dir = 4
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/aux,
/obj/structure/cable/cyan{
d1 = 1;
- d2 = 8;
- icon_state = "1-8"
+ d2 = 2;
+ icon_state = "1-2"
},
-/turf/simulated/floor/tiled/techmaint,
+/obj/machinery/light{
+ dir = 4
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
"ehb" = (
/obj/machinery/door/firedoor/glass,
@@ -18014,13 +17673,23 @@
/turf/simulated/floor/tiled,
/area/tether/station/dock_one)
"ehh" = (
-/obj/machinery/atmospherics/portables_connector{
- dir = 1
+/obj/machinery/power/terminal{
+ dir = 4
},
-/obj/effect/floor_decal/industrial/outline/yellow,
-/obj/machinery/portable_atmospherics/canister/empty,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/general)
+/obj/structure/cable/yellow{
+ d2 = 8;
+ icon_state = "0-8"
+ },
+/obj/structure/cable/green{
+ d2 = 2;
+ icon_state = "0-2"
+ },
+/obj/machinery/alarm/angled,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/power)
"ejF" = (
/obj/effect/floor_decal/borderfloor/corner{
dir = 1
@@ -18065,41 +17734,20 @@
/obj/fiftyspawner/rods,
/turf/simulated/floor/tiled,
/area/ai_monitored/storage/eva)
-"ekv" = (
-/obj/machinery/power/terminal{
+"emi" = (
+/obj/machinery/atmospherics/unary/vent_pump/on{
dir = 1
},
-/obj/structure/cable/green{
- icon_state = "0-4"
- },
-/obj/structure/cable/yellow{
- d2 = 2;
- icon_state = "0-2"
- },
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/general)
-"emi" = (
-/obj/effect/floor_decal/borderfloor{
- dir = 8
- },
-/obj/effect/floor_decal/industrial/danger{
- dir = 8
- },
-/obj/structure/cable/green{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
+/obj/effect/floor_decal/borderfloor,
+/obj/effect/floor_decal/industrial/danger,
/turf/simulated/floor/tiled/monotile,
/area/tether/exploration)
"emN" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/structure/cable/green{
- d1 = 2;
- d2 = 8;
- icon_state = "2-8"
+/obj/machinery/atmospherics/unary/vent_scrubber/on{
+ dir = 1
},
+/obj/effect/floor_decal/borderfloor,
+/obj/effect/floor_decal/industrial/danger,
/turf/simulated/floor/tiled/monotile,
/area/tether/exploration)
"eoh" = (
@@ -18139,24 +17787,6 @@
/obj/effect/floor_decal/steeldecal/steel_decals7,
/turf/simulated/floor/tiled,
/area/quartermaster/foyer)
-"epw" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 6
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 6
- },
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/obj/structure/closet/emergsuit_wall{
- dir = 8;
- pixel_x = -32
- },
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/general)
"eqw" = (
/obj/structure/disposalpipe/segment{
dir = 4
@@ -18171,35 +17801,17 @@
/turf/simulated/floor,
/area/maintenance/cargo)
"erb" = (
-/obj/machinery/light/small,
-/obj/machinery/alarm{
- dir = 1;
- pixel_y = -22
+/obj/machinery/atmospherics/portables_connector/fuel{
+ dir = 4
},
-/obj/effect/floor_decal/industrial/outline/yellow,
-/obj/structure/closet/crate/secure/phoron{
- name = "fuel crate";
- req_one_access = list(67)
+/obj/machinery/portable_atmospherics/canister/phoron,
+/obj/machinery/light{
+ dir = 8
},
-/obj/item/weapon/tank/phoron{
- pixel_x = 6;
- pixel_y = -6
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/obj/item/weapon/tank/phoron{
- pixel_x = -5;
- pixel_y = 5
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 9
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 9
- },
-/obj/item/device/radio/intercom{
- dir = 4;
- pixel_x = 24
- },
-/turf/simulated/floor/tiled/techfloor,
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
"erc" = (
/obj/structure/disposalpipe/segment{
@@ -18253,6 +17865,19 @@
"etY" = (
/turf/simulated/wall,
/area/maintenance/station/exploration)
+"euo" = (
+/obj/machinery/atmospherics/pipe/simple/hidden/aux,
+/obj/structure/cable/cyan{
+ d1 = 1;
+ d2 = 2;
+ icon_state = "1-2"
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/supply,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/general)
"exi" = (
/obj/item/device/radio/intercom{
dir = 8;
@@ -18294,21 +17919,21 @@
/turf/simulated/floor/plating,
/area/tether/station/dock_two)
"ezh" = (
-/obj/machinery/sleeper{
- dir = 8
+/obj/machinery/atmospherics/pipe/simple/hidden/universal,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/obj/machinery/shuttle_sensor{
- id_tag = "shuttlesens_exp_psg";
- pixel_x = -25
- },
-/turf/simulated/floor/tiled/techfloor,
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
"eBg" = (
-/obj/machinery/sleep_console,
-/obj/item/device/radio/intercom{
- pixel_y = -24
+/obj/machinery/door/airlock/angled_tgmc{
+ dir = 4;
+ req_one_access = list(67)
},
-/turf/simulated/floor/tiled/techfloor,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
"eBv" = (
/obj/machinery/atmospherics/binary/passive_gate/on{
@@ -18320,17 +17945,41 @@
/turf/simulated/floor/tiled,
/area/tcommsat/computer)
"eBI" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/fuel,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/atmospherics/pipe/simple/hidden/aux,
-/turf/simulated/floor/tiled/techmaint,
+/obj/machinery/atmospherics/pipe/simple/hidden/aux{
+ dir = 6
+ },
+/obj/structure/cable/cyan{
+ d1 = 2;
+ d2 = 4;
+ icon_state = "2-4"
+ },
+/obj/structure/cable/cyan{
+ d1 = 1;
+ d2 = 4;
+ icon_state = "1-4"
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
"eCo" = (
-/obj/structure/bed/chair/shuttle{
+/obj/machinery/atmospherics/pipe/simple/hidden/aux{
dir = 8
},
-/turf/simulated/floor/tiled/techfloor,
+/obj/structure/cable/cyan{
+ d1 = 4;
+ d2 = 8;
+ icon_state = "4-8"
+ },
+/obj/machinery/door/airlock/angled_tgmc{
+ dir = 4;
+ req_one_access = list(67)
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
"eCW" = (
/obj/machinery/door/firedoor/glass,
@@ -18360,11 +18009,19 @@
/turf/simulated/floor/wood,
/area/maintenance/station/cargo)
"eEO" = (
-/obj/machinery/door/firedoor/glass,
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/turf/simulated/floor/plating,
-/area/shuttle/excursion/general)
+/obj/machinery/atmospherics/pipe/simple/hidden/aux{
+ dir = 10
+ },
+/obj/structure/cable/cyan{
+ d1 = 4;
+ d2 = 8;
+ icon_state = "4-8"
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/power)
"eFl" = (
/obj/structure/cable/green{
icon_state = "4-8"
@@ -18380,13 +18037,21 @@
/turf/simulated/floor/tiled,
/area/quartermaster/foyer)
"eGK" = (
-/obj/effect/floor_decal/industrial/outline,
-/obj/machinery/atmospherics/portables_connector{
- dir = 4
+/obj/structure/cable/green{
+ d1 = 1;
+ d2 = 2;
+ icon_state = "1-2"
},
-/obj/machinery/portable_atmospherics/canister/air,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/general)
+/obj/structure/cable/cyan{
+ d1 = 4;
+ d2 = 8;
+ icon_state = "4-8"
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/power)
"eGR" = (
/obj/machinery/door/airlock/glass_external,
/obj/machinery/atmospherics/pipe/simple/hidden{
@@ -18424,34 +18089,17 @@
/obj/structure/disposalpipe/segment,
/turf/simulated/floor/tiled/steel_grid,
/area/quartermaster/belterdock)
-"eIG" = (
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 10
- },
-/obj/structure/cable/yellow,
-/obj/machinery/power/port_gen/pacman/mrs{
- anchored = 1
- },
-/obj/effect/floor_decal/industrial/outline/yellow,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/general)
"eIJ" = (
-/obj/machinery/atmospherics/pipe/simple/hidden,
-/obj/machinery/button/remote/blast_door{
- dir = 8;
- id = "shuttle_hatch";
- name = "Shuttle Rear Hatch";
- pixel_x = -25
+/obj/structure/cable/cyan{
+ d1 = 1;
+ d2 = 2;
+ icon_state = "1-2"
},
-/obj/machinery/atmospherics/pipe/simple/hidden/fuel,
-/obj/machinery/door/firedoor/glass,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/atmospherics/pipe/simple/hidden/aux,
-/obj/machinery/door/airlock/hatch{
- req_one_access = list()
+/obj/machinery/atmospherics/pipe/simple/hidden/universal,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/turf/simulated/floor/tiled/techmaint,
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
"eJv" = (
/obj/structure/grille,
@@ -18463,10 +18111,6 @@
/obj/machinery/door/firedoor/glass,
/turf/simulated/floor/plating,
/area/tether/station/dock_one)
-"eJU" = (
-/obj/machinery/atmospherics/pipe/simple/hidden,
-/turf/simulated/wall/rshull,
-/area/shuttle/excursion/general)
"eJV" = (
/obj/structure/closet/crate,
/obj/machinery/light{
@@ -18513,18 +18157,6 @@
/obj/structure/window/reinforced,
/turf/simulated/shuttle/floor/yellow/airless,
/area/shuttle/belter)
-"eMe" = (
-/obj/machinery/computer/ship/helm,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/cockpit)
-"eMl" = (
-/obj/machinery/computer/ship/sensors,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/cockpit)
-"eMo" = (
-/obj/machinery/mineral/equipment_vendor/survey,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/general)
"eMv" = (
/obj/structure/table/rack{
dir = 8;
@@ -18539,34 +18171,6 @@
},
/turf/simulated/floor,
/area/maintenance/station/exploration)
-"eMS" = (
-/obj/item/clothing/mask/breath,
-/obj/item/clothing/mask/breath,
-/obj/item/clothing/mask/breath,
-/obj/item/clothing/mask/breath,
-/obj/item/weapon/tank/emergency/oxygen/engi,
-/obj/item/weapon/tank/emergency/oxygen/engi,
-/obj/item/weapon/tank/emergency/oxygen/engi,
-/obj/item/weapon/tank/emergency/oxygen/engi,
-/obj/item/clothing/suit/space/emergency,
-/obj/item/clothing/suit/space/emergency,
-/obj/item/clothing/suit/space/emergency,
-/obj/item/clothing/suit/space/emergency,
-/obj/item/clothing/head/helmet/space/emergency,
-/obj/item/clothing/head/helmet/space/emergency,
-/obj/item/clothing/head/helmet/space/emergency,
-/obj/item/clothing/head/helmet/space/emergency,
-/obj/structure/closet/emcloset/legacy,
-/obj/machinery/light{
- dir = 1
- },
-/obj/effect/floor_decal/industrial/outline/blue,
-/obj/item/weapon/storage/backpack/parachute,
-/obj/item/weapon/storage/backpack/parachute,
-/obj/item/weapon/storage/backpack/parachute,
-/obj/item/weapon/storage/backpack/parachute,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/general)
"eNQ" = (
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/obj/structure/cable/green{
@@ -18578,6 +18182,17 @@
/obj/machinery/atmospherics/pipe/simple/hidden,
/turf/simulated/floor/tiled,
/area/tether/station/dock_two)
+"ePh" = (
+/obj/machinery/atmospherics/pipe/manifold/hidden/fuel{
+ dir = 4
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/supply,
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/general)
"ePp" = (
/obj/structure/cable/green{
d1 = 1;
@@ -18623,15 +18238,6 @@
},
/turf/simulated/floor/wood,
/area/quartermaster/qm)
-"eSD" = (
-/obj/effect/floor_decal/industrial/outline/yellow,
-/obj/structure/handrail,
-/obj/structure/extinguisher_cabinet{
- dir = 1;
- pixel_y = 32
- },
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/general)
"eTo" = (
/obj/machinery/atmospherics/pipe/manifold/hidden{
dir = 4
@@ -18639,25 +18245,11 @@
/obj/machinery/meter,
/turf/simulated/floor,
/area/maintenance/cargo)
-"eTw" = (
-/obj/effect/floor_decal/industrial/outline/yellow,
-/obj/item/device/radio/intercom{
- dir = 1;
- pixel_y = 24
- },
-/obj/structure/handrail,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/general)
"eTD" = (
-/obj/structure/handrail,
-/obj/effect/map_helper/airlock/atmos/chamber_pump,
-/obj/machinery/atmospherics/unary/vent_pump/high_volume{
- dir = 4
+/obj/machinery/atmospherics/pipe/simple/hidden,
+/turf/simulated/wall/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/obj/structure/closet/emergsuit_wall{
- pixel_y = 32
- },
-/turf/simulated/floor/tiled/techmaint,
/area/shuttle/excursion/general)
"eTQ" = (
/obj/structure/grille,
@@ -18681,17 +18273,6 @@
/obj/effect/floor_decal/industrial/warning/full,
/turf/simulated/floor/airless,
/area/shuttle/medivac/cockpit)
-"eVN" = (
-/obj/machinery/embedded_controller/radio/airlock/docking_port{
- cycle_to_external_air = 1;
- frequency = 1380;
- id_tag = "expshuttle_docker";
- pixel_y = 28
- },
-/obj/structure/handrail,
-/obj/machinery/atmospherics/pipe/manifold4w/hidden,
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/general)
"eVP" = (
/obj/structure/closet/secure_closet/pilot,
/obj/effect/floor_decal/borderfloor{
@@ -18727,21 +18308,6 @@
/obj/random/maintenance/cargo,
/turf/simulated/floor,
/area/maintenance/cargo)
-"eYw" = (
-/obj/machinery/airlock_sensor{
- pixel_y = 28
- },
-/obj/structure/handrail,
-/obj/machinery/light/small{
- dir = 4
- },
-/obj/effect/map_helper/airlock/sensor/chamber_sensor,
-/obj/machinery/atmospherics/unary/vent_pump/high_volume{
- dir = 8
- },
-/obj/effect/map_helper/airlock/atmos/chamber_pump,
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/general)
"eZg" = (
/obj/structure/table/rack{
dir = 8;
@@ -18775,6 +18341,19 @@
/obj/effect/map_helper/airlock/sensor/chamber_sensor,
/turf/simulated/floor/tiled/dark,
/area/tether/station/dock_one)
+"faK" = (
+/obj/machinery/atmospherics/unary/vent_pump/high_volume{
+ dir = 1;
+ frequency = 1380;
+ id_tag = "expshuttle_docker_pump_out_external";
+ pixel_x = -10;
+ pixel_y = 6
+ },
+/obj/effect/map_helper/airlock/atmos/pump_out_external,
+/turf/simulated/wall/fancy_shuttle/nondense{
+ fancy_shuttle_tag = "explo"
+ },
+/area/shuttle/excursion/cargo)
"fca" = (
/obj/machinery/power/smes/buildable{
RCon_tag = "Substation - Exploration";
@@ -18814,11 +18393,6 @@
/area/tether/exploration)
"fez" = (
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/structure/cable/green{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
dir = 4
},
@@ -18841,14 +18415,12 @@
/turf/simulated/floor,
/area/maintenance/station/eng_lower)
"fiK" = (
-/obj/structure/bed/chair/bay/shuttle{
- dir = 1
+/obj/machinery/alarm/angled,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/obj/machinery/atmospherics/unary/vent_scrubber/on{
- dir = 8
- },
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/cockpit)
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"fiT" = (
/obj/machinery/holoposter{
dir = 4;
@@ -18928,15 +18500,41 @@
/turf/simulated/floor/tiled,
/area/tether/station/dock_two)
"fkj" = (
-/obj/machinery/door/firedoor/glass,
-/obj/machinery/door/airlock/hatch{
- req_one_access = list(67)
+/obj/machinery/atmospherics/binary/pump/fuel,
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
+/obj/machinery/atmospherics/pipe/simple/hidden/supply,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/general)
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"fkL" = (
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/general)
+/obj/item/clothing/mask/breath,
+/obj/item/clothing/mask/breath,
+/obj/item/clothing/mask/breath,
+/obj/item/clothing/mask/breath,
+/obj/item/weapon/tank/emergency/oxygen/engi,
+/obj/item/weapon/tank/emergency/oxygen/engi,
+/obj/item/weapon/tank/emergency/oxygen/engi,
+/obj/item/weapon/tank/emergency/oxygen/engi,
+/obj/item/clothing/suit/space/emergency,
+/obj/item/clothing/suit/space/emergency,
+/obj/item/clothing/suit/space/emergency,
+/obj/item/clothing/suit/space/emergency,
+/obj/item/clothing/head/helmet/space/emergency,
+/obj/item/clothing/head/helmet/space/emergency,
+/obj/item/clothing/head/helmet/space/emergency,
+/obj/item/clothing/head/helmet/space/emergency,
+/obj/structure/closet/emcloset/legacy,
+/obj/item/weapon/storage/backpack/parachute,
+/obj/item/weapon/storage/backpack/parachute,
+/obj/item/weapon/storage/backpack/parachute,
+/obj/item/weapon/storage/backpack/parachute,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"fkV" = (
/obj/machinery/power/terminal{
dir = 8
@@ -18987,17 +18585,18 @@
/turf/simulated/floor/tiled,
/area/tether/station/dock_one)
"flS" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
+/obj/machinery/atmospherics/pipe/simple/hidden/aux,
+/obj/structure/cable/cyan{
+ d1 = 1;
+ d2 = 8;
+ icon_state = "1-8"
+ },
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/machinery/atmospherics/pipe/manifold/hidden/fuel{
- dir = 8
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/obj/machinery/atmospherics/pipe/simple/hidden/aux{
- dir = 5
- },
-/obj/effect/floor_decal/emblem/nt2,
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/general)
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"fmg" = (
/obj/effect/floor_decal/borderfloor{
dir = 8
@@ -19057,15 +18656,16 @@
/turf/simulated/floor/tiled,
/area/hallway/station/atrium)
"frS" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/aux{
- dir = 8
+/obj/structure/closet/secure_closet/guncabinet/excursion,
+/obj/item/weapon/pickaxe,
+/obj/machinery/light{
+ dir = 1
},
-/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
- dir = 8
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/obj/effect/floor_decal/emblem/nt3,
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/general)
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"fsA" = (
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
dir = 8
@@ -19080,21 +18680,6 @@
},
/turf/simulated/floor/wood,
/area/quartermaster/qm)
-"ftz" = (
-/obj/machinery/airlock_sensor{
- dir = 8;
- pixel_x = 26;
- pixel_y = -27
- },
-/obj/effect/map_helper/airlock/sensor/int_sensor,
-/obj/machinery/atmospherics/pipe/simple/hidden/aux{
- dir = 8
- },
-/obj/machinery/atmospherics/binary/pump/fuel{
- dir = 8
- },
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/general)
"fva" = (
/obj/machinery/atmospherics/pipe/simple/hidden,
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
@@ -19168,22 +18753,24 @@
/turf/simulated/floor/airless,
/area/space)
"fxa" = (
-/obj/machinery/door/airlock/glass_external,
-/obj/machinery/atmospherics/pipe/simple/hidden{
+/obj/machinery/atmospherics/unary/vent_pump/high_volume{
dir = 4
},
-/obj/effect/floor_decal/industrial/warning{
- dir = 4
+/obj/structure/handrail,
+/obj/structure/cable/green{
+ d1 = 1;
+ d2 = 2;
+ icon_state = "1-2"
},
-/obj/effect/map_helper/airlock/door/int_door,
-/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
- dir = 8
+/obj/structure/closet/emergsuit_wall{
+ pixel_y = 32
},
-/obj/machinery/atmospherics/pipe/simple/hidden/aux{
- dir = 8
+/obj/effect/map_helper/airlock/atmos/chamber_pump,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/general)
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"fxO" = (
/obj/structure/cable/green{
d1 = 1;
@@ -19246,59 +18833,37 @@
/turf/space,
/area/space)
"fAr" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/aux{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/manifold/hidden,
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/general)
-"fCg" = (
-/obj/effect/shuttle_landmark{
- base_area = /area/tether/exploration;
- base_turf = /turf/simulated/floor/reinforced;
- docking_controller = "expshuttle_dock";
- landmark_tag = "tether_excursion_hangar";
- name = "Excursion Shuttle Dock"
- },
-/obj/effect/overmap/visitable/ship/landable/excursion,
-/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
- dir = 8
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/aux{
- dir = 8
- },
-/obj/effect/map_helper/airlock/atmos/chamber_pump,
/obj/machinery/atmospherics/unary/vent_pump/high_volume{
dir = 8
},
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/general)
-"fCh" = (
-/obj/machinery/door/airlock/glass_external,
-/obj/machinery/airlock_sensor/airlock_exterior/shuttle{
- dir = 6;
- frequency = 1380;
- id_tag = "expshuttle_exterior_sensor";
- master_tag = "expshuttle_docker";
- pixel_x = 4;
+/obj/structure/handrail,
+/obj/machinery/airlock_sensor{
pixel_y = 28
},
-/obj/effect/floor_decal/industrial/warning{
+/obj/machinery/light/small{
+ dir = 4
+ },
+/obj/effect/map_helper/airlock/atmos/chamber_pump,
+/obj/effect/map_helper/airlock/sensor/chamber_sensor,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
+"fAB" = (
+/turf/simulated/wall/fancy_shuttle/nondense{
+ fancy_shuttle_tag = "explo"
+ },
+/area/shuttle/excursion/cargo)
+"fCh" = (
+/obj/effect/floor_decal/borderfloor/corner{
dir = 8
},
-/obj/effect/map_helper/airlock/door/ext_door,
-/obj/effect/map_helper/airlock/sensor/ext_sensor,
-/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
- dir = 8
+/obj/effect/floor_decal/industrial/danger/corner{
+ dir = 1
},
-/obj/machinery/atmospherics/pipe/simple/hidden/aux{
- dir = 8
- },
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/general)
+/turf/simulated/floor/tiled/monotile,
+/area/tether/exploration)
"fDN" = (
/obj/effect/floor_decal/borderfloor{
dir = 4
@@ -19370,21 +18935,11 @@
/turf/simulated/floor,
/area/maintenance/cargo)
"fGW" = (
-/obj/machinery/computer/ship/engines{
- dir = 1
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/obj/machinery/alarm{
- dir = 1;
- pixel_y = -22
- },
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/cockpit)
-"fIb" = (
-/obj/effect/floor_decal/industrial/outline/red,
-/obj/structure/closet/secure_closet/guncabinet/excursion,
-/obj/item/weapon/pickaxe,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/general)
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"fIw" = (
/obj/effect/floor_decal/steeldecal/steel_decals10{
dir = 6
@@ -19412,11 +18967,20 @@
/turf/simulated/wall,
/area/tether/station/dock_two)
"fMh" = (
-/obj/machinery/atmospherics/unary/vent_pump/on{
+/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
+ dir = 8
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/supply{
dir = 4
},
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/general)
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
+ dir = 4
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"fMr" = (
/obj/structure/disposalpipe/segment{
dir = 4
@@ -19424,37 +18988,78 @@
/turf/simulated/floor/tiled,
/area/quartermaster/office)
"fMv" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/fuel,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 9
+/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
+ dir = 8
},
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
+/obj/machinery/atmospherics/pipe/simple/hidden/aux{
dir = 5
},
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/general)
+/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
+ dir = 4
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
+ dir = 10
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"fNB" = (
-/obj/machinery/atmospherics/unary/vent_scrubber/on{
+/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
dir = 8
},
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/general)
-"fNO" = (
-/obj/structure/handrail{
+/obj/machinery/atmospherics/pipe/simple/hidden/aux{
dir = 8
},
-/obj/machinery/portable_atmospherics/canister/oxygen,
-/obj/effect/floor_decal/industrial/outline/blue,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/general)
-"fOn" = (
/obj/machinery/airlock_sensor{
dir = 8;
pixel_x = 26;
pixel_y = -27
},
-/turf/simulated/wall/rshull,
-/area/shuttle/excursion/general)
+/obj/effect/map_helper/airlock/sensor/int_sensor,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
+"fNO" = (
+/obj/machinery/atmospherics/pipe/manifold/hidden/fuel{
+ dir = 1
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/aux{
+ dir = 8
+ },
+/obj/machinery/door/airlock/angled_tgmc/security_glass{
+ dir = 4
+ },
+/obj/effect/map_helper/airlock/door/int_door,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
+"fOn" = (
+/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
+ dir = 8
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/aux{
+ dir = 8
+ },
+/obj/structure/cable/green{
+ d1 = 1;
+ d2 = 4;
+ icon_state = "1-4"
+ },
+/obj/machinery/atmospherics/unary/vent_pump/high_volume{
+ dir = 4
+ },
+/obj/effect/map_helper/airlock/atmos/chamber_pump,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"fPT" = (
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
@@ -19467,15 +19072,32 @@
/turf/simulated/floor/tiled,
/area/engineering/hallway)
"fPW" = (
-/obj/structure/handrail{
- dir = 1
+/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
+ dir = 8
},
-/obj/structure/closet/emergsuit_wall{
- dir = 1;
- pixel_y = -32
+/obj/machinery/atmospherics/pipe/simple/hidden/aux{
+ dir = 8
},
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/general)
+/obj/effect/shuttle_landmark{
+ base_area = /area/tether/exploration;
+ base_turf = /turf/simulated/floor/reinforced;
+ docking_controller = "expshuttle_dock";
+ landmark_tag = "tether_excursion_hangar";
+ name = "Excursion Shuttle Dock"
+ },
+/obj/structure/cable/green{
+ icon_state = "4-8"
+ },
+/obj/machinery/atmospherics/unary/vent_pump/high_volume{
+ dir = 8
+ },
+/obj/effect/map_helper/airlock/atmos/chamber_pump,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/obj/effect/overmap/visitable/ship/landable/excursion,
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"fQr" = (
/obj/structure/cable/green{
icon_state = "4-8"
@@ -19509,24 +19131,33 @@
/turf/simulated/floor/tiled/dark,
/area/tether/station/dock_two)
"fRX" = (
-/obj/structure/handrail{
- dir = 1
+/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
+ dir = 8
},
-/obj/machinery/light/small{
+/obj/machinery/atmospherics/pipe/simple/hidden/aux{
+ dir = 8
+ },
+/obj/structure/cable/green{
+ icon_state = "4-8"
+ },
+/obj/machinery/airlock_sensor/airlock_exterior/shuttle{
+ dir = 6;
+ frequency = 1380;
+ id_tag = "expshuttle_exterior_sensor";
+ master_tag = "expshuttle_docker";
+ pixel_x = 4;
+ pixel_y = 28
+ },
+/obj/effect/map_helper/airlock/door/ext_door,
+/obj/effect/map_helper/airlock/sensor/ext_sensor,
+/obj/machinery/door/airlock/angled_tgmc/security_glass{
dir = 4
},
-/obj/effect/map_helper/airlock/atmos/pump_out_internal,
-/obj/machinery/oxygen_pump{
- dir = 1;
- pixel_y = -32
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/obj/machinery/atmospherics/unary/vent_pump/high_volume,
-/obj/item/device/radio/intercom{
- dir = 4;
- pixel_x = 24
- },
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/general)
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"fTF" = (
/obj/structure/cable/green{
d1 = 1;
@@ -19743,11 +19374,18 @@
/turf/simulated/floor/tiled,
/area/quartermaster/belterdock)
"ghQ" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
- dir = 6
+/obj/machinery/atmospherics/pipe/simple/hidden/fuel,
+/obj/structure/fuel_port{
+ dir = 1;
+ pixel_y = -34
},
-/turf/simulated/wall/rshull,
-/area/shuttle/excursion/general)
+/obj/machinery/recharger,
+/obj/structure/table/steel_reinforced,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"gif" = (
/obj/structure/cable{
d1 = 1;
@@ -19819,22 +19457,12 @@
/turf/simulated/floor,
/area/maintenance/station/exploration)
"gjS" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
- dir = 8
+/obj/machinery/suit_cycler/pilot,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/obj/machinery/shuttle_sensor{
- dir = 5;
- id_tag = "shuttlesens_exp_int";
- pixel_y = -24
- },
-/obj/machinery/alarm{
- dir = 4;
- pixel_x = -22
- },
-/obj/structure/table/steel,
-/obj/machinery/recharger,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/general)
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"gjW" = (
/obj/structure/cable/green{
d1 = 1;
@@ -19850,10 +19478,26 @@
/turf/simulated/floor/tiled,
/area/hallway/station/atrium)
"gjZ" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
+/obj/machinery/atmospherics/unary/vent_pump/on{
+ dir = 4
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
+"gkB" = (
+/obj/machinery/atmospherics/pipe/manifold/hidden/fuel{
+ dir = 4
+ },
+/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
dir = 8
},
-/turf/simulated/floor/tiled/techfloor,
+/obj/machinery/atmospherics/pipe/simple/hidden/supply,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
"gkN" = (
/obj/structure/cable/green{
@@ -19909,9 +19553,17 @@
/turf/simulated/floor/tiled,
/area/engineering/engineering_airlock)
"gnc" = (
-/obj/machinery/atmospherics/pipe/manifold/hidden/fuel,
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/general)
+/obj/machinery/atmospherics/pipe/simple/hidden/supply{
+ dir = 9
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
+ dir = 5
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"gnq" = (
/obj/effect/floor_decal/steeldecal/steel_decals4{
dir = 9
@@ -19930,13 +19582,11 @@
/turf/simulated/floor/tiled,
/area/engineering/foyer)
"gnS" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
- dir = 8
+/obj/machinery/atmospherics/pipe/simple/hidden/fuel,
+/turf/simulated/wall/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/obj/machinery/light,
-/obj/machinery/suit_cycler/pilot,
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/general)
+/area/shuttle/excursion/cargo)
"gnV" = (
/obj/effect/floor_decal/industrial/warning{
dir = 1
@@ -19978,25 +19628,47 @@
/turf/simulated/floor/tiled,
/area/quartermaster/foyer)
"gsz" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
- dir = 10
+/obj/machinery/atmospherics/unary/vent_pump/high_volume{
+ dir = 4
},
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 6
+/obj/structure/handrail{
+ dir = 1
},
-/turf/simulated/wall/rshull,
-/area/shuttle/excursion/general)
+/obj/machinery/oxygen_pump{
+ dir = 1;
+ pixel_y = -32
+ },
+/obj/effect/map_helper/airlock/atmos/pump_out_internal,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"gtU" = (
/obj/random/junk,
/obj/effect/floor_decal/rust,
/turf/simulated/floor,
/area/maintenance/cargo)
"gtX" = (
-/obj/machinery/atmospherics/pipe/simple/hidden{
+/obj/machinery/atmospherics/unary/vent_pump/high_volume{
+ dir = 8
+ },
+/obj/structure/handrail{
+ dir = 1
+ },
+/obj/item/device/radio/intercom{
+ dir = 4;
+ pixel_x = 24
+ },
+/obj/machinery/light/small{
dir = 4
},
-/turf/simulated/wall/rshull,
-/area/shuttle/excursion/general)
+/obj/effect/map_helper/airlock/atmos/pump_out_internal,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"gtY" = (
/obj/machinery/atmospherics/unary/freezer{
dir = 1;
@@ -20029,6 +19701,17 @@
},
/turf/simulated/floor/tiled/steel_grid,
/area/engineering/engineering_airlock)
+"gyH" = (
+/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
+ dir = 10
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden{
+ dir = 9
+ },
+/turf/simulated/wall/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/area/shuttle/excursion/cargo)
"gzg" = (
/obj/machinery/camera/network/tether{
dir = 1
@@ -20117,14 +19800,28 @@
},
/area/tcommsat/chamber)
"gFT" = (
-/obj/structure/handrail{
- dir = 1
+/obj/structure/cable/cyan{
+ d1 = 1;
+ d2 = 8;
+ icon_state = "1-8"
},
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 4
+/obj/structure/cable/cyan,
+/obj/machinery/power/apc/angled{
+ dir = 4;
+ req_access = null;
+ req_one_access = list(11,67)
},
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/general)
+/obj/structure/table/steel,
+/obj/machinery/cell_charger,
+/obj/random/powercell,
+/obj/item/stack/material/tritium{
+ amount = 15
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/power)
"gFV" = (
/obj/structure/cable/green{
d1 = 4;
@@ -20135,31 +19832,19 @@
/obj/machinery/door/airlock/glass,
/turf/simulated/floor/tiled/steel_grid,
/area/tether/station/dock_one)
-"gGk" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
- dir = 6
- },
-/obj/structure/shuttle/engine/heater,
-/obj/structure/window/reinforced{
- dir = 1
- },
-/turf/simulated/floor/plating,
-/area/shuttle/excursion/general)
"gGC" = (
/obj/structure/catwalk,
/obj/machinery/light/small,
/turf/simulated/floor,
/area/maintenance/station/exploration)
"gHF" = (
-/obj/machinery/atmospherics/pipe/manifold/hidden/fuel{
- dir = 1
+/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
+ dir = 6
},
-/obj/structure/shuttle/engine/heater,
-/obj/structure/window/reinforced{
- dir = 1
+/turf/simulated/wall/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/turf/simulated/floor/plating,
-/area/shuttle/excursion/general)
+/area/shuttle/excursion/cargo)
"gIp" = (
/obj/structure/cable/green{
d1 = 1;
@@ -20169,32 +19854,13 @@
/turf/simulated/floor/tiled,
/area/tether/exploration/crew)
"gIs" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
- dir = 9
- },
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 6
- },
-/turf/simulated/wall/rshull,
-/area/shuttle/excursion/general)
-"gJW" = (
-/obj/machinery/button/remote/blast_door{
- dir = 8;
- id = "shuttle_hatch";
- name = "Shuttle Rear Hatch";
- pixel_x = -25
- },
-/obj/machinery/door/blast/regular{
- dir = 4;
- id = "shuttle_hatch";
- name = "Shuttle Rear Hatch"
- },
-/obj/machinery/door/firedoor/glass,
-/obj/machinery/atmospherics/pipe/simple/hidden{
+/obj/machinery/atmospherics/pipe/manifold/hidden/fuel{
dir = 4
},
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/general)
+/turf/simulated/wall/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/area/shuttle/excursion/cargo)
"gKa" = (
/obj/machinery/lapvend,
/turf/simulated/floor/tiled,
@@ -20209,9 +19875,21 @@
/turf/simulated/floor/tiled/dark,
/area/tcommsat/computer)
"gLG" = (
-/obj/effect/floor_decal/emblem/nt1,
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/general)
+/obj/machinery/portable_atmospherics/canister/oxygen,
+/obj/structure/cable/cyan{
+ d2 = 4;
+ icon_state = "0-4"
+ },
+/obj/machinery/power/apc/angled{
+ dir = 1;
+ req_access = null;
+ req_one_access = list(11,67)
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"gLJ" = (
/obj/effect/floor_decal/borderfloor{
dir = 4
@@ -20247,17 +19925,14 @@
/turf/simulated/floor/tiled,
/area/ai_monitored/storage/eva)
"gMr" = (
-/obj/machinery/door/blast/regular{
- dir = 4;
- id = "shuttle_hatch";
- name = "Shuttle Rear Hatch"
- },
-/obj/machinery/door/firedoor/glass,
/obj/machinery/atmospherics/pipe/simple/hidden{
dir = 4
},
-/turf/simulated/floor/tiled/techfloor,
-/area/shuttle/excursion/general)
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"gMR" = (
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
@@ -20271,14 +19946,16 @@
/turf/simulated/floor/tiled,
/area/tether/station/dock_two)
"gOT" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
- dir = 5
+/obj/machinery/atmospherics/pipe/manifold/hidden/fuel{
+ dir = 1
},
-/obj/machinery/atmospherics/pipe/manifold/hidden{
+/obj/machinery/atmospherics/pipe/simple/hidden{
dir = 4
},
-/turf/simulated/wall/rshull,
-/area/shuttle/excursion/general)
+/turf/simulated/wall/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/area/shuttle/excursion/cargo)
"gPx" = (
/obj/structure/cable/yellow{
d1 = 1;
@@ -20302,16 +19979,6 @@
},
/turf/simulated/floor/tiled,
/area/tcommsat/computer)
-"gQc" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
- dir = 10
- },
-/obj/structure/shuttle/engine/heater,
-/obj/structure/window/reinforced{
- dir = 1
- },
-/turf/simulated/floor/plating,
-/area/shuttle/excursion/general)
"gTz" = (
/obj/machinery/atmospherics/pipe/simple/hidden,
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
@@ -20508,16 +20175,13 @@
/turf/simulated/floor/tiled,
/area/tether/station/dock_one)
"haB" = (
-/obj/effect/floor_decal/industrial/warning/full,
-/obj/machinery/atmospherics/unary/vent_pump/high_volume{
- dir = 1;
- frequency = 1380;
- id_tag = "expshuttle_docker_pump_out_external"
+/obj/machinery/atmospherics/unary/engine/fancy_shuttle{
+ dir = 1
},
-/obj/effect/map_helper/airlock/atmos/pump_out_external,
-/obj/structure/handrail,
-/turf/simulated/floor/plating,
-/area/shuttle/excursion/general)
+/turf/simulated/wall/fancy_shuttle/nondense{
+ fancy_shuttle_tag = "explo"
+ },
+/area/shuttle/excursion/cargo)
"hbc" = (
/obj/structure/cable/green{
icon_state = "0-2"
@@ -20693,6 +20357,19 @@
},
/turf/simulated/floor/tiled/dark,
/area/tcommsat/computer)
+"hjF" = (
+/obj/machinery/power/port_gen/pacman/mrs{
+ anchored = 1
+ },
+/obj/structure/cable/yellow{
+ d2 = 4;
+ icon_state = "0-4"
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/power)
"hjG" = (
/obj/structure/cable/green{
d1 = 1;
@@ -21313,6 +20990,15 @@
/area/tether/outpost/solars_outside{
name = "\improper Telecomms Solar Field"
})
+"hFK" = (
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/obj/structure/handrail{
+ dir = 4
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/general)
"hFV" = (
/obj/machinery/atmospherics/pipe/simple/hidden{
dir = 10
@@ -21338,17 +21024,21 @@
/turf/simulated/floor/airless,
/area/shuttle/large_escape_pod1)
"hGI" = (
-/obj/structure/handrail{
- dir = 1
+/obj/machinery/atmospherics/binary/pump/fuel{
+ dir = 8
},
-/obj/machinery/oxygen_pump{
- dir = 1;
- pixel_y = -32
+/obj/machinery/atmospherics/binary/pump/aux{
+ dir = 8
},
-/obj/effect/map_helper/airlock/atmos/pump_out_internal,
-/obj/machinery/atmospherics/unary/vent_pump/high_volume,
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/general)
+/obj/structure/cable/green{
+ icon_state = "4-8"
+ },
+/obj/machinery/atmospherics/pipe/manifold/hidden,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"hHc" = (
/obj/structure/window/reinforced{
dir = 8
@@ -21760,6 +21450,20 @@
/obj/effect/floor_decal/steeldecal/steel_decals4,
/turf/simulated/floor/tiled,
/area/engineering/hallway)
+"hYI" = (
+/obj/effect/floor_decal/borderfloor{
+ dir = 8
+ },
+/obj/effect/floor_decal/industrial/danger{
+ dir = 8
+ },
+/obj/structure/cable/green{
+ d1 = 4;
+ d2 = 8;
+ icon_state = "4-8"
+ },
+/turf/simulated/floor/tiled/monotile,
+/area/tether/exploration)
"hYK" = (
/obj/structure/bed/chair,
/turf/simulated/floor/carpet,
@@ -21840,13 +21544,13 @@
/turf/simulated/floor/plating/eris/under,
/area/shuttle/large_escape_pod1)
"iaf" = (
-/obj/structure/cable/green{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
+/obj/structure/cable/green{
+ d1 = 2;
+ d2 = 8;
+ icon_state = "2-8"
+ },
/turf/simulated/floor/tiled/monotile,
/area/tether/exploration)
"iaj" = (
@@ -21952,6 +21656,21 @@
},
/turf/simulated/floor/tiled,
/area/tether/exploration/crew)
+"igN" = (
+/obj/machinery/button/remote/blast_door{
+ dir = 8;
+ id = "shuttle_hatch";
+ name = "Shuttle Rear Hatch";
+ pixel_x = -24
+ },
+/obj/machinery/door/blast/angled{
+ id = "shuttle_hatch"
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"iie" = (
/obj/structure/table/rack/shelf,
/obj/effect/floor_decal/steeldecal/steel_decals7{
@@ -22142,8 +21861,10 @@
/turf/simulated/floor/plating,
/area/maintenance/station/cargo)
"isS" = (
-/turf/simulated/wall/rshull,
-/area/shuttle/excursion/cargo)
+/turf/simulated/wall/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/area/shuttle/excursion/cockpit)
"iuB" = (
/obj/structure/cable/green{
d1 = 4;
@@ -23073,6 +22794,17 @@
/obj/machinery/camera/network/mining,
/turf/simulated/floor/airless,
/area/quartermaster/belterdock)
+"jBW" = (
+/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
+ dir = 5
+ },
+/obj/machinery/atmospherics/pipe/manifold/hidden{
+ dir = 1
+ },
+/turf/simulated/wall/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/area/shuttle/excursion/cargo)
"jBX" = (
/obj/effect/floor_decal/steeldecal/steel_decals4{
dir = 4
@@ -23204,18 +22936,19 @@
/turf/simulated/floor/tiled/dark,
/area/tether/station/dock_two)
"jJo" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/fuel{
- dir = 8
+/obj/structure/handrail,
+/obj/machinery/embedded_controller/radio/airlock/docking_port{
+ cycle_to_external_air = 1;
+ frequency = 1380;
+ id_tag = "expshuttle_docker";
+ pixel_y = 28
},
-/obj/machinery/atmospherics/pipe/simple/hidden/aux{
- dir = 8
+/obj/machinery/atmospherics/pipe/manifold4w/hidden,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/obj/machinery/atmospherics/unary/vent_pump/high_volume{
- dir = 4
- },
-/obj/effect/map_helper/airlock/atmos/chamber_pump,
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/general)
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"jJU" = (
/obj/effect/floor_decal/borderfloor{
dir = 6
@@ -23250,12 +22983,6 @@
/area/tether/outpost/solars_outside{
name = "\improper Telecomms Solar Field"
})
-"jOe" = (
-/obj/machinery/atmospherics/pipe/simple/hidden{
- dir = 9
- },
-/turf/simulated/wall/rshull,
-/area/shuttle/excursion/general)
"jOH" = (
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
dir = 4
@@ -23708,6 +23435,13 @@
/area/tcommsat/entrance{
name = "\improper Telecomms Entrance"
})
+"kft" = (
+/obj/machinery/computer/ship/helm/adv,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cockpit)
"khk" = (
/obj/machinery/access_button{
command = "cycle_exterior";
@@ -23756,6 +23490,19 @@
},
/turf/simulated/floor/tiled,
/area/tether/station/dock_two)
+"kiG" = (
+/obj/machinery/atmospherics/unary/vent_pump/high_volume{
+ dir = 1;
+ frequency = 1380;
+ id_tag = "expshuttle_docker_pump_out_external";
+ pixel_x = 10;
+ pixel_y = 6
+ },
+/obj/effect/map_helper/airlock/atmos/pump_out_external,
+/turf/simulated/wall/fancy_shuttle/nondense{
+ fancy_shuttle_tag = "explo"
+ },
+/area/shuttle/excursion/cargo)
"kjA" = (
/obj/structure/cable{
d1 = 4;
@@ -23982,12 +23729,6 @@
},
/turf/simulated/floor/tiled,
/area/quartermaster/belterdock/gear)
-"kqX" = (
-/obj/machinery/atmospherics/unary/engine{
- dir = 1
- },
-/turf/simulated/shuttle/plating/airless/carry,
-/area/shuttle/excursion/general)
"kts" = (
/obj/structure/disposalpipe/segment,
/obj/effect/floor_decal/borderfloor{
@@ -24582,21 +24323,13 @@
/turf/simulated/floor/tiled,
/area/quartermaster/storage)
"kRk" = (
-/obj/machinery/door/firedoor/glass,
-/obj/structure/grille,
-/obj/structure/window/reinforced/full,
-/obj/structure/window/reinforced{
- dir = 8
+/obj/machinery/atmospherics/pipe/simple/hidden/supply,
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
+/obj/machinery/camera/network/exploration{
+ dir = 9
},
-/obj/machinery/door/blast/regular{
- density = 0;
- icon_state = "pdoor0";
- id = "shuttle blast";
- name = "Shuttle Blast Doors";
- opacity = 0
- },
-/turf/simulated/floor/plating,
-/area/shuttle/excursion/cockpit)
+/turf/simulated/floor/tiled/monotile,
+/area/tether/exploration)
"kRF" = (
/obj/machinery/power/smes/buildable{
RCon_tag = "Substation - Telecomms";
@@ -25234,6 +24967,21 @@
/obj/machinery/atmospherics/pipe/simple/hidden,
/turf/simulated/floor/tiled,
/area/ai_monitored/storage/eva)
+"lwa" = (
+/obj/machinery/atmospherics/pipe/manifold/hidden/fuel{
+ dir = 8
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/supply{
+ dir = 5
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
+ dir = 5
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"lwh" = (
/obj/structure/disposalpipe/segment{
dir = 4
@@ -25655,10 +25403,42 @@
},
/turf/simulated/floor/wood,
/area/quartermaster/qm)
-"lKl" = (
-/obj/machinery/atmospherics/pipe/manifold/hidden,
-/turf/simulated/wall/rshull,
+"lJZ" = (
+/obj/structure/cable/cyan{
+ 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/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/obj/structure/handrail{
+ dir = 1
+ },
+/turf/simulated/floor/tiled/steel,
/area/shuttle/excursion/general)
+"lKl" = (
+/obj/structure/handrail{
+ dir = 1
+ },
+/obj/structure/closet/emergsuit_wall{
+ dir = 1;
+ pixel_y = -32
+ },
+/obj/machinery/atmospherics/pipe/manifold/hidden{
+ dir = 1
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"lLp" = (
/obj/machinery/door/airlock/glass_external,
/obj/effect/map_helper/airlock/door/int_door,
@@ -25864,6 +25644,21 @@
},
/turf/simulated/floor/tiled,
/area/hallway/station/atrium)
+"lSw" = (
+/obj/structure/closet/emergsuit_wall{
+ pixel_y = 32
+ },
+/obj/machinery/alarm/angled{
+ dir = 4
+ },
+/obj/machinery/atmospherics/unary/vent_pump/on{
+ dir = 4
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cockpit)
"lSR" = (
/obj/effect/landmark/start{
name = "Pilot"
@@ -26145,6 +25940,12 @@
},
/turf/simulated/floor/tiled,
/area/quartermaster/foyer)
+"mmj" = (
+/obj/machinery/shipsensors/fancy_shuttle,
+/turf/simulated/wall/fancy_shuttle/nondense{
+ fancy_shuttle_tag = "explo"
+ },
+/area/shuttle/excursion/cockpit)
"mmJ" = (
/obj/effect/floor_decal/borderfloor{
dir = 8
@@ -26236,6 +26037,18 @@
},
/turf/simulated/floor/tiled,
/area/hallway/station/atrium)
+"mos" = (
+/obj/machinery/atmospherics/pipe/simple/hidden{
+ dir = 4
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/obj/structure/handrail{
+ dir = 4
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"mou" = (
/obj/machinery/door/airlock/glass_external,
/obj/structure/cable/green{
@@ -27091,6 +26904,18 @@
/obj/structure/catwalk,
/turf/simulated/floor,
/area/maintenance/cargo)
+"mZB" = (
+/obj/machinery/atmospherics/pipe/simple/hidden/fuel,
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
+/obj/machinery/atmospherics/pipe/simple/hidden/supply,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/obj/machinery/door/airlock/angled_tgmc{
+ req_one_access = list(67)
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/general)
"nac" = (
/obj/effect/floor_decal/borderfloor,
/obj/effect/floor_decal/steeldecal/steel_decals7{
@@ -27260,6 +27085,15 @@
/obj/effect/map_helper/airlock/atmos/chamber_pump,
/turf/simulated/floor/tiled/dark,
/area/tether/station/dock_two)
+"nhL" = (
+/obj/machinery/sleeper{
+ dir = 8
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/general)
"nio" = (
/obj/machinery/light{
dir = 8
@@ -28020,17 +27854,12 @@
/turf/simulated/floor/tiled/eris/steel/gray_perforated,
/area/shuttle/securiship/general)
"nYi" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 5
+/obj/machinery/mineral/equipment_vendor/survey,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
},
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/cockpit)
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"nYA" = (
/obj/structure/grille,
/obj/structure/window/reinforced/full,
@@ -29396,6 +29225,15 @@
/obj/machinery/atmospherics/pipe/simple/hidden,
/turf/simulated/floor/plating,
/area/maintenance/station/cargo)
+"pPa" = (
+/obj/machinery/door/blast/angled{
+ id = "shuttle_hatch"
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"pPm" = (
/obj/structure/closet/secure_closet/miner,
/obj/effect/floor_decal/borderfloor{
@@ -29519,20 +29357,6 @@
},
/turf/simulated/floor/tiled,
/area/tcommsat/computer)
-"qaf" = (
-/obj/machinery/door/firedoor/glass,
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/structure/cable/cyan{
- d1 = 1;
- d2 = 2;
- icon_state = "1-2"
- },
-/obj/machinery/door/airlock/hatch{
- req_one_access = list(67)
- },
-/turf/simulated/floor/tiled/techmaint,
-/area/shuttle/excursion/general)
"qai" = (
/obj/structure/closet/crate/internals,
/obj/random/maintenance/medical,
@@ -30889,8 +30713,10 @@
/turf/simulated/floor/tiled/dark,
/area/tether/station/dock_two)
"ruq" = (
-/turf/simulated/wall/rshull,
-/area/shuttle/excursion/cockpit)
+/turf/simulated/wall/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/area/shuttle/excursion/cargo)
"rus" = (
/obj/effect/floor_decal/industrial/warning{
dir = 5
@@ -31271,6 +31097,17 @@
},
/turf/simulated/floor/tiled/white,
/area/tether/station/dock_two)
+"rWj" = (
+/obj/machinery/atmospherics/pipe/simple/hidden/supply,
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
+/obj/machinery/door/airlock/angled_tgmc{
+ req_one_access = list(67)
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/general)
"rWm" = (
/obj/machinery/computer/supplycomp/control,
/turf/simulated/floor/wood,
@@ -32346,6 +32183,19 @@
temperature = 80
},
/area/tcommsat/chamber)
+"tiw" = (
+/obj/effect/fancy_shuttle/exploration{
+ dir = 1;
+ fancy_shuttle_tag = "explo"
+ },
+/obj/effect/fancy_shuttle_floor_preview/exploration{
+ dir = 1;
+ plane = -45
+ },
+/turf/simulated/wall/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/area/shuttle/excursion/cargo)
"tiN" = (
/obj/machinery/computer/ship/engines,
/turf/simulated/floor/tiled/eris/steel/cyancorner,
@@ -34447,6 +34297,22 @@
/obj/effect/floor_decal/corner/lightgrey/bordercorner,
/turf/simulated/floor/tiled,
/area/tether/station/dock_two)
+"vFn" = (
+/obj/structure/extinguisher_cabinet{
+ dir = 1;
+ pixel_y = -30
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/supply{
+ dir = 4
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
+ dir = 4
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/general)
"vHM" = (
/obj/structure/catwalk,
/obj/structure/cable/green{
@@ -34471,6 +34337,19 @@
},
/turf/simulated/floor/tiled,
/area/quartermaster/office)
+"vJC" = (
+/obj/structure/cable/green{
+ d1 = 1;
+ d2 = 2;
+ icon_state = "1-2"
+ },
+/obj/machinery/light,
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/obj/machinery/recharge_station,
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/power)
"vKb" = (
/obj/machinery/atmospherics/unary/vent_scrubber/on{
dir = 1
@@ -35361,7 +35240,9 @@
/turf/simulated/shuttle/floor/yellow/airless,
/area/shuttle/belter)
"wZB" = (
-/turf/simulated/wall/rshull,
+/turf/simulated/wall/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
/area/shuttle/excursion/general)
"xat" = (
/obj/effect/landmark/start{
@@ -35438,6 +35319,15 @@
},
/turf/simulated/floor/tiled,
/area/quartermaster/office)
+"xcE" = (
+/obj/structure/bed/chair/shuttle{
+ dir = 8
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/general)
"xdE" = (
/turf/simulated/wall/r_wall,
/area/gateway)
@@ -35731,6 +35621,16 @@
/obj/machinery/door/firedoor/glass,
/turf/simulated/floor/tiled/steel_grid,
/area/gateway/prep_room)
+"xwI" = (
+/obj/structure/extinguisher_cabinet{
+ dir = 1;
+ pixel_y = -30
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/cargo)
"xwY" = (
/obj/structure/closet/emcloset,
/turf/simulated/floor,
@@ -36133,6 +36033,30 @@
},
/turf/simulated/floor/tiled/steel_grid,
/area/quartermaster/delivery)
+"xXm" = (
+/obj/structure/closet/crate/secure/phoron{
+ name = "fuel crate";
+ req_one_access = list(67)
+ },
+/obj/item/weapon/tank/phoron{
+ pixel_x = 6;
+ pixel_y = -6
+ },
+/obj/item/weapon/tank/phoron{
+ pixel_x = -5;
+ pixel_y = 5
+ },
+/obj/machinery/alarm/angled{
+ dir = 8
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
+ dir = 9
+ },
+/obj/effect/floor_decal/fancy_shuttle{
+ fancy_shuttle_tag = "explo"
+ },
+/turf/simulated/floor/tiled/steel,
+/area/shuttle/excursion/general)
"xXR" = (
/obj/structure/bed/chair/shuttle{
dir = 4
@@ -45541,8 +45465,8 @@ aaa
aaa
aac
aac
-aac
-aac
+pny
+pny
pny
pny
pny
@@ -45682,15 +45606,15 @@ aaa
aaa
aaa
aaa
-aam
-aam
aac
pny
-aCt
+aOH
aML
+aCt
+cZA
bmA
-bLO
-bYN
+cto
+cto
cto
cto
cto
@@ -45825,11 +45749,9 @@ aaa
aaa
aaa
aam
-aam
-aam
+aJa
+aTO
aph
-aCx
-aOH
bfo
oge
kAp
@@ -45837,6 +45759,8 @@ kAp
kAp
kAp
kAp
+kAp
+kAp
oge
kAp
bfo
@@ -45966,12 +45890,17 @@ aaa
aaa
aaa
aab
-aaa
aam
-aam
-aph
-aCx
-aSo
+aJa
+aTO
+dJL
+sUY
+sUY
+sUY
+sUY
+sUY
+sUY
+sUY
sUY
sUY
sUY
@@ -45982,11 +45911,6 @@ sUY
sUY
sUY
sUY
-wZB
-kRk
-kRk
-kRk
-ruq
sUY
sUY
eWv
@@ -46108,29 +46032,29 @@ aaa
aaa
aaa
aaa
-aaa
aam
-aam
-aph
-aCx
-aSo
+aJa
+aTO
+dJL
sUY
sUY
-bZr
-cvx
+sUY
+isS
+isS
+isS
isS
wZB
-dhQ
-wZB
-dhQ
wZB
wZB
-eMe
-dEc
-abJ
+wZB
+wZB
+wZB
+wZB
ruq
-wZB
-sUY
+ruq
+ruq
+ruq
+tiw
eWv
bYt
pny
@@ -46250,29 +46174,29 @@ aaa
aaa
aaa
aaa
-aaa
aam
-aam
-aph
-aCx
-aSo
+aJa
+aTO
+dJL
sUY
sUY
isS
isS
isS
-cNM
-dih
-dBX
-dWc
-epw
-qaf
-alG
+isS
+isS
+wZB
+wZB
+wZB
+wZB
+wZB
+wZB
+wZB
nYi
aak
+fGW
+ruq
ruq
-gGk
-kqX
eWv
bYt
pny
@@ -46392,29 +46316,29 @@ aaa
aaa
aaa
aaa
-aaa
aam
-aam
-aph
-aCx
-aSo
+aJa
+aTO
+dJL
sUY
-bMv
+aTA
isS
+isS
+lSw
cwo
cIa
cOc
diP
-dCJ
+wZB
dWh
erb
+dWh
wZB
-eMl
fiK
fGW
-ruq
+xwI
gHF
-kqX
+haB
eWv
bYt
pny
@@ -46534,26 +46458,26 @@ aaa
aaa
aaa
aaa
-aaa
aam
-aam
-aph
-aCx
-aSo
-sUY
-bNZ
+aJa
+aTO
+dJL
+aTA
+aTA
+isS
+isS
bZD
cwR
isS
cQu
dju
-wZB
+rWj
dXD
-wZB
-wZB
-eEO
+ePh
+gkB
+mZB
fkj
-eEO
+lwa
ghQ
gIs
haB
@@ -46676,29 +46600,29 @@ aaa
aaa
aaa
aaa
-aaa
aam
-aam
-aph
-aCx
-aSo
+aJa
+aTO
+dJL
+aTA
+aTA
isS
isS
isS
+cHP
isS
-isS
-wZB
-wZB
+nhL
+dkV
wZB
dYO
ezh
+xXm
wZB
-eMo
fkL
-fIb
+fMh
gjS
-gtX
-sUY
+dDu
+faK
eWv
imG
hLI
@@ -46818,29 +46742,29 @@ aaa
aaa
aaa
aaa
-aaa
aam
-aam
-aph
-aHN
-aTs
+aJa
+bLO
+emi
+aTA
+aTA
bnf
bOf
bZF
cys
-cII
+isS
cRa
-dkV
-dIv
-egt
+lJZ
+wZB
+wZB
eBg
wZB
-eMS
+wZB
gLG
fMh
gjZ
-gJW
-sUY
+mos
+igN
eWv
aeL
hNs
@@ -46960,13 +46884,13 @@ aaa
aaa
aaa
aaa
-aaa
aam
-aam
-aph
-aCx
-aSo
-bnf
+aJa
+aTO
+dJL
+aTA
+aTA
+kft
bOx
bZH
cCr
@@ -46977,12 +46901,12 @@ dJj
egC
eBI
eIJ
-eBI
+euo
flS
fMv
gnc
gMr
-sUY
+pPa
eWv
ops
pny
@@ -47102,29 +47026,29 @@ aaa
aaa
aaa
aaa
-aaa
aam
-aam
-aph
-aIk
+aJa
+bPE
+emN
aTA
-bnf
+aTA
+dGv
bPq
bZJ
cCJ
-cII
+isS
cUQ
dsY
-dJG
-dsY
+wZB
+wZB
eCo
wZB
-eSD
+wZB
frS
fNB
-gjZ
-gMr
-sUY
+bvH
+cND
+pPa
eWv
nDX
scu
@@ -47244,29 +47168,29 @@ aaa
aaa
aaa
aaa
-aaa
aam
-aam
-aph
-aCx
-aSo
+aJa
+aTO
+dJL
+aTA
+aTA
+isS
+isS
isS
isS
-bZR
-aaj
isS
cZZ
+vFn
wZB
-wZB
-wZB
+hjF
eEO
+cDf
wZB
-eTw
-ftz
+ruq
fNO
gnS
-gtX
-sUY
+jBW
+kiG
eWv
hxD
scu
@@ -47386,23 +47310,23 @@ aaa
aaa
aaa
aaa
-aaa
aam
-aam
-aph
-aCx
-aSo
-sUY
+aJa
+aTO
+dJL
+aTA
+aTA
isS
+wZB
aos
-agQ
-isS
+hFK
+hFK
dbF
agR
-dOQ
+wZB
ehh
eGK
-wZB
+vJC
ahO
fxa
fOn
@@ -47528,29 +47452,29 @@ aaa
aaa
aaa
aaa
-aaa
aam
-aam
-aph
-aCx
-aSo
+aJa
+aTO
+dJL
sUY
-bMv
-agf
-agf
+aTA
isS
+wZB
+aos
+xcE
+xcE
agi
agV
-agX
+wZB
ahk
gFT
-wZB
+byv
eTD
jJo
hGI
lKl
-gHF
-kqX
+gyH
+haB
eWv
ops
scu
@@ -47670,29 +47594,29 @@ aaa
aaa
aaa
aaa
-aaa
aam
-aam
-aph
-aCx
-aSo
+aJa
+aTO
+dJL
sUY
sUY
-bZS
-aBd
-isS
-dgu
-dtd
-dQG
-ekv
-eIG
-eJU
-eVN
+mmj
+wZB
+wZB
+wZB
+wZB
+wZB
+wZB
+wZB
+wZB
+wZB
+wZB
+wZB
fAr
fPW
gtX
-gQc
-kqX
+ruq
+fAB
eWv
hBS
scu
@@ -47812,29 +47736,29 @@ aaa
aaa
aaa
aaa
-aaa
aam
-aam
-aph
-aCx
-aSo
+aJa
+aTO
+dJL
+sUY
sUY
sUY
-aai
-cEi
-isS
wZB
wZB
wZB
-bYJ
wZB
wZB
-eYw
-fCg
+wZB
+wZB
+wZB
+wZB
+wZB
+wZB
+ruq
fRX
-jOe
-wZB
-sUY
+ruq
+ruq
+ruq
eWv
hBS
scu
@@ -47954,27 +47878,27 @@ aaa
aaa
aaa
aaa
-aaa
aam
-aam
-aph
-aCx
-aSo
-sUY
-sUY
-sUY
-sUY
-sUY
-sUY
-sUY
-sUY
+aJa
+aTO
dJL
sUY
-wZB
-wZB
-fCh
-wZB
-wZB
+sUY
+sUY
+sUY
+sUY
+sUY
+sUY
+sUY
+sUY
+sUY
+sUY
+sUY
+sUY
+sUY
+sUY
+dYI
+sUY
sUY
sUY
eWv
@@ -48097,11 +48021,9 @@ aaa
aaa
aaa
aam
-aam
-aam
-aph
-aCx
+aJa
aTO
+fCh
ali
bPD
bQx
@@ -48109,13 +48031,15 @@ bQx
bQx
bQx
bQx
+bQx
+bQx
ali
-emi
+bQx
bQx
bQx
fdw
bQx
-bQx
+hYI
bQx
bPD
ali
@@ -48238,23 +48162,23 @@ aaa
aaa
aaa
aaa
-aam
-aam
aac
pny
-aJa
+bYN
+kRk
+bpT
aWH
-bpT
-bPE
+cto
+cto
cto
cto
cto
cto
cto
bpT
-emN
-iaf
-vLG
+cto
+cto
+cto
fez
afD
iaf
@@ -48381,8 +48305,8 @@ aaa
aaa
aaa
aac
-aac
-aac
+pny
+pny
pny
pny
pny
diff --git a/maps/tether/tether-07-solars.dmm b/maps/tether/tether-07-solars.dmm
index 3a7361dc8f..1addcdd726 100644
--- a/maps/tether/tether-07-solars.dmm
+++ b/maps/tether/tether-07-solars.dmm
@@ -1745,8 +1745,7 @@
/area/rnd/outpost/testing)
"dV" = (
/obj/machinery/vending/cola{
- dir = 8;
- icon_state = "Soda_Machine"
+ dir = 8
},
/turf/simulated/floor/tiled,
/area/rnd/outpost/breakroom)
diff --git a/maps/tether/tether_areas.dm b/maps/tether/tether_areas.dm
index ce4bd5c55a..b8c3538c57 100644
--- a/maps/tether/tether_areas.dm
+++ b/maps/tether/tether_areas.dm
@@ -215,6 +215,9 @@
/area/tether/surfacebase/barbackmaintenance
name = "\improper Bar Back Maintenance"
icon_state = "red"
+/area/tether/surfacebase/arcade
+ name = "\improper Arcade"
+ icon_state = "green"
/area/tether/surfacebase/public_garden_lg
name = "\improper Public Garden Looking Glass"
@@ -1436,6 +1439,7 @@
/area/shuttle/excursion
requires_power = 1
icon_state = "shuttle2"
+ base_turf = /turf/simulated/floor/reinforced
/area/shuttle/excursion/general
name = "\improper Excursion Shuttle"
@@ -1446,9 +1450,13 @@
/area/shuttle/excursion/cargo
name = "\improper Excursion Shuttle Cargo"
+/area/shuttle/excursion/power
+ name = "\improper Excursion Shuttle Power"
+
/area/shuttle/tourbus
requires_power = 1
icon_state = "shuttle2"
+ base_turf = /turf/simulated/floor/reinforced
/area/shuttle/tourbus/general
name = "\improper Tour Bus"
diff --git a/maps/tether/tether_shuttles.dm b/maps/tether/tether_shuttles.dm
index f8e126d024..42f9723477 100644
--- a/maps/tether/tether_shuttles.dm
+++ b/maps/tether/tether_shuttles.dm
@@ -191,7 +191,7 @@
warmup_time = 0
current_location = "tether_excursion_hangar"
docking_controller_tag = "expshuttle_docker"
- shuttle_area = list(/area/shuttle/excursion/cockpit, /area/shuttle/excursion/general, /area/shuttle/excursion/cargo)
+ shuttle_area = list(/area/shuttle/excursion/cockpit, /area/shuttle/excursion/general, /area/shuttle/excursion/cargo, /area/shuttle/excursion/power)
fuel_consumption = 3
move_direction = NORTH
diff --git a/maps/tether/tether_turfs.dm b/maps/tether/tether_turfs.dm
index 0bf0ef290f..6bdd1f42fe 100644
--- a/maps/tether/tether_turfs.dm
+++ b/maps/tether/tether_turfs.dm
@@ -4,7 +4,7 @@ VIRGO3B_TURF_CREATE(/turf/simulated/open)
edge_blending_priority = 0.5 //Turfs which also have e_b_p and higher than this will plop decorative edges onto this turf
/turf/simulated/open/virgo3b/Initialize(mapload)
. = ..()
- if(outdoors)
+ if(is_outdoors())
SSplanets.addTurf(src)
VIRGO3B_TURF_CREATE(/turf/simulated/floor)
@@ -275,3 +275,8 @@ VIRGO3B_TURF_CREATE(/turf/simulated/mineral/floor)
. = ..()
for(var/obj/effect/step_trigger/teleporter/planetary_fall/virgo3b/F in src)
qdel(F)
+
+// Tram transit floor
+/turf/simulated/floor/tiled/techfloor/grid/transit
+ icon = 'icons/turf/transit_vr.dmi'
+ initial_flooring = null
diff --git a/sound/effects/alert_levels/deltaklaxon.ogg b/sound/effects/alert_levels/deltaklaxon.ogg
index 7a9522c1ff..aedc0c65d3 100644
Binary files a/sound/effects/alert_levels/deltaklaxon.ogg and b/sound/effects/alert_levels/deltaklaxon.ogg differ
diff --git a/sound/effects/alert_levels/red_alert.ogg b/sound/effects/alert_levels/red_alert.ogg
index 6eed302098..3318ee6a1e 100644
Binary files a/sound/effects/alert_levels/red_alert.ogg and b/sound/effects/alert_levels/red_alert.ogg differ
diff --git a/sound/h_sounds/headcrab.ogg b/sound/h_sounds/headcrab.ogg
deleted file mode 100644
index 2d5d9ddbfd..0000000000
Binary files a/sound/h_sounds/headcrab.ogg and /dev/null differ
diff --git a/sound/h_sounds/holla.ogg b/sound/h_sounds/holla.ogg
deleted file mode 100644
index f4e4783b36..0000000000
Binary files a/sound/h_sounds/holla.ogg and /dev/null differ
diff --git a/sound/h_sounds/imbeciles.ogg b/sound/h_sounds/imbeciles.ogg
deleted file mode 100644
index ce715d2045..0000000000
Binary files a/sound/h_sounds/imbeciles.ogg and /dev/null differ
diff --git a/sound/h_sounds/lynx.ogg b/sound/h_sounds/lynx.ogg
deleted file mode 100644
index d9d5de704e..0000000000
Binary files a/sound/h_sounds/lynx.ogg and /dev/null differ
diff --git a/sound/h_sounds/mumble.ogg b/sound/h_sounds/mumble.ogg
deleted file mode 100644
index a18c5ed01d..0000000000
Binary files a/sound/h_sounds/mumble.ogg and /dev/null differ
diff --git a/sound/h_sounds/negative.ogg b/sound/h_sounds/negative.ogg
deleted file mode 100644
index fc37b5f510..0000000000
Binary files a/sound/h_sounds/negative.ogg and /dev/null differ
diff --git a/sound/h_sounds/sampler.ogg b/sound/h_sounds/sampler.ogg
deleted file mode 100644
index 0ec6ddd16a..0000000000
Binary files a/sound/h_sounds/sampler.ogg and /dev/null differ
diff --git a/sound/h_sounds/shitty_tim.ogg b/sound/h_sounds/shitty_tim.ogg
deleted file mode 100644
index 81266c2667..0000000000
Binary files a/sound/h_sounds/shitty_tim.ogg and /dev/null differ
diff --git a/sound/h_sounds/src/sampler1.ogg b/sound/h_sounds/src/sampler1.ogg
deleted file mode 100644
index b5e10c969f..0000000000
Binary files a/sound/h_sounds/src/sampler1.ogg and /dev/null differ
diff --git a/sound/h_sounds/src/sampler2.ogg b/sound/h_sounds/src/sampler2.ogg
deleted file mode 100644
index e058d442a8..0000000000
Binary files a/sound/h_sounds/src/sampler2.ogg and /dev/null differ
diff --git a/sound/h_sounds/src/sampler3.ogg b/sound/h_sounds/src/sampler3.ogg
deleted file mode 100644
index 23e695739b..0000000000
Binary files a/sound/h_sounds/src/sampler3.ogg and /dev/null differ
diff --git a/sound/h_sounds/src/sampler3speed.ogg b/sound/h_sounds/src/sampler3speed.ogg
deleted file mode 100644
index 2ba846199f..0000000000
Binary files a/sound/h_sounds/src/sampler3speed.ogg and /dev/null differ
diff --git a/sound/h_sounds/src/sampler4.3.ogg b/sound/h_sounds/src/sampler4.3.ogg
deleted file mode 100644
index 46932b7502..0000000000
Binary files a/sound/h_sounds/src/sampler4.3.ogg and /dev/null differ
diff --git a/sound/h_sounds/src/shitty tim 2.ogg b/sound/h_sounds/src/shitty tim 2.ogg
deleted file mode 100644
index bf355f7a13..0000000000
Binary files a/sound/h_sounds/src/shitty tim 2.ogg and /dev/null differ
diff --git a/sound/h_sounds/src/shitty tim.ogg b/sound/h_sounds/src/shitty tim.ogg
deleted file mode 100644
index b21f209525..0000000000
Binary files a/sound/h_sounds/src/shitty tim.ogg and /dev/null differ
diff --git a/sound/h_sounds/src/shitty tim1.ogg b/sound/h_sounds/src/shitty tim1.ogg
deleted file mode 100644
index ab0eaa22a9..0000000000
Binary files a/sound/h_sounds/src/shitty tim1.ogg and /dev/null differ
diff --git a/sound/h_sounds/src/shitty tim3.ogg b/sound/h_sounds/src/shitty tim3.ogg
deleted file mode 100644
index 770624a22c..0000000000
Binary files a/sound/h_sounds/src/shitty tim3.ogg and /dev/null differ
diff --git a/sound/h_sounds/src/shitty tim4.ogg b/sound/h_sounds/src/shitty tim4.ogg
deleted file mode 100644
index 81266c2667..0000000000
Binary files a/sound/h_sounds/src/shitty tim4.ogg and /dev/null differ
diff --git a/sound/h_sounds/wor.ogg b/sound/h_sounds/wor.ogg
deleted file mode 100644
index ad2076cfaa..0000000000
Binary files a/sound/h_sounds/wor.ogg and /dev/null differ
diff --git a/sound/h_sounds/yell.ogg b/sound/h_sounds/yell.ogg
deleted file mode 100644
index 163395cd94..0000000000
Binary files a/sound/h_sounds/yell.ogg and /dev/null differ
diff --git a/sound/h_sounds/youknowwhoitis.ogg b/sound/h_sounds/youknowwhoitis.ogg
deleted file mode 100644
index 7ef0d449b0..0000000000
Binary files a/sound/h_sounds/youknowwhoitis.ogg and /dev/null differ
diff --git a/sound/machines/clawmachine_play.ogg b/sound/machines/clawmachine_play.ogg
new file mode 100644
index 0000000000..2f72abfbe0
Binary files /dev/null and b/sound/machines/clawmachine_play.ogg differ
diff --git a/sound/machines/clawmachine_win.ogg b/sound/machines/clawmachine_win.ogg
new file mode 100644
index 0000000000..3a2269e03c
Binary files /dev/null and b/sound/machines/clawmachine_win.ogg differ
diff --git a/sound/machines/roulette.ogg b/sound/machines/roulette.ogg
new file mode 100644
index 0000000000..2a80d80299
Binary files /dev/null and b/sound/machines/roulette.ogg differ
diff --git a/sound/machines/slotmachine.ogg b/sound/machines/slotmachine.ogg
new file mode 100644
index 0000000000..366d985721
Binary files /dev/null and b/sound/machines/slotmachine.ogg differ
diff --git a/sound/machines/slotmachine_pull.ogg b/sound/machines/slotmachine_pull.ogg
new file mode 100644
index 0000000000..d97a815bf8
Binary files /dev/null and b/sound/machines/slotmachine_pull.ogg differ
diff --git a/sound/voice/EDPlaceholder.ogg b/sound/voice/EDPlaceholder.ogg
index 501f8f33c3..c6ae2f473f 100644
Binary files a/sound/voice/EDPlaceholder.ogg and b/sound/voice/EDPlaceholder.ogg differ
diff --git a/sound/voice/ed209_20sec.ogg b/sound/voice/ed209_20sec.ogg
index d1ab901084..3983d9e7ba 100644
Binary files a/sound/voice/ed209_20sec.ogg and b/sound/voice/ed209_20sec.ogg differ
diff --git a/sound/voice/syndicate intro.ogg b/sound/voice/syndicate intro.ogg
index c99549d962..ca0efa0ea0 100644
Binary files a/sound/voice/syndicate intro.ogg and b/sound/voice/syndicate intro.ogg differ
diff --git a/sound/weapons/Gunshot1.ogg b/sound/weapons/Gunshot1.ogg
index 4fd082ce7f..26b356a80a 100644
Binary files a/sound/weapons/Gunshot1.ogg and b/sound/weapons/Gunshot1.ogg differ
diff --git a/sound/weapons/Gunshot_light.ogg b/sound/weapons/Gunshot_light.ogg
index 5c0000bb32..c2f2c07d96 100644
Binary files a/sound/weapons/Gunshot_light.ogg and b/sound/weapons/Gunshot_light.ogg differ
diff --git a/sound/weapons/Gunshot_shotgun.ogg b/sound/weapons/Gunshot_shotgun.ogg
index f10004d1ee..7fc62cc768 100644
Binary files a/sound/weapons/Gunshot_shotgun.ogg and b/sound/weapons/Gunshot_shotgun.ogg differ
diff --git a/sound/weapons/Laser.ogg b/sound/weapons/Laser.ogg
index 0fbb611f9c..4ff9e82ff9 100644
Binary files a/sound/weapons/Laser.ogg and b/sound/weapons/Laser.ogg differ
diff --git a/sound/weapons/Taser.ogg b/sound/weapons/Taser.ogg
index f6bcb64821..0201d3516d 100644
Binary files a/sound/weapons/Taser.ogg and b/sound/weapons/Taser.ogg differ
diff --git a/sound/weapons/armbomb.ogg b/sound/weapons/armbomb.ogg
index fccf4f668d..0dee693eb4 100644
Binary files a/sound/weapons/armbomb.ogg and b/sound/weapons/armbomb.ogg differ
diff --git a/sound/weapons/blaster_pistol.ogg b/sound/weapons/blaster_pistol.ogg
index f1fa7dabeb..d85411efe2 100644
Binary files a/sound/weapons/blaster_pistol.ogg and b/sound/weapons/blaster_pistol.ogg differ
diff --git a/sound/weapons/gunshot2.ogg b/sound/weapons/gunshot2.ogg
index 2dfc6fc1e9..e18fd4c7d1 100644
Binary files a/sound/weapons/gunshot2.ogg and b/sound/weapons/gunshot2.ogg differ
diff --git a/sound/weapons/gunshot3.ogg b/sound/weapons/gunshot3.ogg
index 97799dff10..26b356a80a 100644
Binary files a/sound/weapons/gunshot3.ogg and b/sound/weapons/gunshot3.ogg differ
diff --git a/sound/weapons/gunshot4.ogg b/sound/weapons/gunshot4.ogg
index 2d971f7b1a..e18fd4c7d1 100644
Binary files a/sound/weapons/gunshot4.ogg and b/sound/weapons/gunshot4.ogg differ
diff --git a/sound/weapons/smartgunclose.ogg b/sound/weapons/smartgunclose.ogg
new file mode 100644
index 0000000000..9914e9e5dc
Binary files /dev/null and b/sound/weapons/smartgunclose.ogg differ
diff --git a/sound/weapons/smartgunopen.ogg b/sound/weapons/smartgunopen.ogg
new file mode 100644
index 0000000000..02586d6e67
Binary files /dev/null and b/sound/weapons/smartgunopen.ogg differ
diff --git a/sound/weapons/taser2.ogg b/sound/weapons/taser2.ogg
index 2cdab84378..b4ac1c2ca2 100644
Binary files a/sound/weapons/taser2.ogg and b/sound/weapons/taser2.ogg differ
diff --git a/tgui/packages/tgui/interfaces/CasinoPrizeDispenser.js b/tgui/packages/tgui/interfaces/CasinoPrizeDispenser.js
new file mode 100644
index 0000000000..12f2838faf
--- /dev/null
+++ b/tgui/packages/tgui/interfaces/CasinoPrizeDispenser.js
@@ -0,0 +1,180 @@
+import { createSearch } from 'common/string';
+import { Fragment } from 'inferno';
+import { useBackend, useLocalState } from "../backend";
+import { Box, Button, Collapsible, Dropdown, Flex, Input, NoticeBox, Section } from '../components';
+import { Window } from "../layouts";
+import { refocusLayout } from '../layouts';
+import { logger } from '../logging';
+
+const sortTypes = {
+ 'Alphabetical': (a, b) => a - b,
+ 'By availability': (a, b) => -(a.affordable - b.affordable),
+ 'By price': (a, b) => a.price - b.price,
+};
+
+export const CasinoPrizeDispenser = (props, context) => {
+ const { act, data } = useBackend(context);
+ return (
+
+
+
+
+
+
+
+
+ );
+};
+
+const CasinoPrizeDispenserSearch = (props, context) => {
+ const [
+ _searchText,
+ setSearchText,
+ ] = useLocalState(context, 'search', '');
+ const [
+ _sortOrder,
+ setSortOrder,
+ ] = useLocalState(context, 'sort', '');
+ const [
+ descending,
+ setDescending,
+ ] = useLocalState(context, 'descending', false);
+ return (
+
+
+
+ setSearchText(value)}
+ />
+
+
+ setSortOrder(v)} />
+
+
+ setDescending(!descending)}
+ />
+
+
+
+ );
+};
+
+const CasinoPrizeDispenserItems = (props, context) => {
+ const { act, data } = useBackend(context);
+ const {
+ points,
+ items,
+ } = data;
+ // Search thingies
+ const [
+ searchText,
+ _setSearchText,
+ ] = useLocalState(context, 'search', '');
+ const [
+ sortOrder,
+ _setSortOrder,
+ ] = useLocalState(context, 'sort', 'Alphabetical');
+ const [
+ descending,
+ _setDescending,
+ ] = useLocalState(context, 'descending', false);
+ const searcher = createSearch(searchText, item => {
+ return item[0];
+ });
+
+ let has_contents = false;
+ let contents = Object.entries(items).map((kv, _i) => {
+ let items_in_cat = Object.entries(kv[1])
+ .filter(searcher)
+ .map(kv2 => {
+ kv2[1].affordable = points >= (kv2[1].price);
+ return kv2[1];
+ })
+ .sort(sortTypes[sortOrder]);
+ if (items_in_cat.length === 0) {
+ return;
+ }
+ if (descending) {
+ items_in_cat = items_in_cat.reverse();
+ }
+
+ has_contents = true;
+ return (
+
+ );
+ });
+ return (
+
+ refocusLayout()}>
+ {has_contents
+ ? contents : (
+
+ No items matching your criteria was found!
+
+ )}
+
+
+ );
+};
+
+const CasinoPrizeDispenserItemsCategory = (properties, context) => {
+ const { act, data } = useBackend(context);
+ const {
+ title,
+ items,
+ ...rest
+ } = properties;
+ return (
+
+ {items.map(item => (
+
+
+ {item.name}
+
+ act('purchase', {
+ cat: title,
+ name: item.name,
+ price: item.price,
+ restriction: item.restriction,
+ })}
+ />
+
+
+ ))}
+
+ );
+};
\ No newline at end of file
diff --git a/tgui/public/tgui.bundle.js b/tgui/public/tgui.bundle.js
index e4ece15517..f6769ede75 100644
--- a/tgui/public/tgui.bundle.js
+++ b/tgui/public/tgui.bundle.js
@@ -1 +1 @@
-!function(){var e,n={60121:function(e,n,t){"use strict";var o=t(39812);t(56285),t(58602),t(92433),t(35070),t(86455),t(41821),t(83243),t(97585),t(64197),t(87266),t(99195),t(72916),t(48979);var r,c,a=t(84877),i=(t(25059),t(18874)),l=t(25697),d=t(75682),s=t(69913),u=t(74360);a.perf.mark("inception",null==(r=window.performance)||null==(c=r.timing)?void 0:c.navigationStart),a.perf.mark("init");var m=(0,s.configureStore)(),p=(0,d.createRenderer)((function(){var e=(0,t(73218).getRoutedComponent)(m);return(0,o.createComponentVNode)(2,s.StoreProvider,{store:m,children:(0,o.createComponentVNode)(2,e)})}));!function C(){if("loading"!==document.readyState){for((0,u.setupGlobalEvents)(),(0,i.setupHotKeys)(),(0,l.captureExternalLinks)(),m.subscribe(p),window.update=function(e){return m.dispatch(Byond.parseJson(e))};;){var e=window.__updateQueue__.shift();if(!e)break;window.update(e)}0}else document.addEventListener("DOMContentLoaded",C)}()},34129:function(e,n,t){"use strict";n.__esModule=!0,n.AICard=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.AICard=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.has_ai,s=l.integrity,u=l.backup_capacitor,m=l.flushing,p=l.has_laws,C=l.laws,h=l.wireless,N=l.radio;if(0===d)return(0,o.createComponentVNode)(2,a.Window,{width:600,height:470,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{title:"Stored AI",children:(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createVNode)(1,"h3",null,"No AI detected.",16)})})})});var V=null;V=s>=75?"green":s>=25?"yellow":"red";var b=null;return u>=75&&(b="green"),b=u>=25?"yellow":"red",(0,o.createComponentVNode)(2,a.Window,{width:600,height:470,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Stored AI",children:[(0,o.createComponentVNode)(2,c.Box,{bold:!0,display:"inline-block",children:(0,o.createVNode)(1,"h3",null,name,0)}),(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Integrity",children:(0,o.createComponentVNode)(2,c.ProgressBar,{color:V,value:s/100})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,c.ProgressBar,{color:b,value:u/100})})]})}),(0,o.createComponentVNode)(2,c.Box,{color:"red",children:(0,o.createVNode)(1,"h2",null,1===m?"Wipe of AI in progress...":"",0)})]}),(0,o.createComponentVNode)(2,c.Section,{title:"Laws",children:!!p&&(0,o.createComponentVNode)(2,c.Box,{children:C.map((function(e,n){return(0,o.createComponentVNode)(2,c.Box,{display:"inline-block",children:e},n)}))})||(0,o.createComponentVNode)(2,c.Box,{color:"red",children:(0,o.createVNode)(1,"h3",null,"No laws detected.",16)})}),(0,o.createComponentVNode)(2,c.Section,{title:"Actions",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Wireless Activity",children:(0,o.createComponentVNode)(2,c.Button,{icon:h?"check":"times",content:h?"Enabled":"Disabled",color:h?"green":"red",onClick:function(){return i("wireless")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Subspace Transceiver",children:(0,o.createComponentVNode)(2,c.Button,{icon:N?"check":"times",content:N?"Enabled":"Disabled",color:N?"green":"red",onClick:function(){return i("radio")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"AI Power",children:(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"radiation",confirmIcon:"radiation",disabled:m||0===s,confirmColor:"red",content:"Shutdown",onClick:function(){return i("wipe")}})})]})})]})})}},73405:function(e,n,t){"use strict";n.__esModule=!0,n.APC=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=t(21451),l=t(67861);n.APC=function(e,n){var t=(0,r.useBackend)(n),c=(t.act,t.data),i=(0,o.createComponentVNode)(2,s);return c.gridCheck?i=(0,o.createComponentVNode)(2,u):c.failTime&&(i=(0,o.createComponentVNode)(2,m)),(0,o.createComponentVNode)(2,a.Window,{width:450,height:475,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:i})})};var d={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=function(e,n){var t=(0,r.useBackend)(n),a=t.act,l=t.data,s=l.locked&&!l.siliconUser,u=(l.normallyLocked,d[l.externalPower]||d[0]),m=d[l.chargingStatus]||d[0],p=l.powerChannels||[],C=l.powerCellStatus/100;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.InterfaceLockNoticeBox,{deny:l.emagged,denialMessage:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Box,{color:"bad",fontSize:"1.5rem",children:"Fault in ID authenticator."}),(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Please contact maintenance for service."})],4)}),(0,o.createComponentVNode)(2,c.Section,{title:"Power Status",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Main Breaker",color:u.color,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:l.isOperating?"power-off":"times",content:l.isOperating?"On":"Off",selected:l.isOperating&&!s,color:l.isOperating?"":"bad",disabled:s,onClick:function(){return a("breaker")}}),children:["[ ",u.externalPowerText," ]"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power Cell",children:(0,o.createComponentVNode)(2,c.ProgressBar,{color:"good",value:C})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Charge Mode",color:m.color,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:l.chargeMode?"sync":"times",content:l.chargeMode?"Auto":"Off",selected:l.chargeMode,disabled:s,onClick:function(){return a("charge")}}),children:["[ ",m.chargingText," ]"]})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Power Channels",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[p.map((function(e){var n=e.topicParams;return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.title,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Box,{inline:!0,mx:2,color:e.status>=2?"good":"bad",children:e.status>=2?"On":"Off"}),(0,o.createComponentVNode)(2,c.Button,{icon:"sync",content:"Auto",selected:!s&&(1===e.status||3===e.status),disabled:s,onClick:function(){return a("channel",n.auto)}}),(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",content:"On",selected:!s&&2===e.status,disabled:s,onClick:function(){return a("channel",n.on)}}),(0,o.createComponentVNode)(2,c.Button,{icon:"times",content:"Off",selected:!s&&0===e.status,disabled:s,onClick:function(){return a("channel",n.off)}})],4),children:[e.powerLoad," W"]},e.title)})),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Total Load",children:l.totalCharging?(0,o.createVNode)(1,"b",null,[l.totalLoad,(0,o.createTextVNode)(" W (+ "),l.totalCharging,(0,o.createTextVNode)(" W charging)")],0):(0,o.createVNode)(1,"b",null,[l.totalLoad,(0,o.createTextVNode)(" W")],0)})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Misc",buttons:!!l.siliconUser&&(0,o.createComponentVNode)(2,c.Button,{icon:"lightbulb-o",content:"Overload",onClick:function(){return a("overload")}}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Cover Lock",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:l.coverLocked?"lock":"unlock",content:l.coverLocked?"Engaged":"Disengaged",selected:l.coverLocked,disabled:s,onClick:function(){return a("cover")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Night Shift Lighting",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"lightbulb-o",content:"Disabled",selected:2===l.nightshiftSetting,onClick:function(){return a("nightshift",{nightshift:2})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"lightbulb-o",content:"Automatic",selected:1===l.nightshiftSetting,onClick:function(){return a("nightshift",{nightshift:1})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"lightbulb-o",content:"Enabled",selected:3===l.nightshiftSetting,onClick:function(){return a("nightshift",{nightshift:3})}})],4)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Emergency Lighting",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"lightbulb-o",content:l.emergencyLights?"Enabled":"Disabled",selected:l.emergencyLights,onClick:function(){return a("emergency_lighting")}})})]})})],4)},u=function(e,n){return(0,o.createComponentVNode)(2,l.FullscreenNotice,{title:"System Failure",children:[(0,o.createComponentVNode)(2,c.Box,{fontSize:"1.5rem",bold:!0,children:(0,o.createComponentVNode)(2,c.Icon,{name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"})}),(0,o.createComponentVNode)(2,c.Box,{fontSize:"1.5rem",bold:!0,children:"Power surge detected, grid check in effect..."})]})},m=function(e,n){var t=(0,r.useBackend)(n),a=t.data,i=t.act,l=(0,o.createComponentVNode)(2,c.Button,{icon:"repeat",content:"Restart Now",color:"good",onClick:function(){return i("reboot")}});return a.locked&&!a.siliconUser&&(l=(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Swipe an ID card for manual reboot."})),(0,o.createComponentVNode)(2,c.Dimmer,{textAlign:"center",children:[(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:(0,o.createVNode)(1,"h1",null,"SYSTEM FAILURE",16)}),(0,o.createComponentVNode)(2,c.Box,{color:"average",children:(0,o.createVNode)(1,"h2",null,"I/O regulators malfunction detected! Waiting for system reboot...",16)}),(0,o.createComponentVNode)(2,c.Box,{color:"good",children:["Automatic reboot in ",a.failTime," seconds..."]}),(0,o.createComponentVNode)(2,c.Box,{mt:4,children:l})]})}},20832:function(e,n,t){"use strict";n.__esModule=!0,n.AccountsTerminal=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.AccountsTerminal=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.id_inserted,u=d.id_card,m=d.access_level,p=d.machine_id;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:640,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Machine",color:"average",children:p}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"ID",children:(0,o.createComponentVNode)(2,c.Button,{icon:s?"eject":"sign-in-alt",fluid:!0,content:u,onClick:function(){return l("insert_card")}})})]})}),m>0&&(0,o.createComponentVNode)(2,i)]})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,u=i.creating_new_account,m=i.detailed_account_view;return(0,o.createComponentVNode)(2,c.Section,{title:"Menu",children:[(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:!u&&!m,icon:"home",onClick:function(){return a("view_accounts_list")},children:"Home"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:u,icon:"cog",onClick:function(){return a("create_account")},children:"New Account"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{disabled:u,icon:"print",onClick:function(){return a("print")},children:"Print"})]}),u&&(0,o.createComponentVNode)(2,l)||m&&(0,o.createComponentVNode)(2,d)||(0,o.createComponentVNode)(2,s)]})},l=function(e,n){var t=(0,r.useBackend)(n).act,a=(0,r.useSharedState)(n,"holder",""),i=a[0],l=a[1],d=(0,r.useSharedState)(n,"money",""),s=d[0],u=d[1];return(0,o.createComponentVNode)(2,c.Section,{title:"Create Account",level:2,children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Account Holder",children:(0,o.createComponentVNode)(2,c.Input,{value:i,fluid:!0,onInput:function(e,n){return l(n)}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Initial Deposit",children:(0,o.createComponentVNode)(2,c.Input,{value:s,fluid:!0,onInput:function(e,n){return u(n)}})})]}),(0,o.createComponentVNode)(2,c.Button,{disabled:!i||!s,mt:1,fluid:!0,icon:"plus",onClick:function(){return t("finalise_create_account",{holder_name:i,starting_funds:s})},content:"Create"})]})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.access_level,d=i.station_account_number,s=i.account_number,u=i.owner_name,m=i.money,p=i.suspended,C=i.transactions;return(0,o.createComponentVNode)(2,c.Section,{title:"Account Details",level:2,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"ban",selected:p,content:"Suspend",onClick:function(){return a("toggle_suspension")}}),children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Account Number",children:["#",s]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Holder",children:u}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Balance",children:[m,"\u20ae"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",color:p?"bad":"good",children:p?"SUSPENDED":"Active"})]}),(0,o.createComponentVNode)(2,c.Section,{title:"CentCom Administrator",level:2,mt:1,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Payroll",children:(0,o.createComponentVNode)(2,c.Button.Confirm,{color:"bad",fluid:!0,icon:"ban",confirmIcon:"ban",content:"Revoke",confirmContent:"This cannot be undone.",disabled:s===d,onClick:function(){return a("revoke_payroll")}})})})}),l>=2&&(0,o.createComponentVNode)(2,c.Section,{title:"Silent Funds Transfer",level:2,children:[(0,o.createComponentVNode)(2,c.Button,{icon:"plus",onClick:function(){return a("add_funds")},content:"Add Funds"}),(0,o.createComponentVNode)(2,c.Button,{icon:"plus",onClick:function(){return a("remove_funds")},content:"Remove Funds"})]}),(0,o.createComponentVNode)(2,c.Section,{title:"Transactions",level:2,mt:1,children:(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Timestamp"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Target"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Reason"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Value"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Terminal"})]}),C.map((function(e,n){return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:[e.date," ",e.time]}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.target_name}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.purpose}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:[e.amount,"\u20ae"]}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.source_terminal})]},n)}))]})})]})},s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.accounts;return(0,o.createComponentVNode)(2,c.Section,{title:"NanoTrasen Accounts",level:2,children:i.length&&(0,o.createComponentVNode)(2,c.LabeledList,{children:i.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.owner_name+e.suspended,color:e.suspended?"bad":null,children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,content:"#"+e.account_number,onClick:function(){return a("view_account_detail",{account_index:e.account_index})}})},e.account_index)}))})||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"There are no accounts available."})})}},19007:function(e,n,t){"use strict";n.__esModule=!0,n.ShuttleList=n.AdminShuttleController=void 0;var o=t(39812),r=t(64499),c=t(71494),a=t(74814),i=t(85952);n.AdminShuttleController=function(e,n){var t=(0,c.useBackend)(n);t.act,t.data;return(0,o.createComponentVNode)(2,i.Window,{width:600,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,s=l.shuttles,u=l.overmap_ships;return(0,o.createComponentVNode)(2,a.Section,{noTopPadding:!0,children:[(0,o.createComponentVNode)(2,a.Section,{title:"Classic Shuttles",level:2,children:(0,o.createComponentVNode)(2,a.Table,{children:(0,r.sortBy)((function(e){return e.name}))(s).map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,a.Button,{m:0,content:"JMP",onClick:function(){return i("adminobserve",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,a.Button,{m:0,content:"Fly",onClick:function(){return i("classicmove",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.current_location}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:d(e.status)})]},e.ref)}))})}),(0,o.createComponentVNode)(2,a.Section,{title:"Overmap Ships",level:2,children:(0,o.createComponentVNode)(2,a.Table,{children:(0,r.sortBy)((function(e){var n;return(null==(n=e.name)?void 0:n.toLowerCase())||e.name||e.ref}))(u).map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,a.Button,{content:"JMP",onClick:function(){return i("adminobserve",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,a.Button,{content:"Control",onClick:function(){return i("overmap_control",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name})]},e.ref)}))})})]})};n.ShuttleList=l;var d=function(e){switch(e){case 0:return"Idle";case 1:return"Warmup";case 2:return"Transit";default:return"UNK"}}},51104:function(e,n,t){"use strict";n.__esModule=!0,n.AgentCard=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.AgentCard=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.entries,s=l.electronic_warfare;return(0,o.createComponentVNode)(2,a.Window,{width:550,height:400,theme:"syndicate",children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:"Info",children:(0,o.createComponentVNode)(2,c.Table,{children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i(e.name.toLowerCase().replace(/ /g,""))},icon:"cog"})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.value})]},e.name)}))})}),(0,o.createComponentVNode)(2,c.Section,{title:"Electronic Warfare",children:(0,o.createComponentVNode)(2,c.Button.Checkbox,{checked:s,content:s?"Electronic warfare is enabled. This will prevent you from being tracked by the AI.":"Electronic warfare disabled.",onClick:function(){return i("electronic_warfare")}})})]})})}},47330:function(e,n,t){"use strict";n.__esModule=!0,n.AiAirlock=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i={2:{color:"good",localStatusText:"Optimal"},1:{color:"average",localStatusText:"Caution"},0:{color:"bad",localStatusText:"Offline"}};n.AiAirlock=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=i[d.power.main]||i[0],u=i[d.power.backup]||i[0],m=i[d.shock]||i[0];return(0,o.createComponentVNode)(2,a.Window,{width:500,height:390,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:"Power Status",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Main",color:s.color,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"lightbulb-o",disabled:!d.power.main,content:"Disrupt",onClick:function(){return l("disrupt-main")}}),children:[d.power.main?"Online":"Offline"," ",d.wires.main_1&&d.wires.main_2?d.power.main_timeleft>0&&"["+d.power.main_timeleft+"s]":"[Wires have been cut!]"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Backup",color:u.color,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"lightbulb-o",disabled:!d.power.backup,content:"Disrupt",onClick:function(){return l("disrupt-backup")}}),children:[d.power.backup?"Online":"Offline"," ",d.wires.backup_1&&d.wires.backup_2?d.power.backup_timeleft>0&&"["+d.power.backup_timeleft+"s]":"[Wires have been cut!]"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Electrify",color:m.color,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"wrench",disabled:!(d.wires.shock&&0===d.shock),content:"Restore",onClick:function(){return l("shock-restore")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"bolt",disabled:!d.wires.shock,content:"Temporary",onClick:function(){return l("shock-temp")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"bolt",disabled:!d.wires.shock,content:"Permanent",onClick:function(){return l("shock-perm")}})],4),children:[2===d.shock?"Safe":"Electrified"," ",(d.wires.shock?d.shock_timeleft>0&&"["+d.shock_timeleft+"s]":"[Wires have been cut!]")||-1===d.shock_timeleft&&"[Permanent]"]})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Access and Door Control",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"ID Scan",color:"bad",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:d.id_scanner?"power-off":"times",content:d.id_scanner?"Enabled":"Disabled",selected:d.id_scanner,disabled:!d.wires.id_scanner,onClick:function(){return l("idscan-toggle")}}),children:!d.wires.id_scanner&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,c.LabeledList.Divider),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Door Bolts",color:"bad",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:d.locked?"lock":"unlock",content:d.locked?"Lowered":"Raised",selected:d.locked,disabled:!d.wires.bolts,onClick:function(){return l("bolt-toggle")}}),children:!d.wires.bolts&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Door Bolt Lights",color:"bad",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:d.lights?"power-off":"times",content:d.lights?"Enabled":"Disabled",selected:d.lights,disabled:!d.wires.lights,onClick:function(){return l("light-toggle")}}),children:!d.wires.lights&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Door Force Sensors",color:"bad",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:d.safe?"power-off":"times",content:d.safe?"Enabled":"Disabled",selected:d.safe,disabled:!d.wires.safe,onClick:function(){return l("safe-toggle")}}),children:!d.wires.safe&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Door Timing Safety",color:"bad",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:d.speed?"power-off":"times",content:d.speed?"Enabled":"Disabled",selected:d.speed,disabled:!d.wires.timing,onClick:function(){return l("speed-toggle")}}),children:!d.wires.timing&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,c.LabeledList.Divider),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Door Control",color:"bad",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:d.opened?"sign-out-alt":"sign-in-alt",content:d.opened?"Open":"Closed",selected:d.opened,disabled:d.locked||d.welded,onClick:function(){return l("open-close")}}),children:!(!d.locked&&!d.welded)&&(0,o.createVNode)(1,"span",null,[(0,o.createTextVNode)("[Door is "),d.locked?"bolted":"",d.locked&&d.welded?" and ":"",d.welded?"welded":"",(0,o.createTextVNode)("!]")],0)})]})})]})})}},33084:function(e,n,t){"use strict";n.__esModule=!0,n.AiRestorerContent=n.AiRestorer=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.AiRestorer=function(){return(0,o.createComponentVNode)(2,a.Window,{width:370,height:360,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,i)})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.AI_present,d=i.error,s=i.name,u=i.laws,m=i.isDead,p=i.restoring,C=i.health,h=i.ejectable;return(0,o.createFragment)([d&&(0,o.createComponentVNode)(2,c.NoticeBox,{textAlign:"center",children:d}),!!h&&(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"eject",content:l?s:"----------",disabled:!l,onClick:function(){return a("PRG_eject")}}),!!l&&(0,o.createComponentVNode)(2,c.Section,{title:h?"System Status":s,buttons:(0,o.createComponentVNode)(2,c.Box,{inline:!0,bold:!0,color:m?"bad":"good",children:m?"Nonfunctional":"Functional"}),children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Integrity",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:C,minValue:0,maxValue:100,ranges:{good:[70,Infinity],average:[50,70],bad:[-Infinity,50]}})})}),!!p&&(0,o.createComponentVNode)(2,c.Box,{bold:!0,textAlign:"center",fontSize:"20px",color:"good",mt:1,children:"RECONSTRUCTION IN PROGRESS"}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"plus",content:"Begin Reconstruction",disabled:p,mt:1,onClick:function(){return a("PRG_beginReconstruction")}}),(0,o.createComponentVNode)(2,c.Section,{title:"Laws",level:2,children:u.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{className:"candystripe",children:e},e)}))})]})],0)};n.AiRestorerContent=i},597:function(e,n,t){"use strict";n.__esModule=!0,n.AiSupermatter=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=(t(58083),t(67861));n.AiSupermatter=function(e,n){var t=(0,r.useBackend)(n).data,c=(t.integrity_percentage,t.ambient_temp,t.ambient_pressure,t.detonating),i=(0,o.createComponentVNode)(2,d);return c&&(i=(0,o.createComponentVNode)(2,l)),(0,o.createComponentVNode)(2,a.Window,{width:500,height:300,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:i})})};var l=function(e,n){return(0,o.createComponentVNode)(2,i.FullscreenNotice,{title:"DETONATION IMMINENT",children:(0,o.createComponentVNode)(2,c.Box,{fontSize:"1.5rem",bold:!0,color:"bad",children:[(0,o.createComponentVNode)(2,c.Icon,{color:"bad",name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"}),(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"CRYSTAL DELAMINATING"}),(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Evacuate area immediately"})]})})},d=function(e,n){var t=(0,r.useBackend)(n).data,a=t.integrity_percentage,i=t.ambient_temp,l=t.ambient_pressure;return(0,o.createComponentVNode)(2,c.Section,{title:"Status",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Crystal Integrity",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:a,maxValue:100,ranges:{good:[90,Infinity],average:[25,90],bad:[-Infinity,25]}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Environment Temperature",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:i,maxValue:1e4,ranges:{bad:[5e3,Infinity],average:[4e3,5e3],good:[-Infinity,4e3]},children:[i," K"]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Environment Pressure",children:[l," kPa"]})]})})}},58444:function(e,n,t){"use strict";n.__esModule=!0,n.AirAlarm=void 0;var o=t(39812),r=t(41860),c=(t(2497),t(71494)),a=t(74814),i=t(76270),l=t(85952),d=t(21451),s=t(71739);n.AirAlarm=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data),a=r.locked&&!r.siliconUser&&!r.remoteUser;return(0,o.createComponentVNode)(2,l.Window,{width:440,height:650,resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,d.InterfaceLockNoticeBox),(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,m),!a&&(0,o.createComponentVNode)(2,C)]})})};var u=function(e,n){var t=(0,c.useBackend)(n).data,l=(t.environment_data||[]).filter((function(e){return e.value>=.01})),d={0:{color:"good",localStatusText:"Optimal"},1:{color:"average",localStatusText:"Caution"},2:{color:"bad",localStatusText:"Danger (Internals Required)"}},s=d[t.danger_level]||d[0];return(0,o.createComponentVNode)(2,a.Section,{title:"Air Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[l.length>0&&(0,o.createFragment)([l.map((function(e){var n=d[e.danger_level]||d[0];return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,i.getGasLabel)(e.name),color:n.color,children:[(0,r.toFixed)(e.value,2),e.unit]},e.name)})),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Local status",color:s.color,children:s.localStatusText}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Area status",color:t.atmos_alarm||t.fire_alarm?"bad":"good",children:(t.atmos_alarm?"Atmosphere Alarm":t.fire_alarm&&"Fire Alarm")||"Nominal"})],0)||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Warning",color:"bad",children:"Cannot obtain air sample for analysis."}),!!t.emagged&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Warning",color:"bad",children:"Safety measures offline. Device may exhibit abnormal behavior."})]})})},m=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=i.target_temperature,d=i.rcon;return(0,o.createComponentVNode)(2,a.Section,{title:"Comfort Settings",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Remote Control",children:[(0,o.createComponentVNode)(2,a.Button,{selected:1===d,content:"Off",onClick:function(){return r("rcon",{rcon:1})}}),(0,o.createComponentVNode)(2,a.Button,{selected:2===d,content:"Auto",onClick:function(){return r("rcon",{rcon:2})}}),(0,o.createComponentVNode)(2,a.Button,{selected:3===d,content:"On",onClick:function(){return r("rcon",{rcon:3})}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Thermostat",children:(0,o.createComponentVNode)(2,a.Button,{content:l,onClick:function(){return r("temperature")}})})]})})},p={home:{title:"Air Controls",component:function(){return h}},vents:{title:"Vent Controls",component:function(){return N}},scrubbers:{title:"Scrubber Controls",component:function(){return V}},modes:{title:"Operating Mode",component:function(){return b}},thresholds:{title:"Alarm Thresholds",component:function(){return f}}},C=function(e,n){var t=(0,c.useLocalState)(n,"screen"),r=t[0],i=t[1],l=p[r]||p.home,d=l.component();return(0,o.createComponentVNode)(2,a.Section,{title:l.title,buttons:r&&(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return i()}}),children:(0,o.createComponentVNode)(2,d)})},h=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=(0,c.useLocalState)(n,"screen"),d=(l[0],l[1]),s=i.mode,u=i.atmos_alarm;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:u?"exclamation-triangle":"exclamation",color:u&&"caution",content:"Area Atmosphere Alarm",onClick:function(){return r(u?"reset":"alarm")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:3===s?"exclamation-triangle":"exclamation",color:3===s&&"danger",content:"Panic Siphon",onClick:function(){return r("mode",{mode:3===s?1:3})}}),(0,o.createComponentVNode)(2,a.Box,{mt:2}),(0,o.createComponentVNode)(2,a.Button,{icon:"sign-out-alt",content:"Vent Controls",onClick:function(){return d("vents")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:"filter",content:"Scrubber Controls",onClick:function(){return d("scrubbers")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:"cog",content:"Operating Mode",onClick:function(){return d("modes")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:"chart-bar",content:"Alarm Thresholds",onClick:function(){return d("thresholds")}})],4)},N=function(e,n){var t=(0,c.useBackend)(n).data.vents;return t&&0!==t.length?t.map((function(e){return(0,o.createComponentVNode)(2,s.Vent,{vent:e},e.id_tag)})):"Nothing to show"},V=function(e,n){var t=(0,c.useBackend)(n).data.scrubbers;return t&&0!==t.length?t.map((function(e){return(0,o.createComponentVNode)(2,s.Scrubber,{scrubber:e},e.id_tag)})):"Nothing to show"},b=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.modes;return i&&0!==i.length?i.map((function(e){return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:e.selected?"check-square-o":"square-o",selected:e.selected,color:e.selected&&e.danger&&"danger",content:e.name,onClick:function(){return r("mode",{mode:e.mode})}}),(0,o.createComponentVNode)(2,a.Box,{mt:1})],4,e.mode)})):"Nothing to show"},f=function(e,n){var t=(0,c.useBackend)(n),l=t.act,d=t.data.thresholds;return(0,o.createVNode)(1,"table","LabeledList",[(0,o.createVNode)(1,"thead",null,(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td"),(0,o.createVNode)(1,"td","color-bad","min2",16),(0,o.createVNode)(1,"td","color-average","min1",16),(0,o.createVNode)(1,"td","color-average","max1",16),(0,o.createVNode)(1,"td","color-bad","max2",16)],4),2),(0,o.createVNode)(1,"tbody",null,d.map((function(e){return(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td","LabeledList__label",(0,o.createVNode)(1,"span","color-"+(0,i.getGasColor)(e.name),(0,i.getGasLabel)(e.name),0),2),e.settings.map((function(e){return(0,o.createVNode)(1,"td",null,(0,o.createComponentVNode)(2,a.Button,{content:(0,r.toFixed)(e.selected,2),onClick:function(){return l("threshold",{env:e.env,"var":e.val})}}),2,null,e.val)}))],0,null,e.name)})),0)],4,{style:{width:"100%"}})}},24053:function(e,n,t){"use strict";n.__esModule=!0,n.Loader=n.AlertModal=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(85952),l=t(29708);function d(e,n){return(d=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}var s=function(e){var n,t;function r(){var n;return(n=e.call(this)||this).buttonRefs=[(0,o.createRef)()],n.state={current:0},n}t=e,(n=r).prototype=Object.create(t.prototype),n.prototype.constructor=n,d(n,t);var s=r.prototype;return s.componentDidMount=function(){for(var e=(0,c.useBackend)(this.context).data.buttons,n=this.state.current,t=this.buttonRefs[n].current,r=1;r=t.length?e=n?e-1:0:e<0&&(e=n?0:t.length-1);var o=this.buttonRefs[e].current;o&&setTimeout((function(){return o.focus()}),1),this.setState({current:e})},s.render=function(){var e=this,n=(0,c.useBackend)(this.context),t=n.act,r=n.data,d=r.title,s=r.message,m=r.buttons,p=r.timeout,C=this.state.current,h=function(){return e.setCurrent(C,!1)},N=Math.max(150,s.length);return(0,o.createComponentVNode)(2,i.Window,{title:d,theme:"abstract",width:350,height:N,canClose:p>0,children:[p&&(0,o.createComponentVNode)(2,u,{value:p}),(0,o.createComponentVNode)(2,i.Window.Content,{onFocus:h,onClick:h,children:(0,o.createComponentVNode)(2,a.Section,{fill:!0,children:(0,o.createComponentVNode)(2,a.Flex,{direction:"column",height:"100%",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Flex,{direction:"column",className:"AlertModal__Message",height:"100%",children:(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Box,{m:1,children:s})})})}),(0,o.createComponentVNode)(2,a.Flex.Item,{my:2,children:(0,o.createComponentVNode)(2,a.Flex,{className:"AlertModal__Buttons",wrap:!0,children:m.map((function(n,r){return(0,o.createComponentVNode)(2,a.Flex.Item,{mx:1,my:.5,children:(0,o.createVNode)(1,"div","Button Button--color--default",n,0,{px:3,onClick:function(){return t("choose",{choice:n})},onKeyDown:function(o){var r=window.event?o.which:o.keyCode;r===l.KEY_SPACE||r===l.KEY_ENTER?t("choose",{choice:n}):r===l.KEY_LEFT||o.shiftKey&&r===l.KEY_TAB?e.setCurrent(C-1,r===l.KEY_LEFT):r!==l.KEY_RIGHT&&r!==l.KEY_TAB||e.setCurrent(C+1,r===l.KEY_RIGHT)}},null,e.buttonRefs[r])},r)}))})})]})})})]})},r}(o.Component);n.AlertModal=s;var u=function(e){var n=e.value;return(0,o.createVNode)(1,"div","AlertModal__Loader",(0,o.createComponentVNode)(2,a.Box,{className:"AlertModal__LoaderProgress",style:{width:100*(0,r.clamp01)(n)+"%"}}),2)};n.Loader=u},34847:function(e,n,t){"use strict";n.__esModule=!0,n.AlgaeFarm=void 0;var o=t(39812),r=t(71494),c=t(74814),a=(t(58083),t(85952)),i=(t(41860),t(2497));n.AlgaeFarm=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.usePower,u=d.materials,m=d.last_flow_rate,p=d.last_power_draw,C=d.inputDir,h=d.outputDir,N=d.input,V=d.output,b=d.errorText;return(0,o.createComponentVNode)(2,a.Window,{width:500,height:300,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[b&&(0,o.createComponentVNode)(2,c.NoticeBox,{warning:!0,children:(0,o.createComponentVNode)(2,c.Box,{display:"inline-block",verticalAlign:"middle",children:b})}),(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",content:"Processing",selected:2===s,onClick:function(){return l("toggle")}}),children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Flow Rate",children:[m," L/s"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power Draw",children:[p," W"]}),(0,o.createComponentVNode)(2,c.LabeledList.Divider,{size:1}),u.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:(0,i.capitalize)(e.display),children:[(0,o.createComponentVNode)(2,c.ProgressBar,{width:"80%",value:e.qty,maxValue:e.max,children:[e.qty,"/",e.max]}),(0,o.createComponentVNode)(2,c.Button,{ml:1,content:"Eject",onClick:function(){return l("ejectMaterial",{mat:e.name})}})]},e.name)}))]}),(0,o.createComponentVNode)(2,c.Table,{mt:1,children:(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Section,{title:"Gas Input ("+C+")",children:N?(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Total Pressure",children:[N.pressure," kPa"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:N.name,children:[N.percent,"% (",N.moles," moles)"]})]}):(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No connection detected."})})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Section,{title:"Gas Output ("+h+")",children:V?(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Total Pressure",children:[V.pressure," kPa"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:V.name,children:[V.percent,"% (",V.moles," moles)"]})]}):(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No connection detected."})})})]})})]})]})})}},65145:function(e,n,t){"use strict";n.__esModule=!0,n.AppearanceChanger=void 0;var o=t(39812),r=t(64499),c=t(2497),a=t(71494),i=t(74814),l=t(85952);n.AppearanceChanger=function(e,n){var t=(0,a.useBackend)(n),r=(t.act,t.config),V=t.data,b=V.name,f=V.specimen,g=V.gender,k=V.gender_id,v=V.hair_style,B=V.facial_hair_style,L=V.ear_style,_=V.tail_style,x=V.wing_style,w=V.change_race,S=V.change_gender,I=V.change_eye_color,y=V.change_skin_tone,T=V.change_skin_color,A=V.change_hair_color,P=V.change_facial_hair_color,M=V.change_hair,F=V.change_facial_hair,R=V.mapRef,D=r.title,E=I||y||T||A||P,O=-1;w?O=0:S?O=1:E?O=2:M?O=4:F&&(O=5);var j=(0,a.useLocalState)(n,"tabIndex",O),W=j[0],z=j[1];return(0,o.createComponentVNode)(2,l.Window,{width:700,height:650,title:(0,c.decodeHtmlEntities)(D),children:(0,o.createComponentVNode)(2,l.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Reflection",children:(0,o.createComponentVNode)(2,i.Flex,{children:[(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Name",children:b}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Species",color:w?null:"grey",children:f}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Biological Sex",color:S?null:"grey",children:g?(0,c.capitalize)(g):"Not Set"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Gender Identity",color:E?null:"grey",children:k?(0,c.capitalize)(k):"Not Set"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Hair Style",color:M?null:"grey",children:v?(0,c.capitalize)(v):"Not Set"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Facial Hair Style",color:F?null:"grey",children:B?(0,c.capitalize)(B):"Not Set"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Ear Style",color:M?null:"grey",children:L?(0,c.capitalize)(L):"Not Set"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Tail Style",color:M?null:"grey",children:_?(0,c.capitalize)(_):"Not Set"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Wing Style",color:M?null:"grey",children:x?(0,c.capitalize)(x):"Not Set"})]})}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:(0,o.createComponentVNode)(2,i.ByondUi,{style:{width:"256px",height:"256px"},params:{id:R,type:"map"}})})]})}),(0,o.createComponentVNode)(2,i.Tabs,{children:[w?(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:0===W,onClick:function(){return z(0)},children:"Race"}):null,S?(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:1===W,onClick:function(){return z(1)},children:"Gender & Sex"}):null,E?(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:2===W,onClick:function(){return z(2)},children:"Colors"}):null,M?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:3===W,onClick:function(){return z(3)},children:"Hair"}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:5===W,onClick:function(){return z(5)},children:"Ear"}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:6===W,onClick:function(){return z(6)},children:"Tail"}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:7===W,onClick:function(){return z(7)},children:"Wing"})],4):null,F?(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:4===W,onClick:function(){return z(4)},children:"Facial Hair"}):null]}),(0,o.createComponentVNode)(2,i.Box,{height:"43%",children:[w&&0===W?(0,o.createComponentVNode)(2,d):null,S&&1===W?(0,o.createComponentVNode)(2,s):null,E&&2===W?(0,o.createComponentVNode)(2,u):null,M&&3===W?(0,o.createComponentVNode)(2,m):null,F&&4===W?(0,o.createComponentVNode)(2,p):null,M&&5===W?(0,o.createComponentVNode)(2,C):null,M&&6===W?(0,o.createComponentVNode)(2,h):null,M&&7===W?(0,o.createComponentVNode)(2,N):null]})]})})};var d=function(e,n){var t=(0,a.useBackend)(n),c=t.act,l=t.data,d=l.species,s=l.specimen,u=(0,r.sortBy)((function(e){return e.specimen}))(d||[]);return(0,o.createComponentVNode)(2,i.Section,{title:"Species",fill:!0,scrollable:!0,children:u.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{content:e.specimen,selected:s===e.specimen,onClick:function(){return c("race",{race:e.specimen})}},e.specimen)}))})},s=function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data,l=c.gender,d=c.gender_id,s=c.genders,u=c.id_genders;return(0,o.createComponentVNode)(2,i.Section,{title:"Gender & Sex",fill:!0,scrollable:!0,children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Biological Sex",children:s.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{selected:e.gender_key===l,content:e.gender_name,onClick:function(){return r("gender",{gender:e.gender_key})}},e.gender_key)}))}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Gender Identity",children:u.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{selected:e.gender_key===d,content:e.gender_name,onClick:function(){return r("gender_id",{gender_id:e.gender_key})}},e.gender_key)}))})]})})},u=function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data,l=c.change_eye_color,d=c.change_skin_tone,s=c.change_skin_color,u=c.change_hair_color,m=c.change_facial_hair_color,p=c.eye_color,C=c.skin_color,h=c.hair_color,N=c.facial_hair_color,V=c.ears_color,b=c.ears2_color,f=c.tail_color,g=c.tail2_color,k=c.wing_color,v=c.wing2_color;return(0,o.createComponentVNode)(2,i.Section,{title:"Colors",fill:!0,scrollable:!0,children:[l?(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.ColorBox,{color:p,mr:1}),(0,o.createComponentVNode)(2,i.Button,{content:"Change Eye Color",onClick:function(){return r("eye_color")}})]}):null,d?(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{content:"Change Skin Tone",onClick:function(){return r("skin_tone")}})}):null,s?(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.ColorBox,{color:C,mr:1}),(0,o.createComponentVNode)(2,i.Button,{content:"Change Skin Color",onClick:function(){return r("skin_color")}})]}):null,u?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.ColorBox,{color:h,mr:1}),(0,o.createComponentVNode)(2,i.Button,{content:"Change Hair Color",onClick:function(){return r("hair_color")}})]}),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.ColorBox,{color:V,mr:1}),(0,o.createComponentVNode)(2,i.Button,{content:"Change Ears Color",onClick:function(){return r("ears_color")}})]}),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.ColorBox,{color:b,mr:1}),(0,o.createComponentVNode)(2,i.Button,{content:"Change Secondary Ears Color",onClick:function(){return r("ears2_color")}})]}),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.ColorBox,{color:f,mr:1}),(0,o.createComponentVNode)(2,i.Button,{content:"Change Tail Color",onClick:function(){return r("tail_color")}})]}),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.ColorBox,{color:g,mr:1}),(0,o.createComponentVNode)(2,i.Button,{content:"Change Secondary Tail Color",onClick:function(){return r("tail2_color")}})]}),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.ColorBox,{color:k,mr:1}),(0,o.createComponentVNode)(2,i.Button,{content:"Change Wing Color",onClick:function(){return r("wing_color")}})]}),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.ColorBox,{color:v,mr:1}),(0,o.createComponentVNode)(2,i.Button,{content:"Change Secondary Wing Color",onClick:function(){return r("wing2_color")}})]})],4):null,m?(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.ColorBox,{color:N,mr:1}),(0,o.createComponentVNode)(2,i.Button,{content:"Change Facial Hair Color",onClick:function(){return r("facial_hair_color")}})]}):null]})},m=function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data,l=c.hair_style,d=c.hair_styles;return(0,o.createComponentVNode)(2,i.Section,{title:"Hair",fill:!0,scrollable:!0,children:d.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{onClick:function(){return r("hair",{hair:e.hairstyle})},selected:e.hairstyle===l,content:e.hairstyle},e.hairstyle)}))})},p=function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data,l=c.facial_hair_style,d=c.facial_hair_styles;return(0,o.createComponentVNode)(2,i.Section,{title:"Facial Hair",fill:!0,scrollable:!0,children:d.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{onClick:function(){return r("facial_hair",{facial_hair:e.facialhairstyle})},selected:e.facialhairstyle===l,content:e.facialhairstyle},e.facialhairstyle)}))})},C=function(e,n){var t=(0,a.useBackend)(n),c=t.act,l=t.data,d=l.ear_style,s=l.ear_styles;return(0,o.createComponentVNode)(2,i.Section,{title:"Ears",fill:!0,scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Button,{onClick:function(){return c("ear",{clear:!0})},selected:null===d,content:"-- Not Set --"}),(0,r.sortBy)((function(e){return e.name.toLowerCase()}))(s).map((function(e){return(0,o.createComponentVNode)(2,i.Button,{onClick:function(){return c("ear",{ref:e.instance})},selected:e.name===d,content:e.name},e.instance)}))]})},h=function(e,n){var t=(0,a.useBackend)(n),c=t.act,l=t.data,d=l.tail_style,s=l.tail_styles;return(0,o.createComponentVNode)(2,i.Section,{title:"Tails",fill:!0,scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Button,{onClick:function(){return c("tail",{clear:!0})},selected:null===d,content:"-- Not Set --"}),(0,r.sortBy)((function(e){return e.name.toLowerCase()}))(s).map((function(e){return(0,o.createComponentVNode)(2,i.Button,{onClick:function(){return c("tail",{ref:e.instance})},selected:e.name===d,content:e.name},e.instance)}))]})},N=function(e,n){var t=(0,a.useBackend)(n),c=t.act,l=t.data,d=l.wing_style,s=l.wing_styles;return(0,o.createComponentVNode)(2,i.Section,{title:"Wings",fill:!0,scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Button,{onClick:function(){return c("wing",{clear:!0})},selected:null===d,content:"-- Not Set --"}),(0,r.sortBy)((function(e){return e.name.toLowerCase()}))(s).map((function(e){return(0,o.createComponentVNode)(2,i.Button,{onClick:function(){return c("wing",{ref:e.instance})},selected:e.name===d,content:e.name},e.instance)}))]})}},86776:function(e,n,t){"use strict";n.__esModule=!0,n.ArcadeBattle=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.ArcadeBattle=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=(l.name,l.temp),s=l.enemyAction,u=l.enemyName,m=l.playerHP,p=l.playerMP,C=l.enemyHP,h=(l.enemyMP,l.gameOver);return(0,o.createComponentVNode)(2,a.Window,{width:400,height:240,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{title:u,textAlign:"center",children:[(0,o.createComponentVNode)(2,c.Section,{color:"label",children:[(0,o.createComponentVNode)(2,c.Box,{children:d}),(0,o.createComponentVNode)(2,c.Box,{children:!h&&s})]}),(0,o.createComponentVNode)(2,c.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Player Health",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:m,minValue:0,maxValue:30,ranges:{olive:[31,Infinity],good:[20,31],average:[10,20],bad:[-Infinity,10]},children:[m,"HP"]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Player Magic",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:p,minValue:0,maxValue:10,ranges:{purple:[11,Infinity],violet:[3,11],bad:[-Infinity,3]},children:[p,"MP"]})})]})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Enemy HP",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:C,minValue:0,maxValue:45,ranges:{olive:[31,Infinity],good:[20,31],average:[10,20],bad:[-Infinity,10]},children:[C,"HP"]})})})})]}),h&&(0,o.createComponentVNode)(2,c.Button,{fluid:!0,mt:1,color:"green",content:"New Game",onClick:function(){return i("newgame")}})||(0,o.createComponentVNode)(2,c.Flex,{mt:2,justify:"space-between",spacing:1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"fist-raised",tooltip:"Go in for the kill!",tooltipPosition:"top",onClick:function(){return i("attack")},content:"Attack!"})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"band-aid",tooltip:"Heal yourself!",tooltipPosition:"top",onClick:function(){return i("heal")},content:"Heal!"})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"magic",tooltip:"Recharge your magic!",tooltipPosition:"top",onClick:function(){return i("charge")},content:"Recharge!"})})]})]})})})}},13496:function(e,n,t){"use strict";n.__esModule=!0,n.AreaScrubberControl=void 0;var o=t(39812),r=t(74814),c=t(71494),a=t(85952),i=t(2497);n.AreaScrubberControl=function(e,n){var t=(0,c.useBackend)(n),i=t.act,d=t.data,s=(0,c.useLocalState)(n,"showArea",!1),u=s[0],m=s[1],p=d.scrubbers;return p?(0,o.createComponentVNode)(2,a.Window,{width:600,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,r.Section,{children:[(0,o.createComponentVNode)(2,r.Flex,{wrap:"wrap",children:[(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"search",content:"Scan",onClick:function(){return i("scan")}})}),(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"layer-group",content:"Show Areas",selected:u,onClick:function(){return m(!u)}})}),(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"toggle-on",content:"All On",onClick:function(){return i("allon")}})}),(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"toggle-off",content:"All Off",onClick:function(){return i("alloff")}})})]}),(0,o.createComponentVNode)(2,r.Flex,{wrap:"wrap",children:p.map((function(e){return(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"32%",children:(0,o.createComponentVNode)(2,l,{scrubber:e,showArea:u})},e.id)}))})]})})}):(0,o.createComponentVNode)(2,r.Section,{title:"Error",children:[(0,o.createComponentVNode)(2,r.Box,{color:"bad",children:"No Scrubbers Detected."}),(0,o.createComponentVNode)(2,r.Button,{fluid:!0,icon:"search",content:"Scan",onClick:function(){return i("scan")}})]})};var l=function(e,n){var t=(0,c.useBackend)(n).act,a=e.scrubber,l=e.showArea;return(0,o.createComponentVNode)(2,r.Section,{title:a.name,children:[(0,o.createComponentVNode)(2,r.Button,{fluid:!0,icon:"power-off",content:a.on?"Enabled":"Disabled",selected:a.on,onClick:function(){return t("toggle",{id:a.id})}}),(0,o.createComponentVNode)(2,r.LabeledList,{children:[(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Pressure",children:[a.pressure," kPa"]}),(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Flow Rate",children:[a.flow_rate," L/s"]}),(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Load",children:[a.load," W"]}),l&&(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Area",children:(0,i.toTitleCase)(a.area)})]})]})}},56404:function(e,n,t){"use strict";n.__esModule=!0,n.AssemblyInfrared=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.AssemblyInfrared=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.on,s=l.visible;return(0,o.createComponentVNode)(2,a.Window,{children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{title:"Infrared Unit",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Laser",children:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",fluid:!0,selected:d,onClick:function(){return i("state")},children:d?"On":"Off"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Visibility",children:(0,o.createComponentVNode)(2,c.Button,{icon:"eye",fluid:!0,selected:s,onClick:function(){return i("visible")},children:s?"Able to be seen":"Invisible"})})]})})})})}},29632:function(e,n,t){"use strict";n.__esModule=!0,n.AssemblyProx=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(85952),l=t(58083);n.AssemblyProx=function(e,n){var t=(0,c.useBackend)(n),d=t.act,s=t.data,u=s.timing,m=s.time,p=s.range,C=s.maxRange,h=s.scanning;return(0,o.createComponentVNode)(2,i.Window,{children:(0,o.createComponentVNode)(2,i.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Timing Unit",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Timer",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"stopwatch",selected:u,onClick:function(){return d("timing")},children:u?"Counting Down":"Disabled"}),children:(0,o.createComponentVNode)(2,a.NumberInput,{animated:!0,fluid:!0,value:m/10,minValue:0,maxValue:600,format:function(e){return(0,l.formatTime)((0,r.round)(e))},onDrag:function(e,n){return d("set_time",{time:n})}})})})}),(0,o.createComponentVNode)(2,a.Section,{title:"Prox Unit",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Range",children:(0,o.createComponentVNode)(2,a.NumberInput,{minValue:1,value:p,maxValue:C,onDrag:function(e,n){return d("range",{range:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Armed",children:[(0,o.createComponentVNode)(2,a.Button,{mr:1,icon:h?"lock":"lock-open",selected:h,onClick:function(){return d("scanning")},children:h?"ARMED":"Unarmed"}),"Movement sensor is active when armed!"]})]})})]})})}},48661:function(e,n,t){"use strict";n.__esModule=!0,n.AssemblyTimer=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(85952),l=t(58083);n.AssemblyTimer=function(e,n){var t=(0,c.useBackend)(n),d=t.act,s=t.data,u=s.timing,m=s.time;return(0,o.createComponentVNode)(2,i.Window,{children:(0,o.createComponentVNode)(2,i.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Timing Unit",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Timer",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"stopwatch",selected:u,onClick:function(){return d("timing")},children:u?"Counting Down":"Disabled"}),children:(0,o.createComponentVNode)(2,a.NumberInput,{animated:!0,fluid:!0,value:m/10,minValue:0,maxValue:600,format:function(e){return(0,l.formatTime)((0,r.round)(e))},onDrag:function(e,n){return d("set_time",{time:n})}})})})})})})}},38531:function(e,n,t){"use strict";n.__esModule=!0,n.AtmosAlertConsole=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.AtmosAlertConsole=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.priority_alarms||[],s=l.minor_alarms||[];return(0,o.createComponentVNode)(2,a.Window,{width:350,height:300,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c.Section,{title:"Alarms",children:(0,o.createVNode)(1,"ul",null,[0===d.length&&(0,o.createVNode)(1,"li","color-good","No Priority Alerts",16),d.map((function(e){return(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,c.Button,{icon:"times",content:e.name,color:"bad",onClick:function(){return i("clear",{ref:e.ref})}}),2,null,e.name)})),0===s.length&&(0,o.createVNode)(1,"li","color-good","No Minor Alerts",16),s.map((function(e){return(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,c.Button,{icon:"times",content:e.name,color:"average",onClick:function(){return i("clear",{ref:e.ref})}}),2,null,e.name)}))],0)})})})}},46566:function(e,n,t){"use strict";n.__esModule=!0,n.AtmosControlContent=n.AtmosControl=void 0;var o=t(39812),r=t(64499),c=t(85952),a=t(74814),i=t(71494);(0,t(88654).createLogger)("fuck");n.AtmosControl=function(e,n){return(0,o.createComponentVNode)(2,c.Window,{width:600,height:440,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,n){var t,c=(0,i.useBackend)(n),l=c.act,d=c.data,s=c.config,u=(0,r.sortBy)((function(e){return e.name}))(d.alarms||[]),m=(0,i.useLocalState)(n,"tabIndex",0),p=m[0],C=m[1],h=(0,i.useLocalState)(n,"zoom",1),N=h[0],V=h[1];return 0===p?t=(0,o.createComponentVNode)(2,a.Section,{title:"Alarms",children:u.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{content:e.name,color:2===e.danger?"bad":1===e.danger?"average":"",onClick:function(){return l("alarm",{alarm:e.ref})}},e.name)}))}):1===p&&(t=(0,o.createComponentVNode)(2,a.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,o.createComponentVNode)(2,a.NanoMap,{onZoom:function(e){return V(e)},children:u.filter((function(e){return~~e.z==~~s.mapZLevel})).map((function(e){return(0,o.createComponentVNode)(2,a.NanoMap.Marker,{x:e.x,y:e.y,zoom:N,icon:"bell",tooltip:e.name,color:e.danger?"red":"green",onClick:function(){return l("alarm",{alarm:e.ref})}},e.ref)}))})})),(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===p,onClick:function(){return C(0)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"table"})," Alarm View"]},"AlarmView"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===p,onClick:function(){return C(1)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),(0,o.createComponentVNode)(2,a.Box,{m:2,children:t})],4)};n.AtmosControlContent=l},2726:function(e,n,t){"use strict";n.__esModule=!0,n.AtmosFilter=void 0;var o=t(39812),r=t(71494),c=t(74814),a=(t(76270),t(85952));n.AtmosFilter=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.filter_types||[];return(0,o.createComponentVNode)(2,a.Window,{width:390,height:187,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,c.Button,{icon:l.on?"power-off":"times",content:l.on?"On":"Off",selected:l.on,onClick:function(){return i("power")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Transfer Rate",children:[(0,o.createComponentVNode)(2,c.Box,{inline:!0,mr:1,children:(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:l.last_flow_rate,format:function(e){return e+" L/s"}})}),(0,o.createComponentVNode)(2,c.NumberInput,{animated:!0,value:parseFloat(l.rate),width:"63px",unit:"L/s",minValue:0,maxValue:200,onDrag:function(e,n){return i("rate",{rate:n})}}),(0,o.createComponentVNode)(2,c.Button,{ml:1,icon:"plus",content:"Max",disabled:l.rate===l.max_rate,onClick:function(){return i("rate",{rate:"max"})}})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Filter",children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{selected:e.selected,content:e.name,onClick:function(){return i("filter",{filterset:e.f_type})}},e.name)}))})]})})})})}},61505:function(e,n,t){"use strict";n.__esModule=!0,n.AtmosMixer=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.AtmosMixer=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data;return(0,o.createComponentVNode)(2,a.Window,{width:370,height:195,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,c.Button,{icon:l.on?"power-off":"times",content:l.on?"On":"Off",selected:l.on,onClick:function(){return i("power")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Output Pressure",children:[(0,o.createComponentVNode)(2,c.NumberInput,{animated:!0,value:parseFloat(l.set_pressure),unit:"kPa",width:"75px",minValue:0,maxValue:l.max_pressure,step:10,onChange:function(e,n){return i("pressure",{pressure:n})}}),(0,o.createComponentVNode)(2,c.Button,{ml:1,icon:"plus",content:"Max",disabled:l.set_pressure===l.max_pressure,onClick:function(){return i("pressure",{pressure:"max"})}})]}),(0,o.createComponentVNode)(2,c.LabeledList.Divider,{size:1}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{color:"label",children:(0,o.createVNode)(1,"u",null,"Concentrations",16)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Node 1 ("+l.node1_dir+")",children:(0,o.createComponentVNode)(2,c.NumberInput,{animated:!0,value:l.node1_concentration,unit:"%",width:"60px",minValue:0,maxValue:100,stepPixelSize:2,onDrag:function(e,n){return i("node1",{concentration:n})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Node 2 ("+l.node2_dir+")",children:(0,o.createComponentVNode)(2,c.NumberInput,{animated:!0,value:l.node2_concentration,unit:"%",width:"60px",minValue:0,maxValue:100,stepPixelSize:2,onDrag:function(e,n){return i("node2",{concentration:n})}})})]})})})})}},99994:function(e,n,t){"use strict";n.__esModule=!0,n.Autolathe=void 0;var o=t(39812),r=(t(41860),t(85531)),c=t(64499),a=t(71494),i=t(74814),l=t(85952),d=t(95481),s=t(2497),u=function(e,n,t){if(void 0===t&&(t=1),null===e.requirements)return!0;for(var o=Object.keys(e.requirements),r=function(){var o=a[c],r=n.find((function(e){return e.name===o}));return r?r.amount=e[1].price/d.build_eff,e[1]})).sort(l[N]);if(0!==t.length)return b&&(t=t.reverse()),g=!0,(0,o.createComponentVNode)(2,m,{title:e[0],items:t},e[0])}));return(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",overflow:"auto",children:(0,o.createComponentVNode)(2,a.Section,{onClick:function(e){return(0,i.refocusLayout)()},children:g?k:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No items matching your criteria was found!"})})})},s=function(e,n){var t=(0,c.useLocalState)(n,"search",""),r=(t[0],t[1]),i=(0,c.useLocalState)(n,"sort",""),d=(i[0],i[1]),s=(0,c.useLocalState)(n,"descending",!1),u=s[0],m=s[1];return(0,o.createComponentVNode)(2,a.Box,{mb:"0.5rem",children:(0,o.createComponentVNode)(2,a.Flex,{width:"100%",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",mr:"0.5rem",children:(0,o.createComponentVNode)(2,a.Input,{placeholder:"Search by item name..",width:"100%",onInput:function(e,n){return r(n)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"30%",children:(0,o.createComponentVNode)(2,a.Dropdown,{selected:"Alphabetical",options:Object.keys(l),width:"100%",lineHeight:"19px",onSelected:function(e){return d(e)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{icon:u?"arrow-down":"arrow-up",height:"19px",tooltip:u?"Descending order":"Ascending order",tooltipPosition:"bottom-end",ml:"0.5rem",onClick:function(){return m(!u)}})})]})})},u=function(e,n){return!!e.affordable&&!(e.reagent&&!n.beaker)},m=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=e.title,d=e.items,s=function(e,n){if(null==e)return{};var t,o,r={},c=Object.keys(e);for(o=0;o=0||(r[t]=e[t]);return r}(e,["title","items"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.Collapsible,Object.assign({open:!0,title:l},s,{children:d.map((function(e){return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",lineHeight:"20px",style:{float:"left"},children:e.name}),(0,o.createComponentVNode)(2,a.Button,{disabled:!u(e,i),content:(e.price/i.build_eff).toLocaleString("en-US"),width:"15%",textAlign:"center",style:{float:"right"},onClick:function(){return r("purchase",{cat:l,name:e.name})}}),(0,o.createComponentVNode)(2,a.Box,{style:{clear:"both"}})]},e.name)}))})))}},81850:function(e,n,t){"use strict";n.__esModule=!0,n.BodyDesigner=void 0;var o=t(39812),r=t(2497),c=t(71494),a=t(74814),i=t(85952);n.BodyDesigner=function(e,n){var t=(0,c.useBackend)(n),r=t.act,d=t.data,s=d.menu,u=d.disk,m=d.diskStored,p=d.activeBodyRecord,C=l[s];return(0,o.createComponentVNode)(2,i.Window,{width:400,height:650,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:[u?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"save",content:"Save To Disk",onClick:function(){return r("savetodisk")},disabled:!p}),(0,o.createComponentVNode)(2,a.Button,{icon:"save",content:"Load From Disk",onClick:function(){return r("loadfromdisk")},disabled:!m}),(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject",onClick:function(){return r("ejectdisk")}})]}):null,C]})})};var l={Main:(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n),r=t.act;t.data;return(0,o.createComponentVNode)(2,a.Section,{title:"Database Functions",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:"View Individual Body Records",onClick:function(){return r("menu",{menu:"Body Records"})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:"View Stock Body Records",onClick:function(){return r("menu",{menu:"Stock Records"})}})]})})),"Body Records":(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.bodyrecords;return(0,o.createComponentVNode)(2,a.Section,{title:"Body Records",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return r("menu",{menu:"Main"})}}),children:i.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:e.name,onClick:function(){return r("view_brec",{view_brec:e.recref})}},e.name)}))})})),"Stock Records":(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.stock_bodyrecords;return(0,o.createComponentVNode)(2,a.Section,{title:"Stock Records",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return r("menu",{menu:"Main"})}}),children:i.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:e,onClick:function(){return r("view_stock_brec",{view_stock_brec:e})}},e)}))})})),"Specific Record":(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,d=l.activeBodyRecord,s=l.mapRef;return d?(0,o.createComponentVNode)(2,a.Flex,{direction:"column",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"165px",children:(0,o.createComponentVNode)(2,a.Section,{title:"Specific Record",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return i("menu",{menu:"Main"})}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:d.real_name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Species",children:d.speciesname}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Bio. Sex",children:(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:(0,r.capitalize)(d.gender),onClick:function(){return i("href_conversion",{target_href:"bio_gender",target_value:1})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Synthetic",children:d.synthetic}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Compat",children:[d.locked,(0,o.createComponentVNode)(2,a.Button,{ml:1,icon:"eye",content:"View OOC Notes",disabled:!d.booc,onClick:function(){return i("boocnotes")}})]})]})})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"130px",children:(0,o.createComponentVNode)(2,a.ByondUi,{style:{width:"100%",height:"128px"},params:{id:s,type:"map"}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"300px",children:(0,o.createComponentVNode)(2,a.Section,{title:"Customize",height:"300px",style:{overflow:"auto"},children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Scale",children:(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:d.scale,onClick:function(){return i("href_conversion",{target_href:"size_multiplier",target_value:1})}})}),Object.keys(d.styles).map((function(e){var n=d.styles[e];return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,children:[n.styleHref?(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:n.style,onClick:function(){return i("href_conversion",{target_href:n.styleHref,target_value:1})}}):null,n.colorHref?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:n.color,onClick:function(){return i("href_conversion",{target_href:n.colorHref,target_value:1})}}),(0,o.createComponentVNode)(2,a.ColorBox,{verticalAlign:"top",width:"32px",height:"20px",color:n.color,style:{border:"1px solid #fff"}})]}):null,n.colorHref2?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:n.color2,onClick:function(){return i("href_conversion",{target_href:n.colorHref2,target_value:1})}}),(0,o.createComponentVNode)(2,a.ColorBox,{verticalAlign:"top",width:"32px",height:"20px",color:n.color2,style:{border:"1px solid #fff"}})]}):null]},e)})),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Body Markings",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"plus",content:"Add Marking",onClick:function(){return i("href_conversion",{target_href:"marking_style",target_value:1})}}),(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",justify:"center",align:"center",children:Object.keys(d.markings).map((function(e){var n=d.markings[e];return(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"100%",children:(0,o.createComponentVNode)(2,a.Flex,{children:[(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{mr:.2,fluid:!0,icon:"times",color:"red",onClick:function(){return i("href_conversion",{target_href:"marking_remove",target_value:e})}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,backgroundColor:n,content:e,onClick:function(){return i("href_conversion",{target_href:"marking_color",target_value:e})}})})]})},e)}))})]})]})})})]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR: Record Not Found!"})})),"OOC Notes":(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.activeBodyRecord;return(0,o.createComponentVNode)(2,a.Section,{title:"Body OOC Notes (This is OOC!)",height:"100%",scrollable:!0,buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return r("menu",{menu:"Specific Record"})}}),style:{"word-break":"break-all"},children:i&&i.booc||"ERROR: Body record not found!"})}))}},6060:function(e,n,t){"use strict";n.__esModule=!0,n.BodyScanner=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(85952),l=[["good","Alive"],["average","Unconscious"],["bad","DEAD"]],d=[["hasBorer","bad",function(e){return"Large growth detected in frontal lobe, possibly cancerous. Surgical removal is recommended."}],["hasVirus","bad",function(e){return"Viral pathogen detected in blood stream."}],["blind","average",function(e){return"Cataracts detected."}],["colourblind","average",function(e){return"Photoreceptor abnormalities detected."}],["nearsighted","average",function(e){return"Retinal misalignment detected."}],["humanPrey","average",function(e){return"Foreign Humanoid(s) detected: "+e.humanPrey}],["livingPrey","average",function(e){return"Foreign Creature(s) detected: "+e.livingPrey}],["objectPrey","average",function(e){return"Foreign Object(s) detected: "+e.objectPrey}]],s=[["Respiratory","oxyLoss"],["Brain","brainLoss"],["Toxin","toxLoss"],["Radiation","radLoss"],["Brute","bruteLoss"],["Genetic","cloneLoss"],["Burn","fireLoss"],["Paralysis","paralysis"]],u={average:[.25,.5],bad:[.5,Infinity]},m=function(e,n){for(var t=[],o=0;o0?e.reduce((function(e,n){return null===e?n:(0,o.createFragment)([e,!!n&&(0,o.createComponentVNode)(2,a.Box,{children:n})],0)})):null},C=function(e){if(e>100){if(e<300)return"mild infection";if(e<400)return"mild infection+";if(e<500)return"mild infection++";if(e<700)return"acute infection";if(e<800)return"acute infection+";if(e<900)return"acute infection++";if(e>=900)return"septic"}return""};n.BodyScanner=function(e,n){var t=(0,c.useBackend)(n).data,r=t.occupied,a=t.occupant,l=void 0===a?{}:a,d=r?(0,o.createComponentVNode)(2,h,{occupant:l}):(0,o.createComponentVNode)(2,B);return(0,o.createComponentVNode)(2,i.Window,{width:690,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:d})})};var h=function(e){var n=e.occupant;return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,N,{occupant:n}),(0,o.createComponentVNode)(2,V,{occupant:n}),(0,o.createComponentVNode)(2,b,{occupant:n}),(0,o.createComponentVNode)(2,f,{occupant:n}),(0,o.createComponentVNode)(2,k,{organs:n.extOrgan}),(0,o.createComponentVNode)(2,v,{organs:n.intOrgan})]})},N=function(e,n){var t=(0,c.useBackend)(n),i=t.act,d=t.data,s=d.occupant;return(0,o.createComponentVNode)(2,a.Section,{title:"Occupant",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"user-slash",onClick:function(){return i("ejectify")},children:"Eject"}),(0,o.createComponentVNode)(2,a.Button,{icon:"print",onClick:function(){return i("print_p")},children:"Print Report"})],4),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:s.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:s.maxHealth,value:s.health/s.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",color:l[s.stat][0],children:l[s.stat][1]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Temperature",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(s.bodyTempC,0)}),"\xb0C,\xa0",(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(s.bodyTempF,0)}),"\xb0F"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Blood Volume",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(s.blood.volume,0)})," units\xa0(",(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(s.blood.percent,0)}),"%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Weight",children:(0,r.round)(d.occupant.weight)+"lbs, "+(0,r.round)(d.occupant.weight/2.20463)+"kgs"})]})})},V=function(e){var n=e.occupant;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Blood Reagents",children:n.reagents?(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Reagent"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:"Amount"})]}),n.reagents.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:[e.amount," Units ",e.overdose?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"OVERDOSING"}):null]})]},e.name)}))]}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"No Blood Reagents Detected"})}),(0,o.createComponentVNode)(2,a.Section,{title:"Stomach Reagents",children:n.ingested?(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Reagent"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:"Amount"})]}),n.ingested.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:[e.amount," Units ",e.overdose?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"OVERDOSING"}):null]})]},e.name)}))]}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"No Stomach Reagents Detected"})})],4)},b=function(e){var n=e.occupant,t=n.hasBorer||n.blind||n.colourblind||n.nearsighted||n.hasVirus;return(t=t||n.humanPrey||n.livingPrey||n.objectPrey)?(0,o.createComponentVNode)(2,a.Section,{title:"Abnormalities",children:d.map((function(e,t){if(n[e[0]])return(0,o.createComponentVNode)(2,a.Box,{color:e[1],bold:"bad"===e[1],children:e[2](n)})}))}):(0,o.createComponentVNode)(2,a.Section,{title:"Abnormalities",children:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No abnormalities found."})})},f=function(e){var n=e.occupant;return(0,o.createComponentVNode)(2,a.Section,{title:"Damage",children:(0,o.createComponentVNode)(2,a.Table,{children:m(s,(function(e,t,r){return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Table.Row,{color:"label",children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:[e[0],":"]}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:!!t&&t[0]+":"})]}),(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:(0,o.createComponentVNode)(2,g,{value:n[e[1]],marginBottom:r0&&"0.5rem",value:e.totalLoss/100,ranges:u,children:[(0,o.createComponentVNode)(2,a.Box,{float:"left",inline:!0,children:[!!e.bruteLoss&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bone"}),(0,r.round)(e.bruteLoss,0),"\xa0",(0,o.createComponentVNode)(2,a.Tooltip,{position:"top",content:"Brute damage"})]}),!!e.fireLoss&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"fire"}),(0,r.round)(e.fireLoss,0),(0,o.createComponentVNode)(2,a.Tooltip,{position:"top",content:"Burn damage"})]})]}),(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:(0,r.round)(e.totalLoss,0)})]})}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",width:"33%",children:[(0,o.createComponentVNode)(2,a.Box,{color:"average",inline:!0,children:p([e.internalBleeding&&"Internal bleeding",!!e.status.bleeding&&"External bleeding",e.lungRuptured&&"Ruptured lung",e.destroyed&&"Destroyed",!!e.status.broken&&e.status.broken,C(e.germ_level),!!e.open&&"Open incision"])}),(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:[p([!!e.status.splinted&&"Splinted",!!e.status.robotic&&"Robotic",!!e.status.dead&&(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"DEAD"})]),p(e.implants.map((function(e){return e.known?e.name:"Unknown object"})))]})]})]},n)}))]})})},v=function(e){return 0===e.organs.length?(0,o.createComponentVNode)(2,a.Section,{title:"Internal Organs",children:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"N/A"})}):(0,o.createComponentVNode)(2,a.Section,{title:"Internal Organs",children:(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"center",children:"Damage"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:"Injuries"})]}),e.organs.map((function(e,n){return(0,o.createComponentVNode)(2,a.Table.Row,{textTransform:"capitalize",children:[(0,o.createComponentVNode)(2,a.Table.Cell,{width:"33%",children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"center",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:e.maxHealth,value:e.damage/100,mt:n>0&&"0.5rem",ranges:u,children:(0,r.round)(e.damage,0)})}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",width:"33%",children:[(0,o.createComponentVNode)(2,a.Box,{color:"average",inline:!0,children:p([C(e.germ_level),!!e.inflamed&&"Appendicitis detected."])}),(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:p([1===e.robotic&&"Robotic",2===e.robotic&&"Assisted",!!e.dead&&(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"DEAD"})])})]})]},n)}))]})})},B=function(){return(0,o.createComponentVNode)(2,a.Section,{textAlign:"center",flexGrow:"1",children:(0,o.createComponentVNode)(2,a.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant detected."]})})})}},74639:function(e,n,t){"use strict";n.__esModule=!0,n.BombTester=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);t(88654);function i(e,n){return(i=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}n.BombTester=function(e,n){var t=(0,r.useBackend)(n),i=t.act,d=t.data,s=d.simulating,u=d.mode,m=d.tank1,p=d.tank1ref,C=d.tank2,h=d.tank2ref,N=d.canister,V=d.sim_canister_output;return(0,o.createComponentVNode)(2,a.Window,{width:450,height:400,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:s&&(0,o.createComponentVNode)(2,l)||(0,o.createComponentVNode)(2,c.Section,{title:"Virtual Explosive Simulator v2.01",children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Mode",children:[(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("set_mode",{mode:1})},selected:1===u,children:"Single Tank"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("set_mode",{mode:2})},selected:2===u,children:"Transfer Valve"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("set_mode",{mode:3})},selected:3===u,children:"Canister"})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Primary Slot",children:m&&(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("remove_tank",{ref:p})},icon:"eject",children:m})||(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("add_tank",{slot:1})},icon:"upload",children:"Insert Tank"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Secondary Slot",children:C&&(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("remove_tank",{ref:h})},icon:"eject",children:C})||(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("add_tank",{slot:2})},icon:"upload",children:"Insert Tank"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Connected Canister",buttons:(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("canister_scan")},icon:"search",children:"Scan"}),children:N&&(0,o.createComponentVNode)(2,c.Box,{color:"label",children:N})||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No tank connected."})}),N&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Canister Release Pressure",children:(0,o.createComponentVNode)(2,c.Slider,{minValue:0,value:V,maxValue:1013.25,onDrag:function(e,n){return i("set_can_pressure",{pressure:n})}})})]}),(0,o.createComponentVNode)(2,c.Button,{mt:2,color:"red",icon:"bomb",fontSize:2,onClick:function(){return i("start_sim")},fluid:!0,children:"Begin Simulation"})]})})})};var l=function(e){var n,t;function r(n){var t;t=e.call(this,n)||this;var o=Math.random()>.5,r=Math.random()>.5;return t.state={x:o?340:0,y:r?205:0,reverseX:!1,reverseY:!1},t.process=setInterval((function(){t.setState((function(e){var n=Object.assign({},e);return n.reverseX?n.x-2<-5?(n.reverseX=!1,n.x+=2):n.x-=2:n.x+2>340?(n.reverseX=!0,n.x-=2):n.x+=2,n.reverseY?n.y-2<-20?(n.reverseY=!1,n.y+=2):n.y-=2:n.y+2>205?(n.reverseY=!0,n.y-=2):n.y+=2,n}))}),1),t}t=e,(n=r).prototype=Object.create(t.prototype),n.prototype.constructor=n,i(n,t);var a=r.prototype;return a.componentWillUnmount=function(){clearInterval(this.process)},a.render=function(){var e=this.state,n={position:"relative",left:e.x+"px",top:e.y+"px"};return(0,o.createComponentVNode)(2,c.Section,{title:"Simulation in progress!",fill:!0,children:(0,o.createComponentVNode)(2,c.Box,{position:"absolute",style:{overflow:"hidden",width:"100%",height:"100%"},children:(0,o.createComponentVNode)(2,c.Icon,{style:n,name:"bomb",size:10,color:"red"})})})},r}(o.Component)},48693:function(e,n,t){"use strict";n.__esModule=!0,n.BotanyEditor=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.BotanyEditor=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.activity,s=l.degradation,u=l.disk,m=l.sourceName,p=l.locus,C=l.loaded;return d?(0,o.createComponentVNode)(2,a.Window,{width:470,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c.NoticeBox,{info:!0,children:"Scanning..."})})}):(0,o.createComponentVNode)(2,a.Window,{width:470,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Buffered Genetic Data",children:u&&(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Source",children:m}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Gene Decay",children:[s,"%"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Locus",children:p})]}),(0,o.createComponentVNode)(2,c.Button,{mt:1,icon:"eject",onClick:function(){return i("eject_disk")},children:"Eject Loaded Disk"})]})||(0,o.createComponentVNode)(2,c.NoticeBox,{warning:!0,children:"No disk loaded."})}),(0,o.createComponentVNode)(2,c.Section,{title:"Loaded Material",children:C&&(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Target",children:C})}),(0,o.createComponentVNode)(2,c.Button,{mt:1,icon:"cog",onClick:function(){return i("apply_gene")},children:"Apply Gene Mods"}),(0,o.createComponentVNode)(2,c.Button,{mt:1,icon:"eject",onClick:function(){return i("eject_packet")},children:"Eject Target"})]})||(0,o.createComponentVNode)(2,c.NoticeBox,{warning:!0,children:"No target seed packet loaded."})})]})})}},25486:function(e,n,t){"use strict";n.__esModule=!0,n.BotanyIsolator=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.BotanyIsolator=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.geneMasks,s=l.activity,u=l.degradation,m=l.disk,p=l.loaded,C=l.hasGenetics,h=l.sourceName;return s?(0,o.createComponentVNode)(2,a.Window,{width:470,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c.NoticeBox,{info:!0,children:"Scanning..."})})}):(0,o.createComponentVNode)(2,a.Window,{width:470,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Buffered Genetic Data",children:C&&(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Source",children:h}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Gene decay",children:[u,"%"]}),m&&d.length&&d.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.mask,children:(0,o.createComponentVNode)(2,c.Button,{mb:-1,icon:"download",onClick:function(){return i("get_gene",{get_gene:e.tag})},children:"Extract"})},e.mask)}))||null]}),m&&(0,o.createComponentVNode)(2,c.Box,{mt:1,children:[(0,o.createComponentVNode)(2,c.Button,{icon:"eject",onClick:function(){return i("eject_disk")},children:"Eject Loaded Disk"}),(0,o.createComponentVNode)(2,c.Button,{icon:"trash",onClick:function(){return i("clear_buffer")},children:"Clear Genetic Buffer"})]})||(0,o.createComponentVNode)(2,c.NoticeBox,{mt:1,warning:!0,children:"No disk inserted."})]})||(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.NoticeBox,{warning:!0,children:"No Data Buffered."}),m&&(0,o.createComponentVNode)(2,c.Button,{icon:"eject",onClick:function(){return i("eject_disk")},children:"Eject Loaded Disk"})||(0,o.createComponentVNode)(2,c.NoticeBox,{mt:1,warning:!0,children:"No disk inserted."})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Loaded Material",children:p&&(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Packet Loaded",children:p})}),(0,o.createComponentVNode)(2,c.Button,{mt:1,icon:"cog",onClick:function(){return i("scan_genome")},children:"Process Genome"}),(0,o.createComponentVNode)(2,c.Button,{icon:"eject",onClick:function(){return i("eject_packet")},children:"Eject Packet"})]})||(0,o.createComponentVNode)(2,c.NoticeBox,{warning:!0,children:"No packet loaded."})})]})})}},61956:function(e,n,t){"use strict";n.__esModule=!0,n.BrigTimer=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(85952),l=t(58083);n.BrigTimer=function(e,n){var t=(0,c.useBackend)(n),d=t.act,s=t.data;return(0,o.createComponentVNode)(2,i.Window,{width:300,height:138,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,a.Section,{title:"Cell Timer",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"clock-o",content:s.timing?"Stop":"Start",selected:s.timing,onClick:function(){return d(s.timing?"stop":"start")}}),s.flash_found&&(0,o.createComponentVNode)(2,a.Button,{icon:"lightbulb-o",content:s.flash_charging?"Recharging":"Flash",disabled:s.flash_charging,onClick:function(){return d("flash")}})||null],0),children:[(0,o.createComponentVNode)(2,a.NumberInput,{animated:!0,fluid:!0,value:s.time_left/10,minValue:0,maxValue:s.max_time_left/10,format:function(e){return(0,l.formatTime)((0,r.round)(e))},onDrag:function(e,n){return d("time",{time:n})}}),(0,o.createComponentVNode)(2,a.Flex,{mt:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"hourglass-start",content:"Add "+(0,l.formatTime)(s.preset_short/10),onClick:function(){return d("preset",{preset:"short"})}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"hourglass-start",content:"Add "+(0,l.formatTime)(s.preset_medium/10),onClick:function(){return d("preset",{preset:"medium"})}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"hourglass-start",content:"Add "+(0,l.formatTime)(s.preset_long/10),onClick:function(){return d("preset",{preset:"long"})}})})]})]})})})}},3180:function(e,n,t){"use strict";n.__esModule=!0,n.CameraConsoleSearch=n.CameraConsoleContent=n.CameraConsole=void 0;var o=t(39812),r=t(64499),c=t(85531),a=t(34380),i=t(2497),l=t(71494),d=t(74814),s=t(85952),u=function(e,n,t){void 0===n&&(n=""),void 0===t&&(t="");var o=(0,i.createSearch)(n,(function(e){return e.name}));return(0,c.flow)([(0,r.filter)((function(e){return null==e?void 0:e.name})),n&&(0,r.filter)(o),t&&(0,r.filter)((function(e){return e.networks.includes(t)})),(0,r.sortBy)((function(e){return e.name}))])(e)};n.CameraConsole=function(e,n){return(0,o.createComponentVNode)(2,s.Window,{width:870,height:708,resizable:!0,children:(0,o.createComponentVNode)(2,m)})};var m=function(e,n){var t=(0,l.useBackend)(n),r=t.act,c=t.data,a=(t.config,c.mapRef),i=c.activeCamera,m=function(e,n){var t,o;if(!n)return[];var r=e.findIndex((function(e){return e.name===n.name}));return[null==(t=e[r-1])?void 0:t.name,null==(o=e[r+1])?void 0:o.name]}(u(c.cameras),i);m[0],m[1];return(0,o.createFragment)([(0,o.createVNode)(1,"div","CameraConsole__left",(0,o.createComponentVNode)(2,s.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,p)}),2),(0,o.createVNode)(1,"div","CameraConsole__right",[(0,o.createVNode)(1,"div","CameraConsole__toolbar",[(0,o.createVNode)(1,"b",null,"Camera: ",16),i&&i.name||"\u2014"],0),(0,o.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,o.createComponentVNode)(2,d.Button,{icon:"chevron-left",onClick:function(){return r("pan",{dir:8})}}),(0,o.createComponentVNode)(2,d.Button,{icon:"chevron-up",onClick:function(){return r("pan",{dir:1})}}),(0,o.createComponentVNode)(2,d.Button,{icon:"chevron-right",onClick:function(){return r("pan",{dir:4})}}),(0,o.createComponentVNode)(2,d.Button,{icon:"chevron-down",onClick:function(){return r("pan",{dir:2})}})],4),(0,o.createComponentVNode)(2,d.ByondUi,{className:"CameraConsole__map",params:{id:a,type:"map"}})],4)],4)};n.CameraConsoleContent=m;var p=function(e,n){var t=(0,l.useBackend)(n),r=t.act,c=t.data,i=(0,l.useLocalState)(n,"searchText",""),m=i[0],p=i[1],C=(0,l.useLocalState)(n,"networkFilter",""),h=C[0],N=C[1],V=c.activeCamera,b=c.allNetworks;b.sort();var f=u(c.cameras,m,h);return(0,o.createFragment)([(0,o.createComponentVNode)(2,d.Input,{fluid:!0,mb:1,placeholder:"Search for a camera",onInput:function(e,n){return p(n)}}),(0,o.createComponentVNode)(2,d.Dropdown,{mb:1,width:"177px",options:b,placeholder:"No Filter",onSelected:function(e){return N(e)}}),(0,o.createComponentVNode)(2,d.Section,{children:f.map((function(e){return(0,o.createVNode)(1,"div",(0,a.classes)(["Button","Button--fluid","Button--color--transparent","Button--ellipsis",V&&e.name===V.name&&"Button--selected"]),e.name,0,{title:e.name,onClick:function(){(0,s.refocusLayout)(),r("switch_camera",{name:e.name})}},e.name)}))})],4)};n.CameraConsoleSearch=p},94477:function(e,n,t){"use strict";n.__esModule=!0,n.Canister=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(58083),l=t(85952);n.Canister=function(e,n){var t=(0,c.useBackend)(n),d=t.act,s=t.data,u=s.connected,m=s.can_relabel,p=s.pressure,C=s.releasePressure,h=s.defaultReleasePressure,N=s.minReleasePressure,V=s.maxReleasePressure,b=s.valveOpen,f=s.holding;return(0,o.createComponentVNode)(2,l.Window,{width:360,height:242,resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Canister",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"pencil-alt",disabled:!m,content:"Relabel",onClick:function(){return d("relabel")}}),children:(0,o.createComponentVNode)(2,a.LabeledControls,{children:[(0,o.createComponentVNode)(2,a.LabeledControls.Item,{minWidth:"66px",label:"Tank Pressure",children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:p,format:function(e){return e<1e4?(0,r.toFixed)(e)+" kPa":(0,i.formatSiUnit)(1e3*e,1,"Pa")}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Regulator",children:(0,o.createComponentVNode)(2,a.Box,{position:"relative",left:"-8px",children:[(0,o.createComponentVNode)(2,a.Knob,{forcedInputWidth:"60px",size:1.25,color:!!b&&"yellow",value:C,unit:"kPa",minValue:N,maxValue:V,stepPixelSize:1,onDrag:function(e,n){return d("pressure",{pressure:n})}}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,position:"absolute",top:"-2px",right:"-20px",color:"transparent",icon:"fast-forward",onClick:function(){return d("pressure",{pressure:V})}}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,position:"absolute",top:"16px",right:"-20px",color:"transparent",icon:"undo",onClick:function(){return d("pressure",{pressure:h})}})]})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Valve",children:(0,o.createComponentVNode)(2,a.Button,{my:.5,width:"50px",lineHeight:2,fontSize:"11px",color:b?f?"caution":"danger":null,content:b?"Open":"Closed",onClick:function(){return d("valve")}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{mr:1,label:"Port",children:(0,o.createComponentVNode)(2,a.Box,{position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{size:1.25,name:u?"plug":"times",color:u?"good":"bad"}),(0,o.createComponentVNode)(2,a.Tooltip,{content:u?"Connected":"Disconnected",position:"top"})]})})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Holding Tank",buttons:!!f&&(0,o.createComponentVNode)(2,a.Button,{icon:"eject",color:b&&"danger",content:"Eject",onClick:function(){return d("eject")}}),children:[!!f&&(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Label",children:f.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pressure",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:f.pressure})," kPa"]})]}),!f&&(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No Holding Tank"})]})]})})}},55636:function(e,n,t){"use strict";n.__esModule=!0,n.Canvas=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);function i(e,n){return(i=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}var l=function(e){var n,t;function r(n){var t;return(t=e.call(this,n)||this).canvasRef=(0,o.createRef)(),t.onCVClick=n.onCanvasClick,t}t=e,(n=r).prototype=Object.create(t.prototype),n.prototype.constructor=n,i(n,t);var c=r.prototype;return c.componentDidMount=function(){this.drawCanvas(this.props)},c.componentDidUpdate=function(){this.drawCanvas(this.props)},c.drawCanvas=function(e){var n=this.canvasRef.current.getContext("2d"),t=e.value,o=t.length;if(o){var r=t[0].length,c=Math.round(this.canvasRef.current.width/o),a=Math.round(this.canvasRef.current.height/r);n.save(),n.scale(c,a);for(var i=0;i=0||(r[t]=e[t]);return r}(n,["res","value","dotsize"]),i=d(t),l=i[0],s=i[1];return(0,o.normalizeProps)((0,o.createVNode)(1,"canvas",null,"Canvas failed to render.",16,Object.assign({width:l*c||300,height:s*c||300},a,{onClick:function(n){return e.clickwrapper(n)}}),null,this.canvasRef))},r}(o.Component),d=function(e){var n=e.length;return[n,0!==n?e[0].length:0]};n.Canvas=function(e,n){var t=(0,r.useBackend)(n),i=t.act,s=t.data,u=d(s.grid),m=u[0],p=u[1];return(0,o.createComponentVNode)(2,a.Window,{width:Math.min(700,24*m+72),height:Math.min(700,24*p+72),children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Box,{textAlign:"center",children:[(0,o.createComponentVNode)(2,l,{value:s.grid,dotsize:24,onCanvasClick:function(e,n){return i("paint",{x:e,y:n})}}),(0,o.createComponentVNode)(2,c.Box,{children:[!s.finalized&&(0,o.createComponentVNode)(2,c.Button.Confirm,{onClick:function(){return i("finalize")},content:"Finalize"}),"\xa0",s.name]})]})})})}},47947:function(e,n,t){"use strict";n.__esModule=!0,n.CharacterDirectory=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=function(e){switch(e){case"Unset":return"label";case"Pred":return"red";case"Prey":return"blue";case"Switch":return"purple";case"Non-Vore":return"green"}};n.CharacterDirectory=function(e,n){var t=(0,r.useBackend)(n),i=t.act,s=t.data,u=s.personalVisibility,m=s.personalTag,p=s.personalErpTag,C=(0,r.useLocalState)(n,"overlay",null),h=C[0];C[1];return(0,o.createComponentVNode)(2,a.Window,{width:640,height:480,resizeable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:h&&(0,o.createComponentVNode)(2,l)||(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Visibility",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,content:u?"Shown":"Not Shown",onClick:function(){return i("setVisible")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Vore Tag",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,content:m,onClick:function(){return i("setTag")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"ERP Tag",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,content:p,onClick:function(){return i("setErpTag")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Advertisement",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,content:"Edit Ad",onClick:function(){return i("editAd")}})})]})}),(0,o.createComponentVNode)(2,d)],4)})})};var l=function(e,n){var t=(0,r.useLocalState)(n,"overlay",null),a=t[0],l=t[1];return(0,o.createComponentVNode)(2,c.Section,{title:a.name,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-left",content:"Back",onClick:function(){return l(null)}}),children:[(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Vore Tag",children:(0,o.createComponentVNode)(2,c.Box,{p:1,backgroundColor:i(a.tag),children:a.tag})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"ERP Tag",children:(0,o.createComponentVNode)(2,c.Box,{children:a.erptag})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Character Ad",children:(0,o.createComponentVNode)(2,c.Box,{style:{"word-break":"break-all"},preserveWhitespace:!0,children:a.character_ad||"Unset."})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"OOC Notes",children:(0,o.createComponentVNode)(2,c.Box,{style:{"word-break":"break-all"},preserveWhitespace:!0,children:a.ooc_notes||"Unset."})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Flavor Text",children:(0,o.createComponentVNode)(2,c.Box,{style:{"word-break":"break-all"},preserveWhitespace:!0,children:a.flavor_text||"Unset."})})]})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,l=t.data.directory,d=(0,r.useLocalState)(n,"sortId","name"),u=d[0],m=(d[1],(0,r.useLocalState)(n,"sortOrder","name")),p=m[0],C=(m[1],(0,r.useLocalState)(n,"overlay",null)),h=(C[0],C[1]);return(0,o.createComponentVNode)(2,c.Section,{title:"Directory",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"sync",content:"Refresh",onClick:function(){return a("refresh")}}),children:(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{bold:!0,children:[(0,o.createComponentVNode)(2,s,{id:"name",children:"Name"}),(0,o.createComponentVNode)(2,s,{id:"tag",children:"Vore Tag"}),(0,o.createComponentVNode)(2,s,{id:"erptag",children:"ERP Tag"}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,textAlign:"right",children:"View"})]}),l.sort((function(e,n){var t=p?1:-1;return e[u].localeCompare(n[u])*t})).map((function(e,n){return(0,o.createComponentVNode)(2,c.Table.Row,{backgroundColor:i(e.tag),children:[(0,o.createComponentVNode)(2,c.Table.Cell,{p:1,children:e.name}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.tag}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.erptag}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,textAlign:"right",children:(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return h(e)},color:"transparent",icon:"sticky-note",mr:1,content:"View"})})]},n)}))]})})},s=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data,e.id),i=e.children,l=(0,r.useLocalState)(n,"sortId","name"),d=l[0],s=l[1],u=(0,r.useLocalState)(n,"sortOrder","name"),m=u[0],p=u[1];return(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,c.Button,{width:"100%",color:d!==a&&"transparent",onClick:function(){d===a?p(!m):(s(a),p(!0))},children:[i,d===a&&(0,o.createComponentVNode)(2,c.Icon,{name:m?"sort-up":"sort-down",ml:"0.25rem;"})]})})}},22223:function(e,n,t){"use strict";n.__esModule=!0,n.ChemDispenser=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(48229),i=t(85952),l=[5,10,20,30,40,60],d=[1,5,10];n.ChemDispenser=function(e,n){return(0,o.createComponentVNode)(2,i.Window,{width:390,height:655,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,m)]})})};var s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.amount;return(0,o.createComponentVNode)(2,c.Section,{title:"Settings",flex:"content",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Dispense",verticalAlign:"middle",children:(0,o.createComponentVNode)(2,c.Flex,{direction:"row",wrap:"wrap",spacing:"1",children:l.map((function(e,n){return(0,o.createComponentVNode)(2,c.Flex.Item,{grow:"1",children:(0,o.createComponentVNode)(2,c.Button,{textAlign:"center",selected:i===e,content:e+"u",m:"0",fluid:!0,onClick:function(){return a("amount",{amount:e})}})},n)}))})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Custom Amount",children:(0,o.createComponentVNode)(2,c.Slider,{step:1,stepPixelSize:5,value:i,minValue:1,maxValue:120,onDrag:function(e,n){return a("amount",{amount:n})}})})]})})},u=function(e,n){for(var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.chemicals,d=void 0===l?[]:l,s=[],u=0;u<(d.length+1)%3;u++)s.push(!0);return(0,o.createComponentVNode)(2,c.Section,{title:i.glass?"Drink Dispenser":"Chemical Dispenser",flexGrow:"1",children:(0,o.createComponentVNode)(2,c.Flex,{direction:"row",wrap:"wrap",height:"100%",align:"flex-start",children:[d.map((function(e,n){return(0,o.createComponentVNode)(2,c.Flex.Item,{grow:"1",m:.2,basis:"40%",height:"20px",children:(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-circle-down",width:"100%",height:"100%",align:"flex-start",content:e.title+" ("+e.amount+")",onClick:function(){return a("dispense",{reagent:e.id})}})},n)})),s.map((function(e,n){return(0,o.createComponentVNode)(2,c.Flex.Item,{grow:"1",basis:"25%",height:"20px"},n)}))]})})},m=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,s=l.isBeakerLoaded,u=l.beakerCurrentVolume,m=l.beakerMaxVolume,p=l.beakerContents,C=void 0===p?[]:p;return(0,o.createComponentVNode)(2,c.Section,{title:"Beaker",flex:"content",minHeight:"25%",buttons:(0,o.createComponentVNode)(2,c.Box,{children:[!!s&&(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:"label",mr:2,children:[u," / ",m," units"]}),(0,o.createComponentVNode)(2,c.Button,{icon:"eject",content:"Eject",disabled:!s,onClick:function(){return i("ejectBeaker")}})]}),children:(0,o.createComponentVNode)(2,a.BeakerContents,{beakerLoaded:s,beakerContents:C,buttons:function(e){return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{content:"Isolate",icon:"compress-arrows-alt",onClick:function(){return i("remove",{reagent:e.id,amount:-1})}}),d.map((function(n,t){return(0,o.createComponentVNode)(2,c.Button,{content:n,onClick:function(){return i("remove",{reagent:e.id,amount:n})}},t)})),(0,o.createComponentVNode)(2,c.Button,{content:"ALL",onClick:function(){return i("remove",{reagent:e.id,amount:e.volume})}})],0)}})})}},34859:function(e,n,t){"use strict";n.__esModule=!0,n.ChemMaster=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=t(48229),l=t(16007),d=[1,5,10,30,60];n.ChemMaster=function(e,n){var t=(0,r.useBackend)(n).data,c=t.condi,i=t.beaker,d=t.beaker_reagents,p=void 0===d?[]:d,C=t.buffer_reagents,h=void 0===C?[]:C,N=t.mode;return(0,o.createComponentVNode)(2,a.Window,{width:575,height:500,resizable:!0,children:[(0,o.createComponentVNode)(2,l.ComplexModal),(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,s,{beaker:i,beakerReagents:p,bufferNonEmpty:h.length>0}),(0,o.createComponentVNode)(2,u,{mode:N,bufferReagents:h}),(0,o.createComponentVNode)(2,m,{isCondiment:c,bufferNonEmpty:h.length>0})]})]})};var s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,s=(t.data,e.beaker),u=e.beakerReagents,m=e.bufferNonEmpty?(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"eject",disabled:!s,content:"Eject and Clear Buffer",onClick:function(){return a("eject")}}):(0,o.createComponentVNode)(2,c.Button,{icon:"eject",disabled:!s,content:"Eject and Clear Buffer",onClick:function(){return a("eject")}});return(0,o.createComponentVNode)(2,c.Section,{title:"Beaker",buttons:m,children:s?(0,o.createComponentVNode)(2,i.BeakerContents,{beakerLoaded:!0,beakerContents:u,buttons:function(e,t){return(0,o.createComponentVNode)(2,c.Box,{mb:t0?(0,o.createComponentVNode)(2,i.BeakerContents,{beakerLoaded:!0,beakerContents:u,buttons:function(e,r){return(0,o.createComponentVNode)(2,c.Box,{mb:r0?l.desc:"N/A"}),l.blood_type&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Blood type",children:l.blood_type}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Blood DNA",className:"LabeledList__breakContents",children:l.blood_dna})],4),!i.condi&&(0,o.createComponentVNode)(2,c.Button,{icon:i.printing?"spinner":"print",disabled:i.printing,iconSpin:!!i.printing,ml:"0.5rem",content:"Print",onClick:function(){return a("print",{idx:l.idx,beaker:e.args.beaker})}})]})})})}))},83919:function(e,n,t){"use strict";n.__esModule=!0,n.ClawMachine=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.ClawMachine=function(e,n){var t,i=(0,r.useBackend)(n),l=i.act,d=i.data,s=(d.wintick,d.instructions),u=d.gameStatus,m=d.winscreen;return"CLAWMACHINE_NEW"===u?t=(0,o.createComponentVNode)(2,c.Box,{align:"center",children:[(0,o.createVNode)(1,"br")," ",(0,o.createVNode)(1,"hr"),(0,o.createVNode)(1,"b",null,"Pay to Play!",16)," ",(0,o.createVNode)(1,"br")," ",(0,o.createVNode)(1,"hr"),s,(0,o.createVNode)(1,"br")," ",(0,o.createVNode)(1,"hr")," ",(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Button,{content:"Start",onClick:function(){return l("newgame")}})]}):"CLAWMACHINE_END"===u?t=(0,o.createComponentVNode)(2,c.Box,{align:"center",children:[(0,o.createVNode)(1,"br")," ",(0,o.createVNode)(1,"hr"),(0,o.createVNode)(1,"b",null,"Thank you for playing!",16)," ",(0,o.createVNode)(1,"br")," ",(0,o.createVNode)(1,"hr"),m,(0,o.createVNode)(1,"br")," ",(0,o.createVNode)(1,"hr")," ",(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Button,{content:"Close",onClick:function(){return l("return")}})]}):"CLAWMACHINE_ON"===u&&(t=(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Progress",children:(0,o.createComponentVNode)(2,c.ProgressBar,{ranges:{bad:[-Infinity,0],average:[1,7],good:[8,Infinity]},value:d.wintick,minValue:0,maxValue:10})})}),(0,o.createComponentVNode)(2,c.Box,{align:"center",children:[(0,o.createVNode)(1,"br")," ",(0,o.createVNode)(1,"hr")," ",(0,o.createVNode)(1,"br"),s,(0,o.createVNode)(1,"br")," ",(0,o.createVNode)(1,"br")," ",(0,o.createVNode)(1,"hr")," ",(0,o.createVNode)(1,"br")," ",(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Button,{content:"Up",onClick:function(){return l("pointless")}}),(0,o.createVNode)(1,"br")," ",(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Button,{content:"Left",onClick:function(){return l("pointless")}}),(0,o.createComponentVNode)(2,c.Button,{content:"Right",onClick:function(){return l("pointless")}}),(0,o.createVNode)(1,"br")," ",(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Button,{content:"Down",onClick:function(){return l("pointless")}})]})]})),(0,o.createComponentVNode)(2,a.Window,{resizable:!0,children:(0,o.createVNode)(1,"center",null,t,0)})}},74351:function(e,n,t){"use strict";n.__esModule=!0,n.Cleanbot=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.Cleanbot=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.on,s=l.open,u=l.locked,m=l.version,p=l.blood,C=(l.patrol,l.vocal),h=l.wet_floors,N=l.spray_blood,V=l.rgbpanel,b=l.red_switch,f=l.green_switch,g=l.blue_switch;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:400,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Automatic Station Cleaner "+m,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:d,onClick:function(){return i("start")},children:d?"On":"Off"}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Maintenance Panel",color:s?"bad":"good",children:s?"Open":"Closed"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Behavior Controls",color:u?"good":"bad",children:u?"Locked":"Unlocked"})]})}),!u&&(0,o.createComponentVNode)(2,c.Section,{title:"Behavior Controls",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Blood",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:p?"toggle-on":"toggle-off",selected:p,onClick:function(){return i("blood")},children:p?"Clean":"Ignore"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Speaker",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:C?"toggle-on":"toggle-off",selected:C,onClick:function(){return i("vocal")},children:C?"On":"Off"})})]})})||null,!u&&s&&(0,o.createComponentVNode)(2,c.Section,{title:"Maintenance Panel",children:V&&(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{fontSize:5.39,icon:b?"toggle-on":"toggle-off",backgroundColor:b?"red":"maroon",onClick:function(){return i("red_switch")}}),(0,o.createComponentVNode)(2,c.Button,{fontSize:5.39,icon:f?"toggle-on":"toggle-off",backgroundColor:f?"green":"darkgreen",onClick:function(){return i("green_switch")}}),(0,o.createComponentVNode)(2,c.Button,{fontSize:5.39,icon:g?"toggle-on":"toggle-off",backgroundColor:g?"blue":"darkblue",onClick:function(){return i("blue_switch")}})]})||(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Odd Looking Screw Twiddled",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,selected:h,onClick:function(){return i("wet_floors")},icon:"screwdriver",children:h?"Yes":"No"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Weird Button Pressed",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,color:"brown",selected:N,onClick:function(){return i("spray_blood")},icon:"screwdriver",children:N?"Yes":"No"})})]})})})||null]})})}},98213:function(e,n,t){"use strict";n.__esModule=!0,n.CloningConsole=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(76270),l=t(16007),d=t(85952),s=function(e,n){var t=(0,c.useBackend)(n),r=t.act,l=t.data,d=e.args,s=d.activerecord,u=d.realname,m=d.health,p=d.unidentity,C=d.strucenzymes,h=m.split(" - ");return(0,o.createComponentVNode)(2,a.Section,{level:2,m:"-1rem",pb:"1rem",title:"Records of "+u,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:u}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Damage",children:h.length>1?(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{color:i.COLORS.damageType.oxy,inline:!0,children:h[0]}),(0,o.createTextVNode)("\xa0|\xa0"),(0,o.createComponentVNode)(2,a.Box,{color:i.COLORS.damageType.toxin,inline:!0,children:h[2]}),(0,o.createTextVNode)("\xa0|\xa0"),(0,o.createComponentVNode)(2,a.Box,{color:i.COLORS.damageType.brute,inline:!0,children:h[3]}),(0,o.createTextVNode)("\xa0|\xa0"),(0,o.createComponentVNode)(2,a.Box,{color:i.COLORS.damageType.burn,inline:!0,children:h[1]})],4):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Unknown"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"UI",className:"LabeledList__breakContents",children:p}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"SE",className:"LabeledList__breakContents",children:C}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Disk",children:[(0,o.createComponentVNode)(2,a.Button.Confirm,{disabled:!l.disk,icon:"arrow-circle-down",content:"Import",onClick:function(){return r("disk",{option:"load"})}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l.disk,icon:"arrow-circle-up",content:"Export UI",onClick:function(){return r("disk",{option:"save",savetype:"ui"})}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l.disk,icon:"arrow-circle-up",content:"Export UI and UE",onClick:function(){return r("disk",{option:"save",savetype:"ue"})}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l.disk,icon:"arrow-circle-up",content:"Export SE",onClick:function(){return r("disk",{option:"save",savetype:"se"})}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Actions",children:[(0,o.createComponentVNode)(2,a.Button,{disabled:!l.podready,icon:"user-plus",content:"Clone",onClick:function(){return r("clone",{ref:s})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"trash",content:"Delete",onClick:function(){return r("del_rec")}})]})]})})};n.CloningConsole=function(e,n){var t=(0,c.useBackend)(n);t.act,t.data.menu;return(0,l.modalRegisterBodyOverride)("view_rec",s),(0,o.createComponentVNode)(2,d.Window,{resizable:!0,children:[(0,o.createComponentVNode)(2,l.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),(0,o.createComponentVNode)(2,d.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,h),(0,o.createComponentVNode)(2,N),(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,a.Section,{noTopPadding:!0,flexGrow:"1",children:(0,o.createComponentVNode)(2,m)})]})]})};var u=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.menu;return(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===i,icon:"home",onClick:function(){return r("menu",{num:1})},children:"Main"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===i,icon:"folder",onClick:function(){return r("menu",{num:2})},children:"Records"})]})},m=function(e,n){var t,r=(0,c.useBackend)(n).data.menu;return 1===r?t=(0,o.createComponentVNode)(2,p):2===r&&(t=(0,o.createComponentVNode)(2,C)),t},p=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,d=l.loading,s=l.scantemp,u=l.occupant,m=l.locked,p=l.can_brainscan,C=l.scan_mode,h=l.numberofpods,N=l.pods,V=l.selected_pod,b=m&&!!u;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Scanner",level:"2",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"label",children:"Scanner Lock:\xa0"}),(0,o.createComponentVNode)(2,a.Button,{disabled:!u,selected:b,icon:b?"toggle-on":"toggle-off",content:b?"Engaged":"Disengaged",onClick:function(){return i("lock")}}),(0,o.createComponentVNode)(2,a.Button,{disabled:b||!u,icon:"user-slash",content:"Eject Occupant",onClick:function(){return i("eject")}})],4),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",children:d?(0,o.createComponentVNode)(2,a.Box,{color:"average",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"spinner",spin:!0}),"\xa0 Scanning..."]}):(0,o.createComponentVNode)(2,a.Box,{color:s.color,children:s.text})}),!!p&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Scan Mode",children:(0,o.createComponentVNode)(2,a.Button,{icon:C?"brain":"male",content:C?"Brain":"Body",onClick:function(){return i("toggle_mode")}})})]}),(0,o.createComponentVNode)(2,a.Button,{disabled:!u||d,icon:"user",content:"Scan Occupant",mt:"0.5rem",mb:"0",onClick:function(){return i("scan")}})]}),(0,o.createComponentVNode)(2,a.Section,{title:"Pods",level:"2",children:h?N.map((function(e,n){var t;return t="cloning"===e.status?(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:e.progress/100,ranges:{good:[.75,Infinity],average:[.25,.75],bad:[-Infinity,.25]},mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:(0,r.round)(e.progress,0)+"%"})}):"mess"===e.status?(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"ERROR"}):(0,o.createComponentVNode)(2,a.Button,{selected:V===e.pod,icon:V===e.pod&&"check",content:"Select",mt:"0.5rem",onClick:function(){return i("selectpod",{ref:e.pod})}}),(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"pod_"+e.status+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:["Pod #",n+1]}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.biomass>=150?"good":"bad",inline:!0,children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.biomass>=150?"circle":"circle-o"}),"\xa0",e.biomass]}),t]},n)})):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No pods detected. Unable to clone."})})],4)},C=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.records;return i.length?(0,o.createComponentVNode)(2,a.Box,{mt:"0.5rem",children:i.map((function(e,n){return(0,o.createComponentVNode)(2,a.Button,{icon:"user",mb:"0.5rem",content:e.realname,onClick:function(){return r("view_rec",{ref:e.record})}},n)}))}):(0,o.createComponentVNode)(2,a.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No records found."]})})},h=function(e,n){var t,r=(0,c.useBackend)(n),i=r.act,l=r.data.temp;if(l&&l.text&&!(l.text.length<=0)){var d=((t={})[l.style]=!0,t);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.NoticeBox,Object.assign({},d,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",children:l.text}),(0,o.createComponentVNode)(2,a.Button,{icon:"times-circle",float:"right",onClick:function(){return i("cleartemp")}}),(0,o.createComponentVNode)(2,a.Box,{clear:"both"})]})))}},N=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=i.scanner,d=i.numberofpods,s=i.autoallowed,u=i.autoprocess,m=i.disk;return(0,o.createComponentVNode)(2,a.Section,{title:"Status",buttons:(0,o.createFragment)([!!s&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"label",children:"Auto-processing:\xa0"}),(0,o.createComponentVNode)(2,a.Button,{selected:u,icon:u?"toggle-on":"toggle-off",content:u?"Enabled":"Disabled",onClick:function(){return r("autoprocess",{on:u?0:1})}})],4),(0,o.createComponentVNode)(2,a.Button,{disabled:!m,icon:"eject",content:"Eject Disk",onClick:function(){return r("disk",{option:"eject"})}})],0),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Scanner",children:l?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Connected"}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Not connected!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pods",children:d?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[d," connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})})]})})}},32278:function(e,n,t){"use strict";n.__esModule=!0,n.ColorMate=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.ColorMate=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.items,s=l.activecolor,u=Math.min(270+15*d.length,600);return(0,o.createComponentVNode)(2,a.Window,{width:300,height:u,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:d.length&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Paint",children:(0,o.createComponentVNode)(2,c.Flex,{justify:"center",align:"center",children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"50%",children:(0,o.createComponentVNode)(2,c.Box,{backgroundColor:s,width:"120px",height:"120px"})}),(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"50% ",children:[(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"eye-dropper",onClick:function(){return i("select")},children:"Select Color"}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"fill-drip",onClick:function(){return i("paint")},children:"Paint Items"}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"tint-slash",onClick:function(){return i("clear")},children:"Remove Paintjob"}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"eject",onClick:function(){return i("eject")},children:"Eject Items"})]})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Items",children:d.map((function(e,n){return(0,o.createComponentVNode)(2,c.Box,{children:["#",n+1,": ",e]},n)}))})],4)||(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No items inserted."})})})})}},130:function(e,n,t){"use strict";n.__esModule=!0,n.CommunicationsConsoleContent=n.CommunicationsConsole=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.CommunicationsConsole=function(e,n){return(0,o.createComponentVNode)(2,a.Window,{width:400,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,i)})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data.menu_state),i=(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:["ERRROR. Unknown menu_state: ",a,"Please report this to NT Technical Support."]});return 1===a?i=(0,o.createComponentVNode)(2,l):2===a?i=(0,o.createComponentVNode)(2,u):3===a&&(i=(0,o.createComponentVNode)(2,s)),(0,o.createFragment)([(0,o.createComponentVNode)(2,d),i],0)};n.CommunicationsConsoleContent=i;var l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.messages,d=i.msg_cooldown,s=i.emagged,u=i.cc_cooldown,m=i.str_security_level,p=i.levels,C=i.authmax,h=i.security_level,N=i.security_level_color,V=i.authenticated,b=i.atcsquelch,f=i.boss_short,g="View ("+l.length+")",k="Make Priority Announcement";d>0&&(k+=" ("+d+"s)");var v=s?"Message [UNKNOWN]":"Message "+f;u>0&&(v+=" ("+u+"s)");var B=m,L=p.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{icon:e.icon,content:e.name,disabled:!V,selected:e.id===h,onClick:function(){return a("newalertlevel",{level:e.id})}},e.name)}));return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Site Manager-Only Actions",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Announcement",children:(0,o.createComponentVNode)(2,c.Button,{icon:"bullhorn",content:k,disabled:!C||d>0,onClick:function(){return a("announce")}})}),!!s&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Transmit",children:[(0,o.createComponentVNode)(2,c.Button,{icon:"broadcast-tower",color:"red",content:v,disabled:!C||u>0,onClick:function(){return a("MessageSyndicate")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"sync-alt",content:"Reset Relays",disabled:!C,onClick:function(){return a("RestoreBackup")}})]})||(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Transmit",children:(0,o.createComponentVNode)(2,c.Button,{icon:"broadcast-tower",content:v,disabled:!C||u>0,onClick:function(){return a("MessageCentCom")}})})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Command Staff Actions",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Current Alert",color:N,children:B}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Change Alert",children:L}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Displays",children:(0,o.createComponentVNode)(2,c.Button,{icon:"tv",content:"Change Status Displays",disabled:!V,onClick:function(){return a("status")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Incoming Messages",children:(0,o.createComponentVNode)(2,c.Button,{icon:"folder-open",content:g,disabled:!V,onClick:function(){return a("messagelist")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Misc",children:(0,o.createComponentVNode)(2,c.Button,{icon:"microphone",content:b?"ATC Relay Disabled":"ATC Relay Enabled",disabled:!V,selected:b,onClick:function(){return a("toggleatc")}})})]})})],4)},d=function(e,n){var t,a=(0,r.useBackend)(n),i=a.act,l=a.data,d=l.authenticated,s=l.is_ai,u=l.esc_status,m=l.esc_callable,p=l.esc_recallable;return t=d?s?"AI":1===d?"Command":2===d?"Site Director":"ERROR: Report This Bug!":"Not Logged In",(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Authentication",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:s&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Access Level",children:"AI"})||(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Actions",children:(0,o.createComponentVNode)(2,c.Button,{icon:d?"sign-out-alt":"id-card",selected:d,content:d?"Log Out ("+t+")":"Log In",onClick:function(){return i("auth")}})})})}),(0,o.createComponentVNode)(2,c.Section,{title:"Escape Shuttle",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[!!u&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",children:u}),!!m&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Options",children:(0,o.createComponentVNode)(2,c.Button,{icon:"rocket",content:"Call Shuttle",disabled:!d,onClick:function(){return i("callshuttle")}})}),!!p&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Options",children:(0,o.createComponentVNode)(2,c.Button,{icon:"times",content:"Recall Shuttle",disabled:!d||s,onClick:function(){return i("cancelshuttle")}})})]})})],4)},s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.message_current,d=i.message_deletion_allowed,s=i.authenticated,u=i.messages;if(l)return(0,o.createComponentVNode)(2,c.Section,{title:l.title,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"times",content:"Return To Message List",disabled:!s,onClick:function(){return a("messagelist")}}),children:(0,o.createComponentVNode)(2,c.Box,{children:l.contents})});var m=u.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.title,children:[(0,o.createComponentVNode)(2,c.Button,{icon:"eye",content:"View",disabled:!s||l&&l.title===e.title,onClick:function(){return a("messagelist",{msgid:e.id})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"times",content:"Delete",disabled:!s||!d,onClick:function(){return a("delmessage",{msgid:e.id})}})]},e.id)}));return(0,o.createComponentVNode)(2,c.Section,{title:"Messages Received",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){return a("main")}}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:u.length&&m||(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"404",color:"bad",children:"No messages."})})})},u=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.stat_display,d=i.authenticated,s=l.presets.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{content:e.label,selected:e.name===l.type,disabled:!d,onClick:function(){return a("setstat",{statdisp:e.name})}},e.name)}));return(0,o.createComponentVNode)(2,c.Section,{title:"Modify Status Screens",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){return a("main")}}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Presets",children:s}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Message Line 1",children:(0,o.createComponentVNode)(2,c.Button,{icon:"pencil-alt",content:l.line_1,disabled:!d,onClick:function(){return a("setmsg1")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Message Line 2",children:(0,o.createComponentVNode)(2,c.Button,{icon:"pencil-alt",content:l.line_2,disabled:!d,onClick:function(){return a("setmsg2")}})})]})})}},4220:function(e,n,t){"use strict";n.__esModule=!0,n.Communicator=void 0;var o=t(39812),r=t(64499),c=t(2497),a=t(71494),i=t(74814),l=t(85952),d=t(22902),s={};n.Communicator=function(e,n){var t=(0,a.useBackend)(n),r=(t.act,t.data),c=r.currentTab,d=r.video_comm,h=(r.mapRef,(0,a.useLocalState)(n,"videoSetting",0)),N=h[0],V=h[1];return(0,o.createComponentVNode)(2,l.Window,{width:475,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{children:[d&&(0,o.createComponentVNode)(2,u,{videoSetting:N,setVideoSetting:V}),(!d||0!==N)&&(0,o.createFragment)([(0,o.createComponentVNode)(2,p),(0,o.createComponentVNode)(2,i.Box,{height:"88%",mb:1,style:{"overflow-y":"auto"},children:s[c]||(0,o.createComponentVNode)(2,m)}),(0,o.createComponentVNode)(2,C,{videoSetting:N,setVideoSetting:V})],4)]})})};var u=function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data,l=(c.video_comm,c.mapRef),d=e.videoSetting,s=e.setVideoSetting;return 0===d?(0,o.createComponentVNode)(2,i.Box,{width:"100%",height:"100%",children:[(0,o.createComponentVNode)(2,i.ByondUi,{width:"100%",height:"95%",params:{id:l,type:"map"}}),(0,o.createComponentVNode)(2,i.Flex,{justify:"space-between",spacing:1,mt:.5,children:[(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Button,{textAlign:"center",fluid:!0,fontSize:1.5,icon:"window-minimize",onClick:function(){return s(1)}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Button,{textAlign:"center",fluid:!0,fontSize:1.5,color:"bad",icon:"video-slash",onClick:function(){return r("endvideo")}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Button,{textAlign:"center",fluid:!0,fontSize:1.5,color:"bad",icon:"phone-slash",onClick:function(){return r("hang_up")}})})]})]}):1===d?(0,o.createComponentVNode)(2,i.Box,{style:{position:"absolute",right:"5px",bottom:"50px","z-index":1},children:[(0,o.createComponentVNode)(2,i.Section,{p:0,m:0,children:(0,o.createComponentVNode)(2,i.Flex,{justify:"space-between",spacing:1,children:[(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Button,{textAlign:"center",fluid:!0,fontSize:1.5,icon:"window-minimize",onClick:function(){return s(2)}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Button,{textAlign:"center",fluid:!0,fontSize:1.5,icon:"window-maximize",onClick:function(){return s(0)}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Button,{textAlign:"center",fluid:!0,fontSize:1.5,color:"bad",icon:"video-slash",onClick:function(){return r("endvideo")}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Button,{textAlign:"center",fluid:!0,fontSize:1.5,color:"bad",icon:"phone-slash",onClick:function(){return r("hang_up")}})})]})}),(0,o.createComponentVNode)(2,i.ByondUi,{width:"200px",height:"200px",params:{id:l,type:"map"}})]}):null},m=function(e,n){var t=(0,a.useBackend)(n),r=(t.act,t.data.currentTab);return(0,o.createComponentVNode)(2,i.Section,{title:"Error!",children:["You tried to access tab #",r,", but there was no template defined!"]})},p=function(e,n){var t=(0,a.useBackend)(n),r=(t.act,t.data),l=r.time,d=r.connectionStatus,s=r.owner,u=r.occupation;return(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.Flex,{align:"center",justify:"space-between",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{color:"average",children:l}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:(0,o.createComponentVNode)(2,i.Icon,{color:1===d?"good":"bad",name:1===d?"signal":"exclamation-triangle"})}),(0,o.createComponentVNode)(2,i.Flex.Item,{color:"average",children:(0,c.decodeHtmlEntities)(s)}),(0,o.createComponentVNode)(2,i.Flex.Item,{color:"average",children:(0,c.decodeHtmlEntities)(u)})]})})},C=function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data.flashlight,l=e.videoSetting,d=e.setVideoSetting;return(0,o.createComponentVNode)(2,i.Flex,{children:[(0,o.createComponentVNode)(2,i.Flex.Item,{basis:2===l?"60%":"80%",children:(0,o.createComponentVNode)(2,i.Button,{p:1,fluid:!0,icon:"home",iconSize:2,textAlign:"center",onClick:function(){return r("switch_tab",{switch_tab:1})}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"20%",children:(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb",iconSize:2,p:1,fluid:!0,textAlign:"center",selected:c,tooltip:"Flashlight",tooltipPosition:"top",onClick:function(){return r("Light")}})}),2===l&&(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"20%",children:(0,o.createComponentVNode)(2,i.Button,{icon:"video",iconSize:2,p:1,fluid:!0,textAlign:"center",tooltip:"Open Video",tooltipPosition:"top",onClick:function(){return d(1)}})})]})},h=function(e,n){var t=(0,a.useBackend)(n).data,o=t.voice_mobs,r=t.communicating,c=t.requestsReceived,i=t.invitesSent,l=t.video_comm;return!("Phone"!==e||!(o.length||r.length||c.length||i.length||l))};s[1]=(0,o.createComponentVNode)(2,(function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data.homeScreen;return(0,o.createComponentVNode)(2,i.Flex,{mt:2,wrap:"wrap",align:"center",justify:"center",children:c.map((function(e){return(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"25%",textAlign:"center",mb:2,children:[(0,o.createComponentVNode)(2,i.Button,{style:{"border-radius":"10%",border:"1px solid #000"},width:"64px",height:"64px",position:"relative",onClick:function(){return r("switch_tab",{switch_tab:e.number})},children:(0,o.createComponentVNode)(2,i.Icon,{spin:h(e.module,n),color:h(e.module,n)?"bad":null,name:e.icon,position:"absolute",size:3,top:"25%",left:"25%"})}),(0,o.createComponentVNode)(2,i.Box,{children:e.module})]},e.number)}))})}));var N=function(e,n){for(var t=(0,a.useBackend)(n),r=t.act,c=t.data.targetAddress,l=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"].map((function(e){return(0,o.createComponentVNode)(2,i.Button,{content:e,fontSize:2,fluid:!0,onClick:function(){return r("add_hex",{add_hex:e})}},e)})),d=[],s=0;st?n.length>t?n.slice(0,t)+"...":n:e+n},f=function(e,n,t,o){if(t<0||t>o.length)return V(e,n)?"TinderMessage_First_Sent":"TinderMessage_First_Received";var r=V(e,n),c=V(o[t],n);return r&&c?"TinderMessage_Subsequent_Sent":r||c?r?"TinderMessage_First_Sent":"TinderMessage_First_Received":"TinderMessage_Subsequent_Received"};s[40]=(0,o.createComponentVNode)(2,(function(e,n){var t=(0,a.useBackend)(n),r=t.act,l=t.data,d=l.targetAddressName,s=l.targetAddress,u=l.imList,m=(0,a.useLocalState)(n,"clipboardMode",!1),p=m[0],C=m[1];return p?(0,o.createComponentVNode)(2,i.Section,{title:(0,o.createComponentVNode)(2,i.Box,{inline:!0,style:{"white-space":"nowrap","overflow-x":"hidden"},width:"90%",children:b("Conversation with ",(0,c.decodeHtmlEntities)(d),30)}),buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eye",selected:p,tooltip:"Exit Clipboard Mode",tooltipPosition:"bottom-end",onClick:function(){return C(!p)}}),height:"100%",stretchContents:!0,children:[(0,o.createComponentVNode)(2,i.Section,{style:{height:"95%","overflow-y":"auto"},children:u.map((function(e,n){return(0,o.createComponentVNode)(2,i.Box,{className:V(e,s)?"ClassicMessage_Sent":"ClassicMessage_Received",children:[V(e,s)?"You":"Them",": ",e.im]},n)}))}),(0,o.createComponentVNode)(2,i.Button,{icon:"comment",onClick:function(){return r("message",{message:s})},content:"Message"})]}):(0,o.createComponentVNode)(2,i.Section,{title:(0,o.createComponentVNode)(2,i.Box,{inline:!0,style:{"white-space":"nowrap","overflow-x":"hidden"},width:"100%",children:b("Conversation with ",(0,c.decodeHtmlEntities)(d),30)}),buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eye",selected:p,tooltip:"Enter Clipboard Mode",tooltipPosition:"bottom-end",onClick:function(){return C(!p)}}),height:"100%",stretchContents:!0,children:[(0,o.createComponentVNode)(2,i.Section,{style:{height:"95%","overflow-y":"auto"},children:u.map((function(e,n,t){return(0,o.createComponentVNode)(2,i.Box,{textAlign:V(e,s)?"right":"left",mb:1,children:(0,o.createComponentVNode)(2,i.Box,{maxWidth:"75%",className:f(e,s,n-1,t),inline:!0,children:(0,c.decodeHtmlEntities)(e.im)})},n)}))}),(0,o.createComponentVNode)(2,i.Button,{icon:"comment",onClick:function(){return r("message",{message:s})},content:"Message"})]})}));var g=function(e,n){var t=(0,a.useBackend)(n),r=t.act,l=t.data.target_feed;return(0,o.createComponentVNode)(2,i.Section,{title:(0,c.decodeHtmlEntities)(l.name)+" by "+(0,c.decodeHtmlEntities)(l.author),level:2,buttons:(0,o.createComponentVNode)(2,i.Button,{content:"Back",icon:"chevron-up",onClick:function(){return r("newsfeed",{newsfeed:null})}}),children:l.messages.map((function(e){return(0,o.createComponentVNode)(2,i.Section,{children:["- ",(0,c.decodeHtmlEntities)(e.body),!!e.img&&(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createVNode)(1,"img",null,null,1,{src:"data:image/png;base64,"+e.img}),(0,c.decodeHtmlEntities)(e.caption)||null]}),(0,o.createComponentVNode)(2,i.Box,{color:"grey",children:["[",e.message_type," by ",(0,c.decodeHtmlEntities)(e.author)," - ",e.time_stamp,"]"]})]},e.ref)}))})},k=function(e,n){var t=(0,a.useBackend)(n),r=t.act,l=t.data,d=l.feeds,s=l.latest_news;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Recent News",level:2,children:(0,o.createComponentVNode)(2,i.Section,{children:s.map((function(e){return(0,o.createComponentVNode)(2,i.Box,{mb:2,children:[(0,o.createVNode)(1,"h5",null,[(0,c.decodeHtmlEntities)(e.channel),(0,o.createComponentVNode)(2,i.Button,{ml:1,icon:"chevron-up",onClick:function(){return r("newsfeed",{newsfeed:e.index})},content:"Go to"})],0),"- ",(0,c.decodeHtmlEntities)(e.body),!!e.img&&(0,o.createComponentVNode)(2,i.Box,{children:["[image omitted, view story for more details]",e.caption||null]}),(0,o.createComponentVNode)(2,i.Box,{fontSize:.9,children:["[",e.message_type," by ",(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:"average",children:e.author})," - ",e.time_stamp,"]"]})]},e.index)}))})}),(0,o.createComponentVNode)(2,i.Section,{title:"News Feeds",level:2,children:d.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"chevron-up",onClick:function(){return r("newsfeed",{newsfeed:e.index})},content:e.name},e.index)}))})],4)};s[5]=(0,o.createComponentVNode)(2,(function(e,n){var t=(0,a.useBackend)(n),r=(t.act,t.data),c=r.feeds,l=r.target_feed;return(0,o.createComponentVNode)(2,i.Section,{title:"News",stretchContents:!0,height:"100%",children:!c.length&&(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Error: No newsfeeds available. Please try again later."})||l&&(0,o.createComponentVNode)(2,g)||(0,o.createComponentVNode)(2,k)})}));s[6]=(0,o.createComponentVNode)(2,(function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data.note;return(0,o.createComponentVNode)(2,i.Section,{title:"Note Keeper",height:"100%",stretchContents:!0,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",onClick:function(){return r("edit")},content:"Edit Notes"}),children:(0,o.createComponentVNode)(2,i.Section,{color:"average",width:"100%",height:"100%",style:{"word-break":"break-all","overflow-y":"auto"},children:c})})}));s[7]=(0,o.createComponentVNode)(2,(function(e,n){var t=(0,a.useBackend)(n),l=(t.act,t.data),d=l.aircontents,s=l.weather;return(0,o.createComponentVNode)(2,i.Section,{title:"Weather",children:[(0,o.createComponentVNode)(2,i.Section,{level:2,title:"Current Conditions",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,r.filter)((function(e){return"0"!==e.val||"Pressure"===e.entry||"Temperature"===e.entry}))(d).map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.entry,color:(n=e.val,t=e.bad_low,r=e.poor_low,a=e.poor_high,l=e.bad_high,na?"average":n>l?"bad":"good"),children:[e.val,(0,c.decodeHtmlEntities)(e.units)]},e.entry);var n,t,r,a,l}))})}),(0,o.createComponentVNode)(2,i.Section,{level:2,title:"Weather Reports",children:!!s.length&&(0,o.createComponentVNode)(2,i.LabeledList,{children:s.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.Planet,children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Time",children:e.Time}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Weather",children:(0,c.toTitleCase)(e.Weather)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Temperature",children:["Current: ",e.Temperature.toFixed(),"\xb0C | High: ",e.High.toFixed(),"\xb0C | Low: ",e.Low.toFixed(),"\xb0C"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Wind Direction",children:e.WindDir}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Wind Speed",children:e.WindSpeed}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Forecast",children:(0,c.decodeHtmlEntities)(e.Forecast)})]})},e.Planet)}))})||(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"No weather reports available. Please check back later."})})]})})),s[8]=(0,o.createComponentVNode)(2,d.CrewManifestContent);s[9]=(0,o.createComponentVNode)(2,(function(e,n){var t=(0,a.useBackend)(n),r=t.act,l=t.data,d=l.owner,s=l.occupation,u=l.connectionStatus,m=l.address,p=l.visible,C=l.ring,h=l.selfie_mode;return(0,o.createComponentVNode)(2,i.Section,{title:"Settings",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Owner",children:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",fluid:!0,content:(0,c.decodeHtmlEntities)(d),onClick:function(){return r("rename")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Camera Mode",children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,content:h?"Front-facing Camera":"Rear-facing Camera",onClick:function(){return r("selfie_mode")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Occupation",children:(0,c.decodeHtmlEntities)(s)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Connection",children:1===u?(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"Connected"}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Disconnected"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Device EPv2 Address",children:m}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Visibility",children:(0,o.createComponentVNode)(2,i.Button.Checkbox,{checked:p,selected:p,fluid:!0,content:p?"This device can be seen by other devices.":"This device is invisible to other devices.",onClick:function(){return r("toggle_visibility")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Ringer",children:(0,o.createComponentVNode)(2,i.Button.Checkbox,{checked:C,selected:C,fluid:!0,content:C?"Ringer on.":"Ringer off.",onClick:function(){return r("toggle_ringer")}})})]})})}))},2174:function(e,n,t){"use strict";n.__esModule=!0,n.ComputerFabricator=void 0;var o=t(39812),r=(t(2497),t(71494)),c=t(74814),a=t(85952);n.ComputerFabricator=function(e,n){var t=(0,r.useBackend)(n),u=t.act,m=t.data;return(0,o.createComponentVNode)(2,a.Window,{title:"Personal Computer Vendor",width:500,height:420,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{italic:!0,fontSize:"20px",children:"Your perfect device, only three steps away..."}),0!==m.state&&(0,o.createComponentVNode)(2,c.Button,{fluid:!0,mb:1,icon:"circle",content:"Clear Order",onClick:function(){return u("clean_order")}}),0===m.state&&(0,o.createComponentVNode)(2,i),1===m.state&&(0,o.createComponentVNode)(2,l),2===m.state&&(0,o.createComponentVNode)(2,d),3===m.state&&(0,o.createComponentVNode)(2,s)]})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=t.act;t.data;return(0,o.createComponentVNode)(2,c.Section,{title:"Step 1",minHeight:"306px",children:[(0,o.createComponentVNode)(2,c.Box,{mt:5,bold:!0,textAlign:"center",fontSize:"40px",children:"Choose your Device"}),(0,o.createComponentVNode)(2,c.Box,{mt:3,children:(0,o.createComponentVNode)(2,c.Grid,{width:"100%",children:[(0,o.createComponentVNode)(2,c.Grid.Column,{children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"laptop",content:"Laptop",textAlign:"center",fontSize:"30px",lineHeight:2,onClick:function(){return a("pick_device",{pick:"1"})}})}),(0,o.createComponentVNode)(2,c.Grid.Column,{children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"tablet-alt",content:"Tablet",textAlign:"center",fontSize:"30px",lineHeight:2,onClick:function(){return a("pick_device",{pick:"2"})}})})]})})]})},l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data;return(0,o.createComponentVNode)(2,c.Section,{title:"Step 2: Customize your device",minHeight:"282px",buttons:(0,o.createComponentVNode)(2,c.Box,{bold:!0,color:"good",children:[i.totalprice,"\u20ae"]}),children:[(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{bold:!0,position:"relative",children:["Battery:",(0,o.createComponentVNode)(2,c.Tooltip,{content:"Allows your device to operate without external utility power\nsource. Advanced batteries increase battery life.",position:"right"})]}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Standard",selected:1===i.hw_battery,onClick:function(){return a("hw_battery",{battery:"1"})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Upgraded",selected:2===i.hw_battery,onClick:function(){return a("hw_battery",{battery:"2"})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Advanced",selected:3===i.hw_battery,onClick:function(){return a("hw_battery",{battery:"3"})}})})]}),(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{bold:!0,position:"relative",children:["Hard Drive:",(0,o.createComponentVNode)(2,c.Tooltip,{content:"Stores file on your device. Advanced drives can store more\nfiles, but use more power, shortening battery life.",position:"right"})]}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Standard",selected:1===i.hw_disk,onClick:function(){return a("hw_disk",{disk:"1"})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Upgraded",selected:2===i.hw_disk,onClick:function(){return a("hw_disk",{disk:"2"})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Advanced",selected:3===i.hw_disk,onClick:function(){return a("hw_disk",{disk:"3"})}})})]}),(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{bold:!0,position:"relative",children:["Network Card:",(0,o.createComponentVNode)(2,c.Tooltip,{content:"Allows your device to wirelessly connect to stationwide NTNet\nnetwork. Basic cards are limited to on-station use, while\nadvanced cards can operate anywhere near the station, which\nincludes asteroid outposts",position:"right"})]}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"None",selected:0===i.hw_netcard,onClick:function(){return a("hw_netcard",{netcard:"0"})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Standard",selected:1===i.hw_netcard,onClick:function(){return a("hw_netcard",{netcard:"1"})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Advanced",selected:2===i.hw_netcard,onClick:function(){return a("hw_netcard",{netcard:"2"})}})})]}),(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{bold:!0,position:"relative",children:["Nano Printer:",(0,o.createComponentVNode)(2,c.Tooltip,{content:"A device that allows for various paperwork manipulations,\nsuch as, scanning of documents or printing new ones.\nThis device was certified EcoFriendlyPlus and is capable of\nrecycling existing paper for printing purposes.",position:"right"})]}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"None",selected:0===i.hw_nanoprint,onClick:function(){return a("hw_nanoprint",{print:"0"})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Standard",selected:1===i.hw_nanoprint,onClick:function(){return a("hw_nanoprint",{print:"1"})}})})]}),(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{bold:!0,position:"relative",children:["Secondary Card Reader:",(0,o.createComponentVNode)(2,c.Tooltip,{content:"Adds a secondary RFID card reader, for manipulating or\nreading from a second standard RFID card.\nPlease note that a primary card reader is necessary to\nallow the device to read your identification, but one\nis included in the base price.",position:"right"})]}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"None",selected:0===i.hw_card,onClick:function(){return a("hw_card",{card:"0"})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Standard",selected:1===i.hw_card,onClick:function(){return a("hw_card",{card:"1"})}})})]}),2!==i.devtype&&(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{bold:!0,position:"relative",children:["Processor Unit:",(0,o.createComponentVNode)(2,c.Tooltip,{content:"A component critical for your device's functionality.\nIt allows you to run programs from your hard drive.\nAdvanced CPUs use more power, but allow you to run\nmore programs on background at once.",position:"right"})]}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Standard",selected:1===i.hw_cpu,onClick:function(){return a("hw_cpu",{cpu:"1"})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Advanced",selected:2===i.hw_cpu,onClick:function(){return a("hw_cpu",{cpu:"2"})}})})]}),(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{bold:!0,position:"relative",children:["Tesla Relay:",(0,o.createComponentVNode)(2,c.Tooltip,{content:"An advanced wireless power relay that allows your device\nto connect to nearby area power controller to provide\nalternative power source. This component is currently\nunavailable on tablet computers due to size restrictions.",position:"right"})]}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"None",selected:0===i.hw_tesla,onClick:function(){return a("hw_tesla",{tesla:"0"})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Standard",selected:1===i.hw_tesla,onClick:function(){return a("hw_tesla",{tesla:"1"})}})})]})]}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,mt:3,content:"Confirm Order",color:"good",textAlign:"center",fontSize:"18px",lineHeight:2,onClick:function(){return a("confirm_order")}})]})},d=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data);return(0,o.createComponentVNode)(2,c.Section,{title:"Step 3: Payment",minHeight:"282px",children:[(0,o.createComponentVNode)(2,c.Box,{italic:!0,textAlign:"center",fontSize:"20px",children:"Your device is ready for fabrication..."}),(0,o.createComponentVNode)(2,c.Box,{bold:!0,mt:2,textAlign:"center",fontSize:"16px",children:[(0,o.createComponentVNode)(2,c.Box,{inline:!0,children:"Please swipe your ID now to authorize payment of:"}),"\xa0",(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:"good",children:[a.totalprice,"\u20ae"]})]})]})},s=function(e,n){return(0,o.createComponentVNode)(2,c.Section,{minHeight:"282px",children:[(0,o.createComponentVNode)(2,c.Box,{bold:!0,textAlign:"center",fontSize:"28px",mt:10,children:"Thank you for your purchase!"}),(0,o.createComponentVNode)(2,c.Box,{italic:!0,mt:1,textAlign:"center",children:"If you experience any difficulties with your new device, please contact your local network administrator."})]})}},26090:function(e,n,t){"use strict";n.__esModule=!0,n.CookingAppliance=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.CookingAppliance=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.temperature,s=l.optimalTemp,u=l.temperatureEnough,m=l.efficiency,p=l.containersRemovable,C=l.our_contents;return(0,o.createComponentVNode)(2,a.Window,{width:600,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Status",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,c.ProgressBar,{color:u?"good":"blue",value:d,maxValue:s,children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:d}),"\xb0C / ",s,"\xb0C"]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Efficiency",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:m}),"%"]})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Containers",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:C.map((function(e,n){return e.empty?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Slot #"+(n+1),children:(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("slot",{slot:n+1})},children:"Empty"})}):(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Slot #"+(n+1),verticalAlign:"middle",children:(0,o.createComponentVNode)(2,c.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Button,{disabled:!p,onClick:function(){return i("slot",{slot:n+1})},children:e.container||"No Container"})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.ProgressBar,{color:e.progressText[0],value:e.progress,maxValue:1,children:e.progressText[1]})})]})},n)}))})})]})})}},22902:function(e,n,t){"use strict";n.__esModule=!0,n.CrewManifestContent=n.CrewManifest=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=t(76270),l=t(2497);n.CrewManifest=function(e,n){return(0,o.createComponentVNode)(2,a.Window,{width:400,height:600,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,d)})})};var d=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data.manifest);return(0,o.createComponentVNode)(2,c.Section,{title:"Crew Manifest",noTopPadding:!0,children:a.map((function(e){return!!e.elems.length&&(0,o.createComponentVNode)(2,c.Section,{title:(0,o.createComponentVNode)(2,c.Box,{backgroundColor:i.COLORS.manifest[e.cat.toLowerCase()],m:-1,pt:1,pb:1,children:(0,o.createComponentVNode)(2,c.Box,{ml:1,textAlign:"center",fontSize:1.4,children:e.cat})}),level:2,children:(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,color:"white",children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Rank"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Active"})]}),e.elems.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{color:"average",children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,l.decodeHtmlEntities)(e.name)}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.rank}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.active})]},e.name+e.rank)}))]})},e.cat)}))})};n.CrewManifestContent=d},96158:function(e,n,t){"use strict";n.__esModule=!0,n.CrewMonitorContent=n.CrewMonitor=void 0;var o=t(39812),r=t(64499),c=t(85531),a=t(71494),i=t(85952),l=t(74814),d=function(e){return e.dead?"Deceased":1===parseInt(e.stat,10)?"Unconscious":"Living"},s=function(e){return e.dead?"red":1===parseInt(e.stat,10)?"orange":"green"};n.CrewMonitor=function(){return(0,o.createComponentVNode)(2,i.Window,{width:800,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:(0,o.createComponentVNode)(2,u)})})};var u=function(e,n){var t,i=(0,a.useBackend)(n),u=i.act,p=i.data,C=(i.config,(0,a.useLocalState)(n,"tabIndex",0)),h=C[0],N=C[1],V=(0,c.flow)([(0,r.sortBy)((function(e){return e.name})),(0,r.sortBy)((function(e){return null==e?void 0:e.x})),(0,r.sortBy)((function(e){return null==e?void 0:e.y})),(0,r.sortBy)((function(e){return null==e?void 0:e.realZ}))])(p.crewmembers||[]),b=(0,a.useLocalState)(n,"zoom",1);b[0],b[1];return t=0===h?(0,o.createComponentVNode)(2,l.Table,{children:[(0,o.createComponentVNode)(2,l.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,l.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,l.Table.Cell,{children:"Status"}),(0,o.createComponentVNode)(2,l.Table.Cell,{children:"Location"})]}),V.map((function(e){return(0,o.createComponentVNode)(2,l.Table.Row,{children:[(0,o.createComponentVNode)(2,l.Table.Cell,{children:[e.name," (",e.assignment,")"]}),(0,o.createComponentVNode)(2,l.Table.Cell,{children:[(0,o.createComponentVNode)(2,l.Box,{inline:!0,color:s(e),children:d(e)}),e.sensor_type>=2?(0,o.createComponentVNode)(2,l.Box,{inline:!0,children:["(",(0,o.createComponentVNode)(2,l.Box,{inline:!0,color:"red",children:e.brute}),"|",(0,o.createComponentVNode)(2,l.Box,{inline:!0,color:"orange",children:e.fire}),"|",(0,o.createComponentVNode)(2,l.Box,{inline:!0,color:"green",children:e.tox}),"|",(0,o.createComponentVNode)(2,l.Box,{inline:!0,color:"blue",children:e.oxy}),")"]}):null]}),(0,o.createComponentVNode)(2,l.Table.Cell,{children:3===e.sensor_type?p.isAI?(0,o.createComponentVNode)(2,l.Button,{fluid:!0,icon:"location-arrow",content:e.area+" ("+e.x+", "+e.y+")",onClick:function(){return u("track",{track:e.ref})}}):e.area+" ("+e.x+", "+e.y+", "+e.z+")":"Not Available"})]},e.ref)}))]}):1===h?(0,o.createComponentVNode)(2,m):"ERROR",(0,o.createFragment)([(0,o.createComponentVNode)(2,l.Tabs,{children:[(0,o.createComponentVNode)(2,l.Tabs.Tab,{selected:0===h,onClick:function(){return N(0)},children:[(0,o.createComponentVNode)(2,l.Icon,{name:"table"})," Data View"]},"DataView"),(0,o.createComponentVNode)(2,l.Tabs.Tab,{selected:1===h,onClick:function(){return N(1)},children:[(0,o.createComponentVNode)(2,l.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),(0,o.createComponentVNode)(2,l.Box,{m:2,children:t})],4)};n.CrewMonitorContent=u;var m=function(e,n){var t=(0,a.useBackend)(n),r=(t.act,t.config),c=t.data,i=(0,a.useLocalState)(n,"zoom",1),d=i[0],u=i[1];return(0,o.createComponentVNode)(2,l.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,o.createComponentVNode)(2,l.NanoMap,{onZoom:function(e){return u(e)},children:c.crewmembers.filter((function(e){return 3===e.sensor_type&&~~e.realZ==~~r.mapZLevel})).map((function(e){return(0,o.createComponentVNode)(2,l.NanoMap.Marker,{x:e.x,y:e.y,zoom:d,icon:"circle",tooltip:e.name+" ("+e.assignment+")",color:s(e)},e.ref)}))})})}},99798:function(e,n,t){"use strict";n.__esModule=!0,n.Cryo=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=[{label:"Resp.",type:"oxyLoss"},{label:"Toxin",type:"toxLoss"},{label:"Brute",type:"bruteLoss"},{label:"Burn",type:"fireLoss"}],l=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]];n.Cryo=function(e,n){return(0,o.createComponentVNode)(2,a.Window,{width:520,height:470,resizeable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{className:"Layout__content--flexColumn",children:(0,o.createComponentVNode)(2,d)})})};var d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,d=t.data,u=d.isOperating,m=d.hasOccupant,p=d.occupant,C=void 0===p?[]:p,h=d.cellTemperature,N=d.cellTemperatureStatus,V=d.isBeakerLoaded;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Occupant",flexGrow:"1",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"user-slash",onClick:function(){return a("ejectOccupant")},disabled:!m,children:"Eject"}),children:m?(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Occupant",children:C.name||"Unknown"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,c.ProgressBar,{min:C.health,max:C.maxHealth,value:C.health/C.maxHealth,color:C.health>0?"good":"average",children:(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:Math.round(C.health)})})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",color:l[C.stat][0],children:l[C.stat][1]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Temperature",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:Math.round(C.bodyTemperature)})," K"]}),(0,o.createComponentVNode)(2,c.LabeledList.Divider),i.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.label,children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:C[e.type]/100,ranges:{bad:[.01,Infinity]},children:(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:Math.round(C[e.type])})})},e.id)}))]}):(0,o.createComponentVNode)(2,c.Flex,{height:"100%",textAlign:"center",children:(0,o.createComponentVNode)(2,c.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,c.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant detected."]})})}),(0,o.createComponentVNode)(2,c.Section,{title:"Cell",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"eject",onClick:function(){return a("ejectBeaker")},disabled:!V,children:"Eject Beaker"}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",onClick:function(){return a(u?"switchOff":"switchOn")},selected:u,children:u?"On":"Off"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Temperature",color:N,children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:h})," K"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Beaker",children:(0,o.createComponentVNode)(2,s)})]})})],4)},s=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data),i=a.isBeakerLoaded,l=a.beakerLabel,d=a.beakerVolume;return i?(0,o.createFragment)([l||(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No label"}),(0,o.createComponentVNode)(2,c.Box,{color:!d&&"bad",children:d?(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:d,format:function(e){return Math.round(e)+" units remaining"}}):"Beaker is empty"})],0):(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No beaker loaded"})}},54234:function(e,n,t){"use strict";n.__esModule=!0,n.CryoStorageItems=n.CryoStorageCrew=n.CryoStorage=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.CryoStorage=function(e,n){var t=(0,r.useBackend)(n),d=(t.act,t.data),s=d.real_name,u=d.allow_items,m=(0,r.useLocalState)(n,"tab",0),p=m[0],C=m[1];return(0,o.createComponentVNode)(2,a.Window,{width:400,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:0===p,onClick:function(){return C(0)},children:"Crew"}),!!u&&(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:1===p,onClick:function(){return C(1)},children:"Items"})]}),(0,o.createComponentVNode)(2,c.NoticeBox,{info:!0,children:["Welcome, ",s,"."]}),0===p&&(0,o.createComponentVNode)(2,i),!!u&&1===p&&(0,o.createComponentVNode)(2,l)]})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data.crew);return(0,o.createComponentVNode)(2,c.Section,{title:"Stored Crew",children:a.length&&a.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{color:"label",children:e},e)}))||(0,o.createComponentVNode)(2,c.Box,{color:"good",children:"No crew currently stored."})})};n.CryoStorageCrew=i;var l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.items;return(0,o.createComponentVNode)(2,c.Section,{title:"Stored Items",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"hand-rock",onClick:function(){return a("allitems")},children:"Claim All"}),children:i.length&&i.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{icon:"hand-rock",onClick:function(){return a("item",{ref:e.ref})},children:e.name},e.ref)}))||(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No items stored."})})};n.CryoStorageItems=l},66384:function(e,n,t){"use strict";n.__esModule=!0,n.CryoStorageItemsVr=n.CryoStorageVr=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=t(54234);n.CryoStorageVr=function(e,n){var t=(0,r.useBackend)(n),d=(t.act,t.data),s=d.real_name,u=d.allow_items,m=(0,r.useLocalState)(n,"tab",0),p=m[0],C=m[1];return(0,o.createComponentVNode)(2,a.Window,{width:400,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:0===p,onClick:function(){return C(0)},children:"Crew"}),!!u&&(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:1===p,onClick:function(){return C(1)},children:"Items"})]}),(0,o.createComponentVNode)(2,c.NoticeBox,{info:!0,children:["Welcome, ",s,"."]}),0===p&&(0,o.createComponentVNode)(2,i.CryoStorageCrew),!!u&&1===p&&(0,o.createComponentVNode)(2,l)]})})};var l=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data.items);return(0,o.createComponentVNode)(2,c.Section,{title:"Stored Items",children:a.length&&a.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{color:"label",children:e},e)}))||(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No items stored."})})};n.CryoStorageItemsVr=l},99579:function(e,n,t){"use strict";n.__esModule=!0,n.DNAForensics=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.DNAForensics=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.scan_progress,s=l.scanning,u=l.bloodsamp,m=l.bloodsamp_desc;return(0,o.createComponentVNode)(2,a.Window,{width:540,height:326,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{selected:s,disabled:!u,icon:"power-off",onClick:function(){return i("scanItem")},children:s?"Halt Scan":"Begin Scan"}),(0,o.createComponentVNode)(2,c.Button,{disabled:!u,icon:"eject",onClick:function(){return i("ejectItem")},children:"Eject Bloodsample"})],4),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Scan Progress",children:(0,o.createComponentVNode)(2,c.ProgressBar,{ranges:{good:[99,Infinity],violet:[-Infinity,99]},value:d,maxValue:100})})})}),(0,o.createComponentVNode)(2,c.Section,{title:"Blood Sample",children:u&&(0,o.createComponentVNode)(2,c.Box,{children:[u,(0,o.createComponentVNode)(2,c.Box,{color:"label",children:m})]})||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No blood sample inserted."})})]})})}},21849:function(e,n,t){"use strict";n.__esModule=!0,n.DNAModifier=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=t(16007),l=[["good","Alive"],["average","Unconscious"],["bad","DEAD"]],d=[["ui","Modify U.I.","dna"],["se","Modify S.E.","dna"],["buffer","Transfer Buffers","syringe"],["rejuvenators","Rejuvenators","flask"]],s=[5,10,20,30,50];n.DNAModifier=function(e,n){var t,c=(0,r.useBackend)(n),l=(c.act,c.data),d=l.irradiating,s=l.dnaBlockSize,p=l.occupant;return n.dnaBlockSize=s,n.isDNAInvalid=!p.isViableSubject||!p.uniqueIdentity||!p.structuralEnzymes,d&&(t=(0,o.createComponentVNode)(2,g,{duration:d})),(0,o.createComponentVNode)(2,a.Window,{width:660,height:700,resizable:!0,children:[(0,o.createComponentVNode)(2,i.ComplexModal),t,(0,o.createComponentVNode)(2,a.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,m)]})]})};var u=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,d=i.locked,s=i.hasOccupant,u=i.occupant;return(0,o.createComponentVNode)(2,c.Section,{title:"Occupant",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Box,{color:"label",inline:!0,mr:"0.5rem",children:"Door Lock:"}),(0,o.createComponentVNode)(2,c.Button,{disabled:!s,selected:d,icon:d?"toggle-on":"toggle-off",content:d?"Engaged":"Disengaged",onClick:function(){return a("toggleLock")}}),(0,o.createComponentVNode)(2,c.Button,{disabled:!s||d,icon:"user-slash",content:"Eject",onClick:function(){return a("ejectOccupant")}})],4),children:s?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Name",children:u.name}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,c.ProgressBar,{min:u.minHealth,max:u.maxHealth,value:u.health/u.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",color:l[u.stat][0],children:l[u.stat][1]}),(0,o.createComponentVNode)(2,c.LabeledList.Divider)]})}),n.isDNAInvalid?(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:[(0,o.createComponentVNode)(2,c.Icon,{name:"exclamation-circle"}),"\xa0 The occupant's DNA structure is ruined beyond recognition, please insert a subject with an intact DNA structure."]}):(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Radiation",children:(0,o.createComponentVNode)(2,c.ProgressBar,{min:"0",max:"100",value:u.radiationLevel/100,color:"average"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Unique Enzymes",children:i.occupant.uniqueEnzymes?i.occupant.uniqueEnzymes:(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:[(0,o.createComponentVNode)(2,c.Icon,{name:"exclamation-circle"}),"\xa0 Unknown"]})})]})],0):(0,o.createComponentVNode)(2,c.Box,{color:"label",children:"Cell unoccupied."})})},m=function(e,n){var t,a=(0,r.useBackend)(n),i=a.act,l=a.data,s=l.selectedMenuKey,u=l.hasOccupant;l.occupant;return u?n.isDNAInvalid?(0,o.createComponentVNode)(2,c.Section,{flexGrow:"1",children:(0,o.createComponentVNode)(2,c.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,c.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,c.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No operation possible on this subject."]})})}):("ui"===s?t=(0,o.createFragment)([(0,o.createComponentVNode)(2,p),(0,o.createComponentVNode)(2,h)],4):"se"===s?t=(0,o.createFragment)([(0,o.createComponentVNode)(2,C),(0,o.createComponentVNode)(2,h)],4):"buffer"===s?t=(0,o.createComponentVNode)(2,N):"rejuvenators"===s&&(t=(0,o.createComponentVNode)(2,f)),(0,o.createComponentVNode)(2,c.Section,{flexGrow:"1",children:[(0,o.createComponentVNode)(2,c.Tabs,{children:d.map((function(e,n){return(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:s===e[0],onClick:function(){return i("selectMenuKey",{key:e[0]})},children:[(0,o.createComponentVNode)(2,c.Icon,{name:e[2]}),e[1]]},n)}))}),t]})):(0,o.createComponentVNode)(2,c.Section,{flexGrow:"1",children:(0,o.createComponentVNode)(2,c.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,c.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,c.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant in DNA modifier."]})})})},p=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.selectedUIBlock,d=i.selectedUISubBlock,s=i.selectedUITarget,u=i.occupant;return(0,o.createComponentVNode)(2,c.Section,{title:"Modify Unique Identifier",level:"2",children:[(0,o.createComponentVNode)(2,k,{dnaString:u.uniqueIdentity,selectedBlock:l,selectedSubblock:d,blockSize:n.dnaBlockSize,action:"selectUIBlock"}),(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Target",children:(0,o.createComponentVNode)(2,c.Knob,{minValue:"1",maxValue:"15",stepPixelSize:"20",value:s,format:function(e){return e.toString(16).toUpperCase()},ml:"0",onChange:function(e,n){return a("changeUITarget",{value:n})}})})}),(0,o.createComponentVNode)(2,c.Button,{icon:"radiation",content:"Irradiate Block",mt:"0.5rem",onClick:function(){return a("pulseUIRadiation")}})]})},C=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.selectedSEBlock,d=i.selectedSESubBlock,s=i.occupant;return(0,o.createComponentVNode)(2,c.Section,{title:"Modify Structural Enzymes",level:"2",children:[(0,o.createComponentVNode)(2,k,{dnaString:s.structuralEnzymes,selectedBlock:l,selectedSubblock:d,blockSize:n.dnaBlockSize,action:"selectSEBlock"}),(0,o.createComponentVNode)(2,c.Button,{icon:"radiation",content:"Irradiate Block",onClick:function(){return a("pulseSERadiation")}})]})},h=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.radiationIntensity,d=i.radiationDuration;return(0,o.createComponentVNode)(2,c.Section,{title:"Radiation Emitter",level:"2",children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Intensity",children:(0,o.createComponentVNode)(2,c.Knob,{minValue:"1",maxValue:"10",stepPixelSize:"20",value:l,popUpPosition:"right",ml:"0",onChange:function(e,n){return a("radiationIntensity",{value:n})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Duration",children:(0,o.createComponentVNode)(2,c.Knob,{minValue:"1",maxValue:"20",stepPixelSize:"10",unit:"s",value:d,popUpPosition:"right",ml:"0",onChange:function(e,n){return a("radiationDuration",{value:n})}})})]}),(0,o.createComponentVNode)(2,c.Button,{icon:"radiation",content:"Pulse Radiation",tooltip:"Mutates a random block of either the occupant's UI or SE.",tooltipPosition:"top-right",mt:"0.5rem",onClick:function(){return a("pulseRadiation")}})]})},N=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data.buffers.map((function(e,n){return(0,o.createComponentVNode)(2,V,{id:n+1,name:"Buffer "+(n+1),buffer:e},n)})));return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Buffers",level:"2",children:a}),(0,o.createComponentVNode)(2,b)],4)},V=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=e.id,d=e.name,s=e.buffer,u=i.isInjectorReady,m=d+(s.data?" - "+s.label:"");return(0,o.createComponentVNode)(2,c.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,o.createComponentVNode)(2,c.Section,{title:m,level:"3",mx:"0",lineHeight:"18px",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button.Confirm,{disabled:!s.data,icon:"trash",content:"Clear",onClick:function(){return a("bufferOption",{option:"clear",id:l})}}),(0,o.createComponentVNode)(2,c.Button,{disabled:!s.data,icon:"pen",content:"Rename",onClick:function(){return a("bufferOption",{option:"changeLabel",id:l})}}),(0,o.createComponentVNode)(2,c.Button,{disabled:!s.data||!i.hasDisk,icon:"save",content:"Export",tooltip:"Exports this buffer to the currently loaded data disk.",tooltipPosition:"bottom-end",onClick:function(){return a("bufferOption",{option:"saveDisk",id:l})}})],4),children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Write",children:[(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-circle-down",content:"Subject U.I",mb:"0",onClick:function(){return a("bufferOption",{option:"saveUI",id:l})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-circle-down",content:"Subject U.I and U.E.",mb:"0",onClick:function(){return a("bufferOption",{option:"saveUIAndUE",id:l})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-circle-down",content:"Subject S.E.",mb:"0",onClick:function(){return a("bufferOption",{option:"saveSE",id:l})}}),(0,o.createComponentVNode)(2,c.Button,{disabled:!i.hasDisk||!i.disk.data,icon:"arrow-circle-down",content:"From Disk",mb:"0",onClick:function(){return a("bufferOption",{option:"loadDisk",id:l})}})]}),!!s.data&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Subject",children:s.owner||(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"Unknown"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Data Type",children:["ui"===s.type?"Unique Identifiers":"Structural Enzymes",!!s.ue&&" and Unique Enzymes"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Transfer to",children:[(0,o.createComponentVNode)(2,c.Button,{disabled:!u,icon:u?"syringe":"spinner",iconSpin:!u,content:"Injector",mb:"0",onClick:function(){return a("bufferOption",{option:"createInjector",id:l})}}),(0,o.createComponentVNode)(2,c.Button,{disabled:!u,icon:u?"syringe":"spinner",iconSpin:!u,content:"Block Injector",mb:"0",onClick:function(){return a("bufferOption",{option:"createInjector",id:l,block:1})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"user",content:"Subject",mb:"0",onClick:function(){return a("bufferOption",{option:"transfer",id:l})}})]})],4)]}),!s.data&&(0,o.createComponentVNode)(2,c.Box,{color:"label",mt:"0.5rem",children:"This buffer is empty."})]})})},b=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.hasDisk,d=i.disk;return(0,o.createComponentVNode)(2,c.Section,{title:"Data Disk",level:"2",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button.Confirm,{disabled:!l||!d.data,icon:"trash",content:"Wipe",onClick:function(){return a("wipeDisk")}}),(0,o.createComponentVNode)(2,c.Button,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return a("ejectDisk")}})],4),children:l?d.data?(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Label",children:d.label?d.label:"No label"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Subject",children:d.owner?d.owner:(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"Unknown"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Data Type",children:["ui"===d.type?"Unique Identifiers":"Structural Enzymes",!!d.ue&&" and Unique Enzymes"]})]}):(0,o.createComponentVNode)(2,c.Box,{color:"label",children:"Disk is blank."}):(0,o.createComponentVNode)(2,c.Box,{color:"label",textAlign:"center",my:"1rem",children:[(0,o.createComponentVNode)(2,c.Icon,{name:"save-o",size:"4"}),(0,o.createVNode)(1,"br"),"No disk inserted."]})})},f=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.isBeakerLoaded,d=i.beakerVolume,u=i.beakerLabel;return(0,o.createComponentVNode)(2,c.Section,{title:"Rejuvenators and Beaker",level:"2",buttons:(0,o.createComponentVNode)(2,c.Button,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return a("ejectBeaker")}}),children:l?(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Inject",children:[s.map((function(e,n){return(0,o.createComponentVNode)(2,c.Button,{disabled:e>d,icon:"syringe",content:e,onClick:function(){return a("injectRejuvenators",{amount:e})}},n)})),(0,o.createComponentVNode)(2,c.Button,{disabled:d<=0,icon:"syringe",content:"All",onClick:function(){return a("injectRejuvenators",{amount:d})}})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Beaker",children:[(0,o.createComponentVNode)(2,c.Box,{mb:"0.5rem",children:u||"No label"}),d?(0,o.createComponentVNode)(2,c.Box,{color:"good",children:[d," unit",1===d?"":"s"," remaining"]}):(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Empty"})]})]}):(0,o.createComponentVNode)(2,c.Box,{color:"label",textAlign:"center",my:"25%",children:[(0,o.createComponentVNode)(2,c.Icon,{name:"exclamation-triangle",size:"4"}),(0,o.createVNode)(1,"br"),"No beaker loaded."]})})},g=function(e,n){return(0,o.createComponentVNode)(2,c.Dimmer,{textAlign:"center",children:[(0,o.createComponentVNode)(2,c.Icon,{name:"spinner",size:"5",spin:!0}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Box,{color:"average",children:(0,o.createVNode)(1,"h1",null,[(0,o.createComponentVNode)(2,c.Icon,{name:"radiation"}),(0,o.createTextVNode)("\xa0Irradiating occupant\xa0"),(0,o.createComponentVNode)(2,c.Icon,{name:"radiation"})],4)}),(0,o.createComponentVNode)(2,c.Box,{color:"label",children:(0,o.createVNode)(1,"h3",null,[(0,o.createTextVNode)("For "),e.duration,(0,o.createTextVNode)(" second"),1===e.duration?"":"s"],0)})]})},k=function(e,n){for(var t=(0,r.useBackend)(n),a=t.act,i=(t.data,e.dnaString),l=e.selectedBlock,d=e.selectedSubblock,s=e.blockSize,u=e.action,m=i.split(""),p=[],C=function(e){for(var n=e/s+1,t=[],r=function(r){var i=r+1;t.push((0,o.createComponentVNode)(2,c.Button,{selected:l===n&&d===i,content:m[e+r],mb:"0",onClick:function(){return a(u,{block:n,subblock:i})}}))},i=0;i1?"Dangerous!":null]},e.stage)}))||(0,o.createComponentVNode)(2,c.Box,{children:"No virus sample loaded."})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Affected Species",color:"label",children:[m&&m.length?null:"None",m.sort().join(", ")]}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Reverse Engineering",children:[(0,o.createComponentVNode)(2,c.Box,{color:"bad",mb:1,children:(0,o.createVNode)(1,"i",null,"CAUTION: Reverse engineering will destroy the viral sample.",16)}),d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{content:e.stage,icon:"exchange-alt",onClick:function(){return a("grab",{grab:e.reference})}},e.stage)})),(0,o.createComponentVNode)(2,c.Button,{content:"Species",icon:"exchange-alt",onClick:function(){return a("affected_species")}})]})],4)]})},l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=(i.dish_inserted,i.buffer),d=i.species_buffer,s=(i.effects,i.info);i.growth,i.affected_species,i.busy;return(0,o.createComponentVNode)(2,c.Section,{title:"Storage",children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Memory Buffer",children:l?(0,o.createComponentVNode)(2,c.Box,{children:[l.name," (",l.stage,")"]}):d?(0,o.createComponentVNode)(2,c.Box,{children:d}):"Empty"})}),(0,o.createComponentVNode)(2,c.Button,{mt:1,icon:"save",content:"Save To Disk",disabled:!l&&!d,onClick:function(){return a("disk")}}),l?(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Splice #1",disabled:l.stage>1,onClick:function(){return a("splice",{splice:1})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Splice #2",disabled:l.stage>2,onClick:function(){return a("splice",{splice:2})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Splice #3",disabled:l.stage>3,onClick:function(){return a("splice",{splice:3})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Splice #4",disabled:l.stage>4,onClick:function(){return a("splice",{splice:4})}})]}):d?(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Splice Species",disabled:!d||s,onClick:function(){return a("splice",{splice:5})}})}):null]})}},31066:function(e,n,t){"use strict";n.__esModule=!0,n.DishIncubator=void 0;var o=t(39812),r=(t(41860),t(58083)),c=t(71494),a=t(74814),i=t(85952);n.DishIncubator=function(e,n){var t=(0,c.useBackend)(n),l=t.act,d=t.data,s=d.on,u=d.system_in_use,m=d.food_supply,p=d.radiation,C=d.growth,h=d.toxins,N=d.chemicals_inserted,V=d.can_breed_virus,b=d.chemical_volume,f=d.max_chemical_volume,g=d.dish_inserted,k=d.blood_already_infected,v=d.virus,B=d.analysed,L=d.infection_rate;return(0,o.createComponentVNode)(2,i.Window,{width:400,height:600,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.Section,{title:"Environmental Conditions",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",selected:s,content:s?"On":"Off",onClick:function(){return l("power")}}),children:[(0,o.createComponentVNode)(2,a.Flex,{spacing:1,mb:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"radiation",content:"Add Radiation",onClick:function(){return l("rad")}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button.Confirm,{fluid:!0,color:"red",icon:"trash",confirmIcon:"trash",content:"Flush System",disabled:!u,onClick:function(){return l("flush")}})})]}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Virus Food",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,ranges:{good:[40,Infinity],average:[20,40],bad:[-Infinity,20]},value:m})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Radiation Level",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,color:p>=50?"bad":C>=25?"average":"good",value:p,children:[(0,r.formatCommaNumber)(1e4*p)," \xb5Sv"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Toxicity",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,ranges:{bad:[50,Infinity],average:[25,50],good:[-Infinity,25]},value:h})})]})]}),(0,o.createComponentVNode)(2,a.Section,{title:V?"Vial":"Chemicals",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject "+(V?"Vial":"Chemicals"),disabled:!N,onClick:function(){return l("ejectchem")}}),(0,o.createComponentVNode)(2,a.Button,{icon:"virus",content:"Breed Virus",disabled:!V,onClick:function(){return l("virus")}})],4),children:N&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Volume",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:f,value:b,children:[b,"/",f]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Breeding Environment",color:V?"good":"average",children:[g?V?"Suitable":"No hemolytic samples detected":"N/A",k?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"CAUTION: Viral infection detected in blood sample."}):null]})]})})||(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No chemicals inserted."})}),(0,o.createComponentVNode)(2,a.Section,{title:"Virus Dish",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject Dish",disabled:!g,onClick:function(){return l("ejectdish")}}),children:g?v?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Growth Density",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,ranges:{good:[50,Infinity],average:[25,50],bad:[-Infinity,25]},value:C})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Infection Rate",children:B?L:"Unknown."})]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No virus detected."}):(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No dish loaded."})})]})})}},19095:function(e,n,t){"use strict";n.__esModule=!0,n.DisposalBin=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.DisposalBin=function(e,n){var t,i,l=(0,r.useBackend)(n),d=l.act,s=l.data;return 2===s.mode?(t="good",i="Ready"):s.mode<=0?(t="bad",i="N/A"):1===s.mode?(t="average",i="Pressurizing"):(t="average",i="Idle"),(0,o.createComponentVNode)(2,a.Window,{width:300,height:250,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{children:[(0,o.createComponentVNode)(2,c.Box,{bold:!0,m:1,children:"Status"}),(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"State",color:t,children:i}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Pressure",children:(0,o.createComponentVNode)(2,c.ProgressBar,{ranges:{bad:[-Infinity,0],average:[0,99],good:[99,Infinity]},value:s.pressure,minValue:0,maxValue:100})})]}),(0,o.createComponentVNode)(2,c.Box,{bold:!0,m:1,children:"Controls"}),(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Handle",children:[(0,o.createComponentVNode)(2,c.Button,{icon:"toggle-off",disabled:s.isAI||s.panel_open,content:"Disengaged",selected:s.flushing?null:"selected",onClick:function(){return d("disengageHandle")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"toggle-on",disabled:s.isAI||s.panel_open,content:"Engaged",selected:s.flushing?"selected":null,onClick:function(){return d("engageHandle")}})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power",children:[(0,o.createComponentVNode)(2,c.Button,{icon:"toggle-off",disabled:-1===s.mode,content:"Off",selected:s.mode?null:"selected",onClick:function(){return d("pumpOff")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"toggle-on",disabled:-1===s.mode,content:"On",selected:s.mode?"selected":null,onClick:function(){return d("pumpOn")}})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Eject",children:(0,o.createComponentVNode)(2,c.Button,{icon:"sign-out-alt",disabled:s.isAI,content:"Eject Contents",onClick:function(){return d("eject")}})})]})]})})})}},29345:function(e,n,t){"use strict";n.__esModule=!0,n.DroneConsole=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.DroneConsole=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.drones,s=l.areas,u=l.selected_area,m=l.fabricator,p=l.fabPower;return(0,o.createComponentVNode)(2,a.Window,{width:600,height:350,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Drone Fabricator",buttons:(0,o.createComponentVNode)(2,c.Button,{disabled:!m,selected:p,icon:"power-off",content:p?"Enabled":"Disabled",onClick:function(){return i("toggle_fab")}}),children:m?(0,o.createComponentVNode)(2,c.Box,{color:"good",children:"Linked."}):(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:["Fabricator not detected.",(0,o.createComponentVNode)(2,c.Button,{icon:"sync",content:"Search for Fabricator",onClick:function(){return i("search_fab")}})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Request Drone",children:[(0,o.createComponentVNode)(2,c.Dropdown,{options:s?s.sort():null,selected:u,width:"100%",onSelected:function(e){return i("set_dcall_area",{area:e})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"share-square",content:"Send Ping",onClick:function(){return i("ping")}})]}),(0,o.createComponentVNode)(2,c.Section,{title:"Maintenance Units",children:d&&d.length?(0,o.createComponentVNode)(2,c.LabeledList,{children:d.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"sync",content:"Resync",onClick:function(){return i("resync",{ref:e.ref})}}),(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"exclamation-triangle",color:"red",content:"Shutdown",onClick:function(){return i("shutdown",{ref:e.ref})}})],4),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Location",children:e.loc}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Charge",children:[e.charge," / ",e.maxCharge]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Active",children:e.active?"Yes":"No"})]})},e.name)}))}):(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No drones detected."})})]})})}},84122:function(e,n,t){"use strict";n.__esModule=!0,n.EmbeddedController=void 0;var o=t(39812),r=(t(2497),t(41860),t(71494)),c=t(74814),a=t(85952),i=((0,t(88654).createLogger)("fuck"),{});n.EmbeddedController=function(e,n){var t=(0,r.useBackend)(n),c=(t.act,t.data.internalTemplateName),l=i[c];if(!l)throw Error("Unable to find Component for template name: "+c);return(0,o.createComponentVNode)(2,a.Window,{width:450,height:340,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,n){var t=e.bars;return(0,o.createComponentVNode)(2,c.Section,{title:"Status",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:t.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.label,children:(0,o.createComponentVNode)(2,c.ProgressBar,{color:e.color(e.value),minValue:e.minValue,maxValue:e.maxValue,value:e.value,children:e.textValue})},e.label)}))})})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.data,i=t.act,l=!0;a.interior_status&&"open"===a.interior_status.state?l=!1:a.external_pressure&&a.chamber_pressure&&(l=!(Math.abs(a.external_pressure-a.chamber_pressure)>5));var d=!0;return a.exterior_status&&"open"===a.exterior_status.state?d=!1:a.internal_pressure&&a.chamber_pressure&&(d=!(Math.abs(a.internal_pressure-a.chamber_pressure)>5)),(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{disabled:a.airlock_disabled,icon:"arrow-left",content:"Cycle to Exterior",onClick:function(){return i("cycle_ext")}}),(0,o.createComponentVNode)(2,c.Button,{disabled:a.airlock_disabled,icon:"arrow-right",content:"Cycle to Interior",onClick:function(){return i("cycle_int")}})]}),(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button.Confirm,{disabled:a.airlock_disabled,color:l?"":"bad",icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",content:"Force Exterior Door",onClick:function(){return i("force_ext")}}),(0,o.createComponentVNode)(2,c.Button.Confirm,{disabled:a.airlock_disabled,color:d?"":"bad",icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",content:"Force Interior Door",onClick:function(){return i("force_int")}})]})],4)},s=function(e,n){var t=(0,r.useBackend)(n),a=t.data,i=(t.act,{docked:(0,o.createComponentVNode)(2,u),undocking:(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"EJECTING-STAND CLEAR!"}),undocked:(0,o.createComponentVNode)(2,c.Box,{color:"grey",children:"POD EJECTED"}),docking:(0,o.createComponentVNode)(2,c.Box,{color:"good",children:"INITIALIZING..."})}),l=(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"ERROR"});return"open"===a.exterior_status.state?l=(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"OPEN"}):"unlocked"===a.exterior_status.lock?l=(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"UNSECURED"}):"locked"===a.exterior_status.lock&&(l=(0,o.createComponentVNode)(2,c.Box,{color:"good",children:"SECURED"})),(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Escape Pod Status",children:i[a.docking_status]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Docking Hatch",children:l})]})})},u=function(e,n){var t=(0,r.useBackend)(n),a=t.data;t.act;return a.armed?(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"ARMED"}):(0,o.createComponentVNode)(2,c.Box,{color:"good",children:"SYSTEMS OK"})},m=function(e,n){var t=(0,r.useBackend)(n),a=t.data,i=t.act;return(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{disabled:!a.override_enabled,icon:"exclamation-triangle",content:"Force Exterior Door",color:"docked"!==a.docking_status?"bad":"",onClick:function(){return i("force_door")}}),(0,o.createComponentVNode)(2,c.Button,{selected:a.override_enabled,color:"docked"!==a.docking_status?"bad":"average",icon:"exclamation-triangle",content:"Override",onClick:function(){return i("toggle_override")}})]})},p=function(e,n){var t=(0,r.useBackend)(n),a=t.data,i=(t.act,{docked:(0,o.createComponentVNode)(2,c.Box,{color:"good",children:"DOCKED"}),docking:(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"DOCKING"}),undocking:(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"UNDOCKING"}),undocked:(0,o.createComponentVNode)(2,c.Box,{color:"grey",children:"NOT IN USE"})}[a.docking_status]);return a.override_enabled&&(i=(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:[a.docking_status.toUpperCase(),"-OVERRIDE ENABLED"]})),i};i.AirlockConsoleAdvanced=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,s=function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"},u=[{minValue:0,maxValue:202,value:i.external_pressure,label:"External Pressure",textValue:i.external_pressure+" kPa",color:s},{minValue:0,maxValue:202,value:i.chamber_pressure,label:"Chamber Pressure",textValue:i.chamber_pressure+" kPa",color:s},{minValue:0,maxValue:202,value:i.internal_pressure,label:"Internal Pressure",textValue:i.internal_pressure+" kPa",color:s}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,l,{bars:u}),(0,o.createComponentVNode)(2,c.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{icon:"sync",content:"Purge",onClick:function(){return a("purge")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"lock-open",content:"Secure",onClick:function(){return a("secure")}})]}),(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{disabled:!i.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};i.AirlockConsoleSimple=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,s=[{minValue:0,maxValue:202,value:i.chamber_pressure,label:"Chamber Pressure",textValue:i.chamber_pressure+" kPa",color:function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"}}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,l,{bars:s}),(0,o.createComponentVNode)(2,c.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{disabled:!i.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};i.AirlockConsolePhoron=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,s=[{minValue:0,maxValue:202,value:i.chamber_pressure,label:"Chamber Pressure",textValue:i.chamber_pressure+" kPa",color:function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"}},{minValue:0,maxValue:100,value:i.chamber_phoron,label:"Chamber Phoron",textValue:i.chamber_phoron+" mol",color:function(e){return e>5?"bad":e>.5?"average":"good"}}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,l,{bars:s}),(0,o.createComponentVNode)(2,c.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{disabled:!i.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};i.AirlockConsoleDocking=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,s=[{minValue:0,maxValue:202,value:i.chamber_pressure,label:"Chamber Pressure",textValue:i.chamber_pressure+" kPa",color:function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"}}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Dock",buttons:i.airlock_disabled||i.override_enabled?(0,o.createComponentVNode)(2,c.Button,{icon:"exclamation-triangle",color:i.override_enabled?"red":"",content:"Override",onClick:function(){return a("toggle_override")}}):null,children:(0,o.createComponentVNode)(2,p)}),(0,o.createComponentVNode)(2,l,{bars:s}),(0,o.createComponentVNode)(2,c.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{disabled:!i.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};i.DockingConsoleSimple=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"ERROR"});return"open"===i.exterior_status.state?l=(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"OPEN"}):"unlocked"===i.exterior_status.lock?l=(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"UNSECURED"}):"locked"===i.exterior_status.lock&&(l=(0,o.createComponentVNode)(2,c.Box,{color:"good",children:"SECURED"})),(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"exclamation-triangle",disabled:!i.override_enabled,content:"Force exterior door",onClick:function(){return a("force_door")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"exclamation-triangle",color:i.override_enabled?"red":"",content:"Override",onClick:function(){return a("toggle_override")}})],4),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Dock Status",children:(0,o.createComponentVNode)(2,p)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Docking Hatch",children:l})]})})};i.DockingConsoleMulti=function(e,n){var t=(0,r.useBackend)(n).data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Docking Status",children:(0,o.createComponentVNode)(2,p)}),(0,o.createComponentVNode)(2,c.Section,{title:"Airlocks",children:t.airlocks.length?(0,o.createComponentVNode)(2,c.LabeledList,{children:t.airlocks.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{color:e.override_enabled?"bad":"good",label:e.name,children:e.override_enabled?"OVERRIDE ENABLED":"STATUS OK"},e.name)}))}):(0,o.createComponentVNode)(2,c.Flex,{height:"100%",mt:"0.5em",children:(0,o.createComponentVNode)(2,c.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"bad",children:[(0,o.createComponentVNode)(2,c.Icon,{name:"door-closed",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No airlocks found."]})})})],4)};i.DoorAccessConsole=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l="open"===i.interior_status.state||"closed"===i.exterior_status.state,d="open"===i.exterior_status.state||"closed"===i.interior_status.state;return(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:l?"arrow-left":"exclamation-triangle",content:l?"Cycle To Exterior":"Lock Exterior Door",onClick:function(){a(l?"cycle_ext_door":"force_ext")}}),(0,o.createComponentVNode)(2,c.Button,{icon:d?"arrow-right":"exclamation-triangle",content:d?"Cycle To Interior":"Lock Interior Door",onClick:function(){a(d?"cycle_int_door":"force_int")}})],0),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Exterior Door Status",children:"closed"===i.exterior_status.state?"Locked":"Open"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Interior Door Status",children:"closed"===i.interior_status.state?"Locked":"Open"})]})})};i.EscapePodConsole=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,c.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,m),(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{icon:"exclamation-triangle",disabled:i.armed,color:i.armed?"bad":"average",content:"ARM",onClick:function(){return a("manual_arm")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"exclamation-triangle",disabled:!i.can_force,color:"bad",content:"MANUAL EJECT",onClick:function(){return a("force_launch")}})]})]})],4)};i.EscapePodBerthConsole=function(e,n){(0,r.useBackend)(n).data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,c.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,m)})],4)}},33777:function(e,n,t){"use strict";n.__esModule=!0,n.ExonetNode=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.ExonetNode=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.on,s=l.allowPDAs,u=l.allowCommunicators,m=l.allowNewscasters,p=l.logs;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:d,content:"Power "+(d?"On":"Off"),onClick:function(){return i("toggle_power")}}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Incoming PDA Messages",children:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:s,content:s?"Open":"Closed",onClick:function(){return i("toggle_PDA_port")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Incoming Communicators",children:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:u,content:u?"Open":"Closed",onClick:function(){return i("toggle_communicator_port")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Incoming Newscaster Content",children:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:m,content:m?"Open":"Closed",onClick:function(){return i("toggle_newscaster_port")}})})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Logging",children:(0,o.createComponentVNode)(2,c.Flex,{wrap:"wrap",children:[p.map((function(e,n){return(0,o.createComponentVNode)(2,c.Flex.Item,{m:"2px",basis:"49%",grow:n%2,children:e},n)})),p&&0!==p.length?null:(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No logs found."})]})})]})})}},95481:function(e,n,t){"use strict";n.__esModule=!0,n.Materials=n.ExosuitFabricator=void 0;var o,r=t(39812),c=t(34380),a=t(64499),i=t(71494),l=t(58083),d=t(74814),s=t(85952),u=t(2497),m=t(41860);function p(e,n){var t;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"==typeof e)return C(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return C(e,n)}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function C(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);tt?{color:2,deficit:e-t}:n>t?{color:1,deficit:e}:e+n>t?{color:1,deficit:e+n-t}:{color:0,deficit:0}},b=function(e,n,t){var o={textColor:0};return Object.keys(t.cost).forEach((function(r){o[r]=V(t.cost[r],n[r],e[r]),o[r].color>o.textColor&&(o.textColor=o[r].color)})),o};n.ExosuitFabricator=function(e,n){var t,o,c=(0,i.useBackend)(n),a=c.act,l=c.data,u=l.queue||[],m=(t=l.materials||[],o={},t.forEach((function(e){o[e.name]=e.amount})),o),p=function(e,n){var t={},o={},r={},c={};return n.forEach((function(n,a){c[a]=0,Object.keys(n.cost).forEach((function(i){t[i]=t[i]||0,r[i]=r[i]||0,o[i]=V(n.cost[i],t[i],e[i]),0!==o[i].color?c[a]1&&l0}));return 0===l.length?(0,r.createComponentVNode)(2,d.Box,{textAlign:"center",children:[(0,r.createComponentVNode)(2,d.Icon,{textAlign:"center",size:5,name:"inbox"}),(0,r.createVNode)(1,"br"),(0,r.createVNode)(1,"b",null,"No Materials Loaded.",16)]}):(0,r.createComponentVNode)(2,d.Flex,{wrap:"wrap",children:l.map((function(e){return(0,r.createComponentVNode)(2,d.Flex.Item,{width:"80px",children:[(0,r.createComponentVNode)(2,k,{name:e.name,amount:e.amount,formatsi:!0}),!a&&(0,r.createComponentVNode)(2,d.Box,{mt:1,style:{"text-align":"center"},children:(0,r.createComponentVNode)(2,f,{material:e})})]},e.name)||null}))})};n.Materials=g;var k=function(e,n){var t=e.name,o=e.amount,a=e.formatsi,i=e.formatmoney,s=e.color,p=e.style,C="0";return C=o<1&&o>0?(0,m.toFixed)(o,2):a?(0,l.formatSiUnit)(o,0):i?(0,l.formatMoney)(o):o,(0,r.createComponentVNode)(2,d.Flex,{direction:"column",align:"center",children:[(0,r.createComponentVNode)(2,d.Flex.Item,{children:(0,r.createComponentVNode)(2,d.Box,{className:(0,c.classes)(["sheetmaterials32x32",h[t]]),position:"relative",style:p,children:(0,r.createComponentVNode)(2,d.Tooltip,{position:"bottom",content:(0,u.toTitleCase)(t)})})}),(0,r.createComponentVNode)(2,d.Flex.Item,{children:(0,r.createComponentVNode)(2,d.Box,{textColor:s,style:{"text-align":"center"},children:C})})]})},v=function(e,n){var t=(0,i.useBackend)(n).data,o=t.partSets||[],c=t.buildableParts||{},a=(0,i.useSharedState)(n,"part_tab",o.length?c[0]:""),l=a[0],s=a[1];return(0,r.createComponentVNode)(2,d.Tabs,{vertical:!0,children:o.map((function(e){return!!c[e]&&(0,r.createComponentVNode)(2,d.Tabs.Tab,{selected:e===l,disabled:!c[e],onClick:function(){return s(e)},children:e},e)}))})},B=function(e,n){var t,o=(0,i.useBackend)(n).data,c=function(e){for(var n,t=p(e);!(n=t()).done;){var o=n.value;if(s[o])return o}return null},l=o.partSets||[],s=o.buildableParts||[],m=e.queueMaterials,C=e.materials,h=(0,i.useSharedState)(n,"part_tab",c(l)),N=h[0],V=h[1],f=(0,i.useSharedState)(n,"search_text",""),g=f[0],k=f[1];if(!N||!s[N]){var v=c(l);if(!v)return;V(v)}return g?(t=[],function(e,n){var t=[];if(e.length){var o=(0,u.createSearch)(e,(function(e){return(e.name||"")+(e.desc||"")+(e.searchMeta||"")}));return Object.keys(n).forEach((function(e){n[e].filter(o).forEach((function(e){t.push(e)}))})),t=(0,a.uniqBy)((function(e){return e.name}))(t)}}(g,s).forEach((function(e){e.format=b(C,m,e),t.push(e)}))):(t={Parts:[]},s[N].forEach((function(e){e.format=b(C,m,e),e.subCategory?(e.subCategory in t||(t[e.subCategory]=[]),t[e.subCategory].push(e)):t.Parts.push(e)}))),(0,r.createFragment)([(0,r.createComponentVNode)(2,d.Section,{children:(0,r.createComponentVNode)(2,d.Flex,{children:[(0,r.createComponentVNode)(2,d.Flex.Item,{mr:1,children:(0,r.createComponentVNode)(2,d.Icon,{name:"search"})}),(0,r.createComponentVNode)(2,d.Flex.Item,{grow:1,children:(0,r.createComponentVNode)(2,d.Input,{fluid:!0,placeholder:"Search for...",onInput:function(e,n){return k(n)}})})]})}),!!g&&(0,r.createComponentVNode)(2,L,{name:"Search Results",parts:t,forceShow:!0,placeholder:"No matching results..."})||Object.keys(t).map((function(e){return(0,r.createComponentVNode)(2,L,{name:e,parts:t[e]},e)}))],0)},L=function(e,n){var t=(0,i.useBackend)(n),o=t.act,c=t.data.buildingPart,a=e.parts,l=e.name,s=e.forceShow,u=e.placeholder,m=(0,i.useSharedState)(n,"display_mats",!1)[0];return(!!a.length||s)&&(0,r.createComponentVNode)(2,d.Section,{title:l,buttons:(0,r.createComponentVNode)(2,d.Button,{disabled:!a.length,color:"good",content:"Queue All",icon:"plus-circle",onClick:function(){return o("add_queue_set",{part_list:a.map((function(e){return e.id}))})}}),children:[!a.length&&u,a.map((function(e){return(0,r.createFragment)([(0,r.createComponentVNode)(2,d.Flex,{align:"center",children:[(0,r.createComponentVNode)(2,d.Flex.Item,{children:(0,r.createComponentVNode)(2,d.Button,{disabled:c||2===e.format.textColor,color:"good",height:"20px",mr:1,icon:"play",onClick:function(){return o("build_part",{id:e.id})}})}),(0,r.createComponentVNode)(2,d.Flex.Item,{children:(0,r.createComponentVNode)(2,d.Button,{color:"average",height:"20px",mr:1,icon:"plus-circle",onClick:function(){return o("add_queue_part",{id:e.id})}})}),(0,r.createComponentVNode)(2,d.Flex.Item,{children:(0,r.createComponentVNode)(2,d.Box,{inline:!0,textColor:N[e.format.textColor],children:e.name})}),(0,r.createComponentVNode)(2,d.Flex.Item,{grow:1}),(0,r.createComponentVNode)(2,d.Flex.Item,{children:(0,r.createComponentVNode)(2,d.Button,{icon:"question-circle",transparent:!0,height:"20px",tooltip:"Build Time: "+e.printTime+"s. "+(e.desc||""),tooltipPosition:"left"})})]}),m&&(0,r.createComponentVNode)(2,d.Flex,{mb:2,children:Object.keys(e.cost).map((function(n){return(0,r.createComponentVNode)(2,d.Flex.Item,{width:"50px",color:N[e.format[n].color],children:(0,r.createComponentVNode)(2,k,{formatmoney:!0,style:{transform:"scale(0.75) translate(0%, 10%)"},name:n,amount:e.cost[n]})},n)}))})],0,e.name)}))]})},_=function(e,n){var t=(0,i.useBackend)(n),o=t.act,c=t.data,a=c.isProcessingQueue,l=c.queue||[],s=e.queueMaterials,u=e.missingMaterials,m=e.textColors;return(0,r.createComponentVNode)(2,d.Flex,{height:"100%",width:"100%",direction:"column",children:[(0,r.createComponentVNode)(2,d.Flex.Item,{height:0,grow:1,children:(0,r.createComponentVNode)(2,d.Section,{height:"100%",title:"Queue",overflowY:"auto",buttons:(0,r.createFragment)([(0,r.createComponentVNode)(2,d.Button.Confirm,{disabled:!l.length,color:"bad",icon:"minus-circle",content:"Clear Queue",onClick:function(){return o("clear_queue")}}),!!a&&(0,r.createComponentVNode)(2,d.Button,{disabled:!l.length,content:"Stop",icon:"stop",onClick:function(){return o("stop_queue")}})||(0,r.createComponentVNode)(2,d.Button,{disabled:!l.length,content:"Build Queue",icon:"play",onClick:function(){return o("build_queue")}})],0),children:(0,r.createComponentVNode)(2,d.Flex,{direction:"column",height:"100%",children:[(0,r.createComponentVNode)(2,d.Flex.Item,{children:(0,r.createComponentVNode)(2,S)}),(0,r.createComponentVNode)(2,d.Flex.Item,{children:(0,r.createComponentVNode)(2,w,{textColors:m})})]})})}),!!l.length&&(0,r.createComponentVNode)(2,d.Flex.Item,{mt:1,children:(0,r.createComponentVNode)(2,d.Section,{title:"Material Cost",children:(0,r.createComponentVNode)(2,x,{queueMaterials:s,missingMaterials:u})})})]})},x=function(e,n){var t=e.queueMaterials,o=e.missingMaterials;return(0,r.createComponentVNode)(2,d.Flex,{wrap:"wrap",children:Object.keys(t).map((function(e){return(0,r.createComponentVNode)(2,d.Flex.Item,{width:"12%",children:[(0,r.createComponentVNode)(2,k,{formatmoney:!0,name:e,amount:t[e]}),!!o[e]&&(0,r.createComponentVNode)(2,d.Box,{textColor:"bad",style:{"text-align":"center"},children:(0,l.formatMoney)(o[e])})]},e)}))})},w=function(e,n){var t=(0,i.useBackend)(n),o=t.act,c=t.data,a=e.textColors,l=c.queue||[];return l.length?l.map((function(e,n){return(0,r.createComponentVNode)(2,d.Box,{children:(0,r.createComponentVNode)(2,d.Flex,{mb:.5,direction:"column",justify:"center",wrap:"wrap",height:"20px",inline:!0,children:[(0,r.createComponentVNode)(2,d.Flex.Item,{basis:"content",children:(0,r.createComponentVNode)(2,d.Button,{height:"20px",mr:1,icon:"minus-circle",color:"bad",onClick:function(){return o("del_queue_part",{index:n+1})}})}),(0,r.createComponentVNode)(2,d.Flex.Item,{children:(0,r.createComponentVNode)(2,d.Box,{inline:!0,textColor:N[a[n]],children:e.name})})]})},e.name)})):(0,r.createFragment)([(0,r.createTextVNode)("No parts in queue.")],4)},S=function(e,n){var t=(0,i.useBackend)(n).data,o=t.buildingPart,c=t.storedPart;if(c){var a=c.name;return(0,r.createComponentVNode)(2,d.Box,{children:(0,r.createComponentVNode)(2,d.ProgressBar,{minValue:0,maxValue:1,value:1,color:"average",children:(0,r.createComponentVNode)(2,d.Flex,{children:[(0,r.createComponentVNode)(2,d.Flex.Item,{children:a}),(0,r.createComponentVNode)(2,d.Flex.Item,{grow:1}),(0,r.createComponentVNode)(2,d.Flex.Item,{children:"Fabricator outlet obstructed..."})]})})})}if(o){var l=o.name,s=o.duration,u=o.printTime,m=Math.ceil(s/10);return(0,r.createComponentVNode)(2,d.Box,{children:(0,r.createComponentVNode)(2,d.ProgressBar,{minValue:0,maxValue:u,value:s,children:(0,r.createComponentVNode)(2,d.Flex,{children:[(0,r.createComponentVNode)(2,d.Flex.Item,{children:l}),(0,r.createComponentVNode)(2,d.Flex.Item,{grow:1}),(0,r.createComponentVNode)(2,d.Flex.Item,{children:m>=0&&m+"s"||"Dispensing..."})]})})})}}},95598:function(e,n,t){"use strict";n.__esModule=!0,n.Farmbot=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.Farmbot=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.on,s=l.locked,u=l.tank,m=l.tankVolume,p=l.tankMaxVolume,C=l.waters_trays,h=l.refills_water,N=l.uproots_weeds,V=l.replaces_nutriment;l.collects_produce,l.removes_dead;return(0,o.createComponentVNode)(2,a.Window,{width:450,height:540,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Automatic Hyrdoponic Assisting Unit v2.0",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:d,onClick:function(){return i("power")},children:d?"On":"Off"}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Water Tank",children:u&&(0,o.createComponentVNode)(2,c.ProgressBar,{value:m,maxValue:p,children:[m," / ",p]})||(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No water tank detected."})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Behavior Controls",color:s?"good":"bad",children:s?"Locked":"Unlocked"})]})}),!s&&(0,o.createComponentVNode)(2,c.Section,{title:"Behavior Controls",children:[(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Watering Controls",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Water plants",children:(0,o.createComponentVNode)(2,c.Button,{icon:C?"toggle-on":"toggle-off",selected:C,onClick:function(){return i("water")},children:C?"Yes":"No"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Refill watertank",children:(0,o.createComponentVNode)(2,c.Button,{icon:h?"toggle-on":"toggle-off",selected:h,onClick:function(){return i("refill")},children:h?"Yes":"No"})})]})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Weeding controls",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Weed plants",children:(0,o.createComponentVNode)(2,c.Button,{icon:N?"toggle-on":"toggle-off",selected:N,onClick:function(){return i("weed")},children:N?"Yes":"No"})})})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Nutriment controls",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Replace fertilizer",children:(0,o.createComponentVNode)(2,c.Button,{icon:V?"toggle-on":"toggle-off",selected:V,onClick:function(){return i("replacenutri")},children:V?"Yes":"No"})})})})]})||null]})})}},17569:function(e,n,t){"use strict";n.__esModule=!0,n.FaxContent=n.Fax=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=t(28117),l=t(1192);n.Fax=function(e,n){return(0,r.useBackend)(n).data.authenticated?(0,o.createComponentVNode)(2,a.Window,{width:600,height:250,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,i.LoginInfo),(0,o.createComponentVNode)(2,d)]})}):(0,o.createComponentVNode)(2,a.Window,{width:600,height:250,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,l.LoginScreen)]})})};var d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.bossName,d=i.copyItem,s=i.cooldown,u=i.destination;return(0,o.createComponentVNode)(2,c.Section,{children:[!!s&&(0,o.createComponentVNode)(2,c.NoticeBox,{info:!0,children:"Transmitter arrays realigning. Please stand by."}),(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Network",children:[l," Quantum Entanglement Network"]})}),d&&(0,o.createComponentVNode)(2,c.Box,{mt:1,children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Currently Sending",children:d}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Sending To",children:(0,o.createComponentVNode)(2,c.Button,{icon:"map-marker-alt",content:u,onClick:function(){return a("dept")}})})]}),(0,o.createComponentVNode)(2,c.Button,{icon:"share-square",onClick:function(){return a("send")},content:"Send",fluid:!0})]})||(0,o.createComponentVNode)(2,c.Box,{mt:1,children:"Please insert item to transmit."})]})};n.FaxContent=d;var s=function(e,n){var t=(0,r.useBackend)(n),a=t.act;return t.data.copyItem?(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"eject",onClick:function(){return a("remove")},content:"Remove Item"})}):null}},58087:function(e,n,t){"use strict";n.__esModule=!0,n.FileCabinet=void 0;var o=t(39812),r=t(64499),c=t(71494),a=t(74814),i=t(85952);n.FileCabinet=function(e,n){var t=(0,c.useBackend)(n),l=t.act,d=t.data.contents,s=(0,r.sortBy)((function(e){return e.name}))(d||[]);return(0,o.createComponentVNode)(2,i.Window,{width:350,height:300,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,a.Section,{children:s.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"file",content:e.name,onClick:function(){return l("retrieve",{ref:e.ref})}},e.ref)}))})})})}},21902:function(e,n,t){"use strict";n.__esModule=!0,n.Floorbot=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.Floorbot=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.on,s=l.open,u=l.locked,m=l.vocal,p=l.amount,C=l.possible_bmode,h=l.improvefloors,N=l.eattiles,V=l.maketiles,b=l.bmode;return(0,o.createComponentVNode)(2,a.Window,{width:390,height:310,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Automatic Station Floor Repairer v2.0",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:d,onClick:function(){return i("start")},children:d?"On":"Off"}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Tiles Left",children:(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:p})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Maintenance Panel",color:s?"bad":"good",children:s?"Open":"Closed"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Behavior Controls",color:u?"good":"bad",children:u?"Locked":"Unlocked"})]})}),!u&&(0,o.createComponentVNode)(2,c.Section,{title:"Behavior Controls",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Speaker",children:(0,o.createComponentVNode)(2,c.Button,{icon:m?"toggle-on":"toggle-off",selected:m,onClick:function(){return i("vocal")},children:m?"On":"Off"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Improves Floors",children:(0,o.createComponentVNode)(2,c.Button,{icon:h?"toggle-on":"toggle-off",selected:h,onClick:function(){return i("improve")},children:h?"On":"Off"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Finds Tiles",children:(0,o.createComponentVNode)(2,c.Button,{icon:N?"toggle-on":"toggle-off",selected:N,onClick:function(){return i("tiles")},children:N?"On":"Off"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Makes Metal Sheets into Tiles",children:(0,o.createComponentVNode)(2,c.Button,{icon:V?"toggle-on":"toggle-off",selected:V,onClick:function(){return i("make")},children:V?"On":"Off"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Bridge Mode",children:(0,o.createComponentVNode)(2,c.Dropdown,{over:!0,width:"100%",placeholder:"Disabled",selected:b,options:C,onSelected:function(e){return i("bridgemode",{dir:e})}})})]})})||null]})})}},309:function(e,n,t){"use strict";n.__esModule=!0,n.GasPump=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.GasPump=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.on,s=l.pressure_set,u=l.last_flow_rate,m=l.last_power_draw,p=l.max_power_draw;return(0,o.createComponentVNode)(2,a.Window,{width:470,height:290,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:"Status",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Flow Rate",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:u/10})," L/s"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Load",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:m,minValue:0,maxValue:p,color:m=100?u="Running":!d&&s>0&&(u="DISCHARGING"),(0,o.createComponentVNode)(2,a.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",color:"red",content:"Toggle Breaker",confirmContent:d?"This will disable gravity!":"This will enable gravity!",onClick:function(){return i("gentoggle")}}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Breaker Setting",children:d?"Generator Enabled":"Generator Disabled"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Charge Mode",children:["Generator ",u]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Charge Status",children:[s,"%"]})]})})})})}},95075:function(e,n,t){"use strict";n.__esModule=!0,n.GuestPass=void 0;var o=t(39812),r=t(64499),c=t(71494),a=t(74814),i=t(85952);n.GuestPass=function(e,n){var t=(0,c.useBackend)(n),l=t.act,d=t.data,s=(d.access,d.area),u=d.giver,m=d.giveName,p=d.reason,C=d.duration,h=d.mode,N=d.log,V=d.uid;return(0,o.createComponentVNode)(2,i.Window,{width:500,height:520,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:1===h&&(0,o.createComponentVNode)(2,a.Section,{title:"Activity Log",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"scroll",content:"Activity Log",selected:!0,onClick:function(){return l("mode",{mode:0})}}),children:[(0,o.createComponentVNode)(2,a.Button,{icon:"print",content:"Print",onClick:function(){return l("print")},fluid:!0,mb:1}),(0,o.createComponentVNode)(2,a.Section,{level:2,title:"Logs",children:N.length&&N.map((function(e){return(0,o.createVNode)(1,"div",null,null,1,{dangerouslySetInnerHTML:{__html:e}},e)}))||(0,o.createComponentVNode)(2,a.Box,{children:"No logs."})})]})||(0,o.createComponentVNode)(2,a.Section,{title:"Guest pass terminal #"+V,buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"scroll",content:"Activity Log",onClick:function(){return l("mode",{mode:1})}}),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Issuing ID",children:(0,o.createComponentVNode)(2,a.Button,{content:u||"Insert ID",onClick:function(){return l("id")}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Issued To",children:(0,o.createComponentVNode)(2,a.Button,{content:m,onClick:function(){return l("giv_name")}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Reason",children:(0,o.createComponentVNode)(2,a.Button,{content:p,onClick:function(){return l("reason")}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Duration (minutes)",children:(0,o.createComponentVNode)(2,a.Button,{content:C,onClick:function(){return l("duration")}})})]}),(0,o.createComponentVNode)(2,a.Button.Confirm,{icon:"check",fluid:!0,content:"Issue Pass",onClick:function(){return l("issue")}}),(0,o.createComponentVNode)(2,a.Section,{title:"Access",level:2,children:(0,r.sortBy)((function(e){return e.area_name}))(s).map((function(e){return(0,o.createComponentVNode)(2,a.Button.Checkbox,{checked:e.on,content:e.area_name,onClick:function(){return l("access",{access:e.area})}},e.area)}))})]})})})}},31875:function(e,n,t){"use strict";n.__esModule=!0,n.GyrotronControlContent=n.GyrotronControl=void 0;var o=t(39812),r=t(71494),c=t(85952),a=t(74814);n.GyrotronControl=function(e,n){return(0,o.createComponentVNode)(2,c.Window,{width:627,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,i)})})};var i=function(e,n){var t=(0,r.useBackend)(n),c=t.act,i=t.data.gyros;return(0,o.createComponentVNode)(2,a.Section,{title:"Gyrotrons",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"pencil-alt",content:"Set Tag",onClick:function(){return c("set_tag")}}),children:(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Position"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Status"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Fire Delay"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Strength"})]}),i.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:[e.x,", ",e.y,", ",e.z]}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:e.active?"Online":"Offline",selected:e.active,disabled:!e.deployed,onClick:function(){return c("toggle_active",{gyro:e.ref})}})}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:(0,o.createComponentVNode)(2,a.Knob,{forcedInputWidth:"60px",size:1.25,color:!!e.active&&"yellow",value:e.fire_delay,unit:"decisecond(s)",minValue:1,maxValue:60,stepPixelSize:1,onDrag:function(n,t){return c("set_rate",{gyro:e.ref,rate:t})}})}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:(0,o.createComponentVNode)(2,a.Knob,{forcedInputWidth:"60px",size:1.25,color:!!e.active&&"yellow",value:e.strength,unit:"penta-dakw",minValue:1,maxValue:50,stepPixelSize:1,onDrag:function(n,t){return c("set_str",{gyro:e.ref,str:t})}})})]},e.name)}))]})})};n.GyrotronControlContent=i},7908:function(e,n,t){"use strict";n.__esModule=!0,n.Holodeck=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.Holodeck=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.supportedPrograms,s=l.restrictedPrograms,u=l.currentProgram,m=l.isSilicon,p=l.safetyDisabled,C=l.emagged,h=l.gravity,N=d;return p&&(N=N.concat(s)),(0,o.createComponentVNode)(2,a.Window,{width:400,height:610,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Programs",children:N.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{color:-1!==s.indexOf(e)?"bad":null,icon:"eye",content:e,selected:u===e,fluid:!0,onClick:function(){return i("program",{program:e})}},e)}))}),!!m&&(0,o.createComponentVNode)(2,c.Section,{title:"Override",children:(0,o.createComponentVNode)(2,c.Button,{icon:"exclamation-triangle",fluid:!0,disabled:C,color:p?"good":"bad",onClick:function(){return i("AIoverride")},children:[!!C&&"Error, unable to control. ",p?"Enable Safeties":"Disable Safeties"]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Safeties",children:p?(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"DISABLED"}):(0,o.createComponentVNode)(2,c.Box,{color:"good",children:"ENABLED"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Gravity",children:(0,o.createComponentVNode)(2,c.Button,{icon:"user-astronaut",selected:h,onClick:function(){return i("gravity")},children:h?"Enabled":"Disabled"})})]})})]})})}},12676:function(e,n,t){"use strict";n.__esModule=!0,n.ICAssembly=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(85952),l=(t(2497),t(58083));n.ICAssembly=function(e,n){var t=(0,c.useBackend)(n),s=(t.act,t.data),u=s.total_parts,m=s.max_components,p=s.total_complexity,C=s.max_complexity,h=s.battery_charge,N=s.battery_max,V=s.net_power,b=s.unremovable_circuits,f=s.removable_circuits;return(0,o.createComponentVNode)(2,i.Window,{width:600,height:380,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Space in Assembly",children:(0,o.createComponentVNode)(2,a.ProgressBar,{ranges:{good:[0,.25],average:[.5,.75],bad:[.75,1]},value:u/m,maxValue:1,children:[u," / ",m," (",(0,r.round)(u/m*100,1),"%)"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Complexity",children:(0,o.createComponentVNode)(2,a.ProgressBar,{ranges:{good:[0,.25],average:[.5,.75],bad:[.75,1]},value:p/C,maxValue:1,children:[p," / ",C," (",(0,r.round)(p/C*100,1),"%)"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Cell Charge",children:h&&(0,o.createComponentVNode)(2,a.ProgressBar,{ranges:{bad:[0,.25],average:[.5,.75],good:[.75,1]},value:h/N,maxValue:1,children:[h," / ",N," (",(0,r.round)(h/N*100,1),"%)"]})||(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No cell detected."})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Net Energy",children:0===V?"0 W/s":(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:V,format:function(e){return"-"+(0,l.formatPower)(Math.abs(e))+"/s"}})})]})}),b.length&&(0,o.createComponentVNode)(2,d,{title:"Built-in Components",circuits:b})||null,f.length&&(0,o.createComponentVNode)(2,d,{title:"Removable Components",circuits:f})||null]})})};var d=function(e,n){var t=(0,c.useBackend)(n).act,r=e.title,i=e.circuits;return(0,o.createComponentVNode)(2,a.Section,{title:r,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:i.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name,children:[(0,o.createComponentVNode)(2,a.Button,{icon:"eye",onClick:function(){return t("open_circuit",{ref:e.ref})},children:"View"}),(0,o.createComponentVNode)(2,a.Button,{icon:"eye",onClick:function(){return t("rename_circuit",{ref:e.ref})},children:"Rename"}),(0,o.createComponentVNode)(2,a.Button,{icon:"eye",onClick:function(){return t("scan_circuit",{ref:e.ref})},children:"Debugger Scan"}),(0,o.createComponentVNode)(2,a.Button,{icon:"eye",onClick:function(){return t("remove_circuit",{ref:e.ref})},children:"Remove"}),(0,o.createComponentVNode)(2,a.Button,{icon:"eye",onClick:function(){return t("bottom_circuit",{ref:e.ref})},children:"Move to Bottom"})]},e.ref)}))})})}},42394:function(e,n,t){"use strict";n.__esModule=!0,n.ICCircuit=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(2497),l=t(58083);n.ICCircuit=function(e,n){var t=(0,r.useBackend)(n),i=t.act,u=t.data,m=(u.name,u.desc),p=u.displayed_name,C=(u.removable,u.complexity),h=u.power_draw_idle,N=u.power_draw_per_use,V=u.extended_desc,b=u.inputs,f=u.outputs,g=u.activators;return(0,o.createComponentVNode)(2,a.Window,{width:600,height:400,resizable:!0,title:p,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Stats",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("rename")},children:"Rename"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("scan")},children:"Scan with Device"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("remove")},children:"Remove"})],4),children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Complexity",children:C}),h&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power Draw (Idle)",children:(0,l.formatPower)(h)})||null,N&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power Draw (Active)",children:(0,l.formatPower)(N)})||null]}),V]}),(0,o.createComponentVNode)(2,c.Section,{title:"Circuit",children:[(0,o.createComponentVNode)(2,c.Flex,{textAlign:"center",spacing:1,children:[b.length&&(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Section,{title:"Inputs",children:(0,o.createComponentVNode)(2,d,{list:b})})})||null,(0,o.createComponentVNode)(2,c.Flex.Item,{basis:b.length&&f.length?"33%":b.length||f.length?"45%":"100%",children:(0,o.createComponentVNode)(2,c.Section,{title:p,mb:1,children:(0,o.createComponentVNode)(2,c.Box,{children:m})})}),f.length&&(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Section,{title:"Outputs",children:(0,o.createComponentVNode)(2,d,{list:f})})})||null]}),(0,o.createComponentVNode)(2,c.Section,{title:"Triggers",children:g.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name,children:[(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("pin_name",{pin:e.ref})},children:e.pulse_out?"":""}),(0,o.createComponentVNode)(2,s,{pin:e})]},e.name)}))})]})]})})};var d=function(e,n){var t=(0,r.useBackend)(n).act;return e.list.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return t("pin_name",{pin:e.ref})},children:[(0,i.decodeHtmlEntities)(e.type),": ",e.name]}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return t("pin_data",{pin:e.ref})},children:e.data}),(0,o.createComponentVNode)(2,s,{pin:e})]},e.ref)}))},s=function(e,n){var t=(0,r.useBackend)(n).act,a=e.pin;return a.linked.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{inline:!0,children:[(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return t("pin_unwire",{pin:a.ref,link:e.ref})},children:e.name}),"@\xa0",(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return t("examine",{ref:e.holder_ref})},children:e.holder_name})]},e.ref)}))}},81039:function(e,n,t){"use strict";n.__esModule=!0,n.ICDetailer=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=t(2497);n.ICDetailer=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.detail_color,u=d.color_list;return(0,o.createComponentVNode)(2,a.Window,{width:420,height:254,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{children:Object.keys(u).map((function(e,n){return(0,o.createComponentVNode)(2,c.Button,{ml:0,mr:0,mb:-.4,mt:0,tooltip:(0,i.toTitleCase)(e),tooltipPosition:n%6==5?"left":"right",height:"64px",width:"64px",onClick:function(){return l("change_color",{color:e})},style:u[e]===s?{border:"4px solid black","border-radius":0}:{"border-radius":0},backgroundColor:u[e]},e)}))})})})}},21687:function(e,n,t){"use strict";n.__esModule=!0,n.ICPrinter=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(64499);t(88654);n.ICPrinter=function(e,n){var t=(0,r.useBackend)(n),i=(t.act,t.data),l=i.metal,s=i.max_metal,u=i.metal_per_sheet,m=(i.debug,i.upgraded),p=i.can_clone;i.assembly_to_clone,i.categories;return(0,o.createComponentVNode)(2,a.Window,{width:600,height:630,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Status",children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Metal",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:l,maxValue:s,children:[l/u," / ",s/u," sheets"]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Circuits Available",children:m?"Advanced":"Regular"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Assembly Cloning",children:p?"Available":"Unavailable"})]}),(0,o.createComponentVNode)(2,c.Box,{mt:1,children:"Note: A red component name means that the printer must be upgraded to create that component."})]}),(0,o.createComponentVNode)(2,d)]})})};var l=function(e,n){return!!e.can_build&&!(e.cost>n.metal)},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,d=t.data,s=d.categories,u=(d.debug,(0,r.useSharedState)(n,"categoryTarget",null)),m=u[0],p=u[1],C=(0,i.filter)((function(e){return e.name===m}))(s)[0];return(0,o.createComponentVNode)(2,c.Section,{title:"Circuits",children:(0,o.createComponentVNode)(2,c.Stack,{fill:!0,children:[(0,o.createComponentVNode)(2,c.Stack.Item,{mr:2,children:(0,o.createComponentVNode)(2,c.Tabs,{vertical:!0,children:(0,i.sortBy)((function(e){return e.name}))(s).map((function(e){return(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:m===e.name,onClick:function(){return p(e.name)},children:e.name},e.name)}))})}),(0,o.createComponentVNode)(2,c.Stack.Item,{children:C&&(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,i.sortBy)((function(e){return e.name}))(C.items).map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name,labelColor:e.can_build?"good":"bad",buttons:(0,o.createComponentVNode)(2,c.Button,{disabled:!l(e,d),icon:"print",onClick:function(){return a("build",{build:e.path})},children:"Print"}),children:e.desc},e.name)}))})})||"No category selected."})]})})}},48522:function(e,n,t){"use strict";n.__esModule=!0,n.IDCard=void 0;var o=t(39812),r=t(74814),c=t(71494),a=t(85952),i=t(14959);n.IDCard=function(e,n){var t=(0,c.useBackend)(n).data,l=t.registered_name,d=t.sex,s=t.age,u=t.assignment,m=t.fingerprint_hash,p=t.blood_type,C=t.dna_hash,h=t.photo_front,N=[{name:"Sex",val:d},{name:"Age",val:s},{name:"Blood Type",val:p},{name:"Fingerprint",val:m},{name:"DNA Hash",val:C}];return(0,o.createComponentVNode)(2,a.Window,{width:470,height:250,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,r.Section,{children:[(0,o.createComponentVNode)(2,r.Flex,{children:[(0,o.createComponentVNode)(2,r.Flex.Item,{basis:"25%",textAlign:"left",children:(0,o.createComponentVNode)(2,r.Box,{inline:!0,style:{width:"101px",height:"120px",overflow:"hidden",outline:"2px solid #4972a1"},children:h&&(0,o.createVNode)(1,"img",null,null,1,{src:h.substr(1,h.length-1),style:{width:"300px","margin-left":"-94px","-ms-interpolation-mode":"nearest-neighbor"}})||(0,o.createComponentVNode)(2,r.Icon,{name:"user",size:8,ml:1.5,mt:2.5})})}),(0,o.createComponentVNode)(2,r.Flex.Item,{basis:0,grow:1,children:(0,o.createComponentVNode)(2,r.LabeledList,{children:N.map((function(e){return(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:e.name,children:e.val},e.name)}))})})]}),(0,o.createComponentVNode)(2,r.Flex,{className:"IDCard__NamePlate",align:"center",justify:"space-around",children:[(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.Box,{textAlign:"center",children:l})}),(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.Box,{textAlign:"center",children:(0,o.createComponentVNode)(2,i.RankIcon,{rank:u})})}),(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.Box,{textAlign:"center",children:u})})]})]})})})}},76952:function(e,n,t){"use strict";n.__esModule=!0,n.IdentificationComputerRegions=n.IdentificationComputerAccessModification=n.IdentificationComputerPrinting=n.IdentificationComputerContent=n.IdentificationComputer=void 0;var o=t(39812),r=t(64499),c=t(71494),a=t(74814),i=t(85952),l=t(2497),d=(t(76270),t(22902));n.IdentificationComputer=function(e,n){var t=(0,c.useBackend)(n);t.act,t.data;return(0,o.createComponentVNode)(2,i.Window,{width:600,height:700,children:(0,o.createComponentVNode)(2,i.Window.Content,{resizable:!0,children:(0,o.createComponentVNode)(2,s)})})};var s=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=e.ntos,s=i.mode,p=i.has_modify,C=i.printing,h=(0,o.createComponentVNode)(2,m,{ntos:l});return l&&!i.have_id_slot?h=(0,o.createComponentVNode)(2,d.CrewManifestContent):C?h=(0,o.createComponentVNode)(2,u):1===s&&(h=(0,o.createComponentVNode)(2,d.CrewManifestContent)),(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Tabs,{children:[(!l||!!i.have_id_slot)&&(0,o.createComponentVNode)(2,a.Tabs.Tab,{icon:"home",selected:0===s,onClick:function(){return r("mode",{mode_target:0})},children:"Access Modification"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{icon:"home",selected:1===s,onClick:function(){return r("mode",{mode_target:1})},children:"Crew Manifest"}),!l||!!i.have_printer&&(0,o.createComponentVNode)(2,a.Tabs.Tab,{float:"right",icon:"print",onClick:function(){return r("print")},disabled:!s&&!p,color:"",children:"Print"})]}),h],0)};n.IdentificationComputerContent=s;var u=function(e,n){return(0,o.createComponentVNode)(2,a.Section,{title:"Printing",children:"Please wait..."})};n.IdentificationComputerPrinting=u;var m=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,d=e.ntos,s=i.station_name,u=i.target_name,m=i.target_owner,C=i.scan_name,h=i.authenticated,N=i.has_modify,V=i.account_number,b=i.centcom_access,f=i.all_centcom_access,g=(i.regions,i.id_rank),k=i.departments;return(0,o.createComponentVNode)(2,a.Section,{title:"Access Modification",children:[!h&&(0,o.createComponentVNode)(2,a.Box,{italic:!0,mb:1,children:"Please insert the IDs into the terminal to proceed."}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Target Identitity",children:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",fluid:!0,content:u,onClick:function(){return r("modify")}})}),!d&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Authorized Identitity",children:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",fluid:!0,content:C,onClick:function(){return r("scan")}})})]}),!!h&&!!N&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Details",level:2,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Registered Name",children:(0,o.createComponentVNode)(2,a.Input,{value:m,fluid:!0,onInput:function(e,n){return r("reg",{reg:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Account Number",children:(0,o.createComponentVNode)(2,a.Input,{value:V,fluid:!0,onInput:function(e,n){return r("account",{account:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Dismissals",children:(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"bad",icon:"exclamation-triangle",confirmIcon:"fire",fluid:!0,content:"Dismiss "+m,confirmContent:"You are dismissing "+m+", confirm?",onClick:function(){return r("terminate")}})})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Assignment",level:2,children:(0,o.createComponentVNode)(2,a.Table,{children:[k.map((function(e){return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{header:!0,verticalAlign:"middle",children:e.department_name}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.jobs.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{selected:e.job===g,onClick:function(){return r("assign",{assign_target:e.job})},children:(0,l.decodeHtmlEntities)(e.display_name)},e.job)}))})]}),(0,o.createComponentVNode)(2,a.Box,{mt:-1,children:"\xa0"}),(0,o.createTextVNode)(" ")],0,e.department_name)})),(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{header:!0,verticalAlign:"middle",children:"Special"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("assign",{assign_target:"Custom"})},children:"Custom"})})]})]})}),!!b&&(0,o.createComponentVNode)(2,a.Section,{title:"Central Command",level:2,children:f.map((function(e){return(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,selected:e.allowed,onClick:function(){return r("access",{access_target:e.ref,allowed:e.allowed})},children:(0,l.decodeHtmlEntities)(e.desc)})},e.ref)}))})||(0,o.createComponentVNode)(2,a.Section,{title:s,level:2,children:(0,o.createComponentVNode)(2,p,{actName:"access"})})],0)]})};n.IdentificationComputerAccessModification=m;var p=function(e,n){var t=(0,c.useBackend)(n),i=t.act,d=t.data,s=e.actName,u=d.regions;return(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",spacing:1,children:(0,r.sortBy)((function(e){return e.name}))(u).map((function(e){return(0,o.createComponentVNode)(2,a.Flex.Item,{mb:1,basis:"content",grow:1,children:(0,o.createComponentVNode)(2,a.Section,{title:e.name,height:"100%",children:(0,r.sortBy)((function(e){return e.desc}))(e.accesses).map((function(e){return(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,selected:e.allowed,onClick:function(){return i(s,{access_target:e.ref,allowed:e.allowed})},children:(0,l.decodeHtmlEntities)(e.desc)})},e.ref)}))})},e.name)}))})};n.IdentificationComputerRegions=p},44570:function(e,n,t){"use strict";n.__esModule=!0,n.Loader=n.InputModal=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(29708),l=t(85952);(0,t(88654).createLogger)("inputmodal");n.InputModal=function(e,n){var t,r,s,u=(0,c.useBackend)(n),m=u.act,p=u.data,C=p.title,h=p.message,N=p.initial,V=p.input_type,b=p.timeout,f=(0,c.useLocalState)(n,"curValue",N),g=f[0],k=f[1],v=function(e){if(e.keyCode===i.KEY_ESCAPE)return e.preventDefault(),void m("cancel")};switch(V){case"text":case"num":r=325,t=Math.max(150,h.length),s=(0,o.createComponentVNode)(2,a.Input,{value:N,width:"100%",autoFocus:!0,autoSelect:!0,onKeyDown:v,onChange:function(e,n){k(n)},onEnter:function(e,n){m("choose",{choice:n})}});break;case"message":r=450,t=350,s=(0,o.createComponentVNode)(2,a.TextArea,{value:N,width:"100%",height:"100%",autoFocus:!0,dontUseTabForIndent:!0,onKeyDown:v,onChange:function(e,n){k(n)}})}return(0,o.createComponentVNode)(2,l.Window,{title:C,theme:"abstract",width:r,height:t,children:[b!==undefined&&(0,o.createComponentVNode)(2,d,{value:b}),(0,o.createComponentVNode)(2,l.Window.Content,{children:(0,o.createComponentVNode)(2,a.Stack,{fill:!0,vertical:!0,children:[(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,children:(0,o.createComponentVNode)(2,a.Section,{fill:!0,scrollable:!0,className:"InputModal__Section",title:h,tabIndex:0,children:s})}),(0,o.createComponentVNode)(2,a.Stack.Item,{children:(0,o.createComponentVNode)(2,a.Stack,{textAlign:"center",children:[(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,basis:0,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,color:"good",lineHeight:2,content:"Confirm",onClick:function(){return m("choose",{choice:g})}})}),(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,basis:0,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,color:"bad",lineHeight:2,content:"Cancel",onClick:function(){return m("cancel")}})})]})})]})})]})};var d=function(e){var n=e.value;return(0,o.createVNode)(1,"div","InputModal__Loader",(0,o.createComponentVNode)(2,a.Box,{className:"InputModal__LoaderProgress",style:{width:100*(0,r.clamp01)(n)+"%"}}),2)};n.Loader=d},53541:function(e,n,t){"use strict";n.__esModule=!0,n.InventoryPanel=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.InventoryPanel=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.slots,s=l.internalsValid;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:200,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:d&&d.length&&d.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name,children:(0,o.createComponentVNode)(2,c.Button,{mb:-1,icon:e.item?"hand-paper":"gift",onClick:function(){return i(e.act)},children:e.item||"Nothing"})},e.name)}))})}),s&&(0,o.createComponentVNode)(2,c.Section,{title:"Actions",children:s&&(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"lungs",onClick:function(){return i("internals")},children:"Set Internals"})||null})||null]})})}},46638:function(e,n,t){"use strict";n.__esModule=!0,n.InventoryPanelHuman=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.InventoryPanelHuman=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.slots,s=l.specialSlots,u=(l.internals,l.internalsValid),m=l.sensors,p=l.handcuffed,C=l.handcuffedParams,h=l.legcuffed,N=l.legcuffedParams,V=l.accessory;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[d&&d.length&&d.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name,children:(0,o.createComponentVNode)(2,c.Button,{mb:-1,icon:e.item?"hand-paper":"gift",onClick:function(){return i(e.act,e.params)},children:e.item||"Nothing"})},e.name)})),(0,o.createComponentVNode)(2,c.LabeledList.Divider),s&&s.length&&s.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name,children:(0,o.createComponentVNode)(2,c.Button,{mb:-1,icon:e.item?"hand-paper":"gift",onClick:function(){return i(e.act,e.params)},children:e.item||"Nothing"})},e.name)}))]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Actions",children:[(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"running",onClick:function(){return i("targetSlot",{slot:"splints"})},children:"Remove Splints"}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"hand-paper",onClick:function(){return i("targetSlot",{slot:"pockets"})},children:"Empty Pockets"}),u&&(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"lungs",onClick:function(){return i("targetSlot",{slot:"internals"})},children:"Set Internals"})||null,m&&(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"book-medical",onClick:function(){return i("targetSlot",{slot:"sensors"})},children:"Set Sensors"})||null,p&&(0,o.createComponentVNode)(2,c.Button,{fluid:!0,color:"bad",icon:"unlink",onClick:function(){return i("targetSlot",C)},children:"Handcuffed"})||null,h&&(0,o.createComponentVNode)(2,c.Button,{fluid:!0,color:"bad",icon:"unlink",onClick:function(){return i("targetSlot",N)},children:"Legcuffed"})||null,V&&(0,o.createComponentVNode)(2,c.Button,{fluid:!0,color:"bad",icon:"unlink",onClick:function(){return i("targetSlot",{slot:"tie"})},children:"Remove Accessory"})||null]})]})})}},45e3:function(e,n,t){"use strict";n.__esModule=!0,n.IsolationCentrifuge=void 0;var o=t(39812),r=(t(41860),t(58083),t(71494)),c=t(74814),a=t(85952);n.IsolationCentrifuge=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.busy,s=l.antibodies,u=l.pathogens,m=l.is_antibody_sample,p=l.sample_inserted,C=(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No vial detected."});return p&&(C=s||u?(0,o.createFragment)([s?(0,o.createComponentVNode)(2,c.Section,{title:"Antibodies",children:s}):null,u.length?(0,o.createComponentVNode)(2,c.Section,{title:"Pathogens",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:u.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name,children:e.spread_type},e.name)}))})}):null],0):(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No antibodies or viral strains detected."})),(0,o.createComponentVNode)(2,a.Window,{width:400,height:500,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:d?(0,o.createComponentVNode)(2,c.Section,{title:"The Centrifuge is currently busy.",color:"bad",children:(0,o.createVNode)(1,"center",null,(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:d}),2)}):(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:m?"Antibody Sample":"Blood Sample",children:[(0,o.createComponentVNode)(2,c.Flex,{spacing:1,mb:1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"print",content:"Print",disabled:!s&&!u.length,onClick:function(){return i("print")}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"eject",content:"Eject Vial",disabled:!p,onClick:function(){return i("sample")}})})]}),C]}),s&&!m||u.length?(0,o.createComponentVNode)(2,c.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[s&&!m?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Isolate Antibodies",children:(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:s,onClick:function(){return i("antibody")}})}):null,u.length?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Isolate Strain",children:u.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:e.name,onClick:function(){return i("isolate",{isolate:e.reference})}},e.name)}))}):null]})}):null],0)})})}},83994:function(e,n,t){"use strict";n.__esModule=!0,n.JanitorCart=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.JanitorCart=function(e,n){var t=(0,r.useBackend)(n),i=t.act,d=t.data,s=d.mybag,u=d.mybucket,m=d.mymop,p=d.myspray,C=d.myreplacer,h=d.signs;d.icons;return(0,o.createComponentVNode)(2,a.Window,{width:210,height:180,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Button,{width:"64px",height:"64px",position:"relative",tooltip:s||"Garbage Bag Slot",tooltipPosition:"bottom-end",color:s?"grey":"transparent",style:{border:s?null:"2px solid grey"},onClick:function(){return i("bag")},children:(0,o.createComponentVNode)(2,l,{iconkey:"mybag"})}),(0,o.createComponentVNode)(2,c.Button,{width:"64px",height:"64px",position:"relative",tooltip:u||"Bucket Slot",tooltipPosition:"bottom",color:u?"grey":"transparent",style:{border:u?null:"2px solid grey"},onClick:function(){return i("bucket")},children:(0,o.createComponentVNode)(2,l,{iconkey:"mybucket"})}),(0,o.createComponentVNode)(2,c.Button,{width:"64px",height:"64px",position:"relative",tooltip:m||"Mop Slot",tooltipPosition:"bottom-end",color:m?"grey":"transparent",style:{border:m?null:"2px solid grey"},onClick:function(){return i("mop")},children:(0,o.createComponentVNode)(2,l,{iconkey:"mymop"})}),(0,o.createComponentVNode)(2,c.Button,{width:"64px",height:"64px",position:"relative",tooltip:p||"Spray Slot",tooltipPosition:"top-end",color:p?"grey":"transparent",style:{border:p?null:"2px solid grey"},onClick:function(){return i("spray")},children:(0,o.createComponentVNode)(2,l,{iconkey:"myspray"})}),(0,o.createComponentVNode)(2,c.Button,{width:"64px",height:"64px",position:"relative",tooltip:C||"Light Replacer Slot",tooltipPosition:"top",color:C?"grey":"transparent",style:{border:C?null:"2px solid grey"},onClick:function(){return i("replacer")},children:(0,o.createComponentVNode)(2,l,{iconkey:"myreplacer"})}),(0,o.createComponentVNode)(2,c.Button,{width:"64px",height:"64px",position:"relative",tooltip:h||"Signs Slot",tooltipPosition:"top-start",color:h?"grey":"transparent",style:{border:h?null:"2px solid grey"},onClick:function(){return i("sign")},children:(0,o.createComponentVNode)(2,l,{iconkey:"signs"})})]})})};var i={mybag:"trash",mybucket:"fill",mymop:"broom",myspray:"spray-can",myreplacer:"lightbulb",signs:"sign"},l=function(e,n){var t=(0,r.useBackend)(n).data,a=e.iconkey,l=t.icons;return a in l?(0,o.createVNode)(1,"img",null,null,1,{src:l[a].substr(1,l[a].length-1),style:{position:"absolute",left:0,right:0,top:0,bottom:0,width:"64px",height:"64px","-ms-interpolation-mode":"nearest-neighbor"}}):(0,o.createComponentVNode)(2,c.Icon,{style:{position:"absolute",left:"4px",right:0,top:"20px",bottom:0,width:"64px",height:"64px"},fontSize:2,name:i[a]})}},68741:function(e,n,t){"use strict";n.__esModule=!0,n.Jukebox=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(85952);n.Jukebox=function(e,n){var t=(0,c.useBackend)(n),l=t.act,d=t.data,s=d.playing,u=d.loop_mode,m=d.volume,p=d.current_track_ref,C=d.current_track,h=d.current_genre,N=d.percent,V=d.tracks,b=V.length&&V.reduce((function(e,n){var t=n.genre||"Uncategorized";return e[t]||(e[t]=[]),e[t].push(n),e}),{}),f=s&&(h||"Uncategorized");return(0,o.createComponentVNode)(2,i.Window,{width:450,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.Section,{title:"Currently Playing",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Title",children:s&&C&&(0,o.createComponentVNode)(2,a.Box,{children:[C.title," by ",C.artist||"Unkown"]})||(0,o.createComponentVNode)(2,a.Box,{children:"Stopped"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Controls",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"play",disabled:s,onClick:function(){return l("play")},children:"Play"}),(0,o.createComponentVNode)(2,a.Button,{icon:"stop",disabled:!s,onClick:function(){return l("stop")},children:"Stop"})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Loop Mode",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"play",onClick:function(){return l("loopmode",{loopmode:1})},selected:1===u,children:"Next"}),(0,o.createComponentVNode)(2,a.Button,{icon:"random",onClick:function(){return l("loopmode",{loopmode:2})},selected:2===u,children:"Shuffle"}),(0,o.createComponentVNode)(2,a.Button,{icon:"redo",onClick:function(){return l("loopmode",{loopmode:3})},selected:3===u,children:"Repeat"}),(0,o.createComponentVNode)(2,a.Button,{icon:"step-forward",onClick:function(){return l("loopmode",{loopmode:4})},selected:4===u,children:"Once"})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Progress",children:(0,o.createComponentVNode)(2,a.ProgressBar,{value:N,maxValue:1,color:"good"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Volume",children:(0,o.createComponentVNode)(2,a.Slider,{minValue:0,step:1,value:100*m,maxValue:100,ranges:{good:[75,Infinity],average:[25,75],bad:[0,25]},format:function(e){return(0,r.round)(e,1)+"%"},onChange:function(e,n){return l("volume",{val:(0,r.round)(n/100,2)})}})})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Available Tracks",children:V.length&&Object.keys(b).sort().map((function(e){return(0,o.createComponentVNode)(2,a.Collapsible,{title:e,color:f===e?"green":"default",child_mt:0,children:(0,o.createVNode)(1,"div",null,b[e].map((function(e){return(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"play",selected:p===e.ref,onClick:function(){return l("change_track",{change_track:e.ref})},children:e.title},e.ref)})),0,{style:{"margin-left":"1em"}})},e)}))||(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Error: No songs loaded."})})]})})}},13204:function(e,n,t){"use strict";n.__esModule=!0,n.LawManager=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.LawManager=function(e,n){var t=(0,r.useBackend)(n),l=(t.act,t.data.isSlaved);return(0,o.createComponentVNode)(2,a.Window,{width:800,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[l&&(0,o.createComponentVNode)(2,c.NoticeBox,{info:!0,children:["Law-synced to ",l]})||null,(0,o.createComponentVNode)(2,i)]})})};var i=function(e,n){var t=(0,r.useSharedState)(n,"lawsTabIndex",0),a=t[0],i=t[1];return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:0===a,onClick:function(){return i(0)},children:"Law Management"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:1===a,onClick:function(){return i(1)},children:"Law Sets"})]}),0===a&&(0,o.createComponentVNode)(2,l)||null,1===a&&(0,o.createComponentVNode)(2,s)||null],0)},l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.ion_law_nr,s=i.ion_law,u=i.zeroth_law,m=i.inherent_law,p=i.supplied_law,C=i.supplied_law_position,h=i.zeroth_laws,N=i.has_zeroth_laws,V=i.ion_laws,b=i.has_ion_laws,f=i.inherent_laws,g=i.has_inherent_laws,k=i.supplied_laws,v=i.has_supplied_laws,B=i.isAI,L=i.isMalf,_=i.isAdmin,x=i.channel,w=i.channels,S=h.map((function(e){return e.zero=!0,e})).concat(f);return(0,o.createComponentVNode)(2,c.Section,{children:[b&&(0,o.createComponentVNode)(2,d,{laws:V,title:l+" Laws:",mt:-2})||null,(N||g)&&(0,o.createComponentVNode)(2,d,{laws:S,title:"Inherent Laws",mt:-2})||null,v&&(0,o.createComponentVNode)(2,d,{laws:k,title:"Supplied Laws",mt:-2})||null,(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Controls",mt:-2,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Statement Channel",children:w.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{content:e.channel,selected:x===e.channel,onClick:function(){return a("law_channel",{law_channel:e.channel})}},e.channel)}))}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"State Laws",children:(0,o.createComponentVNode)(2,c.Button,{icon:"volume-up",onClick:function(){return a("state_laws")},children:"State Laws"})}),B&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Law Notification",children:(0,o.createComponentVNode)(2,c.Button,{icon:"exclamation",onClick:function(){return a("notify_laws")},children:"Notify"})})||null]})}),L&&(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Add Laws",mt:-2,children:(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:"Type"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Law"}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:"Index"}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:"Add"})]}),_&&!N&&(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:"Zero"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Input,{value:u,fluid:!0,onChange:function(e,n){return a("change_zeroth_law",{val:n})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"N/A"}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,c.Button,{icon:"plus",onClick:function(){return a("add_zeroth_law")},children:"Add"})})]})||null,(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:"Ion"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Input,{value:s,fluid:!0,onChange:function(e,n){return a("change_ion_law",{val:n})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"N/A"}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,c.Button,{icon:"plus",onClick:function(){return a("add_ion_law")},children:"Add"})})]}),(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Inherent"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Input,{value:m,fluid:!0,onChange:function(e,n){return a("change_inherent_law",{val:n})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"N/A"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"plus",onClick:function(){return a("add_inherent_law")},children:"Add"})})]}),(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Supplied"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Input,{value:p,fluid:!0,onChange:function(e,n){return a("change_supplied_law",{val:n})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"pen",onClick:function(){return a("change_supplied_law_position")},children:C})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"plus",onClick:function(){return a("add_supplied_law")},children:"Add"})})]})]})})||null]})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.isMalf,d=i.isAdmin,s=e.laws,u=e.title,m=e.noButtons,p=function(e,n){if(null==e)return{};var t,o,r={},c=Object.keys(e);for(o=0;o=0||(r[t]=e[t]);return r}(e,["laws","title","noButtons"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,c.Section,Object.assign({level:2,title:u},p,{children:(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:"Index"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Law"}),!m&&(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:"State"})||null,l&&!m&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:"Edit"}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:"Delete"})],4)||null]}),s.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:[e.index,"."]}),(0,o.createComponentVNode)(2,c.Table.Cell,{color:e.zero?"bad":null,children:e.law}),!m&&(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"volume-up",selected:e.state,onClick:function(){return a("state_law",{ref:e.ref,state_law:!e.state})},children:e.state?"Yes":"No"})})||null,l&&!m&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,c.Button,{disabled:e.zero&&!d,icon:"pen",onClick:function(){return a("edit_law",{edit_law:e.ref})},children:"Edit"})}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,c.Button,{disabled:e.zero&&!d,color:"bad",icon:"trash",onClick:function(){return a("delete_law",{delete_law:e.ref})},children:"Delete"})})],4)||null]},e.index)}))]})})))},s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.isMalf,s=i.law_sets;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.NoticeBox,{children:"Remember: Stating laws other than those currently loaded may be grounds for decommissioning! - NanoTrasen"}),s.length&&s.map((function(e){return(0,o.createComponentVNode)(2,c.Section,{title:e.name,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{disabled:!l,icon:"sync",onClick:function(){return a("transfer_laws",{transfer_laws:e.ref})},children:"Load Laws"}),(0,o.createComponentVNode)(2,c.Button,{icon:"volume-up",onClick:function(){return a("state_law_set",{state_law_set:e.ref})},children:"State Laws"})],4),children:[e.laws.has_ion_laws&&(0,o.createComponentVNode)(2,d,{noButtons:!0,laws:e.laws.ion_laws,title:e.laws.ion_law_nr+" Laws:"})||null,(e.laws.has_zeroth_laws||e.laws.has_inherent_laws)&&(0,o.createComponentVNode)(2,d,{noButtons:!0,laws:e.laws.zeroth_laws.concat(e.laws.inherent_laws),title:e.header})||null,e.laws.has_supplied_laws&&(0,o.createComponentVNode)(2,d,{noButtons:!0,laws:e.laws.supplied_laws,title:"Supplied Laws"})||null]},e.name)}))||null],0)}},58802:function(e,n,t){"use strict";n.__esModule=!0,n.Loader=n.ListInput=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(29708),l=t(85952),d=0;n.ListInput=function(e,n){var t=(0,c.useBackend)(n),r=t.act,u=t.data,m=u.title,p=u.message,C=u.buttons,h=u.timeout,N=u.initial,V=(0,c.useLocalState)(n,"search_bar",!1),b=V[0],f=V[1],g=(0,c.useLocalState)(n,"displayed_array",C),k=g[0],v=g[1],B=(0,c.useLocalState)(n,"search_array",[]),L=B[0],_=B[1],x=(0,c.useLocalState)(n,"search_index",0),w=x[0],S=x[1],I=(0,c.useLocalState)(n,"last_char_code",null),y=I[0],T=I[1],A=(0,c.useLocalState)(n,"selected_button",N||C[0]),P=A[0],M=A[1];return(0,o.createComponentVNode)(2,l.Window,{title:m,theme:"abstract",width:325,height:325,children:[h!==undefined&&(0,o.createComponentVNode)(2,s,{value:h}),(0,o.createComponentVNode)(2,l.Window.Content,{children:(0,o.createComponentVNode)(2,a.Stack,{fill:!0,vertical:!0,children:[(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,children:(0,o.createComponentVNode)(2,a.Section,{fill:!0,scrollable:!0,autoFocus:!0,className:"ListInput__Section",title:p,tabIndex:0,onKeyDown:function(e){if(e.preventDefault(),!(d>performance.now())){if(d=performance.now()+125,e.keyCode===i.KEY_HOME||e.keyCode===i.KEY_END){var n=e.keyCode===i.KEY_HOME?0:C.length-1;return M(C[n]),T(null),void document.getElementById(C[n]).focus()}if(e.keyCode===i.KEY_UP||e.keyCode===i.KEY_DOWN){var t=1;e.keyCode===i.KEY_UP&&(t=-1);for(var o=0;o=C.length&&(o=0),M(C[o]),T(null),void document.getElementById(C[o]).focus()}if(e.keyCode!==i.KEY_SPACE&&e.keyCode!==i.KEY_ENTER)if(e.keyCode!==i.KEY_ESCAPE){var c=String.fromCharCode(e.keyCode).toLowerCase();if(c){var a;if(c===y&&L.length>0){var l=w+1;l0&&(_(s),S(0),a=s[0])}a&&(T(c),M(a),document.getElementById(a).focus())}}else r("cancel");else r("choose",{choice:P})}},buttons:(0,o.createComponentVNode)(2,a.Button,{compact:!0,icon:"search",color:"transparent",selected:b,tooltip:"Search Bar",tooltipPosition:"left",onClick:function(){f(!b),v(C)}}),children:k.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{fluid:!0,color:"transparent",id:e,selected:P===e,onClick:function(){P===e?r("choose",{choice:e}):M(e),T(null)},children:e},e)}))})}),b&&(0,o.createComponentVNode)(2,a.Stack.Item,{children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,onInput:function(e,n){return v(C.filter((function(e){return-1!==e.toLowerCase().search(n.toLowerCase())})))}})}),(0,o.createComponentVNode)(2,a.Stack.Item,{children:(0,o.createComponentVNode)(2,a.Stack,{textAlign:"center",children:[(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,basis:0,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,color:"good",lineHeight:2,content:"Confirm",disabled:null===P,onClick:function(){return r("choose",{choice:P})}})}),(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,basis:0,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,color:"bad",lineHeight:2,content:"Cancel",onClick:function(){return r("cancel")}})})]})})]})})]})};var s=function(e){var n=e.value;return(0,o.createVNode)(1,"div","ListInput__Loader",(0,o.createComponentVNode)(2,a.Box,{className:"ListInput__LoaderProgress",style:{width:100*(0,r.clamp01)(n)+"%"}}),2)};n.Loader=s},36104:function(e,n,t){"use strict";n.__esModule=!0,n.LookingGlass=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.LookingGlass=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.supportedPrograms,s=l.currentProgram,u=l.immersion,m=l.gravity,p=Math.min(180+23*d.length,600);return(0,o.createComponentVNode)(2,a.Window,{width:300,height:p,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Programs",children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"eye",selected:e===s,onClick:function(){return i("program",{program:e})},children:e},e)}))}),(0,o.createComponentVNode)(2,c.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Gravity",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"user-astronaut",selected:m,onClick:function(){return i("gravity")},children:m?"Enabled":"Disabled"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Full Immersion",children:(0,o.createComponentVNode)(2,c.Button,{mt:-1,fluid:!0,icon:"eye",selected:u,onClick:function(){return i("immersion")},children:u?"Enabled":"Disabled"})})]})})]})})}},74714:function(e,n,t){"use strict";n.__esModule=!0,n.MechaControlConsole=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(2497);n.MechaControlConsole=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.beacons,u=d.stored_data;return(0,o.createComponentVNode)(2,a.Window,{width:600,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[u.length&&(0,o.createComponentVNode)(2,c.Modal,{children:(0,o.createComponentVNode)(2,c.Section,{height:"400px",style:{"overflow-y":"auto"},title:"Log",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"window-close",onClick:function(){return l("clear_log")}}),children:u.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Box,{color:"label",children:["(",e.time,") (",e.year,")"]}),(0,o.createComponentVNode)(2,c.Box,{children:(0,i.decodeHtmlEntities)(e.message)})]},e.time)}))})})||null,s.length&&s.map((function(e){return(0,o.createComponentVNode)(2,c.Section,{title:e.name,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"comment",onClick:function(){return l("send_message",{mt:e.ref})},children:"Message"}),(0,o.createComponentVNode)(2,c.Button,{icon:"eye",onClick:function(){return l("get_log",{mt:e.ref})},children:"View Log"}),(0,o.createComponentVNode)(2,c.Button.Confirm,{color:"red",content:"EMP",icon:"bomb",onClick:function(){return l("shock",{mt:e.ref})}})],4),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,c.ProgressBar,{ranges:{good:[.75*e.maxHealth,Infinity],average:[.5*e.maxHealth,.75*e.maxHealth],bad:[-Infinity,.5*e.maxHealth]},value:e.health,maxValue:e.maxHealth})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Cell Charge",children:e.cell&&(0,o.createComponentVNode)(2,c.ProgressBar,{ranges:{good:[.75*e.cellMaxCharge,Infinity],average:[.5*e.cellMaxCharge,.75*e.cellMaxCharge],bad:[-Infinity,.5*e.cellMaxCharge]},value:e.cellCharge,maxValue:e.cellMaxCharge})||(0,o.createComponentVNode)(2,c.NoticeBox,{children:"No Cell Installed"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Air Tank",children:[e.airtank,"kPa"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Pilot",children:e.pilot||"Unoccupied"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Location",children:(0,i.toTitleCase)(e.location)||"Unknown"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Active Equipment",children:e.active||"None"}),e.cargoMax&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Cargo Space",children:(0,o.createComponentVNode)(2,c.ProgressBar,{ranges:{bad:[.75*e.cargoMax,Infinity],average:[.5*e.cargoMax,.75*e.cargoMax],good:[-Infinity,.5*e.cargoMax]},value:e.cargoUsed,maxValue:e.cargoMax})})||null]})},e.name)}))||(0,o.createComponentVNode)(2,c.NoticeBox,{children:"No mecha beacons found."})]})})}},17888:function(e,n,t){"use strict";n.__esModule=!0,n.Medbot=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.Medbot=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.on,s=l.open,u=l.beaker,m=l.beaker_total,p=l.beaker_max,C=l.locked,h=l.heal_threshold,N=l.heal_threshold_max,V=l.injection_amount_min,b=l.injection_amount,f=l.injection_amount_max,g=l.use_beaker,k=l.declare_treatment,v=l.vocal;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:600,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Automatic Medical Unit v2.0",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:d,onClick:function(){return i("power")},children:d?"On":"Off"}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Maintenance Panel",color:s?"bad":"good",children:s?"Open":"Closed"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Beaker",buttons:(0,o.createComponentVNode)(2,c.Button,{disabled:!u,icon:"eject",onClick:function(){return i("eject")},children:"Eject"}),children:u&&(0,o.createComponentVNode)(2,c.ProgressBar,{value:m,maxValue:p,children:[m," / ",p]})||(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No beaker loaded."})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Behavior Controls",color:C?"good":"bad",children:C?"Locked":"Unlocked"})]})}),!C&&(0,o.createComponentVNode)(2,c.Section,{title:"Behavioral Controls",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Healing Threshold",children:(0,o.createComponentVNode)(2,c.NumberInput,{fluid:!0,minValue:0,maxValue:N,value:h,onDrag:function(e,n){return i("adj_threshold",{val:n})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Injection Amount",children:(0,o.createComponentVNode)(2,c.NumberInput,{fluid:!0,minValue:V,maxValue:f,value:b,onDrag:function(e,n){return i("adj_inject",{val:n})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Reagent Source",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:g?"toggle-on":"toggle-off",selected:g,onClick:function(){return i("use_beaker")},children:g?"Loaded Beaker (When available)":"Internal Synthesizer"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Treatment Report",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:k?"toggle-on":"toggle-off",selected:k,onClick:function(){return i("declaretreatment")},children:k?"On":"Off"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Speaker",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:v?"toggle-on":"toggle-off",selected:v,onClick:function(){return i("togglevoice")},children:v?"On":"Off"})})]})})||null]})})}},37610:function(e,n,t){"use strict";n.__esModule=!0,n.MedicalRecords=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(16007),i=t(85952),l=t(28117),d=t(1192),s=t(36355),u=(t(2497),function(e,n){(0,a.modalOpen)(e,"edit",{field:n.edit,value:n.value})});n.MedicalRecords=function(e,n){var t,u=(0,r.useBackend)(n).data,h=u.authenticated,N=u.screen;return h?(2===N?t=(0,o.createComponentVNode)(2,m):3===N?t=(0,o.createComponentVNode)(2,p):4===N?t=(0,o.createComponentVNode)(2,C):5===N?t=(0,o.createComponentVNode)(2,V):6===N&&(t=(0,o.createComponentVNode)(2,b)),(0,o.createComponentVNode)(2,i.Window,{width:800,height:380,resizable:!0,children:[(0,o.createComponentVNode)(2,a.ComplexModal,{maxHeight:"100%",maxWidth:"80%"}),(0,o.createComponentVNode)(2,i.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,l.LoginInfo),(0,o.createComponentVNode)(2,s.TemporaryNotice),(0,o.createComponentVNode)(2,f),(0,o.createComponentVNode)(2,c.Section,{height:"calc(100% - 5rem)",flexGrow:"1",children:t})]})]})):(0,o.createComponentVNode)(2,i.Window,{width:800,height:380,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:(0,o.createComponentVNode)(2,d.LoginScreen)})})};var m=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.records;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Input,{fluid:!0,placeholder:"Search by Name, DNA, or ID",onChange:function(e,n){return a("search",{t1:n})}}),(0,o.createComponentVNode)(2,c.Box,{mt:"0.5rem",children:i.map((function(e,n){return(0,o.createComponentVNode)(2,c.Button,{icon:"user",mb:"0.5rem",content:e.id+": "+e.name,onClick:function(){return a("d_rec",{d_rec:e.ref})}},n)}))})],4)},p=function(e,n){var t=(0,r.useBackend)(n).act;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"download",content:"Backup to Disk",disabled:!0}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Button,{icon:"upload",content:"Upload from Disk",my:"0.5rem",disabled:!0}),(0,o.createTextVNode)(" "),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"trash",content:"Delete All Medical Records",onClick:function(){return t("del_all")}})],4)},C=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.medical,d=i.printing;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"General Data",level:2,mt:"-6px",children:(0,o.createComponentVNode)(2,h)}),(0,o.createComponentVNode)(2,c.Section,{title:"Medical Data",level:2,children:(0,o.createComponentVNode)(2,N)}),(0,o.createComponentVNode)(2,c.Section,{title:"Actions",level:2,children:[(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"trash",disabled:!!l.empty,content:"Delete Medical Record",color:"bad",onClick:function(){return a("del_r")}}),(0,o.createComponentVNode)(2,c.Button,{icon:d?"spinner":"print",disabled:d,iconSpin:!!d,content:"Print Entry",ml:"0.5rem",onClick:function(){return a("print_p")}}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-left",content:"Back",mt:"0.5rem",onClick:function(){return a("screen",{screen:2})}})]})],4)},h=function(e,n){var t=(0,r.useBackend)(n).data.general;return t&&t.fields?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Box,{width:"50%",float:"left",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:t.fields.map((function(e,t){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.field,children:[(0,o.createComponentVNode)(2,c.Box,{height:"20px",display:"inline-block",preserveWhitespace:!0,children:e.value}),!!e.edit&&(0,o.createComponentVNode)(2,c.Button,{icon:"pen",ml:"0.5rem",onClick:function(){return u(n,e)}})]},t)}))})}),(0,o.createComponentVNode)(2,c.Box,{width:"50%",float:"right",textAlign:"right",children:!!t.has_photos&&t.photos.map((function(e,n){return(0,o.createComponentVNode)(2,c.Box,{display:"inline-block",textAlign:"center",color:"label",children:[(0,o.createVNode)(1,"img",null,null,1,{src:e.substr(1,e.length-1),style:{width:"96px","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createVNode)(1,"br"),"Photo #",n+1]},n)}))})],4):(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"General records lost!"})},N=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data.medical;return l&&l.fields?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.LabeledList,{children:l.fields.map((function(e,t){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.field,preserveWhitespace:!0,children:[e.value,(0,o.createComponentVNode)(2,c.Button,{icon:"pen",ml:"0.5rem",mb:e.line_break?"1rem":"initial",onClick:function(){return u(n,e)}})]},t)}))}),(0,o.createComponentVNode)(2,c.Section,{title:"Comments/Log",level:2,children:[0===l.comments.length?(0,o.createComponentVNode)(2,c.Box,{color:"label",children:"No comments found."}):l.comments.map((function(e,n){return(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Box,{color:"label",inline:!0,children:e.header}),(0,o.createVNode)(1,"br"),e.text,(0,o.createComponentVNode)(2,c.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){return i("del_c",{del_c:n+1})}})]},n)})),(0,o.createComponentVNode)(2,c.Button,{icon:"comment-medical",content:"Add Entry",color:"good",mt:"0.5rem",mb:"0",onClick:function(){return(0,a.modalOpen)(n,"add_c")}})]})],4):(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:["Medical records lost!",(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"New Record",ml:"0.5rem",onClick:function(){return i("new")}})]})},V=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.virus;return i.sort((function(e,n){return e.name>n.name?1:-1})),i.map((function(e,n){return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"flask",content:e.name,mb:"0.5rem",onClick:function(){return a("vir",{vir:e.D})}}),(0,o.createVNode)(1,"br")],4,n)}))},b=function(e,n){var t=(0,r.useBackend)(n).data.medbots;return 0===t.length?(0,o.createComponentVNode)(2,c.Box,{color:"label",children:"There are no Medbots."}):t.map((function(e,n){return(0,o.createComponentVNode)(2,c.Collapsible,{open:!0,title:e.name,children:(0,o.createComponentVNode)(2,c.Box,{px:"0.5rem",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Location",children:[e.area||"Unknown"," (",e.x,", ",e.y,")"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",children:e.on?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Box,{color:"good",children:"Online"}),(0,o.createComponentVNode)(2,c.Box,{mt:"0.5rem",children:e.use_beaker?"Reservoir: "+e.total_volume+"/"+e.maximum_volume:"Using internal synthesizer."})],4):(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"Offline"})})]})})},n)}))},f=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.screen;return(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:2===i,onClick:function(){return a("screen",{screen:2})},children:[(0,o.createComponentVNode)(2,c.Icon,{name:"list"}),"List Records"]}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:5===i,onClick:function(){return a("screen",{screen:5})},children:[(0,o.createComponentVNode)(2,c.Icon,{name:"database"}),"Virus Database"]}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:6===i,onClick:function(){return a("screen",{screen:6})},children:[(0,o.createComponentVNode)(2,c.Icon,{name:"plus-square"}),"Medbot Tracking"]}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:3===i,onClick:function(){return a("screen",{screen:3})},children:[(0,o.createComponentVNode)(2,c.Icon,{name:"wrench"}),"Record Maintenance"]})]})};(0,a.modalRegisterBodyOverride)("virus",(function(e,n){var t=(0,r.useBackend)(n).act,a=e.args;return(0,o.createComponentVNode)(2,c.Section,{level:2,m:"-1rem",title:a.name||"Virus",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"times",color:"red",onClick:function(){return t("modal_close")}}),children:(0,o.createComponentVNode)(2,c.Box,{mx:"0.5rem",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Spread",children:[a.spread_text," Transmission"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Possible cure",children:a.antigen}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Rate of Progression",children:a.rate}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Antibiotic Resistance",children:[a.resistance,"%"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Species Affected",children:a.species}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Symptoms",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:a.symptoms.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.stage+". "+e.name,children:[(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:"label",children:"Strength:"})," ",e.strength,"\xa0",(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:"label",children:"Aggressiveness:"})," ",e.aggressiveness]},e.stage)}))})})]})})})}))},287:function(e,n,t){"use strict";n.__esModule=!0,n.MessageMonitor=void 0;var o=t(39812),r=(t(41860),t(2497)),c=t(71494),a=t(74814),i=t(85952),l=t(36355),d=t(67861);n.MessageMonitor=function(e,n){var t,r=(0,c.useBackend)(n),d=(r.act,r.data),p=d.auth,C=d.linkedServer,h=(d.message,d.hacking),N=d.emag;return t=h||N?(0,o.createComponentVNode)(2,s):p?C?(0,o.createComponentVNode)(2,m):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR"}):(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,i.Window,{width:670,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,l.TemporaryNotice),t]})})};var s=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data.isMalfAI);return(0,o.createComponentVNode)(2,d.FullscreenNotice,{title:"ERROR",children:r?(0,o.createComponentVNode)(2,a.Box,{children:"Brute-forcing for server key. It will take 20 seconds for every character that the password has."}):(0,o.createComponentVNode)(2,a.Box,{children:["01000010011100100111010101110100011001010010110",(0,o.createVNode)(1,"br"),"10110011001101111011100100110001101101001011011100110011",(0,o.createVNode)(1,"br"),"10010000001100110011011110111001000100000011100110110010",(0,o.createVNode)(1,"br"),"10111001001110110011001010111001000100000011010110110010",(0,o.createVNode)(1,"br"),"10111100100101110001000000100100101110100001000000111011",(0,o.createVNode)(1,"br"),"10110100101101100011011000010000001110100011000010110101",(0,o.createVNode)(1,"br"),"10110010100100000001100100011000000100000011100110110010",(0,o.createVNode)(1,"br"),"10110001101101111011011100110010001110011001000000110011",(0,o.createVNode)(1,"br"),"00110111101110010001000000110010101110110011001010111001",(0,o.createVNode)(1,"br"),"00111100100100000011000110110100001100001011100100110000",(0,o.createVNode)(1,"br"),"10110001101110100011001010111001000100000011101000110100",(0,o.createVNode)(1,"br"),"00110000101110100001000000111010001101000011001010010000",(0,o.createVNode)(1,"br"),"00111000001100001011100110111001101110111011011110111001",(0,o.createVNode)(1,"br"),"00110010000100000011010000110000101110011001011100010000",(0,o.createVNode)(1,"br"),"00100100101101110001000000111010001101000011001010010000",(0,o.createVNode)(1,"br"),"00110110101100101011000010110111001110100011010010110110",(0,o.createVNode)(1,"br"),"10110010100101100001000000111010001101000011010010111001",(0,o.createVNode)(1,"br"),"10010000001100011011011110110111001110011011011110110110",(0,o.createVNode)(1,"br"),"00110010100100000011000110110000101101110001000000111001",(0,o.createVNode)(1,"br"),"00110010101110110011001010110000101101100001000000111100",(0,o.createVNode)(1,"br"),"10110111101110101011100100010000001110100011100100111010",(0,o.createVNode)(1,"br"),"10110010100100000011010010110111001110100011001010110111",(0,o.createVNode)(1,"br"),"00111010001101001011011110110111001110011001000000110100",(0,o.createVNode)(1,"br"),"10110011000100000011110010110111101110101001000000110110",(0,o.createVNode)(1,"br"),"00110010101110100001000000111001101101111011011010110010",(0,o.createVNode)(1,"br"),"10110111101101110011001010010000001100001011000110110001",(0,o.createVNode)(1,"br"),"10110010101110011011100110010000001101001011101000010111",(0,o.createVNode)(1,"br"),"00010000001001101011000010110101101100101001000000111001",(0,o.createVNode)(1,"br"),"10111010101110010011001010010000001101110011011110010000",(0,o.createVNode)(1,"br"),"00110100001110101011011010110000101101110011100110010000",(0,o.createVNode)(1,"br"),"00110010101101110011101000110010101110010001000000111010",(0,o.createVNode)(1,"br"),"00110100001100101001000000111001001101111011011110110110",(0,o.createVNode)(1,"br"),"10010000001100100011101010111001001101001011011100110011",(0,o.createVNode)(1,"br"),"10010000001110100011010000110000101110100001000000111010",(0,o.createVNode)(1,"br"),"001101001011011010110010100101110"]})})},u=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.isMalfAI;return(0,o.createComponentVNode)(2,d.FullscreenNotice,{title:"Welcome",children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:"1.5rem",bold:!0,children:[(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"}),"Unauthorized"]}),(0,o.createComponentVNode)(2,a.Box,{color:"label",my:"1rem",children:["Decryption Key:",(0,o.createComponentVNode)(2,a.Input,{placeholder:"Decryption Key",ml:"0.5rem",onChange:function(e,n){return r("auth",{key:n})}})]}),!!i&&(0,o.createComponentVNode)(2,a.Button,{icon:"terminal",content:"Hack",onClick:function(){return r("hack")}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"Please authenticate with the server in order to show additional options."})]})},m=function(e,n){var t,r=(0,c.useBackend)(n),i=r.act,l=r.data.linkedServer,d=(0,c.useLocalState)(n,"tabIndex",0),s=d[0],u=d[1];return 0===s?t=(0,o.createComponentVNode)(2,p):1===s?t=(0,o.createComponentVNode)(2,C,{logs:l.pda_msgs,pda:!0}):2===s?t=(0,o.createComponentVNode)(2,C,{logs:l.rc_msgs,rc:!0}):3===s?t=(0,o.createComponentVNode)(2,h):4===s&&(t=(0,o.createComponentVNode)(2,N)),(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===s,onClick:function(){return u(0)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bars"})," Main Menu"]},"Main"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===s,onClick:function(){return u(1)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"font"})," Message Logs"]},"MessageLogs"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===s,onClick:function(){return u(2)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bold"})," Request Logs"]},"RequestLogs"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===s,onClick:function(){return u(3)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"comment-alt"})," Admin Messaging"]},"AdminMessage"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:4===s,onClick:function(){return u(4)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"comment-slash"})," Spam Filter"]},"SpamFilter"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{color:"red",onClick:function(){return i("deauth")},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"sign-out-alt"})," Log Out"]},"Logout")]}),(0,o.createComponentVNode)(2,a.Box,{m:2,children:t})],4)},p=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.linkedServer;return(0,o.createComponentVNode)(2,a.Section,{title:"Main Menu",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"link",content:"Server Link",onClick:function(){return r("find")}}),(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:"Server "+(i.active?"Enabled":"Disabled"),selected:i.active,onClick:function(){return r("active")}})],4),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Server Status",children:(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Good"})})}),(0,o.createComponentVNode)(2,a.Button,{mt:1,icon:"key",content:"Set Custom Key",onClick:function(){return r("pass")}}),(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"red",confirmIcon:"exclamation-triangle",icon:"exclamation-triangle",content:"Clear Message Logs"}),(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"red",confirmIcon:"exclamation-triangle",icon:"exclamation-triangle",content:"Clear Request Logs"})]})},C=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=(t.data,e.logs),d=e.pda,s=e.rc;return(0,o.createComponentVNode)(2,a.Section,{title:d?"PDA Logs":s?"Request Logs":"Logs",buttons:(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"red",icon:"trash",confirmIcon:"trash",content:"Delete All",onClick:function(){return i(d?"del_pda":"del_rc")}}),children:(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",children:l.map((function(e,n){return(0,o.createComponentVNode)(2,a.Flex.Item,{m:"2px",basis:"49%",grow:n%2,children:(0,o.createComponentVNode)(2,a.Section,{title:e.sender+" -> "+e.recipient,buttons:(0,o.createComponentVNode)(2,a.Button.Confirm,{confirmContent:"Delete Log?",color:"bad",icon:"trash",confirmIcon:"trash",onClick:function(){return i("delete",{id:e.ref,type:s?"rc":"pda"})}}),children:s?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message",children:e.message}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Verification",color:"Unauthenticated"===e.id_auth?"bad":"good",children:(0,r.decodeHtmlEntities)(e.id_auth)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stamp",children:e.stamp})]}):e.message})},e.ref)}))})})},h=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=i.possibleRecipients,d=i.customsender,s=i.customrecepient,u=i.customjob,m=i.custommessage,p=Object.keys(l);return(0,o.createComponentVNode)(2,a.Section,{title:"Admin Messaging",children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sender",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,value:d,onChange:function(e,n){return r("set_sender",{val:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sender's Job",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,value:u,onChange:function(e,n){return r("set_sender_job",{val:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Recipient",children:(0,o.createComponentVNode)(2,a.Dropdown,{value:s,options:p,width:"100%",mb:-.7,onSelected:function(e){return r("set_recipient",{val:l[e]})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message",verticalAlign:"top",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,mb:.5,value:m,onChange:function(e,n){return r("set_message",{val:n})}})})]}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"comment",content:"Send Message",onClick:function(){return r("send_message")}})]})},N=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.linkedServer;return(0,o.createComponentVNode)(2,a.Section,{title:"Spam Filtering",children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:i.spamFilter.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.index,buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"trash",color:"bad",content:"Delete",onClick:function(){return r("deltoken",{deltoken:e.index})}}),children:e.token},e.index)}))}),(0,o.createComponentVNode)(2,a.Button,{icon:"plus",content:"Add New Entry",onClick:function(){return r("addtoken")}})]})}},75412:function(e,n,t){"use strict";n.__esModule=!0,n.Microwave=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.Microwave=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.config,d=t.data,s=d.broken,u=d.operating,m=d.dirty,p=d.items;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:s&&(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Bzzzzttttt!!"})})||u&&(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.Box,{color:"good",children:["Microwaving in progress!",(0,o.createVNode)(1,"br"),"Please wait...!"]})})||m&&(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:["This microwave is dirty!",(0,o.createVNode)(1,"br"),"Please clean it before use!"]})})||p.length&&(0,o.createComponentVNode)(2,c.Section,{level:1,title:"Ingredients",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"radiation",onClick:function(){return i("cook")},children:"Microwave"}),(0,o.createComponentVNode)(2,c.Button,{icon:"eject",onClick:function(){return i("dispose")},children:"Eject"})],4),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:p.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name,children:[e.amt," ",e.extra]},e.name)}))})})||(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:[l.title," is empty."]})})})})}},35016:function(e,n,t){"use strict";n.__esModule=!0,n.MiningOreProcessingConsole=void 0;var o=t(39812),r=t(2497),c=t(71494),a=t(74814),i=t(85952),l=(t(64499),t(21526));n.MiningOreProcessingConsole=function(e,n){var t=(0,c.useBackend)(n),r=t.act,d=t.data,s=d.unclaimedPoints,u=(d.ores,d.showAllOres,d.power),p=d.speed;return(0,o.createComponentVNode)(2,i.Window,{width:400,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:[(0,o.createComponentVNode)(2,l.MiningUser,{insertIdText:(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-right",mr:1,onClick:function(){return r("insert")},children:"Insert ID"}),"in order to claim points."]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"bolt",selected:p,onClick:function(){return r("speed_toggle")},children:p?"High-Speed Active":"High-Speed Inactive"}),(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",selected:u,onClick:function(){return r("power")},children:u?"Smelting":"Not Smelting"})],4),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current unclaimed points",buttons:(0,o.createComponentVNode)(2,a.Button,{disabled:s<1,icon:"download",onClick:function(){return r("claim")},children:"Claim"}),children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:s})})})}),(0,o.createComponentVNode)(2,m)]})})};var d=["Not Processing","Smelting","Compressing","Alloying"],s=["verdantium","mhydrogen","diamond","platinum","uranium","gold","silver","rutile","phoron","marble","lead","sand","carbon","hematite"],u=function(e,n){return-1===s.indexOf(e.ore)||-1===s.indexOf(n.ore)?e.ore-n.ore:s.indexOf(n.ore)-s.indexOf(e.ore)},m=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,s=l.ores,m=l.showAllOres;l.power;return(0,o.createComponentVNode)(2,a.Section,{title:"Ore Processing Controls",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:m?"toggle-on":"toggle-off",selected:m,onClick:function(){return i("showAllOres")},children:m?"All Ores":"Ores in Machine"}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:s.length&&s.sort(u).map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.toTitleCase)(e.name),buttons:(0,o.createComponentVNode)(2,a.Dropdown,{width:"120px",color:(0===e.processing?"red":1===e.processing&&"green")||2===e.processing&&"blue"||3===e.processing&&"yellow",options:d,selected:d[e.processing],onSelected:function(n){return i("toggleSmelting",{ore:e.ore,set:d.indexOf(n)})}}),children:(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:e.amount})})},e.ore)}))||(0,o.createComponentVNode)(2,a.Box,{color:"bad",textAlign:"center",children:"No ores in machine."})})})}},87314:function(e,n,t){"use strict";n.__esModule=!0,n.MiningStackingConsole=void 0;var o=t(39812),r=t(2497),c=t(71494),a=t(74814),i=t(85952);t(64499);n.MiningStackingConsole=function(e,n){var t=(0,c.useBackend)(n),l=t.act,d=t.data,s=d.stacktypes,u=d.stackingAmt;return(0,o.createComponentVNode)(2,i.Window,{width:400,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Stacker Controls",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stacking",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,value:u,minValue:1,maxValue:50,stepPixelSize:5,onChange:function(e,n){return l("change_stack",{amt:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Divider),s.length&&s.sort().map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.toTitleCase)(e.type),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",onClick:function(){return l("release_stack",{stack:e.type})},children:"Eject"}),children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:e.amt})},e.type)}))||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Empty",color:"average",children:"No stacks in machine."})]})})})})}},62012:function(e,n,t){"use strict";n.__esModule=!0,n.MiningVendor=void 0;var o=t(39812),r=t(2497),c=t(71494),a=t(74814),i=t(85952),l=t(21526);var d={Alphabetical:function(e,n){return e-n},"By availability":function(e,n){return-(e.affordable-n.affordable)},"By price":function(e,n){return e.price-n.price}};n.MiningVendor=function(e,n){return(0,o.createComponentVNode)(2,i.Window,{width:400,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{className:"Layout__content--flexColumn",scrollable:!0,children:[(0,o.createComponentVNode)(2,l.MiningUser,{insertIdText:"Please insert an ID in order to make purchases."}),(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,s)]})})};var s=function(e,n){var t=(0,c.useBackend)(n),l=(t.act,t.data),s=l.has_id,u=l.id,p=l.items,C=(0,c.useLocalState)(n,"search",""),h=C[0],N=(C[1],(0,c.useLocalState)(n,"sort","Alphabetical")),V=N[0],b=(N[1],(0,c.useLocalState)(n,"descending",!1)),f=b[0],g=(b[1],(0,r.createSearch)(h,(function(e){return e[0]}))),k=!1,v=Object.entries(p).map((function(e,n){var t=Object.entries(e[1]).filter(g).map((function(e){return e[1].affordable=s&&u.points>=e[1].price,e[1]})).sort(d[V]);if(0!==t.length)return f&&(t=t.reverse()),k=!0,(0,o.createComponentVNode)(2,m,{title:e[0],items:t},e[0])}));return(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",overflow:"auto",children:(0,o.createComponentVNode)(2,a.Section,{onClick:function(e){return(0,i.refocusLayout)()},children:k?v:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No items matching your criteria was found!"})})})},u=function(e,n){var t=(0,c.useLocalState)(n,"search",""),r=(t[0],t[1]),i=(0,c.useLocalState)(n,"sort",""),l=(i[0],i[1]),s=(0,c.useLocalState)(n,"descending",!1),u=s[0],m=s[1];return(0,o.createComponentVNode)(2,a.Box,{mb:"0.5rem",children:(0,o.createComponentVNode)(2,a.Flex,{width:"100%",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",mr:"0.5rem",children:(0,o.createComponentVNode)(2,a.Input,{placeholder:"Search by item name..",width:"100%",onInput:function(e,n){return r(n)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"30%",children:(0,o.createComponentVNode)(2,a.Dropdown,{selected:"Alphabetical",options:Object.keys(d),width:"100%",lineHeight:"19px",onSelected:function(e){return l(e)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{icon:u?"arrow-down":"arrow-up",height:"19px",tooltip:u?"Descending order":"Ascending order",tooltipPosition:"bottom-end",ml:"0.5rem",onClick:function(){return m(!u)}})})]})})},m=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=e.title,d=e.items,s=function(e,n){if(null==e)return{};var t,o,r={},c=Object.keys(e);for(o=0;o=0||(r[t]=e[t]);return r}(e,["title","items"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.Collapsible,Object.assign({open:!0,title:l},s,{children:d.map((function(e){return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",lineHeight:"20px",style:{float:"left"},children:e.name}),(0,o.createComponentVNode)(2,a.Button,{disabled:!i.has_id||i.id.points=450?"Overcharged":e>=250?"Good Charge":"Low Charge":e>=250?"NIF Power Requirement met.":e>=150?"Fluctuations in available power.":"Power failure imminent."},s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=(t.config,t.data),s=i.nif_percent,u=i.nif_stat,m=(i.last_notification,i.nutrition),p=i.isSynthetic,C=i.modules,h=e.setViewing;return(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"NIF Condition",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:s,minValue:0,maxValue:100,ranges:{good:[50,Infinity],average:[25,50],bad:[-Infinity,0]},children:[l(u,s)," (",(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:s}),"%)"]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"NIF Power",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:m,minValue:0,maxValue:700,ranges:{good:[250,Infinity],average:[150,250],bad:[0,150]},children:d(m,p)})})]}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"NIFSoft Modules",mt:1,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:C.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"trash",color:"bad",confirmContent:"UNINSTALL?",confirmIcon:"trash",tooltip:"Uninstall Module",tooltipPosition:"left",onClick:function(){return a("uninstall",{module:e.ref})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"search",onClick:function(){return h(e)},tooltip:"View Information",tooltipPosition:"left"})],4),children:e.activates&&(0,o.createComponentVNode)(2,c.Button,{fluid:!0,selected:e.active,content:e.stat_text,onClick:function(){return a("toggle_module",{module:e.ref})}})||(0,o.createComponentVNode)(2,c.Box,{children:e.stat_text})},e.ref)}))})})]})},u=function(e,n){var t=(0,r.useBackend)(n),a=t.act,l=t.data.theme;return(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"NIF Theme",verticalAlign:"top",children:(0,o.createComponentVNode)(2,c.Dropdown,{width:"100%",placeholder:"Default",selected:l,options:i,onSelected:function(e){return a("setTheme",{theme:e})}})})})}},79630:function(e,n,t){"use strict";n.__esModule=!0,n.NTNetRelay=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=t(67861);n.NTNetRelay=function(e,n){var t=(0,r.useBackend)(n),c=(t.act,t.data),i=c.dos_crashed,s=(c.enabled,c.dos_overload,c.dos_capacity,(0,o.createComponentVNode)(2,l));return i&&(s=(0,o.createComponentVNode)(2,d)),(0,o.createComponentVNode)(2,a.Window,{width:i?700:500,height:i?600:300,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:s})})};var l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=(i.dos_crashed,i.enabled),d=i.dos_overload,s=i.dos_capacity;return(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:l,content:"Relay "+(l?"On":"Off"),onClick:function(){return a("toggle")}}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Network Buffer Status",children:[d," / ",s," GQ"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Options",children:(0,o.createComponentVNode)(2,c.Button,{icon:"exclamation-triangle",content:"Purge network blacklist",onClick:function(){return a("purge")}})})]})})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act;t.data;return(0,o.createComponentVNode)(2,i.FullscreenNotice,{title:"ERROR",children:[(0,o.createComponentVNode)(2,c.Box,{fontSize:"1.5rem",bold:!0,color:"bad",children:[(0,o.createComponentVNode)(2,c.Icon,{name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"}),(0,o.createVNode)(1,"h2",null,"NETWORK BUFFERS OVERLOADED",16),(0,o.createVNode)(1,"h3",null,"Overload Recovery Mode",16),(0,o.createVNode)(1,"i",null,"This system is suffering temporary outage due to overflow of traffic buffers. Until buffered traffic is processed, all further requests will be dropped. Frequent occurences of this error may indicate insufficient hardware capacity of your network. Please contact your network planning department for instructions on how to resolve this issue.",16),(0,o.createVNode)(1,"h3",null,"ADMINISTRATIVE OVERRIDE",16),(0,o.createVNode)(1,"b",null," CAUTION - Data loss may occur ",16)]}),(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"exclamation-triangle",content:"Purge buffered traffic",onClick:function(){return a("restart")}})})]})}},60042:function(e,n,t){"use strict";n.__esModule=!0,n.Newscaster=void 0;var o=t(39812),r=t(2497),c=t(71494),a=t(74814),i=t(85952),l=t(36355),d="Main Menu",s="New Channel",u="View List",m="New Story",p="Print",C="New Wanted",h="View Wanted",N="View Selected Channel";n.Newscaster=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data);r.screen,r.user;return(0,o.createComponentVNode)(2,i.Window,{width:600,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,l.TemporaryNotice,{decode:!0}),(0,o.createComponentVNode)(2,V)]})})};var V=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data.user,(0,c.useSharedState)(n,"screen",d)),i=r[0],l=r[1],s=b[i];return(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,s,{setScreen:l})})},b={"Main Menu":function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data),i=r.securityCaster,l=r.wanted_issue,d=e.setScreen;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Main Menu",children:[l&&(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"eye",onClick:function(){return d(h)},color:"bad",children:"Read WANTED Issue"}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"eye",onClick:function(){return d(u)},children:"View Feed Channels"}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"plus",onClick:function(){return d(s)},children:"Create Feed Channel"}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"plus",onClick:function(){return d(m)},children:"Create Feed Message"}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"print",onClick:function(){return d(p)},children:"Print Newspaper"})]}),!!i&&(0,o.createComponentVNode)(2,a.Section,{title:"Feed Security Functions",children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"plus",onClick:function(){return d(C)},children:'Manage "Wanted" Issue'})})],0)},"New Channel":function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,s=l.channel_name,u=l.c_locked,m=l.user,p=e.setScreen;return(0,o.createComponentVNode)(2,a.Section,{title:"Creating new Feed Channel",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return p(d)},children:"Back"}),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Channel Name",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,value:(0,r.decodeHtmlEntities)(s),onInput:function(e,n){return i("set_channel_name",{val:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Channel Author",color:"good",children:m}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Accept Public Feeds",children:(0,o.createComponentVNode)(2,a.Button,{icon:u?"lock":"lock-open",selected:!u,onClick:function(){return i("set_channel_lock")},children:u?"No":"Yes"})})]}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,color:"good",icon:"plus",onClick:function(){return i("submit_new_channel")},children:"Submit Channel"}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,color:"bad",icon:"undo",onClick:function(){return p(d)},children:"Cancel"})]})},"View List":function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data.channels,s=e.setScreen;return(0,o.createComponentVNode)(2,a.Section,{title:"Station Feed Channels",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return s(d)},children:"Back"}),children:l.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"eye",color:e.admin?"good":e.censored?"bad":"",onClick:function(){i("show_channel",{show_channel:e.ref}),s(N)},children:(0,r.decodeHtmlEntities)(e.name)},e.name)}))})},"New Story":function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=i.channel_name,s=i.user,u=i.title,m=i.msg,p=i.photo_data,C=e.setScreen;return(0,o.createComponentVNode)(2,a.Section,{title:"Creating new Feed Message...",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return C(d)},children:"Back"}),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Receiving Channel",children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,onClick:function(){return r("set_channel_receiving")},children:l||"Unset"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message Author",color:"good",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message Title",verticalAlign:"top",children:(0,o.createComponentVNode)(2,a.Flex,{children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Section,{width:"99%",inline:!0,children:u||"(no title yet)"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{verticalAlign:"top",onClick:function(){return r("set_new_title")},icon:"pen",tooltip:"Edit Title",tooltipPosition:"left"})})]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message Body",verticalAlign:"top",children:(0,o.createComponentVNode)(2,a.Flex,{children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Section,{width:"99%",inline:!0,children:m||"(no message yet)"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{verticalAlign:"top",onClick:function(){return r("set_new_message")},icon:"pen",tooltip:"Edit Message",tooltipPosition:"left"})})]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Attach Photo",children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"image",onClick:function(){return r("set_attachment")},children:p?"Photo Attached":"No Photo"})})]}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,color:"good",icon:"plus",onClick:function(){return r("submit_new_message")},children:"Submit Message"}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,color:"bad",icon:"undo",onClick:function(){return C(d)},children:"Cancel"})]})},Print:function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=i.total_num,s=i.active_num,u=i.message_num,m=i.paper_remaining,p=e.setScreen;return(0,o.createComponentVNode)(2,a.Section,{title:"Printing",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return p(d)},children:"Back"}),children:[(0,o.createComponentVNode)(2,a.Box,{color:"label",mb:1,children:["Newscaster currently serves a total of ",l," Feed channels, ",s," of which are active, and a total of ",u," Feed stories."]}),(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Liquid Paper remaining",children:[100*m," cm\xb3"]})}),(0,o.createComponentVNode)(2,a.Button,{mt:1,fluid:!0,color:"good",icon:"plus",onClick:function(){return r("print_paper")},children:"Print Paper"}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,color:"bad",icon:"undo",onClick:function(){return p(d)},children:"Cancel"})]})},"New Wanted":function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,s=l.channel_name,u=l.msg,m=l.photo_data,p=l.user,C=l.wanted_issue,h=e.setScreen;return(0,o.createComponentVNode)(2,a.Section,{title:"Wanted Issue Handler",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return h(d)},children:"Back"}),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[!!C&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Already In Circulation",children:"A wanted issue is already in circulation. You can edit or cancel it below."}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Criminal Name",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,value:(0,r.decodeHtmlEntities)(s),onInput:function(e,n){return i("set_channel_name",{val:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Description",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,value:(0,r.decodeHtmlEntities)(u),onInput:function(e,n){return i("set_wanted_desc",{val:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Attach Photo",children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"image",onClick:function(){return i("set_attachment")},children:m?"Photo Attached":"No Photo"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Prosecutor",color:"good",children:p})]}),(0,o.createComponentVNode)(2,a.Button,{mt:1,fluid:!0,color:"good",icon:"plus",onClick:function(){return i("submit_wanted")},children:"Submit Wanted Issue"}),!!C&&(0,o.createComponentVNode)(2,a.Button,{fluid:!0,color:"average",icon:"minus",onClick:function(){return i("cancel_wanted")},children:"Take Down Issue"}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,color:"bad",icon:"undo",onClick:function(){return h(d)},children:"Cancel"})]})},"View Wanted":function(e,n){var t=(0,c.useBackend)(n),i=(t.act,t.data.wanted_issue),l=e.setScreen;return i?(0,o.createComponentVNode)(2,a.Section,{title:"--STATIONWIDE WANTED ISSUE--",color:"bad",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return l(d)},children:"Back"}),children:(0,o.createComponentVNode)(2,a.Box,{color:"white",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Submitted by",color:"good",children:(0,r.decodeHtmlEntities)(i.author)}),(0,o.createComponentVNode)(2,a.LabeledList.Divider),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Criminal",children:(0,r.decodeHtmlEntities)(i.criminal)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Description",children:(0,r.decodeHtmlEntities)(i.desc)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Photo",children:i.img&&(0,o.createVNode)(1,"img",null,null,1,{src:i.img})||"None"})]})})}):(0,o.createComponentVNode)(2,a.Section,{title:"No Outstanding Wanted Issues",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return l(d)},children:"Back"}),children:"There are no wanted issues currently outstanding."})},"View Selected Channel":function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,d=l.viewing_channel,s=l.securityCaster,m=l.company,p=e.setScreen;return d?(0,o.createComponentVNode)(2,a.Section,{title:(0,r.decodeHtmlEntities)(d.name),buttons:(0,o.createFragment)([!!s&&(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"bad",icon:"ban",confirmIcon:"ban",content:"Issue D-Notice",onClick:function(){return i("toggle_d_notice",{ref:d.ref})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return p(u)},children:"Back"})],0),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Channel Created By",children:s&&(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"bad",icon:"strikethrough",confirmIcon:"strikethrough",content:(0,r.decodeHtmlEntities)(d.author),tooltip:"Censor?",confirmContent:"Censor Author",onClick:function(){return i("censor_channel_author",{ref:d.ref})}})||(0,o.createComponentVNode)(2,a.Box,{children:(0,r.decodeHtmlEntities)(d.author)})})}),!!d.censored&&(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:["ATTENTION: This channel has been deemed as threatening to the welfare of the station, and marked with a ",m," D-Notice. No further feed story additions are allowed while the D-Notice is in effect."]}),!!d.messages.length&&d.messages.map((function(e){return(0,o.createComponentVNode)(2,a.Section,{children:["- ",(0,r.decodeHtmlEntities)(e.body),!!e.img&&(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createVNode)(1,"img",null,null,1,{src:"data:image/png;base64,"+e.img}),(0,r.decodeHtmlEntities)(e.caption)||null]}),(0,o.createComponentVNode)(2,a.Box,{color:"grey",children:["[Story by ",(0,r.decodeHtmlEntities)(e.author)," - ",e.timestamp,"]"]}),!!s&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button.Confirm,{mt:1,color:"bad",icon:"strikethrough",confirmIcon:"strikethrough",content:"Censor Story",onClick:function(){return i("censor_channel_story_body",{ref:e.ref})}}),(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"bad",icon:"strikethrough",confirmIcon:"strikethrough",content:"Censor Author",onClick:function(){return i("censor_channel_story_author",{ref:e.ref})}})],4)]},e.ref)}))||!d.censored&&(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No feed messages found in channel."})]}):(0,o.createComponentVNode)(2,a.Section,{title:"Channel Not Found",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return p(u)},children:"Back"}),children:"The channel you were looking for no longer exists."})}}},31669:function(e,n,t){"use strict";n.__esModule=!0,n.NoticeBoard=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.NoticeBoard=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data.notices;return(0,o.createComponentVNode)(2,a.Window,{width:330,height:300,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{children:l.length?(0,o.createComponentVNode)(2,c.LabeledList,{children:l.map((function(e,n){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name,children:[e.isphoto&&(0,o.createComponentVNode)(2,c.Button,{icon:"image",content:"Look",onClick:function(){return i("look",{ref:e.ref})}})||e.ispaper&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"sticky-note",content:"Read",onClick:function(){return i("read",{ref:e.ref})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Write",onClick:function(){return i("write",{ref:e.ref})}})],4)||"Unknown Entity",(0,o.createComponentVNode)(2,c.Button,{icon:"minus-circle",content:"Remove",onClick:function(){return i("remove",{ref:e.ref})}})]},n)}))}):(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No notices posted here."})})})})}},63231:function(e,n,t){"use strict";n.__esModule=!0,n.NtosAccessDecrypter=void 0;var o=t(39812),r=t(71494),c=t(85952),a=t(76952),i=t(74814);n.NtosAccessDecrypter=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.message,u=d.running,m=d.rate,p=d.factor,C=d.regions,h=function(e){for(var n="";n.lengthp?n+="0":n+="1";return n};return(0,o.createComponentVNode)(2,c.NtosWindow,{width:600,height:600,theme:"syndicate",children:(0,o.createComponentVNode)(2,c.NtosWindow.Content,{children:s&&(0,o.createComponentVNode)(2,i.NoticeBox,{children:s})||u&&(0,o.createComponentVNode)(2,i.Section,{children:["Attempting to decrypt network access codes. Please wait. Rate: ",m," PHash/s",(0,o.createComponentVNode)(2,i.Box,{children:h(45)}),(0,o.createComponentVNode)(2,i.Box,{children:h(45)}),(0,o.createComponentVNode)(2,i.Box,{children:h(45)}),(0,o.createComponentVNode)(2,i.Box,{children:h(45)}),(0,o.createComponentVNode)(2,i.Box,{children:h(45)}),(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"ban",onClick:function(){return l("PRG_reset")},children:"Abort"})]})||(0,o.createComponentVNode)(2,i.Section,{title:"Pick access code to decrypt",children:C.length&&(0,o.createComponentVNode)(2,a.IdentificationComputerRegions,{actName:"PRG_execute"})||(0,o.createComponentVNode)(2,i.Box,{children:"Please insert ID card."})})})})}},79760:function(e,n,t){"use strict";n.__esModule=!0,n.NtosArcade=void 0;var o=t(39812),r=t(5908),c=t(71494),a=t(74814),i=t(85952);n.NtosArcade=function(e,n){var t=(0,c.useBackend)(n),l=t.act,d=t.data;return(0,o.createComponentVNode)(2,i.NtosWindow,{width:450,height:350,children:(0,o.createComponentVNode)(2,i.NtosWindow.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Outbomb Cuban Pete Ultra",textAlign:"center",children:[(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Grid,{children:[(0,o.createComponentVNode)(2,a.Grid.Column,{size:2,children:[(0,o.createComponentVNode)(2,a.Box,{m:1}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Player Health",children:(0,o.createComponentVNode)(2,a.ProgressBar,{value:d.PlayerHitpoints,minValue:0,maxValue:30,ranges:{olive:[31,Infinity],good:[20,31],average:[10,20],bad:[-Infinity,10]},children:[d.PlayerHitpoints,"HP"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Player Magic",children:(0,o.createComponentVNode)(2,a.ProgressBar,{value:d.PlayerMP,minValue:0,maxValue:10,ranges:{purple:[11,Infinity],violet:[3,11],bad:[-Infinity,3]},children:[d.PlayerMP,"MP"]})})]}),(0,o.createComponentVNode)(2,a.Box,{my:1,mx:4}),(0,o.createComponentVNode)(2,a.Section,{backgroundColor:1===d.PauseState?"#1b3622":"#471915",children:d.Status})]}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:[(0,o.createComponentVNode)(2,a.ProgressBar,{value:d.Hitpoints,minValue:0,maxValue:45,ranges:{good:[30,Infinity],average:[5,30],bad:[-Infinity,5]},children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:d.Hitpoints}),"HP"]}),(0,o.createComponentVNode)(2,a.Box,{m:1}),(0,o.createComponentVNode)(2,a.Section,{inline:!0,width:"156px",textAlign:"center",children:(0,o.createVNode)(1,"img",null,null,1,{src:(0,r.resolveAsset)(d.BossID)})})]})]}),(0,o.createComponentVNode)(2,a.Box,{my:1,mx:4}),(0,o.createComponentVNode)(2,a.Button,{icon:"fist-raised",tooltip:"Go in for the kill!",tooltipPosition:"top",disabled:0===d.GameActive||1===d.PauseState,onClick:function(){return l("Attack")},content:"Attack!"}),(0,o.createComponentVNode)(2,a.Button,{icon:"band-aid",tooltip:"Heal yourself!",tooltipPosition:"top",disabled:0===d.GameActive||1===d.PauseState,onClick:function(){return l("Heal")},content:"Heal!"}),(0,o.createComponentVNode)(2,a.Button,{icon:"magic",tooltip:"Recharge your magic!",tooltipPosition:"top",disabled:0===d.GameActive||1===d.PauseState,onClick:function(){return l("Recharge_Power")},content:"Recharge!"})]}),(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"sync-alt",tooltip:"One more game couldn't hurt.",tooltipPosition:"top",disabled:1===d.GameActive,onClick:function(){return l("Start_Game")},content:"Begin Game"}),(0,o.createComponentVNode)(2,a.Button,{icon:"ticket-alt",tooltip:"Claim at your local Arcade Computer for Prizes!",tooltipPosition:"top",disabled:1===d.GameActive,onClick:function(){return l("Dispense_Tickets")},content:"Claim Tickets"})]}),(0,o.createComponentVNode)(2,a.Box,{color:d.TicketCount>=1?"good":"normal",children:["Earned Tickets: ",d.TicketCount]})]})})})}},97908:function(e,n,t){"use strict";n.__esModule=!0,n.NtosAtmosControl=void 0;var o=t(39812),r=t(85952),c=t(46566);n.NtosAtmosControl=function(){return(0,o.createComponentVNode)(2,r.NtosWindow,{width:870,height:708,resizable:!0,children:(0,o.createComponentVNode)(2,r.NtosWindow.Content,{children:(0,o.createComponentVNode)(2,c.AtmosControlContent)})})}},63645:function(e,n,t){"use strict";n.__esModule=!0,n.NtosCameraConsole=void 0;var o=t(39812),r=t(85952),c=t(3180);n.NtosCameraConsole=function(){return(0,o.createComponentVNode)(2,r.NtosWindow,{width:870,height:708,resizable:!0,children:(0,o.createComponentVNode)(2,r.NtosWindow.Content,{children:(0,o.createComponentVNode)(2,c.CameraConsoleContent)})})}},74093:function(e,n,t){"use strict";n.__esModule=!0,n.NtosCommunicationsConsole=void 0;var o=t(39812),r=t(71494),c=t(85952),a=t(130);n.NtosCommunicationsConsole=function(e,n){var t=(0,r.useBackend)(n);t.act,t.data;return(0,o.createComponentVNode)(2,c.NtosWindow,{width:400,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,c.NtosWindow.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,a.CommunicationsConsoleContent)})})}},55513:function(e,n,t){"use strict";n.__esModule=!0,n.NtosConfiguration=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.NtosConfiguration=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.PC_device_theme,s=l.power_usage,u=l.battery_exists,m=l.battery,p=void 0===m?{}:m,C=l.disk_size,h=l.disk_used,N=l.hardware,V=void 0===N?[]:N;return(0,o.createComponentVNode)(2,a.NtosWindow,{theme:d,width:520,height:630,resizable:!0,children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Power Supply",buttons:(0,o.createComponentVNode)(2,c.Box,{inline:!0,bold:!0,mr:1,children:["Power Draw: ",s,"W"]}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Battery Status",color:!u&&"average",children:u?(0,o.createComponentVNode)(2,c.ProgressBar,{value:p.charge,minValue:0,maxValue:p.max,ranges:{good:[p.max/2,Infinity],average:[p.max/4,p.max/2],bad:[-Infinity,p.max/4]},children:[p.charge," / ",p.max]}):"Not Available"})})}),(0,o.createComponentVNode)(2,c.Section,{title:"File System",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:h,minValue:0,maxValue:C,color:"good",children:[h," GQ / ",C," GQ"]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Hardware Components",children:V.map((function(e){return(0,o.createComponentVNode)(2,c.Section,{title:e.name,level:2,buttons:(0,o.createFragment)([!e.critical&&(0,o.createComponentVNode)(2,c.Button.Checkbox,{content:"Enabled",checked:e.enabled,mr:1,onClick:function(){return i("PC_toggle_component",{name:e.name})}}),(0,o.createComponentVNode)(2,c.Box,{inline:!0,bold:!0,mr:1,children:["Power Usage: ",e.powerusage,"W"]})],0),children:e.desc},e.name)}))})]})})}},17539:function(e,n,t){"use strict";n.__esModule=!0,n.NtosCrewMonitor=void 0;var o=t(39812),r=t(85952),c=t(96158);n.NtosCrewMonitor=function(){return(0,o.createComponentVNode)(2,r.NtosWindow,{width:800,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,r.NtosWindow.Content,{children:(0,o.createComponentVNode)(2,c.CrewMonitorContent)})})}},20025:function(e,n,t){"use strict";n.__esModule=!0,n.NtosDigitalWarrant=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=t(64499);n.NtosDigitalWarrant=function(e,n){var t=(0,r.useBackend)(n),c=(t.act,t.data),i=(c.warrantname,c.warrantcharges,c.warrantauth),d=(c.type,c.allwarrants,(0,o.createComponentVNode)(2,l));return i&&(d=(0,o.createComponentVNode)(2,s)),(0,o.createComponentVNode)(2,a.NtosWindow,{width:500,height:350,resizable:!0,children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{scrollable:!0,children:d})})};var l=function(e,n){var t=(0,r.useBackend)(n),a=t.act;t.data.allwarrants;return(0,o.createComponentVNode)(2,c.Section,{title:"Warrants",children:[(0,o.createComponentVNode)(2,c.Button,{icon:"plus",fluid:!0,onClick:function(){return a("addwarrant")},children:"Create New Warrant"}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Arrest Warrants",children:(0,o.createComponentVNode)(2,d,{type:"arrest"})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Search Warrants",children:(0,o.createComponentVNode)(2,d,{type:"search"})})]})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,l=t.data,d=e.type,s=l.allwarrants,u=(0,i.filter)((function(e){return e.arrestsearch===d}))(s);return(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:"arrest"===d?"Name":"Location"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"arrest"===d?"Charges":"Reason"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Authorized By"}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:"Edit"})]}),u.length&&u.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.warrantname}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.charges}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.auth}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,c.Button,{icon:"pen",onClick:function(){return a("editwarrant",{id:e.id})}})})]},e.id)}))||(0,o.createComponentVNode)(2,c.Table.Row,{children:(0,o.createComponentVNode)(2,c.Table.Cell,{colspan:"3",color:"bad",children:["No ",d," warrants found."]})})]})},s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.warrantname,d=i.warrantcharges,s=i.warrantauth,u=i.type,m="arrest"===u,p="arrest"===u?"Name":"Location",C="arrest"===u?"Charges":"Reason";return(0,o.createComponentVNode)(2,c.Section,{title:m?"Editing Arrest Warrant":"Editing Search Warrant",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"save",onClick:function(){return a("savewarrant")},children:"Save"}),(0,o.createComponentVNode)(2,c.Button,{color:"bad",icon:"trash",onClick:function(){return a("deletewarrant")},children:"Delete"}),(0,o.createComponentVNode)(2,c.Button,{icon:"undo",onClick:function(){return a("back")},children:"Back"})],4),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:p,buttons:m&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"search",onClick:function(){return a("editwarrantname")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"pen",onClick:function(){return a("editwarrantnamecustom")}})],4)||(0,o.createComponentVNode)(2,c.Button,{icon:"pen",onClick:function(){return a("editwarrantnamecustom")}}),children:l}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:C,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"pen",onClick:function(){return a("editwarrantcharges")}}),children:d}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Authorized By",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"balance-scale",onClick:function(){return a("editwarrantauth")}}),children:s})]})})}},11325:function(e,n,t){"use strict";n.__esModule=!0,n.NtosEmailAdministration=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(77006);n.NtosEmailAdministration=function(e,n){var t=(0,r.useBackend)(n),c=(t.act,t.data),i=c.error,m=c.cur_title,p=c.current_account,C=(0,o.createComponentVNode)(2,l);return i?C=(0,o.createComponentVNode)(2,d):m?C=(0,o.createComponentVNode)(2,s):p&&(C=(0,o.createComponentVNode)(2,u)),(0,o.createComponentVNode)(2,a.NtosWindow,{width:600,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{scrollable:!0,children:C})})};var l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.accounts;return(0,o.createComponentVNode)(2,c.Section,{title:"Welcome to the NTNet Email Administration System",children:[(0,o.createComponentVNode)(2,c.Box,{italic:!0,mb:1,children:"SECURE SYSTEM - Have your identification ready"}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"plus",onClick:function(){return a("newaccount")},children:"Create New Account"}),(0,o.createComponentVNode)(2,c.Box,{bold:!0,mt:1,mb:1,children:"Select account to administrate"}),i.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"eye",onClick:function(){return a("viewaccount",{viewaccount:e.uid})},children:e.login},e.uid)}))]})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.error;return(0,o.createComponentVNode)(2,c.Section,{title:"Message",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"undo",onClick:function(){return a("back")},children:"Back"}),children:i})},s=function(e,n){var t=(0,r.useBackend)(n);t.act,t.data;return(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,i.NtosEmailClientViewMessage,{administrator:!0})})},u=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=(i.error,i.msg_title,i.msg_body,i.msg_timestamp,i.msg_source,i.current_account),d=i.cur_suspended,s=i.messages;i.accounts;return(0,o.createComponentVNode)(2,c.Section,{title:"Viewing "+l+" in admin mode",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"undo",onClick:function(){return a("back")},children:"Back"}),children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Account Status",children:(0,o.createComponentVNode)(2,c.Button,{color:d?"bad":"",icon:"ban",tooltip:(d?"Uns":"S")+"uspend Account?",onClick:function(){return a("ban")},children:d?"Suspended":"Normal"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Actions",children:(0,o.createComponentVNode)(2,c.Button,{icon:"key",onClick:function(){return a("changepass")},children:"Change Password"})})]}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Messages",children:s.length&&(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Source"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Title"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Received at"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Actions"})]}),s.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.source}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.title}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.timestamp}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"eye",onClick:function(){return a("viewmail",{viewmail:e.uid})},children:"View"})})]},e.uid)}))]})||(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No messages found in selected account."})})]})}},77006:function(e,n,t){"use strict";n.__esModule=!0,n.NtosEmailClientViewMessage=n.NtosEmailClient=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=t(41860);n.NtosEmailClient=function(e,n){var t=(0,r.useBackend)(n),c=(t.act,t.data),i=c.PC_device_theme,s=c.error,u=c.downloading,m=c.current_account,p=(0,o.createComponentVNode)(2,h);return s?p=(0,o.createComponentVNode)(2,C,{error:s}):u?p=(0,o.createComponentVNode)(2,l):m&&(p=(0,o.createComponentVNode)(2,d)),(0,o.createComponentVNode)(2,a.NtosWindow,{resizable:!0,theme:i,children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{scrollable:!0,children:p})})};var l=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data),l=a.down_filename,d=a.down_progress,s=a.down_size,u=a.down_speed;return(0,o.createComponentVNode)(2,c.Section,{title:"Downloading...",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"File",children:[l," (",s," GQ)"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Speed",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:u})," GQ/s"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Progress",children:(0,o.createComponentVNode)(2,c.ProgressBar,{color:"good",value:d,maxValue:s,children:[d,"/",s," (",(0,i.round)(d/s*100,1),"%)"]})})]})})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.current_account,d=i.addressbook,C=i.new_message,h=i.cur_title,N=(0,o.createComponentVNode)(2,s);return d?N=(0,o.createComponentVNode)(2,m):C?N=(0,o.createComponentVNode)(2,p):h&&(N=(0,o.createComponentVNode)(2,u)),(0,o.createComponentVNode)(2,c.Section,{title:"Logged in as: "+l,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"plus",tooltip:"New Message",tooltipPosition:"left",onClick:function(){return a("new_message")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"cogs",tooltip:"Change Password",tooltipPosition:"left",onClick:function(){return a("changepassword")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"sign-out-alt",tooltip:"Log Out",tooltipPosition:"left",onClick:function(){return a("logout")}})],4),children:N})},s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=(i.current_account,i.folder),d=i.messagecount,s=i.messages;return(0,o.createComponentVNode)(2,c.Section,{level:2,noTopPadding:!0,children:[(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:"Inbox"===l,onClick:function(){return a("set_folder",{set_folder:"Inbox"})},children:"Inbox"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:"Spam"===l,onClick:function(){return a("set_folder",{set_folder:"Spam"})},children:"Spam"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:"Deleted"===l,onClick:function(){return a("set_folder",{set_folder:"Deleted"})},children:"Deleted"})]}),d&&(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Source"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Title"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Received At"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Actions"})]}),s.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.source}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.title}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.timestamp}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:[(0,o.createComponentVNode)(2,c.Button,{icon:"eye",onClick:function(){return a("view",{view:e.uid})},tooltip:"View"}),(0,o.createComponentVNode)(2,c.Button,{icon:"share",onClick:function(){return a("reply",{reply:e.uid})},tooltip:"Reply"}),(0,o.createComponentVNode)(2,c.Button,{color:"bad",icon:"trash",onClick:function(){return a("delete",{"delete":e.uid})},tooltip:"Delete"})]})]},e.timestamp+e.title)}))]})})||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:["No emails found in ",l,"."]})]})},u=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=e.administrator,d=i.cur_title,s=i.cur_source,u=i.cur_timestamp,m=i.cur_body,p=i.cur_hasattachment,C=i.cur_attachment_filename,h=i.cur_attachment_size,N=i.cur_uid;return(0,o.createComponentVNode)(2,c.Section,{title:d,buttons:l?(0,o.createComponentVNode)(2,c.Button,{icon:"times",onClick:function(){return a("back")}}):(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"share",tooltip:"Reply",tooltipPosition:"left",onClick:function(){return a("reply",{reply:N})}}),(0,o.createComponentVNode)(2,c.Button,{color:"bad",icon:"trash",tooltip:"Delete",tooltipPosition:"left",onClick:function(){return a("delete",{"delete":N})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"save",tooltip:"Save To Disk",tooltipPosition:"left",onClick:function(){return a("save",{save:N})}}),p&&(0,o.createComponentVNode)(2,c.Button,{icon:"paperclip",tooltip:"Save Attachment",tooltipPosition:"left",onClick:function(){return a("downloadattachment")}})||null,(0,o.createComponentVNode)(2,c.Button,{icon:"times",tooltip:"Close",tooltipPosition:"left",onClick:function(){return a("cancel",{cancel:N})}})],0),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"From",children:s}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"At",children:u}),p&&!l&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Attachment",color:"average",children:[C," (",h,"GQ)"]})||null,(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Message",verticalAlign:"top",children:(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createVNode)(1,"div",null,null,1,{dangerouslySetInnerHTML:{__html:m}})})})]})})};n.NtosEmailClientViewMessage=u;var m=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.accounts;return(0,o.createComponentVNode)(2,c.Section,{title:"Address Book",level:2,buttons:(0,o.createComponentVNode)(2,c.Button,{color:"bad",icon:"times",onClick:function(){return a("set_recipient",{set_recipient:null})}}),children:i.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{content:e.login,fluid:!0,onClick:function(){return a("set_recipient",{set_recipient:e.login})}},e.login)}))})},p=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=(i.current_account,i.msg_title),d=i.msg_recipient,s=i.msg_body,u=i.msg_hasattachment,m=i.msg_attachment_filename,p=i.msg_attachment_size;return(0,o.createComponentVNode)(2,c.Section,{title:"New Message",level:2,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"share",onClick:function(){return a("send")},children:"Send Message"}),(0,o.createComponentVNode)(2,c.Button,{color:"bad",icon:"times",onClick:function(){return a("cancel")}})],4),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Title",children:(0,o.createComponentVNode)(2,c.Input,{fluid:!0,value:l,onInput:function(e,n){return a("edit_title",{val:n})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Recipient",verticalAlign:"top",children:(0,o.createComponentVNode)(2,c.Flex,{children:[(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Input,{fluid:!0,value:d,onInput:function(e,n){return a("edit_recipient",{val:n})}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"address-book",onClick:function(){return a("addressbook")},tooltip:"Find Receipients",tooltipPosition:"left"})})]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Attachments",buttons:u&&(0,o.createComponentVNode)(2,c.Button,{color:"bad",icon:"times",onClick:function(){return a("remove_attachment")},children:"Remove Attachment"})||(0,o.createComponentVNode)(2,c.Button,{icon:"plus",onClick:function(){return a("addattachment")},children:"Add Attachment"}),children:u&&(0,o.createComponentVNode)(2,c.Box,{inline:!0,children:[m," (",p,"GQ)"]})||null}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Message",verticalAlign:"top",children:(0,o.createComponentVNode)(2,c.Flex,{children:[(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Section,{width:"99%",inline:!0,children:(0,o.createVNode)(1,"div",null,null,1,{dangerouslySetInnerHTML:{__html:s}})})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Button,{verticalAlign:"top",onClick:function(){return a("edit_body")},icon:"pen",tooltip:"Edit Message",tooltipPosition:"left"})})]})})]})})},C=function(e,n){var t=(0,r.useBackend)(n).act,a=e.error;return(0,o.createComponentVNode)(2,c.Section,{title:"Notification",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-left",content:"Return",onClick:function(){return t("reset")}}),children:(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:a})})},h=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.stored_login,d=i.stored_password;return(0,o.createComponentVNode)(2,c.Section,{title:"Please Log In",children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Email address",children:(0,o.createComponentVNode)(2,c.Input,{fluid:!0,value:l,onInput:function(e,n){return a("edit_login",{val:n})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Password",children:(0,o.createComponentVNode)(2,c.Input,{fluid:!0,value:d,onInput:function(e,n){return a("edit_password",{val:n})}})})]}),(0,o.createComponentVNode)(2,c.Button,{icon:"sign-in-alt",onClick:function(){return a("login")},children:"Log In"})]})}},86441:function(e,n,t){"use strict";n.__esModule=!0,n.NtosFileManager=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);t(2497);n.NtosFileManager=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.PC_device_theme,u=d.usbconnected,m=d.filename,p=d.filedata,C=d.error,h=d.files,N=void 0===h?[]:h,V=d.usbfiles,b=void 0===V?[]:V;return(0,o.createComponentVNode)(2,a.NtosWindow,{resizable:!0,theme:s,children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{scrollable:!0,children:(m||C)&&(0,o.createComponentVNode)(2,c.Section,{title:"Viewing File "+m,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Edit",onClick:function(){return l("PRG_edit")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"print",content:"Print",onClick:function(){return l("PRG_printfile")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"times",content:"Close",onClick:function(){return l("PRG_closefile")}})],4),children:[C||null,p&&(0,o.createVNode)(1,"div",null,null,1,{dangerouslySetInnerHTML:{__html:p}})]})||(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,i,{files:N,usbconnected:u,onUpload:function(e){return l("PRG_copytousb",{name:e})},onDelete:function(e){return l("PRG_deletefile",{name:e})},onOpen:function(e){return l("PRG_openfile",{name:e})},onRename:function(e,n){return l("PRG_rename",{name:e,new_name:n})},onDuplicate:function(e){return l("PRG_clone",{file:e})}})}),u&&(0,o.createComponentVNode)(2,c.Section,{title:"Data Disk",children:(0,o.createComponentVNode)(2,i,{usbmode:!0,files:b,usbconnected:u,onUpload:function(e){return l("PRG_copyfromusb",{name:e})},onDelete:function(e){return l("PRG_deletefile",{name:e})},onRename:function(e,n){return l("PRG_rename",{name:e,new_name:n})},onDuplicate:function(e){return l("PRG_clone",{file:e})}})})||null,(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"plus",onClick:function(){return l("PRG_newtextfile")},children:"New Text File"})})],0)})})};var i=function(e){var n=e.files,t=void 0===n?[]:n,r=e.usbconnected,a=e.usbmode,i=e.onUpload,l=e.onDelete,d=e.onRename,s=e.onOpen;return(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:"File"}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:"Type"}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:"Size"})]}),t.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{className:"candystripe",children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.undeletable?e.name:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button.Input,{width:"80%",content:e.name,currentValue:e.name,tooltip:"Rename",onCommit:function(n,t){return d(e.name,t)}}),(0,o.createComponentVNode)(2,c.Button,{content:"Open",onClick:function(){return s(e.name)}})],4)}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.type}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.size}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:!e.undeletable&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"trash",confirmIcon:"times",confirmContent:"",tooltip:"Delete",onClick:function(){return l(e.name)}}),!!r&&(a?(0,o.createComponentVNode)(2,c.Button,{icon:"download",tooltip:"Download",onClick:function(){return i(e.name)}}):(0,o.createComponentVNode)(2,c.Button,{icon:"upload",tooltip:"Upload",onClick:function(){return i(e.name)}}))],0)})]},e.name)}))]})}},87369:function(e,n,t){"use strict";n.__esModule=!0,n.NtosIdentificationComputer=void 0;var o=t(39812),r=(t(64499),t(71494)),c=(t(74814),t(85952)),a=(t(2497),t(76270),t(76952));n.NtosIdentificationComputer=function(e,n){var t=(0,r.useBackend)(n);t.act,t.data;return(0,o.createComponentVNode)(2,c.NtosWindow,{width:600,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,c.NtosWindow.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,a.IdentificationComputerContent,{ntos:!0})})})}},59543:function(e,n,t){"use strict";n.__esModule=!0,n.NtosMain=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i={compconfig:"cog",ntndownloader:"download",filemanager:"folder",smmonitor:"radiation",alarmmonitor:"bell",cardmod:"id-card",arcade:"gamepad",ntnrc_client:"comment-alt",nttransfer:"exchange-alt",powermonitor:"plug",job_manage:"address-book",crewmani:"clipboard-list",robocontrol:"robot",atmosscan:"thermometer-half",shipping:"tags"};n.NtosMain=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.device_theme,u=d.programs,m=void 0===u?[]:u,p=d.has_light,C=d.light_on,h=d.comp_light_color,N=d.removable_media,V=void 0===N?[]:N,b=d.login,f=void 0===b?[]:b;return(0,o.createComponentVNode)(2,a.NtosWindow,{title:"syndicate"===s?"Syndix Main Menu":"NtOS Main Menu",theme:s,width:400,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{scrollable:!0,children:[!!p&&(0,o.createComponentVNode)(2,c.Section,{children:[(0,o.createComponentVNode)(2,c.Button,{width:"144px",icon:"lightbulb",selected:C,onClick:function(){return l("PC_toggle_light")},children:["Flashlight: ",C?"ON":"OFF"]}),(0,o.createComponentVNode)(2,c.Button,{ml:1,onClick:function(){return l("PC_light_color")},children:["Color:",(0,o.createComponentVNode)(2,c.ColorBox,{ml:1,color:h})]})]}),(0,o.createComponentVNode)(2,c.Section,{title:"User Login",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"eject",content:"Eject ID",disabled:!f.IDName,onClick:function(){return l("PC_Eject_Disk",{name:"ID"})}}),children:(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{children:["ID Name: ",f.IDName]}),(0,o.createComponentVNode)(2,c.Table.Row,{children:["Assignment: ",f.IDJob]})]})}),!!V.length&&(0,o.createComponentVNode)(2,c.Section,{title:"Media Eject",children:(0,o.createComponentVNode)(2,c.Table,{children:V.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{children:(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,color:"transparent",icon:"eject",content:e,onClick:function(){return l("PC_Eject_Disk",{name:e})}})})},e)}))})}),(0,o.createComponentVNode)(2,c.Section,{title:"Programs",children:(0,o.createComponentVNode)(2,c.Table,{children:m.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,color:"transparent",icon:i[e.name]||"window-maximize-o",content:e.desc,onClick:function(){return l("PC_runprogram",{name:e.name})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,width:"18px",children:!!e.running&&(0,o.createComponentVNode)(2,c.Button,{color:"transparent",icon:"times",tooltip:"Close program",tooltipPosition:"left",onClick:function(){return l("PC_killprogram",{name:e.name})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,width:"18px",children:(0,o.createComponentVNode)(2,c.Button,{color:"transparent",tooltip:"Set Autorun",tooltipPosition:"left",selected:e.autorun,onClick:function(){return l("PC_setautorun",{name:e.name})},children:"AR"})})]},e.name)}))})})]})})}},73883:function(e,n,t){"use strict";n.__esModule=!0,n.NtosNetChat=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.NtosNetChat=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.can_admin,s=l.adminmode,u=l.authed,m=l.username,p=l.active_channel,C=l.is_operator,h=l.all_channels,N=void 0===h?[]:h,V=l.clients,b=void 0===V?[]:V,f=l.messages,g=void 0===f?[]:f,k=null!==p,v=u||s;return(0,o.createComponentVNode)(2,a.NtosWindow,{width:900,height:675,children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{children:(0,o.createComponentVNode)(2,c.Section,{height:"600px",children:(0,o.createComponentVNode)(2,c.Table,{height:"580px",children:(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{verticalAlign:"top",style:{width:"200px"},children:[(0,o.createComponentVNode)(2,c.Box,{height:"560px",overflowY:"scroll",children:[(0,o.createComponentVNode)(2,c.Button.Input,{fluid:!0,content:"New Channel...",onCommit:function(e,n){return i("PRG_newchannel",{new_channel_name:n})}}),N.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{fluid:!0,content:e.chan,selected:e.id===p,color:"transparent",onClick:function(){return i("PRG_joinchannel",{id:e.id})}},e.chan)}))]}),(0,o.createComponentVNode)(2,c.Button.Input,{fluid:!0,mt:1,content:m+"...",currentValue:m,onCommit:function(e,n){return i("PRG_changename",{new_name:n})}}),!!d&&(0,o.createComponentVNode)(2,c.Button,{fluid:!0,bold:!0,content:"ADMIN MODE: "+(s?"ON":"OFF"),color:s?"bad":"good",onClick:function(){return i("PRG_toggleadmin")}})]}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:[(0,o.createComponentVNode)(2,c.Box,{height:"560px",overflowY:"scroll",children:k&&(v?g.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:e.msg},e.msg)})):(0,o.createComponentVNode)(2,c.Box,{textAlign:"center",children:[(0,o.createComponentVNode)(2,c.Icon,{name:"exclamation-triangle",mt:4,fontSize:"40px"}),(0,o.createComponentVNode)(2,c.Box,{mt:1,bold:!0,fontSize:"18px",children:"THIS CHANNEL IS PASSWORD PROTECTED"}),(0,o.createComponentVNode)(2,c.Box,{mt:1,children:"INPUT PASSWORD TO ACCESS"})]}))}),(0,o.createComponentVNode)(2,c.Input,{fluid:!0,selfClear:!0,mt:1,onEnter:function(e,n){return i("PRG_speak",{message:n})}})]}),(0,o.createComponentVNode)(2,c.Table.Cell,{verticalAlign:"top",style:{width:"150px"},children:[(0,o.createComponentVNode)(2,c.Box,{height:"465px",overflowY:"scroll",children:b.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:e.name},e.name)}))}),k&&v&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button.Input,{fluid:!0,content:"Save log...",defaultValue:"new_log",onCommit:function(e,n){return i("PRG_savelog",{log_name:n})}}),(0,o.createComponentVNode)(2,c.Button.Confirm,{fluid:!0,content:"Leave Channel",onClick:function(){return i("PRG_leavechannel")}})],4),!!C&&u&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button.Confirm,{fluid:!0,content:"Delete Channel",onClick:function(){return i("PRG_deletechannel")}}),(0,o.createComponentVNode)(2,c.Button.Input,{fluid:!0,content:"Rename Channel...",onCommit:function(e,n){return i("PRG_renamechannel",{new_name:n})}}),(0,o.createComponentVNode)(2,c.Button.Input,{fluid:!0,content:"Set Password...",onCommit:function(e,n){return i("PRG_setpassword",{new_password:n})}})],4)]})]})})})})})}},83908:function(e,n,t){"use strict";n.__esModule=!0,n.NtosNetDosContent=n.NtosNetDos=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.NtosNetDos=function(e,n){return(0,o.createComponentVNode)(2,a.NtosWindow,{width:400,height:250,theme:"syndicate",children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{children:(0,o.createComponentVNode)(2,i)})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.relays,d=void 0===l?[]:l,s=i.focus,u=i.target,m=i.speed,p=i.overload,C=i.capacity,h=i.error;if(h)return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.NoticeBox,{children:h}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,content:"Reset",textAlign:"center",onClick:function(){return a("PRG_reset")}})],4);var N=function(e){for(var n="",t=p/C;n.lengtht?n+="0":n+="1";return n};return u?(0,o.createComponentVNode)(2,c.Section,{fontFamily:"monospace",textAlign:"center",children:[(0,o.createComponentVNode)(2,c.Box,{children:["CURRENT SPEED: ",m," GQ/s"]}),(0,o.createComponentVNode)(2,c.Box,{children:N(45)}),(0,o.createComponentVNode)(2,c.Box,{children:N(45)}),(0,o.createComponentVNode)(2,c.Box,{children:N(45)}),(0,o.createComponentVNode)(2,c.Box,{children:N(45)}),(0,o.createComponentVNode)(2,c.Box,{children:N(45)})]}):(0,o.createComponentVNode)(2,c.Section,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Target",children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{content:e.id,selected:s===e.id,onClick:function(){return a("PRG_target_relay",{targid:e.id})}},e.id)}))})}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,bold:!0,content:"EXECUTE",color:"bad",textAlign:"center",disabled:!s,mt:1,onClick:function(){return a("PRG_execute")}})]})};n.NtosNetDosContent=i},83305:function(e,n,t){"use strict";n.__esModule=!0,n.NtosNetDownloader=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(85952);n.NtosNetDownloader=function(e,n){var t=(0,c.useBackend)(n),r=t.act,d=t.data,s=d.PC_device_theme,u=d.disk_size,m=d.disk_used,p=d.downloadable_programs,C=void 0===p?[]:p,h=d.error,N=d.hacked_programs,V=void 0===N?[]:N,b=d.hackedavailable;return(0,o.createComponentVNode)(2,i.NtosWindow,{theme:s,width:480,height:735,resizable:!0,children:(0,o.createComponentVNode)(2,i.NtosWindow.Content,{scrollable:!0,children:[!!h&&(0,o.createComponentVNode)(2,a.NoticeBox,{children:[(0,o.createComponentVNode)(2,a.Box,{mb:1,children:h}),(0,o.createComponentVNode)(2,a.Button,{content:"Reset",onClick:function(){return r("PRG_reseterror")}})]}),(0,o.createComponentVNode)(2,a.Section,{children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Disk usage",children:(0,o.createComponentVNode)(2,a.ProgressBar,{value:m,minValue:0,maxValue:u,children:m+" GQ / "+u+" GQ"})})})}),(0,o.createComponentVNode)(2,a.Section,{children:C.map((function(e){return(0,o.createComponentVNode)(2,l,{program:e},e.filename)}))}),!!b&&(0,o.createComponentVNode)(2,a.Section,{title:"UNKNOWN Software Repository",children:[(0,o.createComponentVNode)(2,a.NoticeBox,{mb:1,children:"Please note that Nanotrasen does not recommend download of software from non-official servers."}),V.map((function(e){return(0,o.createComponentVNode)(2,l,{program:e},e.filename)}))]})]})})};var l=function(e,n){var t=e.program,i=(0,c.useBackend)(n),l=i.act,d=i.data,s=d.disk_size,u=d.disk_used,m=d.downloadcompletion,p=(d.downloading,d.downloadname),C=d.downloadsize,h=d.downloadspeed,N=d.downloads_queue,V=s-u;return(0,o.createComponentVNode)(2,a.Box,{mb:3,children:[(0,o.createComponentVNode)(2,a.Flex,{align:"baseline",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{bold:!0,grow:1,children:t.filedesc}),(0,o.createComponentVNode)(2,a.Flex.Item,{color:"label",nowrap:!0,children:[t.size," GQ"]}),(0,o.createComponentVNode)(2,a.Flex.Item,{ml:2,width:"94px",textAlign:"center",children:t.filename===p&&(0,o.createComponentVNode)(2,a.ProgressBar,{color:"green",minValue:0,maxValue:C,value:m,children:[(0,r.round)(m/C*100,1),"% (",h,"GQ/s)"]})||-1!==N.indexOf(t.filename)&&(0,o.createComponentVNode)(2,a.Button,{icon:"ban",color:"bad",onClick:function(){return l("PRG_removequeued",{filename:t.filename})},children:"Queued..."})||(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"download",content:"Download",disabled:t.size>V,onClick:function(){return l("PRG_downloadfile",{filename:t.filename})}})})]}),"Compatible"!==t.compatibility&&(0,o.createComponentVNode)(2,a.Box,{mt:1,italic:!0,fontSize:"12px",position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{mx:1,color:"red",name:"times"}),"Incompatible!"]}),t.size>V&&(0,o.createComponentVNode)(2,a.Box,{mt:1,italic:!0,fontSize:"12px",position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{mx:1,color:"red",name:"times"}),"Not enough disk space!"]}),(0,o.createComponentVNode)(2,a.Box,{mt:1,italic:!0,color:"label",fontSize:"12px",children:t.fileinfo})]})}},6806:function(e,n,t){"use strict";n.__esModule=!0,n.NtosNetMonitor=void 0;var o=t(39812),r=t(74814),c=t(71494),a=t(85952);n.NtosNetMonitor=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,d=l.ntnetrelays,s=l.ntnetstatus,u=l.config_softwaredownload,m=l.config_peertopeer,p=l.config_communication,C=l.config_systemcontrol,h=l.idsalarm,N=l.idsstatus,V=l.ntnetmaxlogs,b=l.maxlogs,f=l.minlogs,g=l.banned_nids,k=l.ntnetlogs,v=void 0===k?[]:k;return(0,o.createComponentVNode)(2,a.NtosWindow,{resizable:!0,children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,r.NoticeBox,{children:"WARNING: Disabling wireless transmitters when using a wireless device may prevent you from reenabling them!"}),(0,o.createComponentVNode)(2,r.Section,{title:"Wireless Connectivity",buttons:(0,o.createComponentVNode)(2,r.Button.Confirm,{icon:s?"power-off":"times",content:s?"ENABLED":"DISABLED",selected:s,onClick:function(){return i("toggleWireless")}}),children:d?(0,o.createComponentVNode)(2,r.LabeledList,{children:(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Active NTNet Relays",children:d})}):"No Relays Connected"}),(0,o.createComponentVNode)(2,r.Section,{title:"Firewall Configuration",children:(0,o.createComponentVNode)(2,r.LabeledList,{children:[(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Software Downloads",buttons:(0,o.createComponentVNode)(2,r.Button,{icon:u?"power-off":"times",content:u?"ENABLED":"DISABLED",selected:u,onClick:function(){return i("toggle_function",{id:"1"})}})}),(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Peer to Peer Traffic",buttons:(0,o.createComponentVNode)(2,r.Button,{icon:m?"power-off":"times",content:m?"ENABLED":"DISABLED",selected:m,onClick:function(){return i("toggle_function",{id:"2"})}})}),(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Communication Systems",buttons:(0,o.createComponentVNode)(2,r.Button,{icon:p?"power-off":"times",content:p?"ENABLED":"DISABLED",selected:p,onClick:function(){return i("toggle_function",{id:"3"})}})}),(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Remote System Control",buttons:(0,o.createComponentVNode)(2,r.Button,{icon:C?"power-off":"times",content:C?"ENABLED":"DISABLED",selected:C,onClick:function(){return i("toggle_function",{id:"4"})}})})]})}),(0,o.createComponentVNode)(2,r.Section,{title:"Security Systems",children:[!!h&&(0,o.createFragment)([(0,o.createComponentVNode)(2,r.NoticeBox,{children:"NETWORK INCURSION DETECTED"}),(0,o.createComponentVNode)(2,r.Box,{italics:!0,children:"Abnormal activity has been detected in the network. Check system logs for more information"})],4),(0,o.createComponentVNode)(2,r.LabeledList,{children:[(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Banned NIDs",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,r.Button,{icon:"ban",onClick:function(){return i("ban_nid")},children:"Ban NID"}),(0,o.createComponentVNode)(2,r.Button,{icon:"balance-scale",onClick:function(){return i("unban_nid")},children:"Unban NID"})],4),children:g.join(", ")||"None"}),(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"IDS Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,r.Button,{icon:N?"power-off":"times",content:N?"ENABLED":"DISABLED",selected:N,onClick:function(){return i("toggleIDS")}}),(0,o.createComponentVNode)(2,r.Button,{icon:"sync",content:"Reset",color:"bad",onClick:function(){return i("resetIDS")}})],4)}),(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Max Log Count",buttons:(0,o.createComponentVNode)(2,r.NumberInput,{value:V,minValue:f,maxValue:b,width:"39px",onChange:function(e,n){return i("updatemaxlogs",{new_number:n})}})})]}),(0,o.createComponentVNode)(2,r.Section,{title:"System Log",level:2,buttons:(0,o.createComponentVNode)(2,r.Button.Confirm,{icon:"trash",content:"Clear Logs",onClick:function(){return i("purgelogs")}}),children:v.map((function(e){return(0,o.createComponentVNode)(2,r.Box,{className:"candystripe",children:e.entry},e.entry)}))})]})]})})}},4363:function(e,n,t){"use strict";n.__esModule=!0,n.NtosNetTransfer=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.NtosNetTransfer=function(e,n){var t=(0,r.useBackend)(n),c=(t.act,t.data),m=c.error,p=c.downloading,C=c.uploading,h=c.upload_filelist,N=(0,o.createComponentVNode)(2,u);return m?N=(0,o.createComponentVNode)(2,i):p?N=(0,o.createComponentVNode)(2,l):C?N=(0,o.createComponentVNode)(2,d):h.length&&(N=(0,o.createComponentVNode)(2,s)),(0,o.createComponentVNode)(2,a.NtosWindow,{width:575,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{scrollable:!0,children:N})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.error;return(0,o.createComponentVNode)(2,c.Section,{title:"An error has occured during operation.",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"undo",onClick:function(){return a("PRG_reset")},children:"Reset"}),children:["Additional Information: ",i]})},l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.download_name,d=i.download_progress,s=i.download_size,u=i.download_netspeed;return(0,o.createComponentVNode)(2,c.Section,{title:"Download in progress",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Downloaded File",children:l}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Progress",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:d,maxValue:s,children:[d," / ",s," GQ"]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Transfer Speed",children:[u," GQ/s"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Controls",children:(0,o.createComponentVNode)(2,c.Button,{icon:"ban",onClick:function(){return a("PRG_reset")},children:"Cancel Download"})})]})})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.upload_clients,d=i.upload_filename,s=i.upload_haspassword;return(0,o.createComponentVNode)(2,c.Section,{title:"Server enabled",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Clients Connected",children:l}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Provided file",children:d}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Server Password",children:s?"Enabled":"Disabled"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Commands",children:[(0,o.createComponentVNode)(2,c.Button,{icon:"lock",onClick:function(){return a("PRG_setpassword")},children:"Set Password"}),(0,o.createComponentVNode)(2,c.Button,{icon:"ban",onClick:function(){return a("PRG_reset")},children:"Cancel Upload"})]})]})})},s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.upload_filelist;return(0,o.createComponentVNode)(2,c.Section,{title:"File transfer server ready.",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"undo",onClick:function(){return a("PRG_reset")},children:"Cancel"}),children:[(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"lock",onClick:function(){return a("PRG_setpassword")},children:"Set Password"}),(0,o.createComponentVNode)(2,c.Section,{title:"Pick file to serve.",level:2,children:i.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"upload",onClick:function(){return a("PRG_uploadfile",{uid:e.uid})},children:[e.filename," (",e.size,"GQ)"]},e.uid)}))})]})},u=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.servers;return(0,o.createComponentVNode)(2,c.Section,{title:"Available Files",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"upload",onClick:function(){return a("PRG_uploadmenu")},children:"Send File"}),children:i.length&&(0,o.createComponentVNode)(2,c.LabeledList,{children:i.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.uid,children:[!!e.haspassword&&(0,o.createComponentVNode)(2,c.Icon,{name:"lock",mr:1}),e.filename,"\xa0 (",e.size,"GQ)\xa0",(0,o.createComponentVNode)(2,c.Button,{icon:"download",onClick:function(){return a("PRG_downloadfile",{uid:e.uid})},children:"Download"})]},e.uid)}))})||(0,o.createComponentVNode)(2,c.Box,{children:"No upload servers found."})})}},23225:function(e,n,t){"use strict";n.__esModule=!0,n.NtosNewsBrowser=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=t(5908);n.NtosNewsBrowser=function(e,n){var t=(0,r.useBackend)(n),i=t.act,u=t.data,m=u.article,p=u.download,C=u.message,h=(0,o.createComponentVNode)(2,d);return m?h=(0,o.createComponentVNode)(2,l):p&&(h=(0,o.createComponentVNode)(2,s)),(0,o.createComponentVNode)(2,a.NtosWindow,{width:575,height:750,resizable:!0,children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{scrollable:!0,children:[!!C&&(0,o.createComponentVNode)(2,c.NoticeBox,{children:[C," ",(0,o.createComponentVNode)(2,c.Button,{icon:"times",onClick:function(){return i("PRG_clearmessage")}})]}),h]})})};var l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,l=t.data.article;if(!l)return(0,o.createComponentVNode)(2,c.Section,{children:"Error: Article not found."});var d=l.title,s=l.cover,u=l.content;return(0,o.createComponentVNode)(2,c.Section,{title:"Viewing: "+d,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"save",onClick:function(){return a("PRG_savearticle")},children:"Save"}),(0,o.createComponentVNode)(2,c.Button,{icon:"times",onClick:function(){return a("PRG_reset")},children:"Close"})],4),children:[!!s&&(0,o.createVNode)(1,"img",null,null,1,{src:(0,i.resolveAsset)(s)}),(0,o.createVNode)(1,"div",null,null,1,{dangerouslySetInnerHTML:{__html:u}})]})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.showing_archived,d=i.all_articles;return(0,o.createComponentVNode)(2,c.Section,{title:"Articles List",buttons:(0,o.createComponentVNode)(2,c.Button.Checkbox,{onClick:function(){return a("PRG_toggle_archived")},checked:l,children:"Show Archived"}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:d.length&&d.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"download",onClick:function(){return a("PRG_openarticle",{uid:e.uid})}}),children:[e.size," GQ"]},e.uid)}))||(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Error",children:"There appear to be no outstanding news articles on NTNet today."})})})},s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.download,l=i.download_progress,d=i.download_maxprogress,s=i.download_rate;return(0,o.createComponentVNode)(2,c.Section,{title:"Downloading...",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Progress",children:(0,o.createComponentVNode)(2,c.ProgressBar,{color:"good",minValue:0,value:l,maxValue:d,children:[l," / ",d," GQ"]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Download Speed",children:[s," GQ/s"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Controls",children:(0,o.createComponentVNode)(2,c.Button,{icon:"ban",fluid:!0,onClick:function(){return a("PRG_reset")},children:"Abort Download"})})]})})}},3839:function(e,n,t){"use strict";n.__esModule=!0,n.NtosOvermapNavigation=void 0;var o=t(39812),r=t(85952),c=t(12640);n.NtosOvermapNavigation=function(){return(0,o.createComponentVNode)(2,r.NtosWindow,{width:380,height:530,resizable:!0,children:(0,o.createComponentVNode)(2,r.NtosWindow.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c.OvermapNavigationContent)})})}},54698:function(e,n,t){"use strict";n.__esModule=!0,n.NtosPowerMonitor=void 0;var o=t(39812),r=t(85952),c=t(89793);n.NtosPowerMonitor=function(){return(0,o.createComponentVNode)(2,r.NtosWindow,{width:550,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,r.NtosWindow.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c.PowerMonitorContent)})})}},17086:function(e,n,t){"use strict";n.__esModule=!0,n.NtosRCON=void 0;var o=t(39812),r=t(85952),c=t(43996);n.NtosRCON=function(){return(0,o.createComponentVNode)(2,r.NtosWindow,{width:630,height:440,resizable:!0,children:(0,o.createComponentVNode)(2,r.NtosWindow.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c.RCONContent)})})}},69480:function(e,n,t){"use strict";n.__esModule=!0,n.NtosRevelation=void 0;var o=t(39812),r=t(74814),c=t(71494),a=t(85952);n.NtosRevelation=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data;return(0,o.createComponentVNode)(2,a.NtosWindow,{width:400,height:250,theme:"syndicate",children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{children:(0,o.createComponentVNode)(2,r.Section,{children:[(0,o.createComponentVNode)(2,r.Button.Input,{fluid:!0,content:"Obfuscate Name...",onCommit:function(e,n){return i("PRG_obfuscate",{new_name:n})},mb:1}),(0,o.createComponentVNode)(2,r.LabeledList,{children:(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Payload Status",buttons:(0,o.createComponentVNode)(2,r.Button,{content:l.armed?"ARMED":"DISARMED",color:l.armed?"bad":"average",onClick:function(){return i("PRG_arm")}})})}),(0,o.createComponentVNode)(2,r.Button,{fluid:!0,bold:!0,content:"ACTIVATE",textAlign:"center",color:"bad",disabled:!l.armed})]})})})}},93990:function(e,n,t){"use strict";n.__esModule=!0,n.NtosShutoffMonitor=void 0;var o=t(39812),r=t(85952),c=t(89957);n.NtosShutoffMonitor=function(e,n){return(0,o.createComponentVNode)(2,r.NtosWindow,{width:627,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,r.NtosWindow.Content,{children:(0,o.createComponentVNode)(2,c.ShutoffMonitorContent)})})}},76124:function(e,n,t){"use strict";n.__esModule=!0,n.NtosStationAlertConsole=void 0;var o=t(39812),r=t(85952),c=t(32015);n.NtosStationAlertConsole=function(){return(0,o.createComponentVNode)(2,r.NtosWindow,{width:315,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,r.NtosWindow.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c.StationAlertConsoleContent)})})}},22475:function(e,n,t){"use strict";n.__esModule=!0,n.NtosSupermatterMonitor=void 0;var o=t(39812),r=t(85952),c=t(6951);n.NtosSupermatterMonitor=function(){return(0,o.createComponentVNode)(2,r.NtosWindow,{width:600,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,r.NtosWindow.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c.SupermatterMonitorContent)})})}},66744:function(e,n,t){"use strict";n.__esModule=!0,n.NtosUAV=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.NtosUAV=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.current_uav,s=l.signal_strength,u=l.in_use,m=l.paired_uavs;return(0,o.createComponentVNode)(2,a.NtosWindow,{width:600,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:"Selected UAV",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"UAV",children:d&&d.status||"[Not Connected]"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Signal",children:d&&s||"[Not Connected]"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power",children:d&&(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:d.power,onClick:function(){return i("power_uav")},children:d.power?"Online":"Offline"})||"[Not Connected]"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Camera",children:d&&(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:u,disabled:!d.power,onClick:function(){return i("view_uav")},children:d.power?"Available":"Unavailable"})||"[Not Connected]"})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Paired UAVs",children:m.length&&m.map((function(e){return(0,o.createComponentVNode)(2,c.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"quidditch",onClick:function(){return i("switch_uav",{switch_uav:e.uavref})},children:e.name})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Button,{color:"bad",icon:"times",onClick:function(){return i("del_uav",{del_uav:e.uavref})}})})]},e.uavref)}))||(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No UAVs Paired."})})]})})}},19458:function(e,n,t){"use strict";n.__esModule=!0,n.NtosWordProcessor=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.NtosWordProcessor=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.PC_device_theme,s=l.error,u=l.browsing,m=l.files,p=(l.usbconnected,l.usbfiles,l.filename),C=l.filedata;return(0,o.createComponentVNode)(2,a.NtosWindow,{resizable:!0,theme:d,children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{scrollable:!0,children:s&&(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:[(0,o.createVNode)(1,"h2",null,"An Error has occured:",16),"Additional Information: ",s,"Please try again. If the problem persists, contact your system administrator for assistance.",(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-left",content:"Back to menu",onClick:function(){return i("PRG_backtomenu")}})]})||u&&(0,o.createComponentVNode)(2,c.Section,{title:"File Browser",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-left",content:"Back to editor",onClick:function(){return i("PRG_closebrowser")}}),children:(0,o.createComponentVNode)(2,c.Section,{title:"Available documents (local)",level:2,children:(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Size (GQ)"}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0})]}),m.map((function(e,n){return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.size}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,c.Button,{icon:"file-word",onClick:function(){return i("PRG_openfile",{PRG_openfile:e.name})},children:"Open"})})]},n)}))]})})})||(0,o.createComponentVNode)(2,c.Section,{title:"Document: "+p,children:[(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("PRG_newfile")},children:"New"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("PRG_loadmenu")},children:"Load"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("PRG_savefile")},children:"Save"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("PRG_saveasfile")},children:"Save As"})]}),(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("PRG_editfile")},children:"Edit"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("PRG_txtrpeview")},children:"Preview"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("PRG_taghelp")},children:"Formatting Help"}),(0,o.createComponentVNode)(2,c.Button,{disabled:!C,onClick:function(){return i("PRG_printfile")},children:"Print"})]}),(0,o.createComponentVNode)(2,c.Section,{mt:1,children:(0,o.createVNode)(1,"div",null,null,1,{dangerouslySetInnerHTML:{__html:C}})})]})})})}},18326:function(e,n,t){"use strict";n.__esModule=!0,n.OmniFilter=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=function(e){return e.input?"Input":e.output?"Output":e.f_type?e.f_type:"Disabled"};n.OmniFilter=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.power,u=d.config,m=d.ports,p=d.set_flow_rate,C=d.last_flow_rate;return(0,o.createComponentVNode)(2,a.Window,{width:360,height:330,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:u?"Configuration":"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",content:s?"On":"Off",selected:s,disabled:u,onClick:function(){return l("power")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"wrench",selected:u,onClick:function(){return l("configure")}})],4),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:m?m.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.dir+" Port",children:u?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{content:"IN",selected:e.input,icon:"compress-arrows-alt",onClick:function(){return l("switch_mode",{mode:"in",dir:e.dir})}}),(0,o.createComponentVNode)(2,c.Button,{content:"OUT",selected:e.output,icon:"expand-arrows-alt",onClick:function(){return l("switch_mode",{mode:"out",dir:e.dir})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"wrench",disabled:e.input||e.output,content:e.f_type||"None",onClick:function(){return l("switch_filter",{mode:e.f_type,dir:e.dir})}})],4):i(e)},e.dir)})):(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No Ports Detected"})})}),(0,o.createComponentVNode)(2,c.Section,{title:"Flow Rate",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Current Flow Rate",children:[C," L/s"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Flow Rate Limit",children:u?(0,o.createComponentVNode)(2,c.Button,{icon:"wrench",content:p/10+" L/s",onClick:function(){return l("set_flow_rate")}}):p/10+" L/s"})]})})]})})}},78588:function(e,n,t){"use strict";n.__esModule=!0,n.OmniMixer=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=function(e){return e.input?"Input":e.output?"Output":e.f_type?e.f_type:"Disabled"};n.OmniMixer=function(e,n){var t=(0,r.useBackend)(n),i=t.act,d=t.data,s=d.power,u=d.config,m=d.ports,p=d.set_flow_rate,C=d.last_flow_rate;return(0,o.createComponentVNode)(2,a.Window,{width:390,height:330,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:u?"Configuration":"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",content:s?"On":"Off",selected:s,disabled:u,onClick:function(){return i("power")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"wrench",selected:u,onClick:function(){return i("configure")}})],4),children:(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:"Port"}),u?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:"Input"}),(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:"Output"})],4):(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:"Mode"}),(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:"Concentration"}),u?(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:"Lock"}):null]}),m?m.map((function(e){return(0,o.createComponentVNode)(2,l,{port:e,config:u},e.dir)})):(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No Ports Detected"})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Flow Rate",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Current Flow Rate",children:[C," L/s"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Flow Rate Limit",children:u?(0,o.createComponentVNode)(2,c.Button,{icon:"wrench",content:p/10+" L/s",onClick:function(){return i("set_flow_rate")}}):p/10+" L/s"})]})})]})})};var l=function(e,n){var t=(0,r.useBackend)(n).act,a=e.port,l=e.config;return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:a.dir+" Port"}),(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:l?(0,o.createComponentVNode)(2,c.Button,{content:"IN",selected:a.input,disabled:a.output,icon:"compress-arrows-alt",onClick:function(){return t("switch_mode",{mode:a.input?"none":"in",dir:a.dir})}}):i(a)}),(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:l?(0,o.createComponentVNode)(2,c.Button,{content:"OUT",selected:a.output,icon:"expand-arrows-alt",onClick:function(){return t("switch_mode",{mode:"out",dir:a.dir})}}):100*a.concentration+"%"}),l?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",width:"20%",children:(0,o.createComponentVNode)(2,c.Button,{width:"100%",icon:"wrench",disabled:!a.input,content:a.input?100*a.concentration+" %":"-",onClick:function(){return t("switch_con",{dir:a.dir})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:(0,o.createComponentVNode)(2,c.Button,{icon:a.con_lock?"lock":"lock-open",disabled:!a.input,selected:a.con_lock,content:a.f_type||"None",onClick:function(){return t("switch_conlock",{dir:a.dir})}})})],4):null]})}},48826:function(e,n,t){"use strict";n.__esModule=!0,n.OperatingComputer=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(85952),i=t(74814),l=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],d=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],s={average:[.25,.5],bad:[.5,Infinity]},u=["bad","average","average","good","average","average","bad"];n.OperatingComputer=function(e,n){var t,r=(0,c.useBackend)(n),l=r.act,d=r.data,s=d.hasOccupant,u=d.choice;return t=u?(0,o.createComponentVNode)(2,C):s?(0,o.createComponentVNode)(2,m):(0,o.createComponentVNode)(2,p),(0,o.createComponentVNode)(2,a.Window,{width:650,height:455,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Tabs,{children:[(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:!u,icon:"user",onClick:function(){return l("choiceOff")},children:"Patient"}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:!!u,icon:"cog",onClick:function(){return l("choiceOn")},children:"Options"})]}),(0,o.createComponentVNode)(2,i.Section,{flexGrow:"1",children:t})]})})};var m=function(e,n){var t=(0,c.useBackend)(n).data.occupant;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Patient",level:"2",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Name",children:t.name}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Status",color:l[t.stat][0],children:l[t.stat][1]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:"0",max:t.maxHealth,value:t.health/t.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]}})}),d.map((function(e,n){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e[0]+" Damage",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:"0",max:"100",value:t[e[1]]/100,ranges:s,children:(0,r.round)(t[e[1]])},n)},n)})),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:"0",max:t.maxTemp,value:t.bodyTemperature/t.maxTemp,color:u[t.temperatureSuitability+3],children:[(0,r.round)(t.btCelsius),"\xb0C, ",(0,r.round)(t.btFaren),"\xb0F"]})}),!!t.hasBlood&&(0,o.createFragment)([(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Blood Level",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:"0",max:t.bloodMax,value:t.bloodLevel/t.bloodMax,ranges:{bad:[-Infinity,.6],average:[.6,.9],good:[.6,Infinity]},children:[t.bloodPercent,"%, ",t.bloodLevel,"cl"]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pulse",children:[t.pulse," BPM"]})],4)]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Current Procedure",level:"2",children:t.surgery&&t.surgery.length?(0,o.createComponentVNode)(2,i.LabeledList,{children:t.surgery.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.name,children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Current State",children:e.currentStage}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Possible Next Steps",children:e.nextSteps.map((function(e){return(0,o.createVNode)(1,"div",null,e,0,null,e)}))})]})},e.name)}))}):(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"No procedure ongoing."})})],4)},p=function(){return(0,o.createComponentVNode)(2,i.Flex,{textAlign:"center",height:"100%",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No patient detected."]})})},C=function(e,n){var t=(0,c.useBackend)(n),r=t.act,a=t.data,l=a.verbose,d=a.health,s=a.healthAlarm,u=a.oxy,m=a.oxyAlarm,p=a.crit;return(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Loudspeaker",children:(0,o.createComponentVNode)(2,i.Button,{selected:l,icon:l?"toggle-on":"toggle-off",content:l?"On":"Off",onClick:function(){return r(l?"verboseOff":"verboseOn")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Health Announcer",children:(0,o.createComponentVNode)(2,i.Button,{selected:d,icon:d?"toggle-on":"toggle-off",content:d?"On":"Off",onClick:function(){return r(d?"healthOff":"healthOn")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Health Announcer Threshold",children:(0,o.createComponentVNode)(2,i.Knob,{bipolar:!0,minValue:"-100",maxValue:"100",value:s,stepPixelSize:"5",ml:"0",format:function(e){return e+"%"},onChange:function(e,n){return r("health_adj",{"new":n})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Oxygen Alarm",children:(0,o.createComponentVNode)(2,i.Button,{selected:u,icon:u?"toggle-on":"toggle-off",content:u?"On":"Off",onClick:function(){return r(u?"oxyOff":"oxyOn")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Oxygen Alarm Threshold",children:(0,o.createComponentVNode)(2,i.Knob,{bipolar:!0,minValue:"-100",maxValue:"100",value:m,stepPixelSize:"5",ml:"0",onChange:function(e,n){return r("oxy_adj",{"new":n})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Critical Alert",children:(0,o.createComponentVNode)(2,i.Button,{selected:p,icon:p?"toggle-on":"toggle-off",content:p?"On":"Off",onClick:function(){return r(p?"critOff":"critOn")}})})]})}},51888:function(e,n,t){"use strict";n.__esModule=!0,n.OvermapDisperser=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(40754);n.OvermapDisperser=function(e,n){return(0,o.createComponentVNode)(2,a.Window,{width:400,height:550,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,l=t.data,d=l.faillink,s=l.calibration,u=l.overmapdir,m=l.cal_accuracy,p=l.strength,C=l.range,h=l.next_shot,N=l.nopower,V=(l.skill,l.chargeload);return d?(0,o.createComponentVNode)(2,c.Section,{title:"Error",children:"Machine is incomplete, out of range, or misaligned!"}):(0,o.createComponentVNode)(2,c.Flex,{wrap:"wrap",spacing:1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"22%",children:(0,o.createComponentVNode)(2,c.Section,{title:"Targeting",textAlign:"center",children:(0,o.createComponentVNode)(2,i.OvermapPanControls,{actToDo:"choose",selected:function(e){return e===u}})})}),(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"74%",grow:1,children:(0,o.createComponentVNode)(2,c.Section,{title:"Charge",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[N&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Error",children:"At least one part of the machine is unpowered."})||null,(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Charge Load Type",children:V}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Cooldown",children:0===h&&(0,o.createComponentVNode)(2,c.Box,{color:"good",children:"Ready"})||h>1&&(0,o.createComponentVNode)(2,c.Box,{color:"average",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:h})," Seconds",(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Warning: Do not fire during cooldown."})]})||null})]})})}),(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"50%",mt:1,children:(0,o.createComponentVNode)(2,c.Section,{title:"Calibration",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:m}),"%",(0,o.createComponentVNode)(2,c.Button,{ml:1,icon:"exchange-alt",onClick:function(){return a("skill_calibration")},children:"Pre-Calibration"}),(0,o.createComponentVNode)(2,c.Box,{mt:1,children:s.map((function(e,n){return(0,o.createComponentVNode)(2,c.Box,{children:["Cal #",n,":",(0,o.createComponentVNode)(2,c.Button,{ml:1,icon:"random",onClick:function(){return a("calibration",{calibration:n})},children:e.toString()})]},n)}))})]})}),(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"45%",grow:1,mt:1,children:(0,o.createComponentVNode)(2,c.Section,{title:"Setup",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Strength",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"fist-raised",onClick:function(){return a("strength")},children:p})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Radius",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"expand-arrows-alt",onClick:function(){return a("range")},children:C})})]})})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,mt:1,children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,color:"red",icon:"bomb",onClick:function(){return a("fire")},children:"Fire ORB"})})]})}},25123:function(e,n,t){"use strict";n.__esModule=!0,n.OvermapEnginesContent=n.OvermapEngines=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.OvermapEngines=function(e,n){return(0,o.createComponentVNode)(2,a.Window,{width:390,height:530,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i)})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.global_state,d=i.global_limit,s=i.engines_info,u=i.total_thrust;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Status",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Engines",children:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:l,onClick:function(){return a("global_toggle")},children:l?"Shut All Engines Down":"Start All Engines"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Volume Limit",children:[(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return a("global_limit",{global_limit:-.1})},icon:"minus"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return a("set_global_limit")},children:[d,"%"]}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return a("global_limit",{global_limit:.1})},icon:"plus"})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Total Thrust",children:(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:u})})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Engines",height:"340px",style:{"overflow-y":"auto"},children:s.map((function(e,n){return(0,o.createComponentVNode)(2,c.Flex,{spacing:1,mt:0!==n&&-1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"80%",children:(0,o.createComponentVNode)(2,c.Collapsible,{title:(0,o.createComponentVNode)(2,c.Box,{inline:!0,children:["Engine #",n+1," | Thrust: ",(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:e.eng_thrust})," | Limit: ",(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:e.eng_thrust_limiter,format:function(e){return e+"%"}})]}),children:(0,o.createComponentVNode)(2,c.Section,{width:"127%",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Type",children:e.eng_type}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",children:[(0,o.createComponentVNode)(2,c.Box,{color:e.eng_on?1===e.eng_on?"good":"average":"bad",children:e.eng_on?1===e.eng_on?"Online":"Booting":"Offline"}),e.eng_status.map((function(e){return Array.isArray(e)?(0,o.createComponentVNode)(2,c.Box,{color:e[1],children:e[0]}):(0,o.createComponentVNode)(2,c.Box,{children:e})}))]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Current Thrust",children:e.eng_thrust}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Volume Limit",children:[(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return a("limit",{limit:-.1,engine:e.eng_reference})},icon:"minus"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return a("set_limit",{engine:e.eng_reference})},children:[e.eng_thrust_limiter,"%"]}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return a("limit",{limit:.1,engine:e.eng_reference})},icon:"plus"})]})]})})})}),(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"20%",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,iconSpin:-1===e.eng_on,color:-1===e.eng_on?"purple":null,selected:1===e.eng_on,icon:"power-off",onClick:function(){return a("toggle_engine",{engine:e.eng_reference})},children:e.eng_on?1===e.eng_on?"Shutoff":"Booting":"Startup"})})]},n)}))})],4)};n.OvermapEnginesContent=i},63836:function(e,n,t){"use strict";n.__esModule=!0,n.OvermapFull=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(25123),l=t(89380),d=t(51932);n.OvermapFull=function(e,n){var t=(0,r.useLocalState)(n,"overmapFullState",0),s=t[0],u=t[1];return(0,o.createComponentVNode)(2,a.Window,{width:800,height:800,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:0===s,onClick:function(){return u(0)},children:"Engines"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:1===s,onClick:function(){return u(1)},children:"Helm"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:2===s,onClick:function(){return u(2)},children:"Sensors"})]}),0===s&&(0,o.createComponentVNode)(2,i.OvermapEnginesContent),1===s&&(0,o.createComponentVNode)(2,l.OvermapHelmContent),2===s&&(0,o.createComponentVNode)(2,d.OvermapShipSensorsContent)]})})}},89380:function(e,n,t){"use strict";n.__esModule=!0,n.OvermapFlightDataWrap=n.OvermapHelmContent=n.OvermapHelm=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(40754);n.OvermapHelm=function(e,n){return(0,o.createComponentVNode)(2,a.Window,{width:565,height:545,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,n){return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Flex,{children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"40%",height:"180px",children:(0,o.createComponentVNode)(2,d)}),(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"25%",height:"180px",children:(0,o.createComponentVNode)(2,s)}),(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"35%",height:"180px",children:(0,o.createComponentVNode)(2,u)})]}),(0,o.createComponentVNode)(2,m)],4)};n.OvermapHelmContent=l;var d=function(e,n){var t=(0,r.useBackend)(n);t.act,t.data;return(0,o.createVNode)(1,"fieldset","Section",[(0,o.createVNode)(1,"legend",null,"Flight Data",16),(0,o.createComponentVNode)(2,i.OvermapFlightData)],4,{style:{height:"100%",border:"1px solid #4972a1",margin:"none"}})};n.OvermapFlightDataWrap=d;var s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,l=t.data,d=l.canburn,s=l.manual_control;return(0,o.createVNode)(1,"fieldset","Section",[(0,o.createVNode)(1,"legend",null,"Manual Control",16),(0,o.createComponentVNode)(2,c.Flex,{align:"center",justify:"center",children:(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,i.OvermapPanControls,{disabled:!d,actToDo:"move"})})}),(0,o.createComponentVNode)(2,c.Box,{textAlign:"center",mt:1,children:[(0,o.createComponentVNode)(2,c.Box,{bold:!0,underline:!0,children:"Direct Control"}),(0,o.createComponentVNode)(2,c.Button,{selected:s,onClick:function(){return a("manual")},icon:"compass",children:s?"Enabled":"Disabled"})]})],4,{style:{height:"100%",border:"1px solid #4972a1"}})},u=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.dest,d=i.d_x,s=i.d_y,u=i.speedlimit,m=i.autopilot;return i.autopilot_disabled?(0,o.createVNode)(1,"fieldset","Section",[(0,o.createVNode)(1,"legend",null,"Autopilot",16),(0,o.createComponentVNode)(2,c.Box,{textAlign:"center",color:"bad",fontSize:1.2,children:"AUTOPILOT DISABLED"}),(0,o.createComponentVNode)(2,c.Box,{textAlign:"center",color:"average",children:"Warning: This vessel is equipped with a class I autopilot. Class I autopilots are unable to do anything but fly in a straight line directly towards the target, and may result in collisions."}),(0,o.createComponentVNode)(2,c.Box,{textAlign:"center",children:(0,o.createComponentVNode)(2,c.Button.Confirm,{mt:1,color:"bad",content:"Unlock Autopilot",confirmContent:"ACCEPT RISKS?",icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",onClick:function(){return a("apilot_lock")}})})],4,{style:{height:"100%",border:"1px solid #4972a1"}}):(0,o.createVNode)(1,"fieldset","Section",[(0,o.createVNode)(1,"legend",null,"Autopilot",16),(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Target",children:l&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return a("setcoord",{setx:!0})},children:d}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return a("setcoord",{sety:!0})},children:s})],4)||(0,o.createComponentVNode)(2,c.Button,{icon:"pen",onClick:function(){return a("setcoord",{setx:!0,sety:!0})},children:"None"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Speed Limit",children:(0,o.createComponentVNode)(2,c.Button,{icon:"tachometer-alt",onClick:function(){return a("speedlimit")},children:[u," Gm/h"]})})]}),(0,o.createComponentVNode)(2,c.Button,{mt:1,fluid:!0,selected:m,disabled:!l,icon:"robot",onClick:function(){return a("apilot")},children:m?"Engaged":"Disengaged"}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,color:"good",icon:"exclamation-triangle",onClick:function(){return a("apilot_lock")},children:"Lock Autopilot"})],4,{style:{height:"100%",border:"1px solid #4972a1"}})},m=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.sector,d=i.s_x,s=i.s_y,u=i.sector_info,m=i.landed,p=i.locations;return(0,o.createComponentVNode)(2,c.Section,{title:"Navigation Data",m:.3,mt:1,children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Location",children:l}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Coordinates",children:[d," : ",s]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Scan Data",children:u}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",children:m})]}),(0,o.createComponentVNode)(2,c.Flex,{mt:1,align:"center",justify:"center",spacing:1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"50%",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"save",onClick:function(){return a("add",{add:"current"})},children:"Save Current Position"})}),(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"50%",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"sticky-note",onClick:function(){return a("add",{add:"new"})},children:"Add New Entry"})})]}),(0,o.createComponentVNode)(2,c.Section,{mt:1,scrollable:!0,height:"130px",children:(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Coordinates"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Actions"})]}),p.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:[e.x," : ",e.y]}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:[(0,o.createComponentVNode)(2,c.Button,{icon:"rocket",onClick:function(){return a("setds",{x:e.x,y:e.y})},children:"Plot Course"}),(0,o.createComponentVNode)(2,c.Button,{icon:"trash",onClick:function(){return a("remove",{remove:e.reference})},children:"Remove"})]})]},e.name)}))]})})]})}},12640:function(e,n,t){"use strict";n.__esModule=!0,n.OvermapNavigationContent=n.OvermapNavigation=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(40754);n.OvermapNavigation=function(e,n){return(0,o.createComponentVNode)(2,a.Window,{width:380,height:530,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,l=t.data,d=l.sector,s=l.s_x,u=l.s_y,m=l.sector_info,p=l.viewing;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Current Location",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"eye",selected:p,onClick:function(){return a("viewing")},children:"Map View"}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Current Location",children:d}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Coordiantes",children:[s," : ",u]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Additional Information",children:m})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Flight Data",children:(0,o.createComponentVNode)(2,i.OvermapFlightData,{disableLimiterControls:!0})})],4)};n.OvermapNavigationContent=l},84031:function(e,n,t){"use strict";n.__esModule=!0,n.OvermapShieldGenerator=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.OvermapShieldGenerator=function(e,n){return(0,o.createComponentVNode)(2,a.Window,{width:500,height:760,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,i)})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,s=i.modes,u=i.offline_for;return u?(0,o.createComponentVNode)(2,c.Section,{title:"EMERGENCY SHUTDOWN",color:"bad",children:["An emergency shutdown has been initiated - generator cooling down. Please wait until the generator cools down before resuming operation. Estimated time left: ",u," seconds."]}):(0,o.createFragment)([(0,o.createComponentVNode)(2,l),(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,c.Section,{title:"Field Calibration",children:s.map((function(e){return(0,o.createComponentVNode)(2,c.Section,{title:e.name,level:2,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:e.status,onClick:function(){return a("toggle_mode",{toggle_mode:e.flag})},children:e.status?"Enabled":"Disabled"}),children:[(0,o.createComponentVNode)(2,c.Box,{color:"label",children:e.desc}),(0,o.createComponentVNode)(2,c.Box,{mt:.5,children:["Multiplier: ",e.multiplier]})]},e.name)}))})],4)},l=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data),i=a.running,l=a.overloaded,d=a.mitigation_max,s=a.mitigation_physical,u=a.mitigation_em,m=a.mitigation_heat,p=a.field_integrity,C=a.max_energy,h=a.current_energy,N=a.percentage_energy,V=a.total_segments,b=a.functional_segments,f=a.field_radius,g=a.target_radius,k=a.input_cap_kw,v=a.upkeep_power_usage,B=a.power_usage,L=a.spinup_counter;return(0,o.createComponentVNode)(2,c.Section,{title:"System Status",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Generator is",children:1===i&&(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"Shutting Down"})||2===i&&(l&&(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Overloaded"})||(0,o.createComponentVNode)(2,c.Box,{color:"good",children:"Running"}))||3===i&&(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"Inactive"})||4===i&&(0,o.createComponentVNode)(2,c.Box,{color:"blue",children:["Spinning Up\xa0",g!==f&&(0,o.createComponentVNode)(2,c.Box,{inline:!0,children:"(Adjusting Radius)"})||(0,o.createComponentVNode)(2,c.Box,{inline:!0,children:[2*L,"s"]})]})||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Offline"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Energy Storage",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:h,maxValue:C,children:[h," / ",C," MJ (",N,"%)"]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Shield Integrity",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:p}),"%"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Mitigation",children:[u,"% EM / ",s,"% PH / ",m,"% HE / ",d,"% MAX"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Upkeep Energy Use",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:v})," kW"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Total Energy Use",children:k&&(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:B,maxValue:k,children:[B," / ",k," kW"]})})||(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:B})," kW (No Limit)"]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Field Size",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:b}),"\xa0/\xa0",(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:V})," m\xb2 (radius ",(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:f}),", target ",(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:g}),")"]})]})})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.running,d=i.hacked,s=i.idle_multiplier,u=i.idle_valid_values;return(0,o.createComponentVNode)(2,c.Section,{title:"Controls",buttons:(0,o.createFragment)([l>=2&&(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",onClick:function(){return a("begin_shutdown")},selected:!0,children:"Turn off"}),3===l&&(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",onClick:function(){return a("toggle_idle",{toggle_idle:0})},children:"Activate"})||(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",onClick:function(){return a("toggle_idle",{toggle_idle:1})},selected:!0,children:"Deactivate"})]})||(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",onClick:function(){return a("start_generator")},children:"Turn on"}),l&&d&&(0,o.createComponentVNode)(2,c.Button,{icon:"exclamation-triangle",onClick:function(){return a("emergency_shutdown")},color:"bad",children:"EMERGENCY SHUTDOWN"})||null],0),children:[(0,o.createComponentVNode)(2,c.Button,{icon:"expand-arrows-alt",onClick:function(){return a("set_range")},children:"Set Field Range"}),(0,o.createComponentVNode)(2,c.Button,{icon:"bolt",onClick:function(){return a("set_input_cap")},children:"Set Input Cap"}),(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Set inactive power use intensity",children:u.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{selected:e===s,disabled:4===l,onClick:function(){return a("switch_idle",{switch_idle:e})},children:e},e)}))})})]})}},51932:function(e,n,t){"use strict";n.__esModule=!0,n.OvermapShipSensorsContent=n.OvermapShipSensors=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.OvermapShipSensors=function(e,n){return(0,o.createComponentVNode)(2,a.Window,{width:375,height:545,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i)})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.viewing,d=i.on,s=i.range,u=i.health,m=i.max_health,p=i.heat,C=i.critical_heat,h=i.status,N=i.contacts;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"eye",selected:l,onClick:function(){return a("viewing")},children:"Map View"}),(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:d,onClick:function(){return a("toggle_sensor")},children:d?"Sensors Enabled":"Sensors Disabled"})],4),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",children:h}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Range",children:(0,o.createComponentVNode)(2,c.Button,{icon:"signal",onClick:function(){return a("range")},children:s})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Integrity",children:(0,o.createComponentVNode)(2,c.ProgressBar,{ranges:{good:[.75*m,Infinity],average:[.25*m,.75*m],bad:[-Infinity,.25*m]},value:u,maxValue:m,children:[u," / ",m]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,c.ProgressBar,{ranges:{bad:[.75*C,Infinity],average:[.5*C,.75*C],good:[-Infinity,.5*C]},value:p,maxValue:C,children:p<.5*C&&(0,o.createComponentVNode)(2,c.Box,{children:"Temperature low."})||p<.75*C&&(0,o.createComponentVNode)(2,c.Box,{children:"Sensor temperature high!"})||(0,o.createComponentVNode)(2,c.Box,{children:"TEMPERATURE CRITICAL: Disable or reduce power immediately!"})})})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Contacts",children:N.length&&N.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"search",onClick:function(){return a("scan",{scan:e.ref})},children:[(0,o.createComponentVNode)(2,c.Box,{bold:!0,inline:!0,children:["Scan: ",e.name]}),(0,o.createComponentVNode)(2,c.Box,{inline:!0,children:[", bearing: ",e.bearing,"\xb0"]})]},e.ref)}))||(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No contacts on sensors."})}),"MISSING"===i.status&&(0,o.createComponentVNode)(2,c.Section,{title:"Error",children:(0,o.createComponentVNode)(2,c.Button,{icon:"wifi",onClick:function(){return a("link")},children:"Link up with sensor suite?"})})||null],0)};n.OvermapShipSensorsContent=i},57966:function(e,n,t){"use strict";n.__esModule=!0,n.ParticleAccelerator=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.ParticleAccelerator=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.assembled,s=l.power,u=l.strength;return(0,o.createComponentVNode)(2,a.Window,{width:350,height:185,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"sync",content:"Run Scan",onClick:function(){return i("scan")}}),children:(0,o.createComponentVNode)(2,c.Box,{color:d?"good":"bad",children:d?"Ready - All parts in place":"Unable to detect all parts"})})})}),(0,o.createComponentVNode)(2,c.Section,{title:"Particle Accelerator Controls",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,c.Button,{icon:s?"power-off":"times",content:s?"On":"Off",selected:s,disabled:!d,onClick:function(){return i("power")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Particle Strength",children:[(0,o.createComponentVNode)(2,c.Button,{icon:"backward",disabled:!d,onClick:function(){return i("remove_strength")}})," ",String(u).padStart(1,"0")," ",(0,o.createComponentVNode)(2,c.Button,{icon:"forward",disabled:!d,onClick:function(){return i("add_strength")}})]})]})})]})})}},80374:function(e,n,t){"use strict";n.__esModule=!0,n.PartsLathe=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(2497),l=t(95481);n.PartsLathe=function(e,n){var t=(0,r.useBackend)(n),d=t.act,s=t.data,u=(s.panelOpen,s.copyBoard),m=s.copyBoardReqComponents,p=s.queue,C=s.building,h=s.buildPercent,N=s.error,V=s.recipies;return(0,o.createComponentVNode)(2,a.Window,{width:500,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[N&&(0,o.createComponentVNode)(2,c.NoticeBox,{danger:!0,children:["Missing Materials: ",N]})||null,(0,o.createComponentVNode)(2,c.Section,{title:"Materials",children:(0,o.createComponentVNode)(2,l.Materials,{displayAllMat:!0})}),C&&(0,o.createComponentVNode)(2,c.Section,{title:"Currently Building",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Name",children:(0,i.toTitleCase)(C)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Progress",children:(0,o.createComponentVNode)(2,c.ProgressBar,{color:"good",value:h,maxValue:100})})]})})||null,u&&(0,o.createComponentVNode)(2,c.Section,{title:"Circuit Reader",children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Loaded Circuit",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"eject",onClick:function(){return d("ejectBoard")},children:"Eject"}),children:(0,i.toTitleCase)(u)})}),m&&m.length&&(0,o.createFragment)([m.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:[e.qty," x ",(0,i.toTitleCase)(e.name)]},e.name)})),(0,o.createComponentVNode)(2,c.Button,{icon:"wrench",onClick:function(){return d("queueBoard")},children:"Build All"})],0)||(0,o.createComponentVNode)(2,c.Box,{children:"Board has no required components."})]}),(0,o.createComponentVNode)(2,c.Section,{title:"Queue",children:p.length&&p.map((function(e,n){return(0,o.createComponentVNode)(2,c.Box,{color:"label",children:["#",n+1,": ",(0,i.toTitleCase)(e),(n>0||!C)&&(0,o.createComponentVNode)(2,c.Button,{ml:1,icon:"times",onClick:function(){return d("cancel",{cancel:n+1})},children:"Cancel"})||null]},e)}))||(0,o.createComponentVNode)(2,c.NoticeBox,{info:!0,children:"Queue Empty"})}),(0,o.createComponentVNode)(2,c.Section,{title:"Recipes",children:V.length&&V.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"wrench",onClick:function(){return d("queue",{queue:e.type})},children:(0,i.toTitleCase)(e.name)})},e.name)}))})]})})}},83987:function(e,n,t){"use strict";n.__esModule=!0,n.PathogenicIsolator=void 0;var o=t(39812),r=(t(41860),t(58083),t(71494)),c=t(16007),a=t(74814),i=t(85952),l=function(e,n){var t=(0,r.useBackend)(n),c=t.act,i=t.data.can_print,l=e.args;return(0,o.createComponentVNode)(2,a.Section,{level:2,m:"-1rem",title:l.name||"Virus",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{disabled:!i,icon:"print",content:"Print",onClick:function(){return c("print",{type:"virus_record",vir:l.record})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"times",color:"red",onClick:function(){return c("modal_close")}})],4),children:(0,o.createComponentVNode)(2,a.Box,{mx:"0.5rem",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Spread",children:[l.spread_text," Transmission"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Possible cure",children:l.antigen}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Rate of Progression",children:l.rate}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Antibiotic Resistance",children:[l.resistance,"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Species Affected",children:l.species}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Symptoms",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:l.symptoms.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.stage+". "+e.name,children:[(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:[(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"label",children:"Strength:"})," ",e.strength,"\xa0"]}),(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:[(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"label",children:"Aggressiveness:"})," ",e.aggressiveness]})]},e.stage)}))})})]})})})};n.PathogenicIsolator=function(e,n){var t=(0,r.useBackend)(n),u=(t.act,t.data.isolating),m=(0,r.useLocalState)(n,"tabIndex",0),p=m[0],C=m[1],h=null;return 0===p?h=(0,o.createComponentVNode)(2,d):1===p&&(h=(0,o.createComponentVNode)(2,s)),(0,c.modalRegisterBodyOverride)("virus",l),(0,o.createComponentVNode)(2,i.Window,{height:500,width:520,resizable:!0,children:[(0,o.createComponentVNode)(2,c.ComplexModal,{maxHeight:"100%",maxWidth:"95%"}),(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:[u&&(0,o.createComponentVNode)(2,a.NoticeBox,{warning:!0,children:"The Isolator is currently isolating..."})||null,(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===p,onClick:function(){return C(0)},children:"Home"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===p,onClick:function(){return C(1)},children:"Database"})]}),h]})]})};var d=function(e,n){var t=(0,r.useBackend)(n),c=t.act,i=t.data,l=i.syringe_inserted,d=i.pathogen_pool,s=i.can_print;return(0,o.createComponentVNode)(2,a.Section,{title:"Pathogens",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"print",content:"Print",disabled:!s,onClick:function(){return c("print",{type:"patient_diagnosis"})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject Syringe",disabled:!l,onClick:function(){return c("eject")}})],4),children:d.length&&d.map((function(e){return(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Box,{color:"label",children:(0,o.createComponentVNode)(2,a.Flex,{align:"center",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:[(0,o.createVNode)(1,"u",null,[(0,o.createTextVNode)("Stamm #"),e.unique_id],0),e.is_in_database?" (Analyzed)":" (Not Analyzed)"]}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"virus",content:"Isolate",onClick:function(){return c("isolate",{isolate:e.reference})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"search",content:"Database",disabled:!e.is_in_database,onClick:function(){return c("view_entry",{vir:e.record})}})]})]})}),(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{color:"average",mb:1,children:e.name}),e.dna]})]},e.unique_id)}))||(l?(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No samples detected."}):(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No syringe inserted."}))})},s=function(e,n){var t=(0,r.useBackend)(n),c=t.act,i=t.data,l=i.database,d=i.can_print;return(0,o.createComponentVNode)(2,a.Section,{title:"Database",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"print",content:"Print",disabled:!d,onClick:function(){return c("print",{type:"virus_list"})}}),children:l.length&&l.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"search",onClick:function(){return c("view_entry",{vir:e.record})},children:e.name},e.name)}))||(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"The viral database is empty."})})}},72586:function(e,n,t){"use strict";n.__esModule=!0,n.Pda=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(73218),l=t(75168);n.Pda=function(e,n){var t=(0,r.useBackend)(n),m=(t.act,t.data),p=m.app,C=m.owner,h=m.useRetro;if(!C)return(0,o.createComponentVNode)(2,a.Window,{children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{stretchContents:!0,children:"Warning: No ID information found! Please swipe ID!"})})});var N=function(e){var n;try{n=l("./"+e+".js")}catch(t){if("MODULE_NOT_FOUND"===t.code)return(0,i.routingError)("notFound",e);throw t}return n[e]||(0,i.routingError)("missingExport",e)}(p.template),V=(0,r.useLocalState)(n,"settingsMode",!1),b=V[0],f=V[1];return(0,o.createComponentVNode)(2,a.Window,{width:580,height:670,theme:h?"pda-retro":null,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,d,{settingsMode:b,setSettingsMode:f}),b&&(0,o.createComponentVNode)(2,s)||(0,o.createComponentVNode)(2,c.Section,{title:(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Icon,{name:p.icon,mr:1}),p.name]}),p:1,children:(0,o.createComponentVNode)(2,N)}),(0,o.createComponentVNode)(2,c.Box,{mb:8}),(0,o.createComponentVNode)(2,u,{setSettingsMode:f})]})})};var d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=e.settingsMode,d=e.setSettingsMode,s=i.idInserted,u=i.idLink,m=(i.cartridge_name,i.stationTime);return(0,o.createComponentVNode)(2,c.Box,{mb:1,children:(0,o.createComponentVNode)(2,c.Flex,{align:"center",justify:"space-between",children:[!!s&&(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"eject",color:"transparent",onClick:function(){return a("Authenticate")},content:u})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,textAlign:"center",bold:!0,children:m}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:[(0,o.createComponentVNode)(2,c.Button,{selected:l,onClick:function(){return d(!l)},icon:"cog"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return a("Retro")},icon:"adjust"})]})]})})},s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.idInserted,d=i.idLink,s=i.cartridge_name,u=i.touch_silent;return(0,o.createComponentVNode)(2,c.Section,{title:"Settings",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"R.E.T.R.O Mode",children:(0,o.createComponentVNode)(2,c.Button,{icon:"cog",content:"Retro Theme",onClick:function(){return a("Retro")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Touch Sounds",children:(0,o.createComponentVNode)(2,c.Button,{icon:"cog",selected:!u,content:u?"Disabled":"Enabled",onClick:function(){return a("TouchSounds")}})}),!!s&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Cartridge",children:(0,o.createComponentVNode)(2,c.Button,{icon:"eject",onClick:function(){return a("Eject")},content:s})}),!!l&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"ID Card",children:(0,o.createComponentVNode)(2,c.Button,{icon:"eject",onClick:function(){return a("Authenticate")},content:d})})]})})},u=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=e.setSettingsMode,d=i.app,s=i.useRetro;return(0,o.createComponentVNode)(2,c.Box,{position:"fixed",bottom:"0%",left:"0%",right:"0%",backgroundColor:s?"#6f7961":"#1b1b1b",children:(0,o.createComponentVNode)(2,c.Flex,{children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"33%",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,color:"transparent",iconColor:d.has_back?"white":"disabled",textAlign:"center",icon:"undo",mb:0,fontSize:1.7,onClick:function(){return a("Back")}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"33%",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,color:"transparent",iconColor:d.is_home?"disabled":"white",textAlign:"center",icon:"home",mb:0,fontSize:1.7,onClick:function(){l(!1),a("Home")}})})]})})}},67589:function(e,n,t){"use strict";n.__esModule=!0,n.PersonalCrafting=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);function i(e,n){var t;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"==typeof e)return l(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return l(e,n)}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function l(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t=.5?"good":s>.15&&"average")||"bad";return(0,o.createComponentVNode)(2,a.Window,{width:450,height:340,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[!d.anchored&&(0,o.createComponentVNode)(2,c.NoticeBox,{children:"Generator not anchored."}),(0,o.createComponentVNode)(2,c.Section,{title:"Status",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power switch",children:(0,o.createComponentVNode)(2,c.Button,{icon:d.active?"power-off":"times",onClick:function(){return l("toggle_power")},selected:d.active,disabled:!d.ready_to_boot,children:d.active?"On":"Off"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Fuel Type",buttons:d.fuel_stored>=1&&(0,o.createComponentVNode)(2,c.Button,{ml:1,icon:"eject",disabled:d.active,onClick:function(){return l("eject")},children:"Eject"}),children:(0,o.createComponentVNode)(2,c.Box,{color:u,children:[d.fuel_stored,"cm\xb3 ",d.sheet_name]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Current fuel level",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:d.fuel_stored/d.fuel_capacity,ranges:{good:[.5,Infinity],average:[.15,.5],bad:[-Infinity,.15]},children:[d.fuel_stored,"cm\xb3 / ",d.fuel_capacity,"cm\xb3"]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Fuel Usage",children:[d.fuel_usage," cm\xb3/s"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:d.temperature_current,maxValue:d.temperature_max+30,color:d.temperature_overheat?"bad":"good",children:[(0,i.round)(d.temperature_current),"\xb0C"]})})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Output",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Current output",color:d.unsafe_output?"bad":null,children:d.power_output}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Adjust output",children:[(0,o.createComponentVNode)(2,c.Button,{icon:"minus",onClick:function(){return l("lower_power")},children:d.power_generated}),(0,o.createComponentVNode)(2,c.Button,{icon:"plus",onClick:function(){return l("higher_power")},children:d.power_generated})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power available",children:(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:!d.connected&&"bad",children:d.connected?d.power_available:"Unconnected"})})]})})]})})}},82564:function(e,n,t){"use strict";n.__esModule=!0,n.PortablePump=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=t(34227);n.PortablePump=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.direction,u=d.target_pressure,m=d.default_pressure,p=d.min_pressure,C=d.max_pressure;return(0,o.createComponentVNode)(2,a.Window,{width:330,height:375,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,i.PortableBasicInfo),(0,o.createComponentVNode)(2,c.Section,{title:"Pump",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:s?"sign-in-alt":"sign-out-alt",content:s?"In":"Out",selected:s,onClick:function(){return l("direction")}}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Output",children:(0,o.createComponentVNode)(2,c.Slider,{mt:"0.4em",animated:!0,minValue:p,maxValue:C,value:u,unit:"kPa",stepPixelSize:.3,onChange:function(e,n){return l("pressure",{pressure:n})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Presets",children:[(0,o.createComponentVNode)(2,c.Button,{icon:"minus",disabled:u===p,onClick:function(){return l("pressure",{pressure:"min"})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"sync",disabled:u===m,onClick:function(){return l("pressure",{pressure:"reset"})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"plus",disabled:u===C,onClick:function(){return l("pressure",{pressure:"max"})}})]})]})})]})})}},24901:function(e,n,t){"use strict";n.__esModule=!0,n.PortableScrubber=void 0;var o=t(39812),r=t(71494),c=t(74814),a=(t(76270),t(85952)),i=t(34227);n.PortableScrubber=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.rate,u=d.minrate,m=d.maxrate;return(0,o.createComponentVNode)(2,a.Window,{width:320,height:350,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.PortableBasicInfo),(0,o.createComponentVNode)(2,c.Section,{title:"Power Regulator",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Volume Rate",children:(0,o.createComponentVNode)(2,c.Slider,{mt:"0.4em",animated:!0,minValue:u,maxValue:m,value:s,unit:"L/s",onChange:function(e,n){return l("volume_adj",{vol:n})}})})})})]})})}},31695:function(e,n,t){"use strict";n.__esModule=!0,n.PortableTurret=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.PortableTurret=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.locked,s=l.on,u=l.lethal,m=l.lethal_is_configurable,p=l.targetting_is_configurable,C=l.check_weapons,h=l.neutralize_noaccess,N=l.neutralize_norecord,V=l.neutralize_criminals,b=l.neutralize_all,f=l.neutralize_nonsynth,g=l.neutralize_unidentified,k=l.neutralize_down;return(0,o.createComponentVNode)(2,a.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.NoticeBox,{children:["Swipe an ID card to ",d?"unlock":"lock"," this interface."]}),(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",children:(0,o.createComponentVNode)(2,c.Button,{icon:s?"power-off":"times",content:s?"On":"Off",selected:s,disabled:d,onClick:function(){return i("power")}})}),!!m&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Lethals",children:(0,o.createComponentVNode)(2,c.Button,{icon:u?"exclamation-triangle":"times",content:u?"On":"Off",color:u?"bad":"",disabled:d,onClick:function(){return i("lethal")}})})]})}),!!p&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Humanoid Targets",children:[(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,checked:V,content:"Wanted Criminals",disabled:d,onClick:function(){return i("autharrest")}}),(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,checked:N,content:"No Sec Record",disabled:d,onClick:function(){return i("authnorecord")}}),(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,checked:C,content:"Unauthorized Weapons",disabled:d,onClick:function(){return i("authweapon")}}),(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,checked:h,content:"Unauthorized Access",disabled:d,onClick:function(){return i("authaccess")}})]}),(0,o.createComponentVNode)(2,c.Section,{title:"Other Targets",children:[(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,checked:g,content:"Unidentified Lifesigns (Xenos, Animals, Etc)",disabled:d,onClick:function(){return i("authxeno")}}),(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,checked:f,content:"All Non-Synthetics",disabled:d,onClick:function(){return i("authsynth")}}),(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,checked:k,content:"Downed Targets",disabled:d,onClick:function(){return i("authdown")}}),(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,checked:b,content:"All Entities",disabled:d,onClick:function(){return i("authall")}})]})],4)]})})}},89793:function(e,n,t){"use strict";n.__esModule=!0,n.AreaCharge=n.PowerMonitorFocus=n.PowerMonitorContent=n.PowerMonitor=n.powerRank=void 0;var o=t(39812),r=t(64499),c=t(85531),a=t(41860),i=t(34380),l=t(71494),d=t(74814),s=t(85952),u=5e5,m=function(e){var n=String(e.split(" ")[1]).toLowerCase();return["w","kw","mw","gw"].indexOf(n)};n.powerRank=m;n.PowerMonitor=function(){return(0,o.createComponentVNode)(2,s.Window,{width:550,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,s.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,p)})})};var p=function(e,n){var t=(0,l.useBackend)(n),r=t.act,c=t.data,a=(c.map_levels,c.all_sensors),i=c.focus;if(i)return(0,o.createComponentVNode)(2,C,{focus:i});var s=(0,o.createComponentVNode)(2,d.Box,{color:"bad",children:"No sensors detected"});return a&&(s=(0,o.createComponentVNode)(2,d.Table,{children:a.map((function(e){return(0,o.createComponentVNode)(2,d.Table.Row,{children:(0,o.createComponentVNode)(2,d.Table.Cell,{children:(0,o.createComponentVNode)(2,d.Button,{content:e.name,icon:e.alarm?"bell":"sign-in-alt",onClick:function(){return r("setsensor",{id:e.name})}})})},e.name)}))})),(0,o.createComponentVNode)(2,d.Section,{title:"No active sensor. Listing all.",buttons:(0,o.createComponentVNode)(2,d.Button,{content:"Scan For Sensors",icon:"undo",onClick:function(){return r("refresh")}}),children:s})};n.PowerMonitorContent=p;var C=function(e,n){var t=(0,l.useBackend)(n),i=t.act,s=(t.data,e.focus),p=s.history,C=(0,l.useLocalState)(n,"sortByField",null),V=C[0],b=C[1],f=p.supply[p.supply.length-1]||0,g=p.demand[p.demand.length-1]||0,k=p.supply.map((function(e,n){return[n,e]})),v=p.demand.map((function(e,n){return[n,e]})),B=Math.max.apply(Math,[u].concat(p.supply,p.demand)),L=(0,c.flow)([(0,r.map)((function(e,n){return Object.assign({},e,{id:e.name+n})})),"name"===V&&(0,r.sortBy)((function(e){return e.name})),"charge"===V&&(0,r.sortBy)((function(e){return-e.charge})),"draw"===V&&(0,r.sortBy)((function(e){return-m(e.load)}),(function(e){return-parseFloat(e.load)})),"problems"===V&&(0,r.sortBy)((function(e){return e.eqp}),(function(e){return e.lgt}),(function(e){return e.env}),(function(e){return e.charge}),(function(e){return e.name}))])(s.areas);return(0,o.createFragment)([(0,o.createComponentVNode)(2,d.Section,{title:s.name,buttons:(0,o.createComponentVNode)(2,d.Button,{icon:"sign-out-alt",content:"Back To Main",onClick:function(){return i("clear")}})}),(0,o.createComponentVNode)(2,d.Flex,{mx:-.5,mb:1,children:[(0,o.createComponentVNode)(2,d.Flex.Item,{mx:.5,width:"200px",children:(0,o.createComponentVNode)(2,d.Section,{children:(0,o.createComponentVNode)(2,d.LabeledList,{children:[(0,o.createComponentVNode)(2,d.LabeledList.Item,{label:"Supply",children:(0,o.createComponentVNode)(2,d.ProgressBar,{value:f,minValue:0,maxValue:B,color:"teal",children:(0,a.toFixed)(f/1e3)+" kW"})}),(0,o.createComponentVNode)(2,d.LabeledList.Item,{label:"Draw",children:(0,o.createComponentVNode)(2,d.ProgressBar,{value:g,minValue:0,maxValue:B,color:"pink",children:(0,a.toFixed)(g/1e3)+" kW"})})]})})}),(0,o.createComponentVNode)(2,d.Flex.Item,{mx:.5,grow:1,children:(0,o.createComponentVNode)(2,d.Section,{position:"relative",height:"100%",children:[(0,o.createComponentVNode)(2,d.Chart.Line,{fillPositionedParent:!0,data:k,rangeX:[0,k.length-1],rangeY:[0,B],strokeColor:"rgba(0, 181, 173, 1)",fillColor:"rgba(0, 181, 173, 0.25)"}),(0,o.createComponentVNode)(2,d.Chart.Line,{fillPositionedParent:!0,data:v,rangeX:[0,v.length-1],rangeY:[0,B],strokeColor:"rgba(224, 57, 151, 1)",fillColor:"rgba(224, 57, 151, 0.25)"})]})})]}),(0,o.createComponentVNode)(2,d.Section,{children:[(0,o.createComponentVNode)(2,d.Box,{mb:1,children:[(0,o.createComponentVNode)(2,d.Box,{inline:!0,mr:2,color:"label",children:"Sort by:"}),(0,o.createComponentVNode)(2,d.Button.Checkbox,{checked:"name"===V,content:"Name",onClick:function(){return b("name"!==V&&"name")}}),(0,o.createComponentVNode)(2,d.Button.Checkbox,{checked:"charge"===V,content:"Charge",onClick:function(){return b("charge"!==V&&"charge")}}),(0,o.createComponentVNode)(2,d.Button.Checkbox,{checked:"draw"===V,content:"Draw",onClick:function(){return b("draw"!==V&&"draw")}}),(0,o.createComponentVNode)(2,d.Button.Checkbox,{checked:"problems"===V,content:"Problems",onClick:function(){return b("problems"!==V&&"problems")}})]}),(0,o.createComponentVNode)(2,d.Table,{children:[(0,o.createComponentVNode)(2,d.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,d.Table.Cell,{children:"Area"}),(0,o.createComponentVNode)(2,d.Table.Cell,{collapsing:!0,children:"Charge"}),(0,o.createComponentVNode)(2,d.Table.Cell,{textAlign:"right",children:"Draw"}),(0,o.createComponentVNode)(2,d.Table.Cell,{collapsing:!0,title:"Equipment",children:"Eqp"}),(0,o.createComponentVNode)(2,d.Table.Cell,{collapsing:!0,title:"Lighting",children:"Lgt"}),(0,o.createComponentVNode)(2,d.Table.Cell,{collapsing:!0,title:"Environment",children:"Env"})]}),L.map((function(e,n){return(0,o.createVNode)(1,"tr","Table__row candystripe",[(0,o.createVNode)(1,"td",null,e.name,0),(0,o.createVNode)(1,"td","Table__cell text-right text-nowrap",(0,o.createComponentVNode)(2,h,{charging:e.charging,charge:e.charge}),2),(0,o.createVNode)(1,"td","Table__cell text-right text-nowrap",e.load,0),(0,o.createVNode)(1,"td","Table__cell text-center text-nowrap",(0,o.createComponentVNode)(2,N,{status:e.eqp}),2),(0,o.createVNode)(1,"td","Table__cell text-center text-nowrap",(0,o.createComponentVNode)(2,N,{status:e.lgt}),2),(0,o.createVNode)(1,"td","Table__cell text-center text-nowrap",(0,o.createComponentVNode)(2,N,{status:e.env}),2)],4,null,e.id)}))]})]})],4)};n.PowerMonitorFocus=C;var h=function(e){var n=e.charging,t=e.charge;return(0,o.createFragment)([(0,o.createComponentVNode)(2,d.Icon,{width:"18px",textAlign:"center",name:0===n&&(t>50?"battery-half":"battery-quarter")||1===n&&"bolt"||2===n&&"battery-full",color:0===n&&(t>50?"yellow":"red")||1===n&&"yellow"||2===n&&"green"}),(0,o.createComponentVNode)(2,d.Box,{inline:!0,width:"36px",textAlign:"right",children:(0,a.toFixed)(t)+"%"})],4)};n.AreaCharge=h,h.defaultHooks=i.pureComponentHooks;var N=function(e){var n=e.status,t=Boolean(2&n),r=Boolean(1&n),c=(t?"On":"Off")+" ["+(r?"auto":"manual")+"]";return(0,o.createComponentVNode)(2,d.ColorBox,{color:t?"good":"bad",content:r?undefined:"M",title:c})};N.defaultHooks=i.pureComponentHooks},74231:function(e,n,t){"use strict";n.__esModule=!0,n.PrecisionEditor=void 0;var o=t(39812),r=(t(64499),t(71494)),c=t(74814),a=t(85952);t(60929);n.PrecisionEditor=function(e,n){var t=(0,r.useBackend)(n),s=(t.act,t.data.screenstate);return(0,o.createComponentVNode)(2,a.Window,{resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c.Section,{title:"Seed status",children:["main"===s&&(0,o.createComponentVNode)(2,i),"colors"===s&&(0,o.createComponentVNode)(2,l),"reagents"===s&&(0,o.createComponentVNode)(2,d)]})})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.health,d=i.plantcolor,s=i.fruitcolor,u=i.chems,m=i.seedname;return(0,o.createComponentVNode)(2,c.LabeledList,{children:u?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Name",children:m}),l<100?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Genetic Integrity",children:100-l+"%"}):(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Genetic Integrity",children:"UNVIABLE"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Plant Color",children:d}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Fruit Color",children:s}),(0,o.createComponentVNode)(2,c.LabeledList.Divider,{size:2}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Chems produced in fruit (click to splice out)",children:u.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{fluid:!0,content:e.displayname,onClick:function(){return a("prune",{gene_name:e.name})}},e.displayname)}))}),(0,o.createComponentVNode)(2,c.Button,{content:"Edit Colors",onClick:function(){return a("change_focus",{window:"colors"})}}),(0,o.createComponentVNode)(2,c.Button,{content:"Add Reagents",onClick:function(){return a("change_focus",{window:"reagents"})}}),(0,o.createComponentVNode)(2,c.LabeledList.Divider,{size:2}),(0,o.createComponentVNode)(2,c.Button,{content:"Eject Seed",onClick:function(){return a("eject")}})],0):(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Waiting",children:"There is currently no seed loaded."})})},l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.plantcolor,d=i.fruitcolor;return(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Plant Color",children:l}),(0,o.createComponentVNode)(2,c.ColorBox,{color:l}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Fruit Color",children:d}),(0,o.createComponentVNode)(2,c.ColorBox,{color:d}),(0,o.createComponentVNode)(2,c.Button,{content:"Change plant color",onClick:function(){return a("change_color",{option:0})}}),(0,o.createComponentVNode)(2,c.Button,{content:"Change fruit color",onClick:function(){return a("change_color",{option:1})}}),(0,o.createComponentVNode)(2,c.LabeledList.Divider,{size:2}),(0,o.createComponentVNode)(2,c.Button,{content:"Return",onClick:function(){return a("change_focus",{window:"main"})}})]})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.beakerchems,d=i.health;return(0,o.createComponentVNode)(2,c.LabeledList,{children:[d<100?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Genetic Integrity",children:100-d+"%"}):(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Genetic Integrity",children:"UNVIABLE"}),(0,o.createComponentVNode)(2,c.NoticeBox,{info:1,width:19,height:9,ml:1,children:["Available chems to choose are based on the reagents stored in the beaker. "," A minimum of 100 units of reagent is required to generate a viable sequence. ","The chosen reagent will be consumed in the process.",(0,o.createComponentVNode)(2,c.Box,{bold:1,mt:1,children:"This process severely damages genetic integrity."})]}),(0,o.createComponentVNode)(2,c.Box,{width:20,opacity:.5,ml:1,mt:6,mb:2,children:["Plant will produce 1 additional unit for every 25 units beyond 100"," (modified by potency)"]}),l?(0,o.createFragment)([d<100?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Available reagents",children:l.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{fluid:!0,content:e.displayname,onClick:function(){return a("add_chem",{target_chem:e.name})}},e.displayname)}))}):(0,o.createComponentVNode)(2,c.NoticeBox,{warning:1,children:"WARNING: Genetic integrity of seed is too poor to proceed."}),(0,o.createComponentVNode)(2,c.Button,{content:"Eject Beaker",onClick:function(){return a("eject_beaker")}})],0):(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Waiting",children:"There is currently no beaker loaded."}),(0,o.createComponentVNode)(2,c.Button,{content:"Return",onClick:function(){return a("change_focus",{window:"main"})}})]})}},81121:function(e,n,t){"use strict";n.__esModule=!0,n.PressureRegulator=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.PressureRegulator=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.on,s=l.pressure_set,u=(l.max_pressure,l.input_pressure),m=l.output_pressure,p=l.regulate_mode,C=l.set_flow_rate,h=l.last_flow_rate;return(0,o.createComponentVNode)(2,a.Window,{width:470,height:370,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:"Status",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Input Pressure",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:u/100})," kPa"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Output Pressure",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:m/100})," kPa"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Flow Rate",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:h/10})," L/s"]})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Controls",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",content:d?"Unlocked":"Closed",selected:d,onClick:function(){return i("toggle_valve")}}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Pressure Regulation",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",content:"Off",selected:0===p,onClick:function(){return i("regulate_mode",{mode:"off"})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"compress-arrows-alt",content:"Input",selected:1===p,onClick:function(){return i("regulate_mode",{mode:"input"})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"expand-arrows-alt",content:"Output",selected:2===p,onClick:function(){return i("regulate_mode",{mode:"output"})}})],4)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Desired Output Pressure",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"compress-arrows-alt",content:"MIN",onClick:function(){return i("set_press",{press:"min"})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"expand-arrows-alt",content:"MAX",onClick:function(){return i("set_press",{press:"max"})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"wrench",content:"SET",onClick:function(){return i("set_press",{press:"set"})}})],4),children:[s/100," kPa"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Flow Rate Limit",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"compress-arrows-alt",content:"MIN",onClick:function(){return i("set_flow_rate",{press:"min"})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"expand-arrows-alt",content:"MAX",onClick:function(){return i("set_flow_rate",{press:"max"})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"wrench",content:"SET",onClick:function(){return i("set_flow_rate",{press:"set"})}})],4),children:[C/10," L/s"]})]})})]})})}},14210:function(e,n,t){"use strict";n.__esModule=!0,n.PrisonerManagement=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);t(58083);n.PrisonerManagement=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.locked,s=l.chemImplants,u=l.trackImplants;return(0,o.createComponentVNode)(2,a.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:d&&(0,o.createComponentVNode)(2,c.Section,{title:"Locked",textAlign:"center",children:["This interface is currently locked.",(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"unlock",onClick:function(){return i("lock")},children:"Unlock"})})]})||(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Interface Lock",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"lock",onClick:function(){return i("lock")},children:"Lock Interface"})}),(0,o.createComponentVNode)(2,c.Section,{title:"Chemical Implants",children:s.length&&(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:"Host"}),(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:"Units Remaining"}),(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:"Inject"})]}),s.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:e.host}),(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:[e.units,"u remaining"]}),(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:[(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("inject",{imp:e.ref,val:1})},children:"(1)"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("inject",{imp:e.ref,val:5})},children:"(5)"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("inject",{imp:e.ref,val:10})},children:"(10)"})]})]},e.ref)}))]})||(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No chemical implants found."})}),(0,o.createComponentVNode)(2,c.Section,{title:"Tracking Implants",children:u.length&&(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:"Host"}),(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:"Location"}),(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:"Message"})]}),u.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:[e.host," (",e.id,")"]}),(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:e.loc}),(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("warn",{imp:e.ref})},children:"Message"})})]},e.ref)}))]})||(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No chemical implants found."})})],4)})})}},43996:function(e,n,t){"use strict";n.__esModule=!0,n.RCONContent=n.RCON=void 0;var o=t(39812),r=t(41860),c=t(58083),a=t(71494),i=t(74814),l=t(85952),d=t(2497),s=1e3;n.RCON=function(e,n){return(0,o.createComponentVNode)(2,l.Window,{width:630,height:440,resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,u)})})};var u=function(e,n){var t,r=(0,a.useLocalState)(n,"tabIndex",0),c=r[0],l=r[1];return 0===c?t=(0,o.createComponentVNode)(2,m):1===c&&(t=(0,o.createComponentVNode)(2,h)),(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Tabs,{children:[(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:0===c,onClick:function(){return l(0)},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"power-off"})," SMESs"]},"SMESs"),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:1===c,onClick:function(){return l(1)},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"bolt"})," Breakers"]},"Breakers")]}),(0,o.createComponentVNode)(2,i.Box,{m:2,children:t})],4)};n.RCONContent=u;var m=function(e,n){var t=(0,a.useBackend)(n),r=(t.act,t.data.smes_info);return(0,o.createComponentVNode)(2,i.Section,{title:"SMESs",children:(0,o.createComponentVNode)(2,i.Stack,{vertical:!0,children:r.map((function(e){return(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,p,{smes:e})},e.RCON_tag)}))})})},p=function(e,n){(0,a.useBackend)(n).act;var t=e.smes,c=t.capacityPercent,l=t.capacity,d=t.charge,s=(t.inputAttempt,t.inputting,t.inputLevel,t.inputLevelMax,t.inputAvailable,t.outputAttempt,t.outputting,t.outputLevel,t.outputLevelMax,t.outputUsed,t.RCON_tag);return(0,o.createComponentVNode)(2,i.Stack,{vertical:!0,children:[(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,i.Stack,{fill:!0,justify:"space-between",children:[(0,o.createComponentVNode)(2,i.Stack.Item,{flexBasis:"40%",fontSize:1.2,children:s}),(0,o.createComponentVNode)(2,i.Stack.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:.01*c,ranges:{good:[.5,Infinity],average:[.15,.5],bad:[-Infinity,.15]},children:[(0,r.round)(d/6e4,1)," kWh / ",(0,r.round)(l/6e4)," kWh (",c,"%)"]})})]})}),(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,C,{smes:e.smes,way:"input"})}),(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,C,{smes:e.smes,way:"output"})}),(0,o.createComponentVNode)(2,i.Stack.Divider)]})},C=function(e,n){var t,r,l,u,m,p,C,h=(0,a.useBackend)(n).act,N=e.way,V=e.smes,b=(V.capacityPercent,V.capacity,V.charge,V.inputAttempt),f=V.inputting,g=V.inputLevel,k=V.inputLevelMax,v=V.inputAvailable,B=V.outputAttempt,L=V.outputting,_=V.outputLevel,x=V.outputLevelMax,w=V.outputUsed,S=V.RCON_tag;switch(N){case"input":t=g,r=k,l=v,"IN",u="smes_in_toggle",m="smes_in_set",b,p=b?f?"green":"yellow":null,C=b?f?"The SMES is drawing power.":"The SMES lacks power.":"The SMES input is off.";break;case"output":t=_,r=x,l=w,"OUT",u="smes_out_toggle",m="smes_out_set",B,p=B?L?"green":"yellow":null,C=B?L?"The SMES is outputting power.":"The SMES lacks any draw.":"The SMES output is off."}return(0,o.createComponentVNode)(2,i.Stack,{fill:!0,children:[(0,o.createComponentVNode)(2,i.Stack.Item,{basis:"20%",children:(0,d.capitalize)(N)}),(0,o.createComponentVNode)(2,i.Stack.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Stack,{children:[(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",color:p,tooltip:C,onClick:function(){return h(u,{smes:S})}})}),(0,o.createComponentVNode)(2,i.Stack.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:0===t,onClick:function(){return h(m,{target:"min",smes:S})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"backward",disabled:0===t,onClick:function(){return h(m,{adjust:-1e4,smes:S})}})]}),(0,o.createComponentVNode)(2,i.Stack.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Slider,{value:t/s,fillValue:l/s,minValue:0,maxValue:r/s,step:5,stepPixelSize:4,format:function(e){return(0,c.formatPower)(l,1)+"/"+(0,c.formatPower)(e*s,1)},onDrag:function(e,n){return h(m,{target:n*s,smes:S})}})}),(0,o.createComponentVNode)(2,i.Stack.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"forward",disabled:t===r,onClick:function(){return h(m,{adjust:1e4,smes:S})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:t===r,onClick:function(){return h(m,{target:"max",smes:S})}})]})]})})]})},h=function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data.breaker_info;return(0,o.createComponentVNode)(2,i.Section,{title:"Breakers",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:c?c.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.RCON_tag,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:e.enabled?"Enabled":"Disabled",selected:e.enabled,color:e.enabled?null:"bad",onClick:function(){return r("toggle_breaker",{breaker:e.RCON_tag})}})},e.RCON_tag)})):(0,o.createComponentVNode)(2,i.LabeledList.Item,{color:"bad",children:"No breakers detected."})})})}},92141:function(e,n,t){"use strict";n.__esModule=!0,n.RIGSuit=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(2497);n.RIGSuit=function(e,n){var t=(0,r.useBackend)(n),i=(t.act,t.data),u=i.interfacelock,m=i.malf,p=i.aicontrol,C=i.ai,h=null;return u||m?h=(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"--HARDSUIT INTERFACE OFFLINE--"}):!C&&p&&(h=(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"-- HARDSUIT CONTROL OVERRIDDEN BY AI --"})),(0,o.createComponentVNode)(2,a.Window,{height:480,width:550,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:h||(0,o.createFragment)([(0,o.createComponentVNode)(2,l),(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,s)],4)})})};var l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.chargestatus,d=i.charge,s=i.maxcharge,u=i.aioverride,m=i.sealing,p=i.sealed,C=i.emagged,h=i.securitycheck,N=i.coverlock,V=(0,o.createComponentVNode)(2,c.Button,{content:"Suit "+(m?"seals working...":p?"is Active":"is Inactive"),icon:m?"redo":p?"power-off":"lock-open",iconSpin:m,disabled:m,selected:p,onClick:function(){return a("toggle_seals")}}),b=(0,o.createComponentVNode)(2,c.Button,{content:"AI Control "+(u?"Enabled":"Disabled"),selected:u,icon:"robot",onClick:function(){return a("toggle_ai_control")}});return(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:(0,o.createFragment)([V,b],0),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power Supply",children:(0,o.createComponentVNode)(2,c.ProgressBar,{minValue:0,maxValue:50,value:l,ranges:{good:[35,Infinity],average:[15,35],bad:[-Infinity,15]},children:[d," / ",s]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Cover Status",children:C||!h?(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Error - Maintenance Lock Control Offline"}):(0,o.createComponentVNode)(2,c.Button,{icon:N?"lock":"lock-open",content:N?"Locked":"Unlocked",onClick:function(){return a("toggle_suit_lock")}})})]})})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,l=t.data,d=l.sealing,s=l.helmet,u=l.helmetDeployed,m=l.gauntlets,p=l.gauntletsDeployed,C=l.boots,h=l.bootsDeployed,N=l.chest,V=l.chestDeployed;return(0,o.createComponentVNode)(2,c.Section,{title:"Hardware",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Helmet",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:u?"sign-out-alt":"sign-in-alt",content:u?"Deployed":"Deploy",disabled:d,selected:u,onClick:function(){return a("toggle_piece",{piece:"helmet"})}}),children:s?(0,i.capitalize)(s):"ERROR"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Gauntlets",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:p?"sign-out-alt":"sign-in-alt",content:p?"Deployed":"Deploy",disabled:d,selected:p,onClick:function(){return a("toggle_piece",{piece:"gauntlets"})}}),children:m?(0,i.capitalize)(m):"ERROR"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Boots",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:h?"sign-out-alt":"sign-in-alt",content:h?"Deployed":"Deploy",disabled:d,selected:h,onClick:function(){return a("toggle_piece",{piece:"boots"})}}),children:C?(0,i.capitalize)(C):"ERROR"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Chestpiece",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:V?"sign-out-alt":"sign-in-alt",content:V?"Deployed":"Deploy",disabled:d,selected:V,onClick:function(){return a("toggle_piece",{piece:"chest"})}}),children:N?(0,i.capitalize)(N):"ERROR"})]})})},s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,l=t.data,d=l.sealed,s=l.sealing,u=l.primarysystem,m=l.modules;return!d||s?(0,o.createComponentVNode)(2,c.Section,{title:"Modules",children:(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"HARDSUIT SYSTEMS OFFLINE"})}):(0,o.createComponentVNode)(2,c.Section,{title:"Modules",children:[(0,o.createComponentVNode)(2,c.Box,{color:"label",mb:"0.2rem",fontSize:1.5,children:["Selected Primary: ",(0,i.capitalize)(u||"None")]}),m&&m.map((function(e,n){return(0,o.createComponentVNode)(2,c.Section,{level:2,title:(0,i.toTitleCase)(e.name)+(e.damage?" (damaged)":""),buttons:(0,o.createFragment)([e.can_select?(0,o.createComponentVNode)(2,c.Button,{selected:e.name===u,content:e.name===u?"Selected":"Select",icon:"arrow-circle-right",onClick:function(){return a("interact_module",{module:e.index,module_mode:"select"})}}):null,e.can_use?(0,o.createComponentVNode)(2,c.Button,{content:e.engagestring,icon:"arrow-circle-down",onClick:function(){return a("interact_module",{module:e.index,module_mode:"engage"})}}):null,e.can_toggle?(0,o.createComponentVNode)(2,c.Button,{selected:e.is_active,content:e.is_active?e.deactivatestring:e.activatestring,icon:"arrow-circle-down",onClick:function(){return a("interact_module",{module:e.index,module_mode:"toggle"})}}):null],0),children:[e.damage>=2?(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"-- MODULE DESTROYED --"}):(0,o.createComponentVNode)(2,c.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:[(0,o.createComponentVNode)(2,c.Box,{color:"average",children:["Engage: ",e.engagecost]}),(0,o.createComponentVNode)(2,c.Box,{color:"average",children:["Active: ",e.activecost]}),(0,o.createComponentVNode)(2,c.Box,{color:"average",children:["Passive: ",e.passivecost]})]}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:e.desc})]}),e.charges?(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Section,{title:"Module Charges",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Selected",children:(0,i.capitalize)(e.chargetype)}),e.charges.map((function(n,t){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:(0,i.capitalize)(n.caption),children:(0,o.createComponentVNode)(2,c.Button,{selected:e.realchargetype===n.index,icon:"arrow-right",onClick:function(){return a("interact_module",{module:e.index,module_mode:"select_charge_type",charge_type:n.index})}})},n.caption)}))]})})}):null]},e.name)}))]})}},17481:function(e,n,t){"use strict";n.__esModule=!0,n.Radio=void 0;var o=t(39812),r=(t(64499),t(41860)),c=t(71494),a=t(74814),i=t(76270),l=t(85952);n.Radio=function(e,n){var t=(0,c.useBackend)(n),d=t.act,s=t.data,u=s.rawfreq,m=s.minFrequency,p=s.maxFrequency,C=s.listening,h=s.broadcasting,N=s.subspace,V=s.subspaceSwitchable,b=s.chan_list,f=s.loudspeaker,g=s.mic_cut,k=s.spk_cut,v=s.useSyndMode,B=i.RADIO_CHANNELS.find((function(e){return e.freq===Number(u)})),L=156;return b&&b.length>0?L+=28*b.length+6:L+=24,V&&(L+=38),(0,o.createComponentVNode)(2,l.Window,{width:310,height:L,resizable:!0,theme:v?"syndicate":"",children:(0,o.createComponentVNode)(2,l.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Frequency",children:[(0,o.createComponentVNode)(2,a.NumberInput,{animated:!0,unit:"kHz",step:.2,stepPixelSize:10,minValue:m/10,maxValue:p/10,value:u/10,format:function(e){return(0,r.toFixed)(e,1)},onDrag:function(e,n){return d("setFrequency",{freq:(0,r.round)(10*n)})}}),B&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:B.color,ml:2,children:["[",B.name,"]"]})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Audio",children:[(0,o.createComponentVNode)(2,a.Button,{textAlign:"center",width:"37px",icon:C?"volume-up":"volume-mute",selected:C,disabled:k,onClick:function(){return d("listen")}}),(0,o.createComponentVNode)(2,a.Button,{textAlign:"center",width:"37px",icon:h?"microphone":"microphone-slash",selected:h,disabled:g,onClick:function(){return d("broadcast")}}),!!V&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"bullhorn",selected:N,content:"Subspace Tx "+(N?"ON":"OFF"),onClick:function(){return d("subspace")}})}),!!V&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:f?"volume-up":"volume-mute",selected:f,content:"Loudspeaker",onClick:function(){return d("toggleLoudspeaker")}})})]})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Channels",children:[(!b||0===b.length)&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"bad",children:"No channels detected."}),(0,o.createComponentVNode)(2,a.LabeledList,{children:b?b.map((function(e){var n=i.RADIO_CHANNELS.find((function(n){return n.freq===Number(e.freq)})),t="default";return n&&(t=n.color),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.display_name,labelColor:t,textAlign:"right",children:e.secure_channel&&N?(0,o.createComponentVNode)(2,a.Button,{icon:e.sec_channel_listen?"square-o":"check-square-o",selected:!e.sec_channel_listen,content:e.sec_channel_listen?"Off":"On",onClick:function(){return d("channel",{channel:e.chan})}}):(0,o.createComponentVNode)(2,a.Button,{content:"Switch",selected:e.chan===u,onClick:function(){return d("specFreq",{channel:e.chan})}})},e.chan)})):null})]})]})})}},29509:function(e,n,t){"use strict";n.__esModule=!0,n.RapidPipeDispenser=n.ICON_BY_CATEGORY_NAME=void 0;var o=t(39812),r=t(34380),c=t(2497),a=t(71494),i=t(74814),l=t(85952),d=["Atmospherics","Disposals"],s={Atmospherics:"wrench",Disposals:"trash-alt","Transit Tubes":"bus",Pipes:"grip-lines","Disposal Pipes":"grip-lines",Devices:"microchip","Heat Exchange":"thermometer-half","Insulated pipes":"snowflake","Station Equipment":"microchip"};n.ICON_BY_CATEGORY_NAME=s;var u=[{name:"Dispense",bitmask:1},{name:"Connect",bitmask:2},{name:"Destroy",bitmask:4},{name:"Paint",bitmask:8}],m=function(e,n){var t=(0,a.useBackend)(n),r=t.act,l=t.data,m=l.category,p=l.selected_color,C=l.mode;return(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Category",children:d.map((function(e,n){return(0,o.createComponentVNode)(2,i.Button,{selected:m===n,icon:s[e],color:"transparent",onClick:function(){return r("category",{category:n})},children:e},e)}))}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Modes",children:(0,o.createComponentVNode)(2,i.Stack,{fill:!0,children:u.map((function(e){return(0,o.createComponentVNode)(2,i.Stack.Item,{grow:!0,children:(0,o.createComponentVNode)(2,i.Button.Checkbox,{checked:C&e.bitmask,fluid:!0,content:e.name,onClick:function(){return r("mode",{mode:e.bitmask})}})},e.bitmask)}))})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Color",children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,width:"64px",color:l.paint_colors[p],children:(0,c.capitalize)(p)}),Object.keys(l.paint_colors).map((function(e){return(0,o.createComponentVNode)(2,i.ColorBox,{ml:1,color:l.paint_colors[e],onClick:function(){return r("color",{paint_color:e})}},e)}))]})]})})},p=function(e,n){var t=(0,a.useBackend)(n),c=t.act,l=t.data,d=l.category,s=l.piping_layer,u=l.preview_rows.flatMap((function(e){return e.previews}));return(0,o.createComponentVNode)(2,i.Section,{fill:!0,width:7.5,children:[0===d&&(0,o.createComponentVNode)(2,i.Stack,{vertical:!0,mb:1,children:[1,2,3,4,5].map((function(e){return(0,o.createComponentVNode)(2,i.Stack.Item,{my:0,children:(0,o.createComponentVNode)(2,i.Button.Checkbox,{checked:e===s,content:"Layer "+e,onClick:function(){return c("piping_layer",{piping_layer:e})}})},e)}))}),(0,o.createComponentVNode)(2,i.Box,{width:"120px",children:u.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{ml:0,title:e.dir_name,selected:e.selected,style:{width:"40px",height:"40px",padding:0},onClick:function(){return c("setdir",{dir:e.dir,flipped:e.flipped})},children:(0,o.createComponentVNode)(2,i.Box,{className:(0,r.classes)(["pipes32x32",e.dir+"-"+e.icon_state]),style:{transform:"scale(1.5) translate(9.5%, 9.5%)"}})},e.dir)}))})]})},C=function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data.categories,l=void 0===c?[]:c,d=(0,a.useLocalState)(n,"categoryName"),u=d[0],m=d[1],p=l.find((function(e){return e.cat_name===u}))||l[0];return(0,o.createComponentVNode)(2,i.Section,{fill:!0,scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Tabs,{children:l.map((function(e,n){return(0,o.createComponentVNode)(2,i.Tabs.Tab,{fluid:!0,icon:s[e.cat_name],selected:e.cat_name===p.cat_name,onClick:function(){return m(e.cat_name)},children:e.cat_name},e.cat_name)}))}),null==p?void 0:p.recipes.map((function(e){return(0,o.createComponentVNode)(2,i.Button.Checkbox,{fluid:!0,ellipsis:!0,checked:e.selected,content:e.pipe_name,title:e.pipe_name,onClick:function(){return r("pipe_type",{pipe_type:e.pipe_index,category:p.cat_name})}},e.pipe_index)}))]})};n.RapidPipeDispenser=function(e,n){var t=(0,a.useBackend)(n);t.act,t.data.category;return(0,o.createComponentVNode)(2,l.Window,{width:550,height:570,children:(0,o.createComponentVNode)(2,l.Window.Content,{children:(0,o.createComponentVNode)(2,i.Stack,{fill:!0,vertical:!0,children:[(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,m)}),(0,o.createComponentVNode)(2,i.Stack.Item,{grow:!0,children:(0,o.createComponentVNode)(2,i.Stack,{fill:!0,children:[(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,i.Stack,{vertical:!0,fill:!0,children:(0,o.createComponentVNode)(2,i.Stack.Item,{grow:!0,children:(0,o.createComponentVNode)(2,p)})})}),(0,o.createComponentVNode)(2,i.Stack.Item,{grow:!0,children:(0,o.createComponentVNode)(2,C)})]})})]})})})}},53976:function(e,n,t){"use strict";n.__esModule=!0,n.RequestConsole=void 0;var o=t(39812),r=t(2497),c=t(71494),a=t(74814),i=t(85952),l=function(e,n){var t=(0,c.useBackend)(n).act,r=e.dept_list,i=e.department;return(0,o.createComponentVNode)(2,a.LabeledList,{children:r.sort().map((function(e){return e!==i&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"envelope-open-text",onClick:function(){return t("write",{write:e,priority:1})},children:"Message"}),(0,o.createComponentVNode)(2,a.Button,{icon:"exclamation-triangle",onClick:function(){return t("write",{write:e,priority:2})},children:"High Priority"})],4)})||null}))})},d={0:function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.silent;return(0,o.createComponentVNode)(2,a.Section,{title:"Settings",children:(0,o.createComponentVNode)(2,a.Button,{selected:!i,icon:i?"volume-mute":"volume-up",onClick:function(){return r("toggleSilent")},children:["Speaker ",i?"OFF":"ON"]})})},1:function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data),i=r.department,d=r.assist_dept;return(0,o.createComponentVNode)(2,a.Section,{title:"Request assistance from another department",children:(0,o.createComponentVNode)(2,l,{dept_list:d,department:i})})},2:function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data),i=r.department,d=r.supply_dept;return(0,o.createComponentVNode)(2,a.Section,{title:"Supplies",children:(0,o.createComponentVNode)(2,l,{dept_list:d,department:i})})},3:function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data),i=r.department,d=r.info_dept;return(0,o.createComponentVNode)(2,a.Section,{title:"Report Anonymous Information",children:(0,o.createComponentVNode)(2,l,{dept_list:d,department:i})})},4:function(e,n){var t=(0,c.useBackend)(n),r=t.act;t.data;return(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:2,color:"good",children:"Message Sent Successfully"}),(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-right",onClick:function(){return r("setScreen",{setScreen:0})},children:"Continue"})})]})},5:function(e,n){var t=(0,c.useBackend)(n),r=t.act;t.data;return(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:1.5,bold:!0,color:"bad",children:"An error occured. Message Not Sent."}),(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-right",onClick:function(){return r("setScreen",{setScreen:0})},children:"Continue"})})]})},6:function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data.message_log;return(0,o.createComponentVNode)(2,a.Section,{title:"Messages",children:l.length&&l.map((function(e,n){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.decodeHtmlEntities)(e[0]),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"print",onClick:function(){return i("print",{print:n+1})},children:"Print"}),children:(0,r.decodeHtmlEntities)(e[1])},n)}))||(0,o.createComponentVNode)(2,a.Box,{children:"No messages."})})},7:function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,d=l.message,s=l.recipient,u=l.priority,m=l.msgStamped,p=l.msgVerified;return(0,o.createComponentVNode)(2,a.Section,{title:"Message Authentication",children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message for "+s,children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Priority",children:2===u?"High Priority":1===u?"Normal Priority":"Unknown"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Validated By",color:p?"good":"bad",children:(0,r.decodeHtmlEntities)(p)||"No Validation"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stamped By",color:m?"good":"bad",children:(0,r.decodeHtmlEntities)(m)||"No Stamp"})]}),(0,o.createComponentVNode)(2,a.Button,{mt:1,icon:"share",onClick:function(){return i("department",{department:s})},children:"Send Message"}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return i("setScreen",{setScreen:0})},children:"Back"})]})},8:function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=(i.department,i.screen,i.message_log,i.newmessagepriority,i.silent,i.announcementConsole,i.assist_dept,i.supply_dept,i.info_dept,i.message),d=(i.recipient,i.priority,i.msgStamped,i.msgVerified,i.announceAuth);return(0,o.createComponentVNode)(2,a.Section,{title:"Send Station-Wide Announcement",children:[d&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"good",mb:1,children:"ID Verified. Authentication Accepted."}),(0,o.createComponentVNode)(2,a.Section,{title:"Message",mt:1,maxHeight:"200px",scrollable:!0,buttons:(0,o.createComponentVNode)(2,a.Button,{ml:1,icon:"pen",onClick:function(){return r("writeAnnouncement")},children:"Edit"}),children:l||"No Message"})],4)||(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mb:1,children:"Swipe your ID card to authenticate yourself."}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l||!d,icon:"share",onClick:function(){return r("sendAnnouncement")},children:"Announce"}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return r("setScreen",{setScreen:0})},children:"Back"})]})}};n.RequestConsole=function(e,n){var t=(0,c.useBackend)(n),r=t.act,l=t.data,s=l.screen,u=l.newmessagepriority,m=l.announcementConsole,p=d[s];return(0,o.createComponentVNode)(2,i.Window,{width:520,height:410,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:6===s,onClick:function(){return r("setScreen",{setScreen:6})},icon:"envelope-open-text",children:"Messages"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===s,onClick:function(){return r("setScreen",{setScreen:1})},icon:"share-square",children:"Assistance"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===s,onClick:function(){return r("setScreen",{setScreen:2})},icon:"share-square",children:"Supplies"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===s,onClick:function(){return r("setScreen",{setScreen:3})},icon:"share-square-o",children:"Report"}),m&&(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:8===s,onClick:function(){return r("setScreen",{setScreen:8})},icon:"volume-up",children:"Announce"})||null,(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===s,onClick:function(){return r("setScreen",{setScreen:0})},icon:"cog"})]}),u&&(0,o.createComponentVNode)(2,a.Section,{title:u>1?"NEW PRIORITY MESSAGES":"There are new messages!",color:u>1?"bad":"average",bold:u>1})||null,(0,o.createComponentVNode)(2,p)]})})}},48639:function(e,n,t){"use strict";n.__esModule=!0,n.ResearchConsole=void 0;var o=t(39812),r=t(2497),c=t(71494),a=t(74814),i=t(85952),l=function(e,n){var t=(0,c.useBackend)(n).data,o=e.title,r=t[e.target];return"number"==typeof r?o+" - Page "+(r+1):o},d=function(e,n){var t=(0,c.useBackend)(n).act,r=e.target;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return t(r,{reset:!0})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"chevron-left",onClick:function(){return t(r,{reverse:-1})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"chevron-right",onClick:function(){return t(r,{reverse:1})}})],4)},s=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.info.tech,l=e.disk;if(!l||!l.present)return null;var d=(0,c.useSharedState)(n,"saveDialogTech",!1),s=d[0],u=d[1];return s?(0,o.createComponentVNode)(2,a.Section,{title:"Load Technology to Disk",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return u(!1)}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:i.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name,children:(0,o.createComponentVNode)(2,a.Button,{icon:"save",onClick:function(){u(!1),r("copy_tech",{copy_tech_ID:e.id})},children:"Copy To Disk"})},e.name)}))})}):(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Disk Contents",children:"(Technology Data Disk)"})}),l.stored&&(0,o.createComponentVNode)(2,a.Box,{mt:2,children:[(0,o.createComponentVNode)(2,a.Box,{children:l.name}),(0,o.createComponentVNode)(2,a.Box,{children:["Level: ",l.level]}),(0,o.createComponentVNode)(2,a.Box,{children:["Description: ",l.desc]}),(0,o.createComponentVNode)(2,a.Box,{mt:1,children:[(0,o.createComponentVNode)(2,a.Button,{icon:"save",onClick:function(){return r("updt_tech")},children:"Upload to Database"}),(0,o.createComponentVNode)(2,a.Button,{icon:"trash",onClick:function(){return r("clear_tech")},children:"Clear Disk"}),(0,o.createComponentVNode)(2,a.Button,{icon:"eject",onClick:function(){return r("eject_tech")},children:"Eject Disk"})]})]})||(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{children:"This disk has no data stored on it."}),(0,o.createComponentVNode)(2,a.Button,{icon:"save",onClick:function(){return u(!0)},children:"Load Tech To Disk"}),(0,o.createComponentVNode)(2,a.Button,{icon:"eject",onClick:function(){return r("eject_tech")},children:"Eject Disk"})]})]})},u=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,s=i.info.designs,u=e.disk;if(!u||!u.present)return null;var m=(0,c.useSharedState)(n,"saveDialogData",!1),p=m[0],C=m[1];return p?(0,o.createComponentVNode)(2,a.Section,{title:(0,o.createComponentVNode)(2,l,{title:"Load Design to Disk",target:"design_page"}),buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return C(!1)}}),(0,o.createComponentVNode)(2,d,{target:"design_page"})||null],0),children:[(0,o.createComponentVNode)(2,a.Input,{fluid:!0,placeholder:"Search for...",value:i.search,onInput:function(e,n){return r("search",{search:n})},mb:1}),(0,o.createComponentVNode)(2,a.LabeledList,{children:s.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name,children:(0,o.createComponentVNode)(2,a.Button,{icon:"save",onClick:function(){C(!1),r("copy_design",{copy_design_ID:e.id})},children:"Copy To Disk"})},e.name)}))})]}):(0,o.createComponentVNode)(2,a.Box,{children:u.stored&&(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:u.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Lathe Type",children:u.build_type}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Required Materials",children:Object.keys(u.materials).map((function(e){return(0,o.createComponentVNode)(2,a.Box,{children:[e," x ",u.materials[e]]},e)}))})]}),(0,o.createComponentVNode)(2,a.Box,{mt:1,children:[(0,o.createComponentVNode)(2,a.Button,{icon:"save",onClick:function(){return r("updt_design")},children:"Upload to Database"}),(0,o.createComponentVNode)(2,a.Button,{icon:"trash",onClick:function(){return r("clear_design")},children:"Clear Disk"}),(0,o.createComponentVNode)(2,a.Button,{icon:"eject",onClick:function(){return r("eject_design")},children:"Eject Disk"})]})]})||(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{mb:.5,children:"This disk has no data stored on it."}),(0,o.createComponentVNode)(2,a.Button,{icon:"save",onClick:function(){return C(!0)},children:"Load Design To Disk"}),(0,o.createComponentVNode)(2,a.Button,{icon:"eject",onClick:function(){return r("eject_design")},children:"Eject Disk"})]})})},m=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,s=e.target,u=e.designs,m=e.buildName,p=e.buildFiveName;return s?(0,o.createComponentVNode)(2,a.Section,{title:(0,o.createComponentVNode)(2,l,{target:"builder_page",title:"Designs"}),buttons:(0,o.createComponentVNode)(2,d,{target:"builder_page"}),children:[(0,o.createComponentVNode)(2,a.Input,{fluid:!0,placeholder:"Search for...",value:i.search,onInput:function(e,n){return r("search",{search:n})},mb:1}),u&&u.length?u.map((function(e){return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Flex,{width:"100%",justify:"space-between",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{width:"40%",style:{"word-wrap":"break-all"},children:e.name}),(0,o.createComponentVNode)(2,a.Flex.Item,{width:"15%",textAlign:"center",children:[(0,o.createComponentVNode)(2,a.Button,{mb:-1,icon:"wrench",onClick:function(){return r(m,{build:e.id,imprint:e.id})},children:"Build"}),p&&(0,o.createComponentVNode)(2,a.Button,{mb:-1,onClick:function(){return r(p,{build:e.id,imprint:e.id})},children:"x5"})]}),(0,o.createComponentVNode)(2,a.Flex.Item,{width:"45%",style:{"word-wrap":"break-all"},children:[(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"label",children:e.mat_list.join(" ")}),(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"average",ml:1,children:e.chem_list.join(" ")})]})]}),(0,o.createComponentVNode)(2,a.Divider)],4,e.id)})):(0,o.createComponentVNode)(2,a.Box,{children:"No items could be found matching the parameters (page or search)."})]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Error"})},p=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,d=e.name,s=null,u=null;if("Protolathe"===d?(s=l.info.linked_lathe,u=l.lathe_designs):(s=l.info.linked_imprinter,u=l.imprinter_designs),!s||!s.present)return(0,o.createComponentVNode)(2,a.Section,{title:d,children:["No ",d," found."]});var p=s,C=p.total_materials,h=p.max_materials,N=p.total_volume,V=p.max_volume,b=p.busy,f=p.mats,g=p.reagents,k=p.queue,v=(0,c.useSharedState)(n,"protoTab",0),B=v[0],L=v[1],_="transparent",x=!1,w="layer-group";b?(w="hammer",_="average",x=!0):k&&k.length&&(w="sync",_="green",x=!0);var S="Protolathe"===d?"removeP":"removeI",I="Protolathe"===d?"lathe_ejectsheet":"imprinter_ejectsheet",y="Protolathe"===d?"disposeP":"disposeI",T="Protolathe"===d?"disposeallP":"disposeallI";return(0,o.createComponentVNode)(2,a.Section,{title:d,buttons:b&&(0,o.createComponentVNode)(2,a.Icon,{name:"sync",spin:!0})||null,children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Materials",children:(0,o.createComponentVNode)(2,a.ProgressBar,{value:C,maxValue:h,children:[C," cm\xb3 / ",h," cm\xb3"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Chemicals",children:(0,o.createComponentVNode)(2,a.ProgressBar,{value:N,maxValue:V,children:[N,"u / ",V,"u"]})})]}),(0,o.createComponentVNode)(2,a.Tabs,{mt:1,children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{icon:"wrench",selected:0===B,onClick:function(){return L(0)},children:"Build"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{icon:w,iconSpin:x,color:_,selected:1===B,onClick:function(){return L(1)},children:"Queue"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{icon:"cookie-bite",selected:2===B,onClick:function(){return L(2)},children:"Mat Storage"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{icon:"flask",selected:3===B,onClick:function(){return L(3)},children:"Chem Storage"})]}),0===B&&(0,o.createComponentVNode)(2,m,{target:s,designs:u,buildName:"Protolathe"===d?"build":"imprint",buildFiveName:"Protolathe"===d?"buildfive":null})||1===B&&(0,o.createComponentVNode)(2,a.LabeledList,{children:k.length&&k.map((function(e){return 1===e.index?(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name,labelColor:"bad",children:b?(0,o.createComponentVNode)(2,a.Button,{disabled:!0,icon:"trash",children:"Remove"}):(0,o.createComponentVNode)(2,a.Box,{children:["(Awaiting Materials)",(0,o.createComponentVNode)(2,a.Button,{ml:1,icon:"trash",onClick:function(){var n;return i(S,((n={})[S]=e.index,n))},children:"Remove"})]})}):(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name,children:(0,o.createComponentVNode)(2,a.Button,{icon:"trash",onClick:function(){var n;return i(S,((n={})[S]=e.index,n))},children:"Remove"})},e.name)}))||(0,o.createComponentVNode)(2,a.Box,{m:1,children:"Queue Empty."})})||2===B&&(0,o.createComponentVNode)(2,a.LabeledList,{children:f.map((function(e){var t=(0,c.useLocalState)(n,"ejectAmt"+e.name,0),l=t[0],d=t[1];return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.toTitleCase)(e.name),buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.NumberInput,{minValue:0,width:"100px",value:l,maxValue:e.sheets,onDrag:function(e,n){return d(n)}}),(0,o.createComponentVNode)(2,a.Button,{icon:"eject",disabled:!e.removable,onClick:function(){var n;d(0),i(I,((n={})[I]=e.name,n.amount=l,n))},children:"Num"}),(0,o.createComponentVNode)(2,a.Button,{icon:"eject",disabled:!e.removable,onClick:function(){var n;return i(I,((n={})[I]=e.name,n.amount=50,n))},children:"All"})],4),children:[e.amount," cm\xb3"]},e.name)}))})||3===B&&(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:g.length&&g.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name,children:[e.volume,"u",(0,o.createComponentVNode)(2,a.Button,{ml:1,icon:"eject",onClick:function(){return i(y,{dispose:e.id})},children:"Purge"})]},e.name)}))||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Empty",children:"No chems detected"})}),(0,o.createComponentVNode)(2,a.Button,{mt:1,icon:"trash",onClick:function(){return i(T)},children:"Disposal All Chemicals In Storage"})]})||(0,o.createComponentVNode)(2,a.Box,{children:"Error"})]})},C=[{name:"Protolathe",icon:"wrench",template:(0,o.createComponentVNode)(2,p,{name:"Protolathe"})},{name:"Circuit Imprinter",icon:"digital-tachograph",template:(0,o.createComponentVNode)(2,p,{name:"Circuit Imprinter"})},{name:"Destructive Analyzer",icon:"eraser",template:(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.info.linked_destroy;if(!i.present)return(0,o.createComponentVNode)(2,a.Section,{title:"Destructive Analyzer",children:"No destructive analyzer found."});var l=i.loaded_item,d=i.origin_tech;return(0,o.createComponentVNode)(2,a.Section,{title:"Destructive Analyzer",children:l&&(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:l}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Origin Tech",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:d.length&&d.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name,children:[e.level,"\xa0\xa0",e.current&&"(Current: "+e.current+")"]},e.name)}))||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Error",children:"No origin tech found."})})})]}),(0,o.createComponentVNode)(2,a.Button,{mt:1,color:"red",icon:"eraser",onClick:function(){return r("deconstruct")},children:"Deconstruct Item"}),(0,o.createComponentVNode)(2,a.Button,{icon:"eject",onClick:function(){return r("eject_item")},children:"Eject Item"})]})||(0,o.createComponentVNode)(2,a.Box,{children:"No Item Loaded. Standing-by..."})})}))},{name:"Settings",icon:"cog",template:(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.info,l=i.sync,d=i.linked_destroy,s=i.linked_imprinter,u=i.linked_lathe,m=(0,c.useSharedState)(n,"settingsTab",0),p=m[0],C=m[1];return(0,o.createComponentVNode)(2,a.Section,{title:"Settings",children:[(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{icon:"cogs",onClick:function(){return C(0)},selected:0===p,children:"General"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{icon:"link",onClick:function(){return C(1)},selected:1===p,children:"Device Linkages"})]}),0===p&&(0,o.createComponentVNode)(2,a.Box,{children:[l&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"sync",onClick:function(){return r("sync")},children:"Sync Database with Network"}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"unlink",onClick:function(){return r("togglesync")},children:"Disconnect from Research Network"})],4)||(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"link",onClick:function(){return r("togglesync")},children:"Connect to Research Network"}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"lock",onClick:function(){return r("lock")},children:"Lock Console"}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,color:"red",icon:"trash",onClick:function(){return r("reset")},children:"Reset R&D Database"})]})||1===p&&(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"sync",mb:1,onClick:function(){return r("find_device")},children:"Re-sync with Nearby Devices"}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[d.present&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Destructive Analyzer",children:(0,o.createComponentVNode)(2,a.Button,{icon:"unlink",onClick:function(){return r("disconnect",{disconnect:"destroy"})},children:"Disconnect"})})||null,u.present&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Protolathe",children:(0,o.createComponentVNode)(2,a.Button,{icon:"unlink",onClick:function(){return r("disconnect",{disconnect:"lathe"})},children:"Disconnect"})})||null,s.present&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Circuit Imprinter",children:(0,o.createComponentVNode)(2,a.Button,{icon:"unlink",onClick:function(){return r("disconnect",{disconnect:"imprinter"})},children:"Disconnect"})})||null]})]})||(0,o.createComponentVNode)(2,a.Box,{children:"Error"})]})}))},{name:"Research List",icon:"flask",template:(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.tech;return(0,o.createComponentVNode)(2,a.Section,{title:"Current Research Levels",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"print",onClick:function(){return r("print",{print:1})},children:"Print This Page"}),children:(0,o.createComponentVNode)(2,a.Table,{children:i.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:[(0,o.createComponentVNode)(2,a.Box,{color:"label",children:e.name}),(0,o.createComponentVNode)(2,a.Box,{children:[" - Level ",e.level]})]}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:e.desc})})]},e.name)}))})})}))},{name:"Design List",icon:"file",template:(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,s=i.designs;return(0,o.createComponentVNode)(2,a.Section,{title:(0,o.createComponentVNode)(2,l,{title:"Researched Technologies & Designs",target:"design_page"}),buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"print",onClick:function(){return r("print",{print:2})},children:"Print This Page"}),(0,o.createComponentVNode)(2,d,{target:"design_page"})||null],0),children:[(0,o.createComponentVNode)(2,a.Input,{fluid:!0,placeholder:"Search for...",value:i.search,onInput:function(e,n){return r("search",{search:n})},mb:1}),s&&s.length&&(0,o.createComponentVNode)(2,a.LabeledList,{children:s.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name,children:e.desc},e.name)}))})||(0,o.createComponentVNode)(2,a.Box,{color:"warning",children:"No designs found."})]})}))},{name:"Disk Operations",icon:"save",template:(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data.info),i=r.d_disk,l=r.t_disk;return i.present||l.present?(0,o.createComponentVNode)(2,a.Section,{title:"Disk Operations",children:[(0,o.createComponentVNode)(2,s,{disk:l}),(0,o.createComponentVNode)(2,u,{disk:i})]}):(0,o.createComponentVNode)(2,a.Section,{title:"Disk Operations",children:"No disk inserted."})}))}];n.ResearchConsole=function(e,n){var t=(0,c.useBackend)(n),r=t.act,l=t.data,d=l.busy_msg,s=l.locked,u=(0,c.useSharedState)(n,"rdmenu",0),m=u[0],p=u[1],h=!1;return(d||s)&&(h=!0),(0,o.createComponentVNode)(2,i.Window,{width:850,height:630,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.Tabs,{children:C.map((function(e,n){return(0,o.createComponentVNode)(2,a.Tabs.Tab,{icon:e.icon,selected:m===n,disabled:h,onClick:function(){return p(n)},children:e.name},n)}))}),d&&(0,o.createComponentVNode)(2,a.Section,{title:"Processing...",children:d})||s&&(0,o.createComponentVNode)(2,a.Section,{title:"Console Locked",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("lock")},icon:"lock-open",children:"Unlock"})})||C[m].template]})})}},35606:function(e,n,t){"use strict";n.__esModule=!0,n.ResearchServerController=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(64499);n.ResearchServerController=function(e,n){var t=(0,r.useBackend)(n);t.act,t.data;return(0,o.createComponentVNode)(2,a.Window,{width:575,height:430,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data),i=(a.badmin,a.servers),l=(a.consoles,(0,r.useSharedState)(n,"selectedServer",null)),s=l[0],u=l[1],m=i.find((function(e){return e.id===s}));return m?(0,o.createComponentVNode)(2,d,{setSelectedServer:u,server:m}):(0,o.createComponentVNode)(2,c.Section,{title:"Server Selection",children:i.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"eye",onClick:function(){return u(e.id)},children:e.name})},e.name)}))})},d=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data.badmin),i=e.server,l=e.setSelectedServer,d=(0,r.useSharedState)(n,"tab",0),p=d[0],C=d[1];return(0,o.createComponentVNode)(2,c.Section,{title:i.name,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"undo",onClick:function(){return l(null)},children:"Back"}),children:[(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:0===p,onClick:function(){return C(0)},children:"Access Rights"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:1===p,onClick:function(){return C(1)},children:"Data Management"}),a&&(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:2===p,onClick:function(){return C(2)},color:"red",children:"Server-to-Server Transfer"})||null]}),0===p&&(0,o.createComponentVNode)(2,s,{server:i})||null,1===p&&(0,o.createComponentVNode)(2,u,{server:i})||null,2===p&&a&&(0,o.createComponentVNode)(2,m,{server:i})||null]})},s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=e.server,d=i.consoles,s=function(e,n){return-1!==e.id_with_upload.indexOf(n.id)},u=function(e,n){return-1!==e.id_with_download.indexOf(n.id)};return(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Consoles",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:d.length&&d.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name+" ("+e.loc+")",children:[(0,o.createComponentVNode)(2,c.Button,{icon:s(l,e)?"lock-open":"lock",selected:s(l,e),onClick:function(){return a("toggle_upload",{server:l.ref,console:e.ref})},children:s(l,e)?"Upload On":"Upload Off"}),(0,o.createComponentVNode)(2,c.Button,{icon:u(l,e)?"lock-open":"lock",selected:u(l,e),onClick:function(){return a("toggle_download",{server:l.ref,console:e.ref})},children:u(l,e)?"Download On":"Download Off"})]},e.name)}))})})},u=function(e,n){var t=(0,r.useBackend)(n),a=t.act,l=(t.data,e.server);return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Research Levels",children:l.tech.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name,buttons:(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"trash",confirmIcon:"trash",color:"red",content:"Reset",onClick:function(){return a("reset_tech",{server:l.ref,tech:e.id})}})},e.name)}))}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Designs",children:(0,i.filter)((function(e){return!!e.name}))(l.designs).map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name,buttons:(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"trash",confirmIcon:"trash",color:"red",content:"Delete",onClick:function(){return a("reset_design",{server:l.ref,design:e.id})}})},e.name)}))})],4)},m=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=e.server,d=i.badmin,s=i.servers;return d?(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Server Data Transfer",children:s.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button.Confirm,{fluid:!0,color:"bad",content:(0,o.createComponentVNode)(2,c.Box,{children:["Transfer from ",l.name," To ",e.name]}),onClick:function(){return a("transfer_data",{server:l.ref,target:e.ref})}})},e.name)}))}):null}},86330:function(e,n,t){"use strict";n.__esModule=!0,n.ResleevingConsole=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=(t(76270),t(16007)),l=t(85952),d=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=(t.data,e.args),l=i.activerecord,d=i.realname,s=i.obviously_dead,u=i.oocnotes,m=i.can_sleeve_active;return(0,o.createComponentVNode)(2,a.Section,{level:2,m:"-1rem",pb:"1rem",title:"Mind Record ("+d+")",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"times",color:"red",onClick:function(){return r("modal_close")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Actions",children:[(0,o.createComponentVNode)(2,a.Button,{disabled:!m,icon:"user-plus",content:"Sleeve",onClick:function(){return r("sleeve",{ref:l,mode:1})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"user-plus",content:"Card",onClick:function(){return r("sleeve",{ref:l,mode:2})}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"OOC Notes",children:(0,o.createComponentVNode)(2,a.Section,{style:{"word-break":"break-all",height:"100px"},scrollable:!0,children:u})})]})})},s=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=(t.data,e.args),l=i.activerecord,d=i.realname,s=i.species,u=i.sex,m=i.mind_compat,p=i.synthetic,C=i.oocnotes,h=i.can_grow_active;return(0,o.createComponentVNode)(2,a.Section,{level:2,m:"-1rem",pb:"1rem",title:"Body Record ("+d+")",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"times",color:"red",onClick:function(){return r("modal_close")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Species",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Bio. Sex",children:u}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Compat",children:m}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Synthetic",children:p?"Yes":"No"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"OOC Notes",children:(0,o.createComponentVNode)(2,a.Section,{style:{"word-break":"break-all",height:"100px"},scrollable:!0,children:C})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Actions",children:(0,o.createComponentVNode)(2,a.Button,{disabled:!h,icon:"user-plus",content:p?"Build":"Grow",onClick:function(){return r("create",{ref:l})}})})]})})};n.ResleevingConsole=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data),h=(r.menu,r.coredumped),N=r.emergency,V=(0,o.createFragment)([(0,o.createComponentVNode)(2,g),(0,o.createComponentVNode)(2,k),(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,a.Section,{noTopPadding:!0,flexGrow:"1",children:(0,o.createComponentVNode)(2,m)})],4);return h&&(V=(0,o.createComponentVNode)(2,p)),N&&(V=(0,o.createComponentVNode)(2,C)),(0,i.modalRegisterBodyOverride)("view_b_rec",s),(0,i.modalRegisterBodyOverride)("view_m_rec",d),(0,o.createComponentVNode)(2,l.Window,{width:640,height:520,resizable:!0,children:[(0,o.createComponentVNode)(2,i.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),(0,o.createComponentVNode)(2,l.Window.Content,{className:"Layout__content--flexColumn",children:V})]})};var u=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.menu;return(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===i,icon:"home",onClick:function(){return r("menu",{num:1})},children:"Main"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===i,icon:"folder",onClick:function(){return r("menu",{num:2})},children:"Body Records"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===i,icon:"folder",onClick:function(){return r("menu",{num:3})},children:"Mind Records"})]})},m=function(e,n){var t,r=(0,c.useBackend)(n).data,a=r.menu,i=r.bodyrecords,l=r.mindrecords;return 1===a?t=(0,o.createComponentVNode)(2,h):2===a?t=(0,o.createComponentVNode)(2,f,{records:i,actToDo:"view_b_rec"}):3===a&&(t=(0,o.createComponentVNode)(2,f,{records:l,actToDo:"view_m_rec"})),t},p=function(e,n){return(0,o.createComponentVNode)(2,a.Dimmer,{children:(0,o.createComponentVNode)(2,a.Flex,{direction:"column",justify:"space-evenly",align:"center",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Icon,{size:12,color:"bad",name:"exclamation-triangle"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,color:"bad",mt:5,children:(0,o.createVNode)(1,"h2",null,"TransCore dump completed. Resleeving offline.",16)})]})})},C=function(e,n){var t=(0,c.useBackend)(n).act;return(0,o.createComponentVNode)(2,a.Dimmer,{textAlign:"center",children:[(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:(0,o.createVNode)(1,"h1",null,"TRANSCORE DUMP",16)}),(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:(0,o.createVNode)(1,"h2",null,"!!WARNING!!",16)}),(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"This will transfer all minds to the dump disk, and the TransCore will be made unusable until post-shift maintenance! This should only be used in emergencies!"}),(0,o.createComponentVNode)(2,a.Box,{mt:4,children:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject Disk",color:"good",onClick:function(){return t("ejectdisk")}})}),(0,o.createComponentVNode)(2,a.Box,{mt:4,children:(0,o.createComponentVNode)(2,a.Button.Confirm,{icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",content:"Core Dump",confirmContent:"Disable Transcore?",color:"bad",onClick:function(){return t("coredump")}})})]})},h=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data);r.loading,r.scantemp,r.occupant,r.locked,r.can_brainscan,r.scan_mode,r.pods,r.selected_pod;return(0,o.createComponentVNode)(2,a.Section,{title:"Pods",level:"2",children:[(0,o.createComponentVNode)(2,N),(0,o.createComponentVNode)(2,b),(0,o.createComponentVNode)(2,V)]})},N=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,d=l.pods,s=l.spods,u=l.selected_pod;return d&&d.length?d.map((function(e,n){var t;return t="cloning"===e.status?(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:e.progress/100,ranges:{good:[.75,Infinity],average:[.25,.75],bad:[-Infinity,.25]},mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:(0,r.round)(e.progress,0)+"%"})}):"mess"===e.status?(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"ERROR"}):(0,o.createComponentVNode)(2,a.Button,{selected:u===e.pod,icon:u===e.pod&&"check",content:"Select",mt:s&&s.length?"2rem":"0.5rem",onClick:function(){return i("selectpod",{ref:e.pod})}}),(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"pod_"+e.status+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:e.name}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.biomass>=150?"good":"bad",inline:!0,children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.biomass>=150?"circle":"circle-o"}),"\xa0",e.biomass]}),t]},n)})):null},V=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=i.sleevers,d=i.spods,s=i.selected_sleever;return l&&l.length?l.map((function(e,n){return(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"sleeve_"+(e.occupied?"occupied":"empty")+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:e.occupied?"label":"bad",children:e.name}),(0,o.createComponentVNode)(2,a.Button,{selected:s===e.sleever,icon:s===e.sleever&&"check",content:"Select",mt:d&&d.length?"3rem":"1.5rem",onClick:function(){return r("selectsleever",{ref:e.sleever})}})]},n)})):null},b=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,d=l.spods,s=l.selected_printer;return d&&d.length?d.map((function(e,n){var t;return t="cloning"===e.status?(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:e.progress/100,ranges:{good:[.75,Infinity],average:[.25,.75],bad:[-Infinity,.25]},mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:(0,r.round)(e.progress,0)+"%"})}):"mess"===e.status?(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"ERROR"}):(0,o.createComponentVNode)(2,a.Button,{selected:s===e.spod,icon:s===e.spod&&"check",content:"Select",mt:"0.5rem",onClick:function(){return i("selectprinter",{ref:e.spod})}}),(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"synthprinter"+(e.busy?"_working":"")+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:e.name}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.steel>=15e3?"good":"bad",inline:!0,children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.steel>=15e3?"circle":"circle-o"}),"\xa0",e.steel]}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.glass>=15e3?"good":"bad",inline:!0,children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.glass>=15e3?"circle":"circle-o"}),"\xa0",e.glass]}),t]},n)})):null},f=function(e,n){var t=(0,c.useBackend)(n).act,r=e.records,i=e.actToDo;return r.length?(0,o.createComponentVNode)(2,a.Box,{mt:"0.5rem",children:r.map((function(e,n){return(0,o.createComponentVNode)(2,a.Button,{icon:"user",mb:"0.5rem",content:e.name,onClick:function(){return t(i,{ref:e.recref})}},n)}))}):(0,o.createComponentVNode)(2,a.Flex,{height:"100%",mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No records found."]})})},g=function(e,n){var t,r=(0,c.useBackend)(n),i=r.act,l=r.data.temp;if(l&&l.text&&!(l.text.length<=0)){var d=((t={})[l.style]=!0,t);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.NoticeBox,Object.assign({},d,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",children:l.text}),(0,o.createComponentVNode)(2,a.Button,{icon:"times-circle",float:"right",onClick:function(){return i("cleartemp")}}),(0,o.createComponentVNode)(2,a.Box,{clear:"both"})]})))}},k=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data),i=r.pods,l=r.spods,d=r.sleevers;r.autoallowed,r.autoprocess,r.disk;return(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pods",children:i&&i.length?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[i.length," connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"SynthFabs",children:l&&l.length?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[l.length," connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sleevers",children:d&&d.length?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[d.length," Connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})})]})})}},88359:function(e,n,t){"use strict";n.__esModule=!0,n.ResleevingPod=void 0;var o=t(39812),r=t(85952),c=t(71494),a=t(74814);n.ResleevingPod=function(e,n){var t=(0,c.useBackend)(n).data,i=t.occupied,l=t.name,d=t.health,s=t.maxHealth,u=t.stat,m=t.mindStatus,p=t.mindName,C=t.resleeveSick,h=t.initialSick;return(0,o.createComponentVNode)(2,r.Window,{width:300,height:350,resizeable:!0,children:(0,o.createComponentVNode)(2,r.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Occupant",children:i?(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:l}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Health",children:2===u?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"DEAD"}):1===u?(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"Unconscious"}):(0,o.createComponentVNode)(2,a.ProgressBar,{ranges:{good:[.5,Infinity],average:[.25,.5],bad:[-Infinity,.25]},value:d/s,children:[d,"%"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Status",children:m?"Present":"Missing"}),m?(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Occupying",children:p}):""]}),C?(0,o.createComponentVNode)(2,a.Box,{color:"average",mt:3,children:["Warning: Resleeving Sickness detected.",h?(0,o.createFragment)([(0,o.createTextVNode)(" Motion Sickness also detected. Please allow the newly resleeved person a moment to get their bearings. This warning will disappear when Motion Sickness is no longer detected.")],4):""]}):""],0):(0,o.createComponentVNode)(2,a.Box,{bold:!0,m:1,children:"Unoccupied."})})})})}},24455:function(e,n,t){"use strict";n.__esModule=!0,n.RoboticsControlConsole=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.RoboticsControlConsole=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.can_hack,u=d.safety,m=d.show_detonate_all,p=d.cyborgs,C=void 0===p?[]:p;return(0,o.createComponentVNode)(2,a.Window,{width:500,height:460,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[!!m&&(0,o.createComponentVNode)(2,c.Section,{title:"Emergency Self Destruct",children:[(0,o.createComponentVNode)(2,c.Button,{icon:u?"lock":"unlock",content:u?"Disable Safety":"Enable Safety",selected:u,onClick:function(){return l("arm",{})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"bomb",disabled:u,content:"Destroy ALL Cyborgs",color:"bad",onClick:function(){return l("nuke",{})}})]}),(0,o.createComponentVNode)(2,i,{cyborgs:C,can_hack:s})]})})};var i=function(e,n){var t=e.cyborgs,a=(e.can_hack,(0,r.useBackend)(n)),i=a.act,l=a.data;return t.length?t.map((function(e){return(0,o.createComponentVNode)(2,c.Section,{title:e.name,buttons:(0,o.createFragment)([!!e.hackable&&!e.emagged&&(0,o.createComponentVNode)(2,c.Button,{icon:"terminal",content:"Hack",color:"bad",onClick:function(){return i("hackbot",{ref:e.ref})}}),(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:e.locked_down?"unlock":"lock",color:e.locked_down?"good":"default",content:e.locked_down?"Release":"Lockdown",disabled:!l.auth,onClick:function(){return i("stopbot",{ref:e.ref})}}),(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"bomb",content:"Detonate",disabled:!l.auth,color:"bad",onClick:function(){return i("killbot",{ref:e.ref})}})],0),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",children:(0,o.createComponentVNode)(2,c.Box,{color:e.status?"bad":e.locked_down?"average":"good",children:e.status?"Not Responding":e.locked_down?"Locked Down":"Nominal"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Location",children:(0,o.createComponentVNode)(2,c.Box,{children:e.locstring})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Integrity",children:(0,o.createComponentVNode)(2,c.ProgressBar,{color:e.health>50?"good":"bad",value:e.health/100})}),"number"==typeof e.charge&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Cell Charge",children:(0,o.createComponentVNode)(2,c.ProgressBar,{color:e.charge>30?"good":"bad",value:e.charge/100})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Cell Capacity",children:(0,o.createComponentVNode)(2,c.Box,{color:e.cell_capacity<3e4?"average":"good",children:e.cell_capacity})})],4)||(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Cell",children:(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No Power Cell"})}),!!e.is_hacked&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Safeties",children:(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"DISABLED"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Module",children:e.module}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Master AI",children:(0,o.createComponentVNode)(2,c.Box,{color:e.synchronization?"default":"average",children:e.synchronization||"None"})})]})},e.ref)})):(0,o.createComponentVNode)(2,c.NoticeBox,{children:"No cyborg units detected within access parameters."})}},52330:function(e,n,t){"use strict";n.__esModule=!0,n.RogueZones=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.RogueZones=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.timeout_percent,s=l.diffstep,u=l.difficulty,m=l.occupied,p=l.scanning,C=l.updated,h=l.debug,N=l.shuttle_location,V=l.shuttle_at_station,b=l.scan_ready,f=l.can_recall_shuttle;return(0,o.createComponentVNode)(2,a.Window,{width:360,height:250,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:"Current Area",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Mineral Content",children:u}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Shuttle Location",buttons:f&&(0,o.createComponentVNode)(2,c.Button,{color:"bad",icon:"rocket",onClick:function(){return i("recall_shuttle")},children:"Recall Shuttle"})||null,children:N}),m&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{color:"bad",labelColor:"bad",label:"Personnel",children:["WARNING: Area occupied by ",m," personnel!"]})||(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Personnel",color:"good",children:"No personnel detected."})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Scanner",buttons:(0,o.createComponentVNode)(2,c.Button,{disabled:!b,fluid:!0,icon:"search",onClick:function(){return i("scan_for_new")},children:"Scan For Asteroids"}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Scn Ramestat Core",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:d,maxValue:100,ranges:{good:[100,Infinity],average:[75,100],bad:[-Infinity,75]}})}),p&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Scanning",children:"In progress."})||null,C&&!p&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Info",children:"Updated shuttle destination!"})||null,h&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Debug",labelColor:"bad",children:[(0,o.createComponentVNode)(2,c.Box,{children:["Timeout Percent: ",d]}),(0,o.createComponentVNode)(2,c.Box,{children:["Diffstep: ",s]}),(0,o.createComponentVNode)(2,c.Box,{children:["Difficulty: ",u]}),(0,o.createComponentVNode)(2,c.Box,{children:["Occupied: ",m]}),(0,o.createComponentVNode)(2,c.Box,{children:["Debug: ",h]}),(0,o.createComponentVNode)(2,c.Box,{children:["Shuttle Location: ",N]}),(0,o.createComponentVNode)(2,c.Box,{children:["Shuttle at station: ",V]}),(0,o.createComponentVNode)(2,c.Box,{children:["Scan Ready: ",b]})]})||null]})})]})})}},59412:function(e,n,t){"use strict";n.__esModule=!0,n.RustCoreMonitorContent=n.RustCoreMonitor=void 0;var o=t(39812),r=t(71494),c=t(85952),a=t(74814);n.RustCoreMonitor=function(e,n){return(0,o.createComponentVNode)(2,c.Window,{width:627,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,i)})})};var i=function(e,n){var t=(0,r.useBackend)(n),c=t.act,i=t.data.cores;return(0,o.createComponentVNode)(2,a.Section,{title:"Cores",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"pencil-alt",content:"Set Tag",onClick:function(){return c("set_tag")}}),children:(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Position"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Field Status"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Reactant Mode"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Field Instability"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Field Temperature"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Field Strength"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Plasma Content"})]}),i.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:[e.x,", ",e.y,", ",e.z]}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:e.has_field?"Online":"Offline",selected:e.has_field,disabled:!e.core_operational,onClick:function(){return c("toggle_active",{core:e.ref})}})}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:e.reactant_dump?"Dump":"Maintain",selected:e.has_field,disabled:!e.core_operational,onClick:function(){return c("toggle_reactantdump",{core:e.ref})}})}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.field_instability}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.field_temperature}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:(0,o.createComponentVNode)(2,a.Knob,{forcedInputWidth:"60px",size:1.25,color:!!e.has_field&&"yellow",value:e.target_field_strength,unit:"(W.m^-3)",minValue:1,maxValue:1e3,stepPixelSize:1,onDrag:function(n,t){return c("set_fieldstr",{core:e.ref,fieldstr:t})}})}),(0,o.createComponentVNode)(2,a.Table.Cell)]},e.name)}))]})})};n.RustCoreMonitorContent=i},59327:function(e,n,t){"use strict";n.__esModule=!0,n.RustFuelContent=n.RustFuelControl=void 0;var o=t(39812),r=t(71494),c=t(85952),a=t(74814);n.RustFuelControl=function(e,n){return(0,o.createComponentVNode)(2,c.Window,{width:627,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,i)})})};var i=function(e,n){var t=(0,r.useBackend)(n),c=t.act,i=t.data.fuels;return(0,o.createComponentVNode)(2,a.Section,{title:"Fuel Injectors",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"pencil-alt",content:"Set Tag",onClick:function(){return c("set_tag")}}),children:(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Position"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Status"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Remaining Fuel"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Fuel Rod Composition"})]}),i.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:[e.x,", ",e.y,", ",e.z]}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:e.active?"Online":"Offline",selected:e.active,disabled:!e.deployed,onClick:function(){return c("toggle_active",{fuel:e.ref})}})}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.fuel_amt}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.fuel_type})]},e.name)}))]})})};n.RustFuelContent=i},54943:function(e,n,t){"use strict";n.__esModule=!0,n.Secbot=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.Secbot=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.on,s=l.open,u=l.locked,m=l.idcheck,p=l.check_records,C=l.check_arrest,h=l.arrest_type,N=l.declare_arrests,V=l.bot_patrolling,b=l.patrol;return(0,o.createComponentVNode)(2,a.Window,{width:390,height:320,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Automatic Security Unit v2.0",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:d,onClick:function(){return i("power")},children:d?"On":"Off"}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Maintenance Panel",color:s?"bad":"good",children:s?"Open":"Closed"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Behavior Controls",color:u?"good":"bad",children:u?"Locked":"Unlocked"})]})}),!u&&(0,o.createComponentVNode)(2,c.Section,{title:"Behavior Controls",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Check for Weapon Authorization",children:(0,o.createComponentVNode)(2,c.Button,{icon:m?"toggle-on":"toggle-off",selected:m,onClick:function(){return i("idcheck")},children:m?"Yes":"No"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Check Security Records",children:(0,o.createComponentVNode)(2,c.Button,{icon:p?"toggle-on":"toggle-off",selected:p,onClick:function(){return i("ignorerec")},children:p?"Yes":"No"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Check Arrest Status",children:(0,o.createComponentVNode)(2,c.Button,{icon:C?"toggle-on":"toggle-off",selected:C,onClick:function(){return i("ignorearr")},children:C?"Yes":"No"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Operating Mode",children:(0,o.createComponentVNode)(2,c.Button,{icon:h?"toggle-on":"toggle-off",selected:h,onClick:function(){return i("switchmode")},children:h?"Detain":"Arrest"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Report Arrests",children:(0,o.createComponentVNode)(2,c.Button,{icon:N?"toggle-on":"toggle-off",selected:N,onClick:function(){return i("declarearrests")},children:N?"Yes":"No"})}),!!V&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Auto Patrol",children:(0,o.createComponentVNode)(2,c.Button,{icon:b?"toggle-on":"toggle-off",selected:b,onClick:function(){return i("patrol")},children:b?"Yes":"No"})})]})})||null]})})}},57436:function(e,n,t){"use strict";n.__esModule=!0,n.SecureSafe=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.locked,d=i.l_setshort,s=i.code,u=i.emagged;return(0,o.createComponentVNode)(2,c.Box,{width:"185px",children:(0,o.createComponentVNode)(2,c.Grid,{width:"1px",children:[["1","4","7","R"],["2","5","8","0"],["3","6","9","E"]].map((function(e){return(0,o.createComponentVNode)(2,c.Grid.Column,{children:e.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{fluid:!0,bold:!0,mb:"6px",content:e,textAlign:"center",fontSize:"40px",height:"50px",lineHeight:1.25,disabled:!!u||!!d&&1||"R"!==e&&!l||"ERROR"===s&&"R"!==e&&1,onClick:function(){return a("type",{digit:e})}},e)}))},e[0])}))})})};n.SecureSafe=function(e,n){var t=(0,r.useBackend)(n),l=(t.act,t.data),d=l.code,s=l.l_setshort,u=l.l_set,m=l.emagged,p=l.locked,C=!(u||s);return(0,o.createComponentVNode)(2,a.Window,{width:250,height:380,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Box,{m:"6px",children:[C&&(0,o.createComponentVNode)(2,c.NoticeBox,{textAlign:"center",info:1,children:"ENTER NEW 5-DIGIT PASSCODE."}),!!m&&(0,o.createComponentVNode)(2,c.NoticeBox,{textAlign:"center",danger:1,children:"LOCKING SYSTEM ERROR - 1701"}),!!s&&(0,o.createComponentVNode)(2,c.NoticeBox,{textAlign:"center",danger:1,children:"ALERT: MEMORY SYSTEM ERROR - 6040 201"}),(0,o.createComponentVNode)(2,c.Section,{height:"60px",children:(0,o.createComponentVNode)(2,c.Box,{textAlign:"center",position:"center",fontSize:"35px",children:d&&d||(0,o.createComponentVNode)(2,c.Box,{textColor:p?"red":"green",children:p?"LOCKED":"UNLOCKED"})})}),(0,o.createComponentVNode)(2,c.Flex,{ml:"3px",children:[(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,i)}),(0,o.createComponentVNode)(2,c.Flex.Item,{ml:"6px",width:"129px"})]})]})})})}},71915:function(e,n,t){"use strict";n.__esModule=!0,n.SecurityRecords=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(16007),i=t(85952),l=t(28117),d=t(1192),s=t(36355),u=(t(2497),function(e,n){(0,a.modalOpen)(e,"edit",{field:n.edit,value:n.value})});n.SecurityRecords=function(e,n){var t,u=(0,r.useBackend)(n).data,h=u.authenticated,N=u.screen;return h?(2===N?t=(0,o.createComponentVNode)(2,m):3===N?t=(0,o.createComponentVNode)(2,p):4===N&&(t=(0,o.createComponentVNode)(2,C)),(0,o.createComponentVNode)(2,i.Window,{width:700,height:680,resizable:!0,children:[(0,o.createComponentVNode)(2,a.ComplexModal,{maxHeight:"100%",maxWidth:"400px"}),(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,l.LoginInfo),(0,o.createComponentVNode)(2,s.TemporaryNotice),(0,o.createComponentVNode)(2,V),(0,o.createComponentVNode)(2,c.Section,{flexGrow:!0,children:t})]})]})):(0,o.createComponentVNode)(2,i.Window,{width:700,height:680,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:(0,o.createComponentVNode)(2,d.LoginScreen)})})};var m=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.records;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Input,{fluid:!0,placeholder:"Search by Name, DNA, or ID",onChange:function(e,n){return a("search",{t1:n})}}),(0,o.createComponentVNode)(2,c.Box,{mt:"0.5rem",children:i.map((function(e,n){return(0,o.createComponentVNode)(2,c.Button,{icon:"user",mb:"0.5rem",color:e.color,content:e.id+": "+e.name+" (Criminal Status: "+e.criminal+")",onClick:function(){return a("d_rec",{d_rec:e.ref})}},n)}))})],4)},p=function(e,n){var t=(0,r.useBackend)(n).act;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"download",content:"Backup to Disk",disabled:!0}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Button,{icon:"upload",content:"Upload from Disk",my:"0.5rem",disabled:!0}),(0,o.createTextVNode)(" "),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"trash",content:"Delete All Security Records",onClick:function(){return t("del_all")}})],4)},C=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.security,d=i.printing;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"General Data",mt:"-6px",children:(0,o.createComponentVNode)(2,h)}),(0,o.createComponentVNode)(2,c.Section,{title:"Security Data",children:(0,o.createComponentVNode)(2,N)}),(0,o.createComponentVNode)(2,c.Section,{title:"Actions",children:[(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"trash",disabled:!!l.empty,content:"Delete Security Record",color:"bad",onClick:function(){return a("del_r")}}),(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"trash",disabled:!!l.empty,content:"Delete Record (All)",color:"bad",onClick:function(){return a("del_r_2")}}),(0,o.createComponentVNode)(2,c.Button,{icon:d?"spinner":"print",disabled:d,iconSpin:!!d,content:"Print Entry",ml:"0.5rem",onClick:function(){return a("print_p")}}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-left",content:"Back",mt:"0.5rem",onClick:function(){return a("screen",{screen:2})}})]})],4)},h=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.general;return i&&i.fields?(0,o.createComponentVNode)(2,c.Flex,{children:[(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:i.fields.map((function(e,t){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.field,children:[(0,o.createComponentVNode)(2,c.Box,{height:"20px",inline:!0,preserveWhitespace:!0,children:e.value}),!!e.edit&&(0,o.createComponentVNode)(2,c.Button,{icon:"pen",ml:"0.5rem",onClick:function(){return u(n,e)}})]},t)}))})}),(0,o.createComponentVNode)(2,c.Flex.Item,{textAlign:"right",children:[!!i.has_photos&&i.photos.map((function(e,n){return(0,o.createComponentVNode)(2,c.Box,{display:"inline-block",textAlign:"center",color:"label",children:[(0,o.createVNode)(1,"img",null,null,1,{src:e.substr(1,e.length-1),style:{width:"96px","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createVNode)(1,"br"),"Photo #",n+1]},n)})),(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return a("photo_front")},children:"Update Front Photo"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return a("photo_side")},children:"Update Side Photo"})]})]})]}):(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"General records lost!"})},N=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data.security;return l&&l.fields?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.LabeledList,{children:l.fields.map((function(e,t){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.field,preserveWhitespace:!0,children:[e.value,(0,o.createComponentVNode)(2,c.Button,{icon:"pen",ml:"0.5rem",mb:e.line_break?"1rem":"initial",onClick:function(){return u(n,e)}})]},t)}))}),(0,o.createComponentVNode)(2,c.Section,{title:"Comments/Log",children:[0===l.comments.length?(0,o.createComponentVNode)(2,c.Box,{color:"label",children:"No comments found."}):l.comments.map((function(e,n){return(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Box,{color:"label",inline:!0,children:e.header}),(0,o.createVNode)(1,"br"),e.text,(0,o.createComponentVNode)(2,c.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){return i("del_c",{del_c:n+1})}})]},n)})),(0,o.createComponentVNode)(2,c.Button,{icon:"comment",content:"Add Entry",color:"good",mt:"0.5rem",mb:"0",onClick:function(){return(0,a.modalOpen)(n,"add_c")}})]})],4):(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:["Security records lost!",(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"New Record",ml:"0.5rem",onClick:function(){return i("new")}})]})},V=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.screen;return(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:2===i,icon:"list",onClick:function(){return a("screen",{screen:2})},children:"List Records"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{icon:"wrench",selected:3===i,onClick:function(){return a("screen",{screen:3})},children:"Record Maintenance"})]})}},93550:function(e,n,t){"use strict";n.__esModule=!0,n.SeedStorage=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(2497),l=t(64499);n.SeedStorage=function(e,n){var t=(0,r.useBackend)(n),d=t.act,s=t.data,u=(s.scanner,s.seeds),m=(0,l.sortBy)((function(e){return e.name.toLowerCase()}))(u);return(0,o.createComponentVNode)(2,a.Window,{width:600,height:760,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c.Section,{title:"Seeds",children:m.map((function(e){return(0,o.createComponentVNode)(2,c.Flex,{spacing:1,mt:-1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"60%",children:(0,o.createComponentVNode)(2,c.Collapsible,{title:(0,i.toTitleCase)(e.name)+" #"+e.uid,children:(0,o.createComponentVNode)(2,c.Section,{width:"165%",title:"Traits",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:Object.keys(e.traits).map((function(n){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:(0,i.toTitleCase)(n),children:e.traits[n]},n)}))})})})}),(0,o.createComponentVNode)(2,c.Flex.Item,{mt:.4,children:[e.amount," Remaining"]}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"download",onClick:function(){return d("vend",{id:e.id})},children:"Vend"})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"trash",onClick:function(){return d("purge",{id:e.id})},children:"Purge"})})]},e.name+e.uid)}))})})})}},16765:function(e,n,t){"use strict";n.__esModule=!0,n.ShieldCapacitor=void 0;var o=t(39812),r=t(71494),c=t(85952),a=t(74814),i=t(41860),l=t(58083);n.ShieldCapacitor=function(e,n){var t=(0,r.useBackend)(n),d=t.act,s=t.data,u=s.active,m=s.time_since_fail,p=s.stored_charge,C=s.max_charge,h=s.charge_rate,N=s.max_charge_rate;return(0,o.createComponentVNode)(2,c.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",selected:u,content:u?"Online":"Offline",onClick:function(){return d("toggle")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Capacitor Status",children:m>2?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"OK."}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Discharging!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stored Energy",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:p,format:function(e){return(0,l.formatSiUnit)(e,0,"J")}})," (",(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:100*(0,i.round)(p/C,1)}),"%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Charge Rate",children:(0,o.createComponentVNode)(2,a.NumberInput,{value:h,step:100,stepPixelSize:.2,minValue:1e4,maxValue:N,format:function(e){return(0,l.formatPower)(e)},onDrag:function(e,n){return d("charge_rate",{rate:n})}})})]})})})})}},79229:function(e,n,t){"use strict";n.__esModule=!0,n.ShieldGenerator=void 0;var o=t(39812),r=t(71494),c=t(85952),a=t(74814),i=t(41860),l=t(58083),d=t(67861);n.ShieldGenerator=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data.locked);return(0,o.createComponentVNode)(2,c.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:a?(0,o.createComponentVNode)(2,s):(0,o.createComponentVNode)(2,u)})})};var s=function(e,n){return(0,o.createComponentVNode)(2,d.FullscreenNotice,{title:"Locked",children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:"1.5rem",bold:!0,children:(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"})}),(0,o.createComponentVNode)(2,a.Box,{color:"label",my:"1rem",children:"Swipe your ID to begin."})]})},u=function(e,n){var t=(0,r.useBackend)(n),c=t.act,d=t.data.lockedData,s=d.capacitors,u=d.active,m=d.failing,p=d.radius,C=d.max_radius,h=d.z_range,N=d.max_z_range,V=d.average_field_strength,b=d.target_field_strength,f=d.max_field_strength,g=d.shields,k=d.upkeep,v=d.strengthen_rate,B=d.max_strengthen_rate,L=d.gen_power,_=(s||[]).length;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Field Status",children:m?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Unstable"}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Stable"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Overall Field Strength",children:[(0,i.round)(V,2)," Renwick (",b&&(0,i.round)(100*V/b,1)||"NA","%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Upkeep Power",children:(0,l.formatPower)(k)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Shield Generation Power",children:(0,l.formatPower)(L)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Currently Shielded",children:[g," m\xb2"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Capacitors",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:_?s.map((function(e,n){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Capacitor #"+n,children:[e.active?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Online"}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Offline"}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Charge",children:[(0,l.formatSiUnit)(e.stored_charge,0,"J")," (",100*(0,i.round)(e.stored_charge/e.max_charge,2),"%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",children:e.failing?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Discharging"}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"OK."})})]})]},n)})):(0,o.createComponentVNode)(2,a.LabeledList.Item,{color:"bad",children:"No Capacitors Connected"})})})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Controls",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:u?"Online":"Offline",selected:u,onClick:function(){return c("toggle")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Coverage Radius",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:6,minValue:0,maxValue:C,value:p,unit:"m",onDrag:function(e,n){return c("change_radius",{val:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Vertical Shielding",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:12,minValue:0,maxValue:N,value:h,unit:"vertical range",onDrag:function(e,n){return c("z_range",{val:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Charge Rate",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:12,minValue:0,step:.1,maxValue:B,value:v,format:function(e){return(0,i.round)(e,1)},unit:"Renwick/s",onDrag:function(e,n){return c("strengthen_rate",{val:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Maximum Field Strength",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:12,minValue:1,maxValue:f,value:b,unit:"Renwick",onDrag:function(e,n){return c("target_field_strength",{val:n})}})})]})})],4)}},89957:function(e,n,t){"use strict";n.__esModule=!0,n.ShutoffMonitorContent=n.ShutoffMonitor=void 0;var o=t(39812),r=t(71494),c=t(85952),a=t(74814);n.ShutoffMonitor=function(e,n){return(0,o.createComponentVNode)(2,c.Window,{width:627,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,i)})})};var i=function(e,n){var t=(0,r.useBackend)(n),c=t.act,i=t.data.valves;return(0,o.createComponentVNode)(2,a.Section,{title:"Valves",children:(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Position"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Open"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Mode"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Actions"})]}),i.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:[e.x,", ",e.y,", ",e.z]}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.open?"Yes":"No"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.enabled?"Auto":"Manual"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:e.open?"Opened":"Closed",selected:e.open,disabled:!e.enabled,onClick:function(){return c("toggle_open",{valve:e.ref})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:e.enabled?"Auto":"Manual",selected:e.enabled,onClick:function(){return c("toggle_enable",{valve:e.ref})}})]})]},e.name)}))]})})};n.ShutoffMonitorContent=i},34404:function(e,n,t){"use strict";n.__esModule=!0,n.ShuttleControl=void 0;var o=t(39812),r=t(2497),c=t(71494),a=t(74814),i=t(85952),l=function(e,n){var t="ERROR",r="bad",c=!1;return"docked"===e?(t="DOCKED",r="good"):"docking"===e?(t="DOCKING",r="average",c=!0):"undocking"===e?(t="UNDOCKING",r="average",c=!0):"undocked"===e&&(t="UNDOCKED",r="#676767"),c&&n&&(t+="-MANUAL"),(0,o.createComponentVNode)(2,a.Box,{color:r,children:t})},d=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,d=e.engineName,s=void 0===d?"Bluespace Drive":d,u=i.shuttle_status,m=i.shuttle_state,p=i.has_docking,C=i.docking_status,h=i.docking_override,N=i.docking_codes;return(0,o.createComponentVNode)(2,a.Section,{title:"Shuttle Status",children:[(0,o.createComponentVNode)(2,a.Box,{color:"label",mb:1,children:u}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:s,children:"idle"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#676767",bold:!0,children:"IDLE"})||"warmup"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"SPINNING UP"})||"in_transit"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"ENGAGED"})||(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR"})}),p&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Docking Status",children:l(C,h)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Docking Codes",children:(0,o.createComponentVNode)(2,a.Button,{icon:"pen",onClick:function(){return r("set_codes")},children:N||"Not Set"})})],4)||null]})]})},s=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=i.can_launch,d=i.can_cancel,s=i.can_force;return(0,o.createComponentVNode)(2,a.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,a.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("move")},disabled:!l,icon:"rocket",fluid:!0,children:"Launch Shuttle"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("cancel")},disabled:!d,icon:"ban",fluid:!0,children:"Cancel Launch"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("force")},color:"bad",disabled:!s,icon:"exclamation-triangle",fluid:!0,children:"Force Launch"})})]})})},u={ShuttleControlConsoleDefault:(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n);t.act,t.data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,s)],4)})),ShuttleControlConsoleMulti:(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=i.can_cloak,u=i.can_pick,m=i.legit,p=i.cloaked,C=i.destination_name;return(0,o.createFragment)([(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,a.Section,{title:"Multishuttle Controls",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[l&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:m?"ATC Inhibitor":"Cloaking",children:(0,o.createComponentVNode)(2,a.Button,{selected:p,icon:p?"eye":"eye-o",onClick:function(){return r("toggle_cloaked")},children:p?"Enabled":"Disabled"})})||null,(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Destination",children:(0,o.createComponentVNode)(2,a.Button,{icon:"taxi",disabled:!u,onClick:function(){return r("pick")},children:C})})]})}),(0,o.createComponentVNode)(2,s)],4)})),ShuttleControlConsoleExploration:(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=i.can_pick,u=i.destination_name,m=i.fuel_usage,p=i.fuel_span,C=i.remaining_fuel;return(0,o.createFragment)([(0,o.createComponentVNode)(2,d,{engineName:"Engines"}),(0,o.createComponentVNode)(2,a.Section,{title:"Jump Controls",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Destination",children:(0,o.createComponentVNode)(2,a.Button,{icon:"taxi",disabled:!l,onClick:function(){return r("pick")},children:u})}),m&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Est. Delta-V Budget",color:p,children:[C," m/s"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Avg. Delta-V Per Maneuver",children:[m," m/s"]})],4)||null]})}),(0,o.createComponentVNode)(2,s)],4)})),ShuttleControlConsoleWeb:(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n),i=t.act,d=t.data,s=d.autopilot,u=d.can_rename,m=d.shuttle_state,p=d.is_moving,C=d.skip_docking,h=d.docking_status,N=d.docking_override,V=d.shuttle_location,b=d.can_cloak,f=d.cloaked,g=d.can_autopilot,k=d.routes,v=d.is_in_transit,B=d.travel_progress,L=d.time_left,_=d.doors,x=d.sensors;return(0,o.createFragment)([s&&(0,o.createComponentVNode)(2,a.Section,{title:"AI PILOT (CLASS D) ACTIVE",children:(0,o.createComponentVNode)(2,a.Box,{inline:!0,italic:!0,children:"This vessel will start and stop automatically. Ensure that all non-cycling capable hatches and doors are closed, as the automated system may not be able to control them. Docking and flight controls are locked. To unlock, disable the automated flight system."})})||null,(0,o.createComponentVNode)(2,a.Section,{title:"Shuttle Status",buttons:u&&(0,o.createComponentVNode)(2,a.Button,{icon:"pen",onClick:function(){return i("rename_command")},children:"Rename"})||null,children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Engines",children:"idle"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#676767",bold:!0,children:"IDLE"})||"warmup"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"SPINNING UP"})||"in_transit"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"ENGAGED"})||(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR"})}),!p&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Location",children:(0,r.toTitleCase)(V)}),!C&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Docking Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{selected:"docked"===h,disabled:"undocked"!==h&&"docked"!==h,onClick:function(){return i("dock_command")},children:"Dock"}),(0,o.createComponentVNode)(2,a.Button,{selected:"undocked"===h,disabled:"docked"!==h&&"undocked"!==h,onClick:function(){return i("undock_command")},children:"Undock"})],4),children:(0,o.createComponentVNode)(2,a.Box,{bold:!0,inline:!0,children:l(h,N)})})||null,b&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Cloaking",children:(0,o.createComponentVNode)(2,a.Button,{selected:f,icon:f?"eye":"eye-o",onClick:function(){return i("toggle_cloaked")},children:f?"Enabled":"Disabled"})})||null,g&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Autopilot",children:(0,o.createComponentVNode)(2,a.Button,{selected:s,icon:s?"eye":"eye-o",onClick:function(){return i("toggle_autopilot")},children:s?"Enabled":"Disabled"})})||null],0)||null]}),!p&&(0,o.createComponentVNode)(2,a.Section,{level:2,title:"Available Destinations",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:k.length&&k.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name,children:(0,o.createComponentVNode)(2,a.Button,{icon:"rocket",onClick:function(){return i("traverse",{traverse:e.index})},children:e.travel_time})},e.name)}))||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Error",color:"bad",children:"No routes found."})})})||null]}),v&&(0,o.createComponentVNode)(2,a.Section,{title:"Transit ETA",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Distance from target",children:(0,o.createComponentVNode)(2,a.ProgressBar,{color:"good",minValue:0,maxValue:100,value:B,children:[L,"s"]})})})})||null,Object.keys(_).length&&(0,o.createComponentVNode)(2,a.Section,{title:"Hatch Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:Object.keys(_).map((function(e){var n=_[e];return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,children:[n.open&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"bad",children:"Open"})||(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"good",children:"Closed"}),"\xa0-\xa0",n.bolted&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"good",children:"Bolted"})||(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"bad",children:"Unbolted"})]},e)}))})})||null,Object.keys(x).length&&(0,o.createComponentVNode)(2,a.Section,{title:"Sensors",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:Object.keys(x).map((function(e){var n=x[e];return-1!==n.reading?(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,color:"bad",children:"Unable to get sensor air reading."}):(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pressure",children:[n.pressure,"kPa"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Temperature",children:[n.temp,"\xb0C"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Oxygen",children:[n.oxygen,"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Nitrogen",children:[n.nitrogen,"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Carbon Dioxide",children:[n.carbon_dioxide,"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Phoron",children:[n.phoron,"%"]}),n.other&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Other",children:[n.other,"%"]})||null]})},e)}))})})||null],0)}))};n.ShuttleControl=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data.subtemplate);return(0,o.createComponentVNode)(2,i.Window,{width:470,height:"ShuttleControlConsoleWeb"===r?560:370,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:u[r]})})}},32325:function(e,n,t){"use strict";n.__esModule=!0,n.SignalerContent=n.Signaler=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(85952);n.Signaler=function(e,n){return(0,o.createComponentVNode)(2,i.Window,{width:280,height:132,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,d=l.code,s=l.frequency,u=l.minFrequency,m=l.maxFrequency;return(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Grid,{children:[(0,o.createComponentVNode)(2,a.Grid.Column,{size:1.4,color:"label",children:"Frequency:"}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:6,minValue:u/10,maxValue:m/10,value:s/10,format:function(e){return(0,r.toFixed)(e,1)},width:"80px",onDrag:function(e,n){return i("freq",{freq:n})}})}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.Button,{ml:1.3,icon:"sync",content:"Reset",onClick:function(){return i("reset",{reset:"freq"})}})})]}),(0,o.createComponentVNode)(2,a.Grid,{mt:.6,children:[(0,o.createComponentVNode)(2,a.Grid.Column,{size:1.4,color:"label",children:"Code:"}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:d,width:"80px",onDrag:function(e,n){return i("code",{code:n})}})}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.Button,{ml:1.3,icon:"sync",content:"Reset",onClick:function(){return i("reset",{reset:"code"})}})})]}),(0,o.createComponentVNode)(2,a.Grid,{mt:.8,children:(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.Button,{mb:-.1,fluid:!0,icon:"arrow-up",content:"Send Signal",textAlign:"center",onClick:function(){return i("signal")}})})})]})};n.SignalerContent=l},80646:function(e,n,t){"use strict";n.__esModule=!0,n.Sleeper=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(85952),l=[["good","Alive"],["average","Unconscious"],["bad","DEAD"]],d=[["Resp","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],s={average:[.25,.5],bad:[.5,Infinity]},u=["bad","average","average","good","average","average","bad"];n.Sleeper=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data.hasOccupant?(0,o.createComponentVNode)(2,m):(0,o.createComponentVNode)(2,V));return(0,o.createComponentVNode)(2,i.Window,{width:550,height:760,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{className:"Layout__content--flexColumn",children:r})})};var m=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data),a=(r.occupant,r.dialysis),i=r.stomachpumping;return(0,o.createFragment)([(0,o.createComponentVNode)(2,p),(0,o.createComponentVNode)(2,C),(0,o.createComponentVNode)(2,h,{title:"Dialysis",active:a,actToDo:"togglefilter"}),(0,o.createComponentVNode)(2,h,{title:"Stomach Pump",active:i,actToDo:"togglepump"}),(0,o.createComponentVNode)(2,N)],4)},p=function(e,n){var t=(0,c.useBackend)(n),i=t.act,d=t.data,s=d.occupant,m=d.auto_eject_dead,p=d.stasis;return(0,o.createComponentVNode)(2,a.Section,{title:"Occupant",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{color:"label",inline:!0,children:"Auto-eject if dead:\xa0"}),(0,o.createComponentVNode)(2,a.Button,{icon:m?"toggle-on":"toggle-off",selected:m,content:m?"On":"Off",onClick:function(){return i("auto_eject_dead_"+(m?"off":"on"))}}),(0,o.createComponentVNode)(2,a.Button,{icon:"user-slash",content:"Eject",onClick:function(){return i("ejectify")}}),(0,o.createComponentVNode)(2,a.Button,{content:p,onClick:function(){return i("changestasis")}})],4),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:s.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:0,max:s.maxHealth,value:s.health/s.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]},children:(0,r.round)(s.health,0)})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",color:l[s.stat][0],children:l[s.stat][1]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:s.maxTemp,value:s.bodyTemperature/s.maxTemp,color:u[s.temperatureSuitability+3],children:[(0,r.round)(s.btCelsius,0),"\xb0C,",(0,r.round)(s.btFaren,0),"\xb0F"]})}),!!s.hasBlood&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Blood Level",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:s.bloodMax,value:s.bloodLevel/s.bloodMax,ranges:{bad:[-Infinity,.6],average:[.6,.9],good:[.6,Infinity]},children:[s.bloodPercent,"%, ",s.bloodLevel,"cl"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pulse",verticalAlign:"middle",children:[s.pulse," BPM"]})],4)]})})},C=function(e,n){var t=(0,c.useBackend)(n).data.occupant;return(0,o.createComponentVNode)(2,a.Section,{title:"Damage",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:d.map((function(e,n){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e[0],children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:t[e[1]]/100,ranges:s,children:(0,r.round)(t[e[1]],0)},n)},n)}))})})},h=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=i.isBeakerLoaded,d=i.beakerMaxSpace,s=i.beakerFreeSpace,u=e.active,m=e.actToDo,p=e.title,C=u&&s>0;return(0,o.createComponentVNode)(2,a.Section,{title:p,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{disabled:!l||s<=0,selected:C,icon:C?"toggle-on":"toggle-off",content:C?"Active":"Inactive",onClick:function(){return r(m)}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return r("removebeaker")}})],4),children:l?(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Remaining Space",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:d,value:s/d,ranges:{good:[.5,Infinity],average:[.25,.5],bad:[-Infinity,.25]},children:[s,"u"]})})}):(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No beaker loaded."})})},N=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=i.occupant,d=i.chemicals,s=i.maxchem,u=i.amounts;return(0,o.createComponentVNode)(2,a.Section,{title:"Chemicals",flexGrow:"1",children:d.map((function(e,n){var t,c="";return e.overdosing?(c="bad",t=(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-circle"}),"\xa0 Overdosing!"]})):e.od_warning&&(c="average",t=(0,o.createComponentVNode)(2,a.Box,{color:"average",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-triangle"}),"\xa0 Close to overdosing"]})),(0,o.createComponentVNode)(2,a.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,o.createComponentVNode)(2,a.Section,{title:e.title,level:"3",mx:"0",lineHeight:"18px",buttons:t,children:(0,o.createComponentVNode)(2,a.Flex,{align:"flex-start",children:[(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:s,value:e.occ_amount/s,color:c,mr:"0.5rem",children:[e.pretty_amount,"/",s,"u"]}),u.map((function(n,t){return(0,o.createComponentVNode)(2,a.Button,{disabled:!e.injectable||e.occ_amount+n>s||2===l.stat,icon:"syringe",content:n,mb:"0",height:"19px",onClick:function(){return r("chemical",{chemid:e.id,amount:n})}},t)}))]})})},n)}))})},V=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.isBeakerLoaded;return(0,o.createComponentVNode)(2,a.Section,{textAlign:"center",flexGrow:"1",children:(0,o.createComponentVNode)(2,a.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant detected.",i&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Remove Beaker",onClick:function(){return r("removebeaker")}})})||null]})})})}},55896:function(e,n,t){"use strict";n.__esModule=!0,n.SmartVend=void 0;var o=t(39812),r=t(64499),c=t(71494),a=t(74814),i=t(85952);n.SmartVend=function(e,n){var t=(0,c.useBackend)(n),l=t.act,d=t.config,s=t.data;return(0,o.createComponentVNode)(2,i.Window,{width:440,height:550,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,a.Section,{title:"Storage",children:[s.secure&&(0,o.createComponentVNode)(2,a.NoticeBox,{danger:-1===s.locked,info:-1!==s.locked,children:-1===s.locked?(0,o.createComponentVNode)(2,a.Box,{children:"Sec.re ACC_** //):securi_nt.diag=>##'or 1=1'%($..."}):(0,o.createComponentVNode)(2,a.Box,{children:"Secure Access: Please have your identification ready."})})||null,0===s.contents.length&&(0,o.createComponentVNode)(2,a.NoticeBox,{children:["Unfortunately, this ",d.title," is empty."]})||(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:"Item"}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,textAlign:"center",children:"Amount"}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,textAlign:"center",children:"Dispense"})]}),(0,r.map)((function(e,n){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,textAlign:"center",children:[e.amount," in stock"]}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:[(0,o.createComponentVNode)(2,a.Button,{content:"1",disabled:e.amount<1,onClick:function(){return l("Release",{index:e.index,amount:1})}}),(0,o.createComponentVNode)(2,a.Button,{content:"5",disabled:e.amount<5,onClick:function(){return l("Release",{index:e.index,amount:5})}}),(0,o.createComponentVNode)(2,a.Button,{content:"Custom",disabled:e.amount<1,onClick:function(){return l("Release",{index:e.index})}}),(0,o.createComponentVNode)(2,a.Button,{content:"All",disabled:e.amount<1,onClick:function(){return l("Release",{index:e.index,amount:e.amount})}})]})]},n)}))(s.contents)]})]})})})}},20561:function(e,n,t){"use strict";n.__esModule=!0,n.Smes=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(58083),i=t(85952),l=t(41860),d=1e3;n.Smes=function(e,n){var t=(0,r.useBackend)(n),s=t.act,u=t.data,m=u.capacityPercent,p=u.capacity,C=u.charge,h=u.inputAttempt,N=u.inputting,V=u.inputLevel,b=u.inputLevelMax,f=u.inputAvailable,g=u.outputAttempt,k=u.outputting,v=u.outputLevel,B=u.outputLevelMax,L=u.outputUsed,_=(m>=100?"good":N&&"average")||"bad",x=(k?"good":C>0&&"average")||"bad";return(0,o.createComponentVNode)(2,i.Window,{width:340,height:350,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:"Stored Energy",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:.01*m,ranges:{good:[.5,Infinity],average:[.15,.5],bad:[-Infinity,.15]},children:[(0,l.round)(C/6e4,1)," kWh / ",(0,l.round)(p/6e4)," kWh (",m,"%)"]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Input",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Charge Mode",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:h?"sync-alt":"times",selected:h,onClick:function(){return s("tryinput")},children:h?"On":"Off"}),children:(0,o.createComponentVNode)(2,c.Box,{color:_,children:(m>=100?"Fully Charged":N&&"Charging")||"Not Charging"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Target Input",children:(0,o.createComponentVNode)(2,c.Flex,{inline:!0,width:"100%",children:[(0,o.createComponentVNode)(2,c.Flex.Item,{children:[(0,o.createComponentVNode)(2,c.Button,{icon:"fast-backward",disabled:0===V,onClick:function(){return s("input",{target:"min"})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"backward",disabled:0===V,onClick:function(){return s("input",{adjust:-1e4})}})]}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,mx:1,children:(0,o.createComponentVNode)(2,c.Slider,{value:V/d,fillValue:f/d,minValue:0,maxValue:b/d,step:5,stepPixelSize:4,format:function(e){return(0,a.formatPower)(e*d,1)},onDrag:function(e,n){return s("input",{target:n*d})}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:[(0,o.createComponentVNode)(2,c.Button,{icon:"forward",disabled:V===b,onClick:function(){return s("input",{adjust:1e4})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"fast-forward",disabled:V===b,onClick:function(){return s("input",{target:"max"})}})]})]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Available",children:(0,a.formatPower)(f)})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Output",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Output Mode",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:g?"power-off":"times",selected:g,onClick:function(){return s("tryoutput")},children:g?"On":"Off"}),children:(0,o.createComponentVNode)(2,c.Box,{color:x,children:k?"Sending":C>0?"Not Sending":"No Charge"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Target Output",children:(0,o.createComponentVNode)(2,c.Flex,{inline:!0,width:"100%",children:[(0,o.createComponentVNode)(2,c.Flex.Item,{children:[(0,o.createComponentVNode)(2,c.Button,{icon:"fast-backward",disabled:0===v,onClick:function(){return s("output",{target:"min"})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"backward",disabled:0===v,onClick:function(){return s("output",{adjust:-1e4})}})]}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,mx:1,children:(0,o.createComponentVNode)(2,c.Slider,{value:v/d,minValue:0,maxValue:B/d,step:5,stepPixelSize:4,format:function(e){return(0,a.formatPower)(e*d,1)},onDrag:function(e,n){return s("output",{target:n*d})}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:[(0,o.createComponentVNode)(2,c.Button,{icon:"forward",disabled:v===B,onClick:function(){return s("output",{adjust:1e4})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"fast-forward",disabled:v===B,onClick:function(){return s("output",{target:"max"})}})]})]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Outputting",children:(0,a.formatPower)(L)})]})})]})})}},21633:function(e,n,t){"use strict";n.__esModule=!0,n.SolarControl=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=t(41860);n.SolarControl=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.generated,u=d.generated_ratio,m=d.sun_angle,p=d.array_angle,C=d.rotation_rate,h=d.max_rotation_rate,N=d.tracking_state,V=d.connected_panels,b=d.connected_tracker;return(0,o.createComponentVNode)(2,a.Window,{width:380,height:230,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"sync",content:"Scan for new hardware",onClick:function(){return l("refresh")}}),children:(0,o.createComponentVNode)(2,c.Grid,{children:[(0,o.createComponentVNode)(2,c.Grid.Column,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Solar tracker",color:b?"good":"bad",children:b?"OK":"N/A"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Solar panels",color:V>0?"good":"bad",children:V})]})}),(0,o.createComponentVNode)(2,c.Grid.Column,{size:1.5,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power output",children:(0,o.createComponentVNode)(2,c.ProgressBar,{ranges:{good:[.66,Infinity],average:[.33,.66],bad:[-Infinity,.33]},minValue:0,maxValue:1,value:u,children:s+" W"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Star orientation",children:[m,"\xb0"]})]})})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Tracking",children:[(0,o.createComponentVNode)(2,c.Button,{icon:"times",content:"Off",selected:0===N,onClick:function(){return l("tracking",{mode:0})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"clock-o",content:"Timed",selected:1===N,onClick:function(){return l("tracking",{mode:1})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"sync",content:"Auto",selected:2===N,disabled:!b,onClick:function(){return l("tracking",{mode:2})}})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Azimuth",children:[(0===N||1===N)&&(0,o.createComponentVNode)(2,c.NumberInput,{width:"52px",unit:"\xb0",step:1,stepPixelSize:2,minValue:-360,maxValue:720,value:p,format:function(e){var n=Math.sign(e)>0?" (CW)":" (CCW)";return Math.abs((0,i.round)(e))+n},onDrag:function(e,n){return l("azimuth",{value:n})}}),1===N&&(0,o.createComponentVNode)(2,c.NumberInput,{width:"80px",unit:"deg/h",step:1,minValue:-h-.01,maxValue:h+.01,value:C,format:function(e){var n=Math.sign(e)>0?" (CW)":" (CCW)";return Math.abs((0,i.round)(e))+n},onDrag:function(e,n){return l("azimuth_rate",{value:n})}}),2===N&&(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:"label",mt:"3px",children:[p+"\xb0"," (auto)"]})]})]})})]})})}},57762:function(e,n,t){"use strict";n.__esModule=!0,n.SpaceHeater=void 0;var o=t(39812),r=t(76270),c=t(71494),a=t(74814),i=t(85952);n.SpaceHeater=function(e,n){var t=(0,c.useBackend)(n),l=t.act,d=t.data,s=d.temp,u=d.minTemp,m=d.maxTemp,p=d.cell,C=d.power;return(0,o.createComponentVNode)(2,i.Window,{width:300,height:250,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Target Temperature",children:[s," K (",s-r.T0C,"\xb0 C)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Charge",children:[C,"% ",!p&&"(No Cell Inserted)"]})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,a.LabeledControls,{children:[(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Thermostat",children:(0,o.createComponentVNode)(2,a.Knob,{animated:!0,value:s-r.T0C,minValue:u-r.T0C,maxValue:m-r.T0C,unit:"C",onChange:function(e,n){return l("temp",{newtemp:n+r.T0C})}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Cell",children:p?(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject Cell",onClick:function(){return l("cellremove")}}):(0,o.createComponentVNode)(2,a.Button,{icon:"car-battery",content:"Insert Cell",onClick:function(){return l("cellinstall")}})})]})})]})})}},58215:function(e,n,t){"use strict";n.__esModule=!0,n.Stack=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);t(88654);n.Stack=function(e,n){var t=(0,r.useBackend)(n),l=(t.act,t.data),d=l.amount,s=l.recipes;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c.Section,{title:"Amount: "+d,children:(0,o.createComponentVNode)(2,i,{recipes:s})})})})};var i=function s(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data,e.recipes);return Object.keys(a).sort().map((function(e){var n=a[e];return n.ref===undefined?(0,o.createComponentVNode)(2,c.Collapsible,{ml:1,mb:-.7,color:"label",title:e,children:(0,o.createComponentVNode)(2,c.Box,{ml:1,children:(0,o.createComponentVNode)(2,s,{recipes:n})})}):(0,o.createComponentVNode)(2,d,{title:e,recipe:n})}))},l=function(e,n){for(var t=(0,r.useBackend)(n),a=t.act,i=(t.data,e.recipe),l=e.maxMultiplier,d=Math.min(l,Math.floor(i.max_res_amount/i.res_amount)),s=[5,10,25],u=[],m=function(){var e=C[p];d>=e&&u.push((0,o.createComponentVNode)(2,c.Button,{content:e*i.res_amount+"x",onClick:function(){return a("make",{ref:i.ref,multiplier:e})}}))},p=0,C=s;p1?"s":""),C+=")",u>1&&(C=u+"x "+C);var h=function(e,n){return e.req_amount>n?0:Math.floor(n/e.req_amount)}(d,i);return(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Table,{children:(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,disabled:!h,icon:"wrench",content:C,onClick:function(){return a("make",{ref:d.ref,multiplier:1})}})}),m>1&&h>1&&(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,l,{recipe:d,maxMultiplier:h})})]})})})}},32015:function(e,n,t){"use strict";n.__esModule=!0,n.StationAlertConsoleContent=n.StationAlertConsole=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.StationAlertConsole=function(){return(0,o.createComponentVNode)(2,a.Window,{width:425,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,i)})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.categories;return(void 0===i?[]:i).map((function(e){return(0,o.createComponentVNode)(2,c.Section,{title:e.category,children:(0,o.createVNode)(1,"ul",null,[0===e.alarms.length&&(0,o.createVNode)(1,"li","color-good","Systems Nominal",16),e.alarms.map((function(e){var n="";return e.has_cameras?n=(0,o.createComponentVNode)(2,c.Section,{children:e.cameras.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{disabled:e.deact,content:e.name+(e.deact?" (deactived)":""),icon:"video",onClick:function(){return a("switchTo",{camera:e.camera})}},e.name)}))}):e.lost_sources&&(n=(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:["Lost Alarm Sources: ",e.lost_sources]})),(0,o.createVNode)(1,"li",null,[e.name,e.origin_lost?(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Alarm Origin Lost."}):"",n],0,null,e.name)}))],0)},e.category)}))};n.StationAlertConsoleContent=i},52649:function(e,n,t){"use strict";n.__esModule=!0,n.StationBlueprintsContent=n.StationBlueprints=void 0;var o=t(39812),r=(t(64499),t(85531),t(34380),t(2497),t(71494)),c=t(74814),a=t(85952);n.StationBlueprints=function(e,n){return(0,o.createComponentVNode)(2,a.Window,{width:870,height:708,resizable:!0,children:(0,o.createComponentVNode)(2,i)})};var i=function(e,n){var t=(0,r.useBackend)(n),i=(t.act,t.data),l=(t.config,i.mapRef);i.areas,i.turfs;return(0,o.createFragment)([(0,o.createVNode)(1,"div","CameraConsole__left",(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:"Honk!"}),2),(0,o.createVNode)(1,"div","CameraConsole__right",(0,o.createComponentVNode)(2,c.ByondUi,{className:"CameraConsole__map",params:{id:l,type:"map"}}),2)],4)};n.StationBlueprintsContent=i},72e3:function(e,n,t){"use strict";n.__esModule=!0,n.SuitCycler=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.SuitCycler=function(e,n){var t=(0,r.useBackend)(n),c=(t.act,t.data),u=c.active,m=c.locked,p=c.uv_active,C=(0,o.createComponentVNode)(2,i);return p?C=(0,o.createComponentVNode)(2,l):m?C=(0,o.createComponentVNode)(2,d):u&&(C=(0,o.createComponentVNode)(2,s)),(0,o.createComponentVNode)(2,a.Window,{width:320,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:C})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.safeties,d=i.occupied,s=i.suit,u=i.helmet,m=i.departments,p=i.species,C=i.uv_level,h=i.max_uv_level,N=i.can_repair,V=i.damage;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Storage",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"lock",content:"Lock",onClick:function(){return a("lock")}}),children:[!(!d||!l)&&(0,o.createComponentVNode)(2,c.NoticeBox,{children:["Biological entity detected in suit chamber. Please remove before continuing with operation.",(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"eject",color:"red",content:"Eject Entity",onClick:function(){return a("eject_guy")}})]}),(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Helmet",children:(0,o.createComponentVNode)(2,c.Button,{icon:u?"square":"square-o",content:u||"Empty",disabled:!u,onClick:function(){return a("dispense",{item:"helmet"})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Suit",children:(0,o.createComponentVNode)(2,c.Button,{icon:s?"square":"square-o",content:s||"Empty",disabled:!s,onClick:function(){return a("dispense",{item:"suit"})}})}),N&&V?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Suit Damage",children:[V,(0,o.createComponentVNode)(2,c.Button,{icon:"wrench",content:"Repair",onClick:function(){return a("repair_suit")}})]}):null]})]}),(0,o.createComponentVNode)(2,c.Section,{title:"Customization",children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Target Paintjob",children:(0,o.createComponentVNode)(2,c.Dropdown,{noscroll:!0,width:"100%",options:m,selected:m[0],onSelected:function(e){return a("department",{department:e})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Target Species",children:(0,o.createComponentVNode)(2,c.Dropdown,{width:"100%",maxHeight:"160px",options:p,selected:p[0],onSelected:function(e){return a("species",{species:e})}})})]}),(0,o.createComponentVNode)(2,c.Button,{mt:1,fluid:!0,content:"Customize",onClick:function(){return a("apply_paintjob")}})]}),(0,o.createComponentVNode)(2,c.Section,{title:"UV Decontamination",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Radiation Level",children:(0,o.createComponentVNode)(2,c.NumberInput,{width:"50px",value:C,minValue:1,maxValue:h,stepPixelSize:30,onChange:function(e,n){return a("radlevel",{radlevel:n})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Decontaminate",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"recycle",disabled:d&&l,textAlign:"center",onClick:function(){return a("uv")}})})]})})],4)},l=function(e,n){return(0,o.createComponentVNode)(2,c.NoticeBox,{children:"Contents are currently being decontaminated. Please wait."})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.model_text,d=i.userHasAccess;return(0,o.createComponentVNode)(2,c.Section,{title:"Locked",textAlign:"center",children:[(0,o.createComponentVNode)(2,c.Box,{color:"bad",bold:!0,children:["The ",l," suit cycler is currently locked. Please contact your system administrator."]}),(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"unlock",content:"[Unlock]",disabled:!d,onClick:function(){return a("lock")}})})]})},s=function(e,n){return(0,o.createComponentVNode)(2,c.NoticeBox,{children:"Contents are currently being painted. Please wait."})}},80748:function(e,n,t){"use strict";n.__esModule=!0,n.SuitStorageUnit=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.SuitStorageUnit=function(e,n){var t=(0,r.useBackend)(n),c=(t.act,t.data),u=c.panelopen,m=c.uv_active,p=c.broken,C=(0,o.createComponentVNode)(2,i);return u?C=(0,o.createComponentVNode)(2,l):m?C=(0,o.createComponentVNode)(2,d):p&&(C=(0,o.createComponentVNode)(2,s)),(0,o.createComponentVNode)(2,a.Window,{width:400,height:365,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:C})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.locked,d=i.open,s=i.safeties,u=i.occupied,m=i.suit,p=i.helmet,C=i.mask;return(0,o.createComponentVNode)(2,c.Section,{title:"Storage",minHeight:"260px",buttons:(0,o.createFragment)([!d&&(0,o.createComponentVNode)(2,c.Button,{icon:l?"unlock":"lock",content:l?"Unlock":"Lock",onClick:function(){return a("lock")}}),!l&&(0,o.createComponentVNode)(2,c.Button,{icon:d?"sign-out-alt":"sign-in-alt",content:d?"Close":"Open",onClick:function(){return a("door")}})],0),children:[!(!u||!s)&&(0,o.createComponentVNode)(2,c.NoticeBox,{children:["Biological entity detected in suit chamber. Please remove before continuing with operation.",(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"eject",color:"red",content:"Eject Entity",onClick:function(){return a("eject_guy")}})]}),l&&(0,o.createComponentVNode)(2,c.Box,{mt:6,bold:!0,textAlign:"center",fontSize:"40px",children:[(0,o.createComponentVNode)(2,c.Box,{children:"Unit Locked"}),(0,o.createComponentVNode)(2,c.Icon,{name:"lock"})]})||d&&(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Helmet",children:(0,o.createComponentVNode)(2,c.Button,{icon:p?"square":"square-o",content:p||"Empty",disabled:!p,onClick:function(){return a("dispense",{item:"helmet"})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Suit",children:(0,o.createComponentVNode)(2,c.Button,{icon:m?"square":"square-o",content:m||"Empty",disabled:!m,onClick:function(){return a("dispense",{item:"suit"})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Mask",children:(0,o.createComponentVNode)(2,c.Button,{icon:C?"square":"square-o",content:C||"Empty",disabled:!C,onClick:function(){return a("dispense",{item:"mask"})}})})]})||(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"recycle",content:"Decontaminate",disabled:u&&s,textAlign:"center",onClick:function(){return a("uv")}})]})},l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.safeties,d=i.uv_super;return(0,o.createComponentVNode)(2,c.Section,{title:"Maintenance Panel",children:[(0,o.createComponentVNode)(2,c.Box,{color:"grey",children:"The panel is ridden with controls, button and meters, labeled in strange signs and symbols that you cannot understand. Probably the manufactoring world's language. Among other things, a few controls catch your eye."}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Box,{children:["A small dial with a biohazard symbol next to it. It's pointing towards a gauge that reads ",d?"15nm":"185nm",".",(0,o.createComponentVNode)(2,c.Flex,{mt:1,align:"center",textAlign:"center",children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"50%",textAlign:"center",children:(0,o.createComponentVNode)(2,c.Knob,{size:2,inline:!0,value:d,minValue:0,maxValue:1,step:1,stepPixelSize:40,color:d?"red":"green",format:function(e){return e?"15nm":"185nm"},onChange:function(e,n){return a("toggleUV")}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"50%",textAlign:"center",children:(0,o.createComponentVNode)(2,c.Icon,{name:"biohazard",size:3,color:"orange"})})]})]}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Box,{children:["A thick old-style button, with 2 grimy LED lights next to it. The ",l?(0,o.createVNode)(1,"font",null,"GREEN",16,{color:"green"}):(0,o.createVNode)(1,"font",null,"RED",16,{color:"red"})," LED is on.",(0,o.createComponentVNode)(2,c.Flex,{mt:1,align:"center",textAlign:"center",children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"50%",textAlign:"center",children:(0,o.createComponentVNode)(2,c.Button,{fontSize:"2rem",color:"grey",inline:!0,icon:"caret-square-right",style:{border:"4px solid #777","border-style":"outset"},onClick:function(){return a("togglesafeties")}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"50%",textAlign:"center",children:[(0,o.createComponentVNode)(2,c.Icon,{name:"circle",color:l?"black":"red",mr:2}),(0,o.createComponentVNode)(2,c.Icon,{name:"circle",color:l?"green":"black"})]})]})]})]})},d=function(e,n){return(0,o.createComponentVNode)(2,c.NoticeBox,{children:"Contents are currently being decontaminated. Please wait."})},s=function(e,n){return(0,o.createComponentVNode)(2,c.NoticeBox,{danger:!0,children:"Unit chamber is too contaminated to continue usage. Please call for a qualified individual to perform maintenance."})}},6951:function(e,n,t){"use strict";n.__esModule=!0,n.SupermatterMonitorContent=n.SupermatterMonitor=void 0;var o=t(39812),r=t(71494),c=t(74814),a=(t(58083),t(85952)),i=t(41860),l=t(2497);n.SupermatterMonitor=function(e,n){return(0,o.createComponentVNode)(2,a.Window,{width:600,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,d)})})};var d=function(e,n){var t=(0,r.useBackend)(n);t.act;return t.data.active?(0,o.createComponentVNode)(2,u):(0,o.createComponentVNode)(2,s)};n.SupermatterMonitorContent=d;var s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.supermatters;return(0,o.createComponentVNode)(2,c.Section,{title:"Supermatters Detected",buttons:(0,o.createComponentVNode)(2,c.Button,{content:"Refresh",icon:"sync",onClick:function(){return a("refresh")}}),children:(0,o.createComponentVNode)(2,c.Flex,{wrap:"wrap",children:i.map((function(e,n){return(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"49%",grow:n%2,children:(0,o.createComponentVNode)(2,c.Section,{title:e.area_name+" (#"+e.uid+")",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Integrity",children:[e.integrity," %"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Options",children:(0,o.createComponentVNode)(2,c.Button,{icon:"eye",content:"View Details",onClick:function(){return a("set",{set:e.uid})}})})]})})},n)}))})})},u=function(e,n){var t=(0,r.useBackend)(n),a=t.act,d=t.data,s=d.SM_area,u=d.SM_integrity,m=d.SM_power,p=d.SM_ambienttemp,C=d.SM_ambientpressure,h=d.SM_EPR,N=d.SM_gas_O2,V=d.SM_gas_CO2,b=d.SM_gas_N2,f=d.SM_gas_PH,g=d.SM_gas_N2O;return(0,o.createComponentVNode)(2,c.Section,{title:(0,l.toTitleCase)(s),buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-left",content:"Return to Menu",onClick:function(){return a("clear")}}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Core Integrity",children:(0,o.createComponentVNode)(2,c.ProgressBar,{animated:!0,value:u,minValue:0,maxValue:100,ranges:{good:[100,100],average:[50,100],bad:[-Infinity,50]}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Relative EER",children:(0,o.createComponentVNode)(2,c.Box,{color:(m>300?"bad":m>150&&"average")||"good",children:(0,o.createComponentVNode)(2,c.AnimatedNumber,{format:function(e){return(0,i.round)(e,2)+" MeV/cm\xb3"},value:m})})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,c.Box,{color:(p>5e3?"bad":p>4e3&&"average")||"good",children:(0,o.createComponentVNode)(2,c.AnimatedNumber,{format:function(e){return(0,i.round)(e,2)+" K"},value:p})})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Pressure",children:(0,o.createComponentVNode)(2,c.Box,{color:(C>1e4?"bad":C>5e3&&"average")||"good",children:(0,o.createComponentVNode)(2,c.AnimatedNumber,{format:function(e){return(0,i.round)(e,2)+" kPa"},value:C})})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Chamber EPR",children:(0,o.createComponentVNode)(2,c.Box,{color:(h>4?"bad":h>1&&"average")||"good",children:(0,o.createComponentVNode)(2,c.AnimatedNumber,{format:function(e){return(0,i.round)(e,2)},value:h})})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Gas Composition",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"O\xb2",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:N}),"%"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"CO\xb2",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:V}),"%"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"N\xb2",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:b}),"%"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"PH",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:f}),"%"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"N\xb2O",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:g}),"%"]})]})})]})})}},12431:function(e,n,t){"use strict";n.__esModule=!0,n.SupplyConsole=void 0;var o=t(39812),r=t(64499),c=(t(41860),t(58083)),a=t(71494),i=t(74814),l=t(16007),d=t(85952),s=t(85531),u=function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data.supply_points,l=e.args,d=l.name,s=l.cost,u=l.manifest,m=l.ref,p=l.random;return(0,o.createComponentVNode)(2,i.Section,{width:"400px",level:2,m:"-1rem",pb:"1rem",title:d,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"shopping-cart",content:"Buy - "+s+" points",disabled:s>c,onClick:function(){return r("request_crate",{ref:m})}}),children:(0,o.createComponentVNode)(2,i.Section,{title:"Contains"+(p?" any "+p+" of:":""),scrollable:!0,height:"200px",children:u.map((function(e){return(0,o.createComponentVNode)(2,i.Box,{children:e},e)}))})})};n.SupplyConsole=function(e,n){var t=(0,a.useBackend)(n);t.act,t.data;return(0,l.modalRegisterBodyOverride)("view_crate",u),(0,o.createComponentVNode)(2,d.Window,{width:700,height:620,children:(0,o.createComponentVNode)(2,d.Window.Content,{children:[(0,o.createComponentVNode)(2,l.ComplexModal,{maxWidth:"100%"}),(0,o.createComponentVNode)(2,i.Section,{title:"Supply Records",children:[(0,o.createComponentVNode)(2,m),(0,o.createComponentVNode)(2,p)]})]})})};var m=function(e,n){var t=(0,a.useBackend)(n),r=t.act,l=t.data,d=l.supply_points,s=l.shuttle,u=null,m=!1;return l.shuttle_auth&&(1===s.launch&&0===s.mode?u=(0,o.createComponentVNode)(2,i.Button,{icon:"rocket",content:"Send Away",onClick:function(){return r("send_shuttle",{mode:"send_away"})}}):2!==s.launch||3!==s.mode&&1!==s.mode?1===s.launch&&5===s.mode&&(u=(0,o.createComponentVNode)(2,i.Button,{icon:"rocket",content:"Send Shuttle",onClick:function(){return r("send_shuttle",{mode:"send_to_station"})}})):u=(0,o.createComponentVNode)(2,i.Button,{icon:"ban",content:"Cancel Launch",onClick:function(){return r("send_shuttle",{mode:"cancel_shuttle"})}}),s.force&&(m=!0)),(0,o.createComponentVNode)(2,i.Section,{children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Supply Points",children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:d})})}),(0,o.createComponentVNode)(2,i.Section,{level:2,title:"Supply Shuttle",mt:2,children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Location",buttons:(0,o.createFragment)([u,m?(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",content:"Force Launch",onClick:function(){return r("send_shuttle",{mode:"force_shuttle"})}}):null],0),children:s.location}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Engine",children:s.engine}),4===s.mode?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"ETA",children:s.time>1?(0,c.formatTime)(s.time):"LATE"}):null]})})]})},p=function(e,n){var t=(0,a.useBackend)(n),r=(t.act,t.data.order_auth,(0,a.useLocalState)(n,"tabIndex",0)),c=r[0],l=r[1];return(0,o.createComponentVNode)(2,i.Section,{title:"Menu",children:[(0,o.createComponentVNode)(2,i.Tabs,{children:[(0,o.createComponentVNode)(2,i.Tabs.Tab,{icon:"box",selected:0===c,onClick:function(){return l(0)},children:"Request"}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{icon:"check-circle-o",selected:1===c,onClick:function(){return l(1)},children:"Accepted"}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{icon:"circle-o",selected:2===c,onClick:function(){return l(2)},children:"Requests"}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{icon:"book",selected:3===c,onClick:function(){return l(3)},children:"Order history"}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{icon:"book",selected:4===c,onClick:function(){return l(4)},children:"Export history"})]}),0===c?(0,o.createComponentVNode)(2,C):null,1===c?(0,o.createComponentVNode)(2,h,{mode:"Approved"}):null,2===c?(0,o.createComponentVNode)(2,h,{mode:"Requested"}):null,3===c?(0,o.createComponentVNode)(2,h,{mode:"All"}):null,4===c?(0,o.createComponentVNode)(2,N):null]})},C=function(e,n){var t=(0,a.useBackend)(n),c=t.act,l=t.data,d=l.categories,u=l.supply_packs,m=l.contraband,p=l.supply_points,C=(0,a.useLocalState)(n,"activeCategory",null),h=C[0],N=C[1],V=(0,s.flow)([(0,r.filter)((function(e){return e.group===h})),(0,r.filter)((function(e){return!e.contraband||m})),(0,r.sortBy)((function(e){return e.name})),(0,r.sortBy)((function(e){return e.cost>p}))])(u);return(0,o.createComponentVNode)(2,i.Section,{level:2,children:(0,o.createComponentVNode)(2,i.Stack,{children:[(0,o.createComponentVNode)(2,i.Stack.Item,{basis:"25%",children:(0,o.createComponentVNode)(2,i.Section,{title:"Categories",scrollable:!0,fill:!0,height:"290px",children:d.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{fluid:!0,content:e,selected:e===h,onClick:function(){return N(e)}},e)}))})}),(0,o.createComponentVNode)(2,i.Stack.Item,{grow:1,ml:2,children:(0,o.createComponentVNode)(2,i.Section,{title:"Contents",scrollable:!0,fill:!0,height:"290px",children:V.map((function(e){return(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Stack,{align:"center",justify:"flex-start",children:[(0,o.createComponentVNode)(2,i.Stack.Item,{basis:"70%",children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"shopping-cart",ellipsis:!0,content:e.name,color:e.cost>p?"red":null,onClick:function(){return c("request_crate",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,i.Button,{content:"#",color:e.cost>p?"red":null,onClick:function(){return c("request_crate_multi",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,i.Button,{content:"C",color:e.cost>p?"red":null,onClick:function(){return c("view_crate",{crate:e.ref})}})}),(0,o.createComponentVNode)(2,i.Stack.Item,{grow:1,children:[e.cost," points"]})]})},e.name)}))})})]})})},h=function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data,l=e.mode,d=c.orders,s=c.order_auth,u=c.supply_points,m=d.filter((function(e){return e.status===l||"All"===l}));return m.length?(0,o.createComponentVNode)(2,i.Section,{level:2,children:["Requested"===l&&s?(0,o.createComponentVNode)(2,i.Button,{mt:-1,mb:1,fluid:!0,color:"red",icon:"trash",content:"Clear all requests",onClick:function(){return r("clear_all_requests")}}):null,m.map((function(e,n){return(0,o.createComponentVNode)(2,i.Section,{title:"Order "+(n+1),buttons:"All"===l&&s?(0,o.createComponentVNode)(2,i.Button,{color:"red",icon:"trash",content:"Delete Record",onClick:function(){return r("delete_order",{ref:e.ref})}}):null,children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[e.entries.map((function(n){return n.entry?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:n.field,buttons:s?(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Edit",onClick:function(){r("edit_order_value",{ref:e.ref,edit:n.field,"default":n.entry})}}):null,children:n.entry}):null})),"All"===l?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Status",children:e.status}):null]}),s&&"Requested"===l?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"check",content:"Approve",disabled:e.cost>u,onClick:function(){return r("approve_order",{ref:e.ref})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:"Deny",onClick:function(){return r("deny_order",{ref:e.ref})}})],4):null]},n)}))]}):(0,o.createComponentVNode)(2,i.Section,{level:2,children:"No orders found."})},N=function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data,l=c.receipts,d=c.order_auth;return l.length?(0,o.createComponentVNode)(2,i.Section,{level:2,children:l.map((function(e,n){return(0,o.createComponentVNode)(2,i.Section,{children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[e.title.map((function(n){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:n.field,buttons:d?(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Edit",onClick:function(){return r("export_edit",{ref:e.ref,edit:n.field,"default":n.entry})}}):null,children:n.entry},n.field)})),e.error?(0,o.createComponentVNode)(2,i.LabeledList.Item,{labelColor:"red",label:"Error",children:e.error}):e.contents.map((function(n,t){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:n.object,buttons:d?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Edit",onClick:function(){return r("export_edit_field",{ref:e.ref,index:t+1,edit:"meow","default":n.object})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"trash",color:"red",content:"Delete",onClick:function(){return r("export_delete_field",{ref:e.ref,index:t+1})}})],4):null,children:[n.quantity,"x -> ",n.value," points"]},t)}))]}),d?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{mt:1,icon:"plus",content:"Add Item To Record",onClick:function(){return r("export_add_field",{ref:e.ref})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"trash",content:"Delete Record",onClick:function(){return r("export_delete",{ref:e.ref})}})],4):null]},n)}))}):(0,o.createComponentVNode)(2,i.Section,{level:2,children:"No receipts found."})}},30111:function(e,n,t){"use strict";n.__esModule=!0,n.TEGenerator=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(85952),l=t(58083);n.TEGenerator=function(e,n){var t=(0,c.useBackend)(n).data,r=t.totalOutput,s=t.maxTotalOutput,u=t.thermalOutput,m=t.primary,p=t.secondary;return(0,o.createComponentVNode)(2,i.Window,{width:550,height:310,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Total Output",children:(0,o.createComponentVNode)(2,a.ProgressBar,{value:r,maxValue:s,children:(0,l.formatPower)(r)})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Thermal Output",children:(0,l.formatPower)(u)})]})}),m&&p?(0,o.createComponentVNode)(2,a.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{shrink:1,grow:1,children:(0,o.createComponentVNode)(2,d,{name:"Primary Circulator",values:m})}),(0,o.createComponentVNode)(2,a.Flex.Item,{shrink:1,grow:1,children:(0,o.createComponentVNode)(2,d,{name:"Secondary Circulator",values:p})})]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Warning! Both circulators must be connected in order to operate this machine."})]})})};var d=function(e,n){var t=e.name,c=e.values,i=c.dir,d=c.output,s=c.flowCapacity,u=c.inletPressure,m=c.inletTemperature,p=c.outletPressure,C=c.outletTemperature;return(0,o.createComponentVNode)(2,a.Section,{title:t+" ("+i+")",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Turbine Output",children:(0,l.formatPower)(d)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Flow Capacity",children:[(0,r.round)(s,2),"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Inlet Pressure",children:(0,l.formatSiUnit)(1e3*u,0,"Pa")}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Inlet Temperature",children:[(0,r.round)(m,2)," K"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Outlet Pressure",children:(0,l.formatSiUnit)(1e3*p,0,"Pa")}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Outlet Temperature",children:[(0,r.round)(C,2)," K"]})]})})}},58457:function(e,n,t){"use strict";n.__esModule=!0,n.Tank=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.Tank=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.connected,s=l.showToggle,u=void 0===s||s,m=l.maskConnected,p=l.tankPressure,C=l.releasePressure,h=l.defaultReleasePressure,N=l.minReleasePressure,V=l.maxReleasePressure;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:320,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:!!u&&(0,o.createComponentVNode)(2,c.Button,{icon:d?"air-freshener":"lock-open",selected:d,disabled:!m,content:"Mask Release Valve",onClick:function(){return i("toggle")}}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Mask Connected",children:m?"Yes":"No"})})}),(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Pressure",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:p/1013,ranges:{good:[.35,Infinity],average:[.15,.35],bad:[-Infinity,.15]},children:l.tankPressure+" kPa"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Pressure Regulator",children:[(0,o.createComponentVNode)(2,c.Button,{icon:"fast-backward",disabled:C===N,onClick:function(){return i("pressure",{pressure:"min"})}}),(0,o.createComponentVNode)(2,c.NumberInput,{animated:!0,value:parseFloat(C),width:"65px",unit:"kPa",minValue:N,maxValue:V,onChange:function(e,n){return i("pressure",{pressure:n})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"fast-forward",disabled:C===V,onClick:function(){return i("pressure",{pressure:"max"})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"undo",content:"",disabled:C===h,onClick:function(){return i("pressure",{pressure:"reset"})}})]})]})})]})})}},38754:function(e,n,t){"use strict";n.__esModule=!0,n.TankDispenser=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.TankDispenser=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data;return(0,o.createComponentVNode)(2,a.Window,{width:275,height:103,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Phoron",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:l.plasma?"square":"square-o",content:"Dispense",disabled:!l.plasma,onClick:function(){return i("plasma")}}),children:l.plasma}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Oxygen",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:l.oxygen?"square":"square-o",content:"Dispense",disabled:!l.oxygen,onClick:function(){return i("oxygen")}}),children:l.oxygen})]})})})})}},73754:function(e,n,t){"use strict";n.__esModule=!0,n.TelecommsLogBrowser=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(85952);n.TelecommsLogBrowser=function(e,n){var t=(0,c.useBackend)(n),r=t.act,s=t.data,u=s.universal_translate,m=s.network,p=s.temp,C=s.servers,h=s.selectedServer;return(0,o.createComponentVNode)(2,i.Window,{width:575,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:[p&&p.length?(0,o.createComponentVNode)(2,a.NoticeBox,{warning:!0,children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-box",verticalAlign:"middle",children:p}),(0,o.createComponentVNode)(2,a.Button,{icon:"times-circle",float:"right",onClick:function(){return r("cleartemp")}}),(0,o.createComponentVNode)(2,a.Box,{clear:"both"})]}):null,(0,o.createComponentVNode)(2,a.Section,{title:"Network Control",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Network",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"search",content:"Refresh",onClick:function(){return r("scan")}}),(0,o.createComponentVNode)(2,a.Button,{color:"bad",icon:"exclamation-triangle",content:"Flush Buffer",disabled:0===C.length,onClick:function(){return r("release")}})],4),children:(0,o.createComponentVNode)(2,a.Button,{content:m,icon:"pen",onClick:function(){return r("network")}})})})}),h?(0,o.createComponentVNode)(2,d,{network:m,server:h,universal_translate:u}):(0,o.createComponentVNode)(2,l,{network:m,servers:C})]})})};var l=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=(t.data,e.network,e.servers);return i&&i.length?(0,o.createComponentVNode)(2,a.Section,{title:"Detected Telecommunication Servers",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:i.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name+" ("+e.id+")",children:(0,o.createComponentVNode)(2,a.Button,{content:"View",icon:"eye",onClick:function(){return r("view",{id:e.id})}})},e.id)}))})}):(0,o.createComponentVNode)(2,a.Section,{title:"Detected Telecommunications Servers",children:[(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No servers detected."}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Scan",icon:"search",onClick:function(){return r("scan")}})]})},d=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=(t.data,e.network,e.server),d=e.universal_translate;return(0,o.createComponentVNode)(2,a.Section,{title:"Server ("+l.id+")",buttons:(0,o.createComponentVNode)(2,a.Button,{content:"Return",icon:"undo",onClick:function(){return i("mainmenu")}}),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Total Recorded Traffic",children:l.totalTraffic>=1024?(0,r.round)(l.totalTraffic/1024)+" Terrabytes":l.totalTraffic+" Gigabytes"})}),(0,o.createComponentVNode)(2,a.Section,{title:"Stored Logs",mt:"4px",children:(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",children:l.logs&&l.logs.length?l.logs.map((function(e){return(0,o.createComponentVNode)(2,a.Flex.Item,{m:"2px",basis:"49%",grow:e.id%2,children:(0,o.createComponentVNode)(2,a.Section,{title:d||e.parameters.uspeech||e.parameters.intelligible||"Execution Error"===e.input_type?e.input_type:"Audio File",buttons:(0,o.createComponentVNode)(2,a.Button.Confirm,{confirmContent:"Delete Log?",color:"bad",icon:"trash",confirmIcon:"trash",onClick:function(){return i("delete",{id:e.id})}}),children:"Execution Error"===e.input_type?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Data type",children:"Error"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Output",children:e.parameters.message}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Delete",children:(0,o.createComponentVNode)(2,a.Button,{icon:"trash",onClick:function(){return i("delete",{id:e.id})}})})]}):d||e.parameters.uspeech||e.parameters.intelligible?(0,o.createComponentVNode)(2,s,{log:e}):(0,o.createComponentVNode)(2,s,{error:!0})})},e.id)})):"No Logs Detected."})})]})},s=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data,e.log),i=e.error,l=r&&r.parameters||{none:"none"},d=l.timecode,s=l.name,u=l.race,m=l.job,p=l.message;return i?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Time Recieved",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Source",children:"Unidentifiable"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Class",children:u}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contents",children:"Unintelligible"})]}):(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Time Recieved",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Source",children:[s," (Job: ",m,")"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Class",children:u}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contents",className:"LabeledList__breakContents",children:p})]})}},29441:function(e,n,t){"use strict";n.__esModule=!0,n.TelecommsMachineBrowser=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.TelecommsMachineBrowser=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.network,u=d.temp,m=d.machinelist,p=d.selectedMachine;return(0,o.createComponentVNode)(2,a.Window,{width:575,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[u&&u.length?(0,o.createComponentVNode)(2,c.NoticeBox,{warning:!0,children:[(0,o.createComponentVNode)(2,c.Box,{display:"inline-box",verticalAlign:"middle",children:u}),(0,o.createComponentVNode)(2,c.Button,{icon:"times-circle",float:"right",onClick:function(){return l("cleartemp")}}),(0,o.createComponentVNode)(2,c.Box,{clear:"both"})]}):null,(0,o.createComponentVNode)(2,c.Section,{title:"Network Control",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Current Network",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"search",content:"Probe Network",onClick:function(){return l("scan")}}),(0,o.createComponentVNode)(2,c.Button,{color:"bad",icon:"exclamation-triangle",content:"Flush Buffer",disabled:0===m.length,onClick:function(){return l("release")}})],4),children:(0,o.createComponentVNode)(2,c.Button,{content:s,icon:"pen",onClick:function(){return l("network")}})})})}),m&&m.length?(0,o.createComponentVNode)(2,i,{title:p?p.name+" ("+p.id+")":"Detected Network Entities",list:p?p.links:m,showBack:p}):(0,o.createComponentVNode)(2,c.Section,{title:"No Devices Found",children:(0,o.createComponentVNode)(2,c.Button,{icon:"search",content:"Probe Network",onClick:function(){return l("scan")}})})]})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=(t.data,e.list),l=e.title,d=e.showBack;return(0,o.createComponentVNode)(2,c.Section,{title:l,buttons:d&&(0,o.createComponentVNode)(2,c.Button,{icon:"undo",content:"Back to Main Menu",onClick:function(){return a("mainmenu")}}),children:[(0,o.createComponentVNode)(2,c.Box,{color:"label",children:(0,o.createVNode)(1,"u",null,"Linked entities",16)}),(0,o.createComponentVNode)(2,c.LabeledList,{children:i.length?i.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name+" ("+e.id+")",children:(0,o.createComponentVNode)(2,c.Button,{content:"View",icon:"eye",onClick:function(){return a("view",{id:e.id})}})},e.id)})):(0,o.createComponentVNode)(2,c.LabeledList.Item,{color:"bad",children:"No links detected."})})]})}},86756:function(e,n,t){"use strict";n.__esModule=!0,n.TelecommsMultitoolMenu=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(36355),i=t(85952);n.TelecommsMultitoolMenu=function(e,n){var t=(0,r.useBackend)(n),c=(t.act,t.data),s=(c.temp,c.on,c.id,c.network,c.autolinkers,c.shadowlink,c.options);c.linked,c.filter,c.multitool,c.multitool_buffer;return(0,o.createComponentVNode)(2,i.Window,{width:520,height:540,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.TemporaryNotice),(0,o.createComponentVNode)(2,l),(0,o.createComponentVNode)(2,d,{options:s})]})})};var l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=(i.temp,i.on),d=i.id,s=i.network,u=i.autolinkers,m=i.shadowlink,p=(i.options,i.linked),C=i.filter,h=i.multitool,N=i.multitool_buffer;return(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:l,content:l?"On":"Off",onClick:function(){return a("toggle")}}),children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Identification String",children:(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:d,onClick:function(){return a("id")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Network",children:(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:s,onClick:function(){return a("network")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Prefabrication",children:u?"TRUE":"FALSE"}),m?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Shadow Link",children:"Active."}):null,h?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Multitool Buffer",children:[N?(0,o.createFragment)([N.name,(0,o.createTextVNode)(" ("),N.id,(0,o.createTextVNode)(")")],0):null,(0,o.createComponentVNode)(2,c.Button,{color:N?"green":null,content:N?"Link ("+N.id+")":"Add Machine",icon:N?"link":"plus",onClick:N?function(){return a("link")}:function(){return a("buffer")}}),N?(0,o.createComponentVNode)(2,c.Button,{color:"red",content:"Flush",icon:"trash",onClick:function(){return a("flush")}}):null]}):null]}),(0,o.createComponentVNode)(2,c.Section,{title:"Linked network Entities",mt:1,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:p.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.ref+" "+e.name+" ("+e.id+")",buttons:(0,o.createComponentVNode)(2,c.Button.Confirm,{color:"red",icon:"trash",onClick:function(){return a("unlink",{unlink:e.index})}})},e.ref)}))})}),(0,o.createComponentVNode)(2,c.Section,{title:"Filtering Frequencies",mt:1,children:[C.map((function(e){return(0,o.createComponentVNode)(2,c.Button.Confirm,{content:e.name+" GHz",confirmContent:"Delete?",confirmColor:"red",confirmIcon:"trash",onClick:function(){return a("delete",{"delete":e.freq})}},e.index)})),C&&0!==C.length?null:(0,o.createComponentVNode)(2,c.Box,{color:"label",children:"No filters."})]})]})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=(t.data,e.options),l=i.use_listening_level,d=i.use_broadcasting,s=i.use_receiving,u=i.listening_level,m=i.broadcasting,p=i.receiving,C=i.use_change_freq,h=i.change_freq,N=i.use_broadcast_range,V=i.use_receive_range,b=i.range,f=i.minRange,g=i.maxRange;return l||d||s||C||N||V?(0,o.createComponentVNode)(2,c.Section,{title:"Options",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[l?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Signal Locked to Station",children:(0,o.createComponentVNode)(2,c.Button,{icon:u?"lock-closed":"lock-open",content:u?"Yes":"No",onClick:function(){return a("change_listening")}})}):null,d?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Broadcasting",children:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:m,content:m?"Yes":"No",onClick:function(){return a("broadcast")}})}):null,s?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Receving",children:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:p,content:p?"Yes":"No",onClick:function(){return a("receive")}})}):null,C?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Change Signal Frequency",children:(0,o.createComponentVNode)(2,c.Button,{icon:"wave-square",selected:!!h,content:h?"Yes ("+h+")":"No",onClick:function(){return a("change_freq")}})}):null,N||V?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:(N?"Broadcast":"Receive")+" Range",children:(0,o.createComponentVNode)(2,c.NumberInput,{value:b,minValue:f,maxValue:g,unit:"gigameters",stepPixelSize:4,format:function(e){return e+1},onDrag:function(e,n){return a("range",{range:n})}})}):null]})}):(0,o.createComponentVNode)(2,c.Section,{title:"No Options Found"})}},18509:function(e,n,t){"use strict";n.__esModule=!0,n.Teleporter=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.Teleporter=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.locked_name,s=l.station_connected,u=l.hub_connected,m=l.calibrated,p=l.teleporter_on;return(0,o.createComponentVNode)(2,a.Window,{width:300,height:200,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Target",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"bullseye",onClick:function(){return i("select_target")},content:d})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Calibrated",children:(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,checked:m,color:m?"good":"bad",onClick:function(){return i("test_fire")},content:m?"Accurate":"Test Fire"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Teleporter",children:(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,checked:p,color:p?"good":"bad",onClick:function(){return i("toggle_on")},content:p?"Online":"OFFLINE"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Station",children:s?"Connected":"Not Connected"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Hub",children:u?"Connected":"Not Connected"})]})})})})}},62555:function(e,n,t){"use strict";n.__esModule=!0,n.TelesciConsoleContent=n.TelesciConsole=void 0;var o=t(39812),r=t(64499),c=t(71494),a=t(74814),i=t(85952);n.TelesciConsole=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data.noTelepad);return(0,o.createComponentVNode)(2,i.Window,{width:400,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:r&&(0,o.createComponentVNode)(2,l)||(0,o.createComponentVNode)(2,d)})})};var l=function(e,n){return(0,o.createComponentVNode)(2,a.Section,{title:"Error",color:"bad",children:["No telepad located.",(0,o.createVNode)(1,"br"),"Please add telepad data."]})},d=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,d=l.insertedGps,s=l.rotation,u=l.currentZ,m=l.cooldown,p=l.crystalCount,C=l.maxCrystals,h=(l.maxPossibleDistance,l.maxAllowedDistance),N=l.distance,V=l.tempMsg,b=l.sectorOptions,f=l.lastTeleData;return(0,o.createComponentVNode)(2,a.Section,{title:"Telepad Controls",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",disabled:!d,onClick:function(){return i("ejectGPS")},content:"Eject GPS"}),children:[(0,o.createComponentVNode)(2,a.NoticeBox,{info:!0,children:m&&(0,o.createComponentVNode)(2,a.Box,{children:["Telepad is recharging. Please wait ",(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:m})," seconds."]})||(0,o.createComponentVNode)(2,a.Box,{children:V})}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Bearing",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,value:s,format:function(e){return e+"\xb0"},step:1,minValue:-900,maxValue:900,onDrag:function(e,n){return i("setrotation",{val:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Distance",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,value:N,format:function(e){return e+"/"+h+" m"},minValue:0,maxValue:h,step:1,stepPixelSize:4,onDrag:function(e,n){return i("setdistance",{val:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sector",children:(0,r.sortBy)((function(e){return Number(e)}))(b).map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:"check-circle",content:e,selected:u===e,onClick:function(){return i("setz",{setz:e})}},e)}))}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Controls",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"share",iconRotation:-90,onClick:function(){return i("send")},content:"Send"}),(0,o.createComponentVNode)(2,a.Button,{icon:"share",iconRotation:90,onClick:function(){return i("receive")},content:"Receive"}),(0,o.createComponentVNode)(2,a.Button,{icon:"sync",iconRotation:90,onClick:function(){return i("recal")},content:"Recalibrate"})]})]}),f&&(0,o.createComponentVNode)(2,a.Section,{mt:1,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Telepad Location",children:[f.src_x,", ",f.src_y]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Distance",children:[f.distance,"m"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Transit Time",children:[f.time," secs"]})]})})||(0,o.createComponentVNode)(2,a.Section,{mt:1,children:"No teleport data found."}),(0,o.createComponentVNode)(2,a.Section,{children:["Crystals: ",p," / ",C]})]})};n.TelesciConsoleContent=d},55096:function(e,n,t){"use strict";n.__esModule=!0,n.TimeClock=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(85952),l=t(14959);n.TimeClock=function(e,n){var t=(0,c.useBackend)(n),d=t.act,s=t.data,u=s.department_hours,m=s.user_name,p=s.card,C=s.assignment,h=s.job_datum,N=s.allow_change_job,V=s.job_choices;return(0,o.createComponentVNode)(2,i.Window,{width:500,height:520,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.Section,{title:"OOC",children:[(0,o.createComponentVNode)(2,a.NoticeBox,{children:"OOC Note: PTO acquired is account-wide and shared across all characters. Info listed below is not IC information."}),(0,o.createComponentVNode)(2,a.Section,{level:2,title:"Time Off Balance for "+m,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:Object.keys(u).map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,color:u[e]>6?"good":u[e]>1?"average":"bad",children:[(0,r.toFixed)(u[e],1)," ",1===u[e]?"hour":"hours"]},e)}))})})]}),(0,o.createComponentVNode)(2,a.Section,{title:"Employee Info",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Employee ID",children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"user",onClick:function(){return d("id")},children:p||"Insert ID"})}),!!h&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Rank",children:(0,o.createComponentVNode)(2,a.Box,{backgroundColor:h.selection_color,p:.8,children:(0,o.createComponentVNode)(2,a.Flex,{justify:"space-between",align:"center",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Box,{ml:1,children:(0,o.createComponentVNode)(2,l.RankIcon,{color:"white",rank:h.title})})}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Box,{fontSize:1.5,inline:!0,mr:1,children:h.title})})]})})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Departments",children:h.departments}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pay Scale",children:h.economic_modifier}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"PTO Elegibility",children:h.timeoff_factor>0&&(0,o.createComponentVNode)(2,a.Box,{children:["Earns PTO - ",h.pto_department]})||h.timeoff_factor<0&&(0,o.createComponentVNode)(2,a.Box,{children:["Requires PTO - ",h.pto_department]})||(0,o.createComponentVNode)(2,a.Box,{children:"Neutral"})})],4)]})}),!(!N||!h||0===h.timeoff_factor||"Dismissed"===C)&&(0,o.createComponentVNode)(2,a.Section,{title:"Employment Actions",children:h.timeoff_factor>0&&(u[h.pto_department]>0&&(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"exclamation-triangle",onClick:function(){return d("switch-to-offduty")},children:"Go Off-Duty"})||(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Warning: You do not have enough accrued time off to go off-duty."}))||Object.keys(V).length&&Object.keys(V).map((function(e){return V[e].map((function(n){return(0,o.createComponentVNode)(2,a.Button,{icon:"suitcase",onClick:function(){return d("switch-to-onduty-rank",{"switch-to-onduty-rank":e,"switch-to-onduty-assignment":n})},children:n},n)}))}))||(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No Open Positions - See Head Of Personnel"})})]})})}},24389:function(e,n,t){"use strict";n.__esModule=!0,n.TransferValve=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.TransferValve=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.tank_one,s=l.tank_two,u=l.attached_device,m=l.valve;return(0,o.createComponentVNode)(2,a.Window,{children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Valve Status",children:(0,o.createComponentVNode)(2,c.Button,{icon:m?"unlock":"lock",content:m?"Open":"Closed",disabled:!d||!s,onClick:function(){return i("toggle")}})})})}),(0,o.createComponentVNode)(2,c.Section,{title:"Assembly",buttons:(0,o.createComponentVNode)(2,c.Button,{textAlign:"center",width:"150px",icon:"cog",content:"Configure Assembly",disabled:!u,onClick:function(){return i("device")}}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:u?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Attachment",children:(0,o.createComponentVNode)(2,c.Button,{icon:"eject",content:u,disabled:!u,onClick:function(){return i("remove_device")}})}):(0,o.createComponentVNode)(2,c.NoticeBox,{textAlign:"center",children:"Attach Assembly"})})}),(0,o.createComponentVNode)(2,c.Section,{title:"Attachment One",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:d?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Attachment",children:(0,o.createComponentVNode)(2,c.Button,{icon:"eject",content:d,disabled:!d,onClick:function(){return i("tankone")}})}):(0,o.createComponentVNode)(2,c.NoticeBox,{textAlign:"center",children:"Attach Tank"})})}),(0,o.createComponentVNode)(2,c.Section,{title:"Attachment Two",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:s?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Attachment",children:(0,o.createComponentVNode)(2,c.Button,{icon:"eject",content:s,disabled:!s,onClick:function(){return i("tanktwo")}})}):(0,o.createComponentVNode)(2,c.NoticeBox,{textAlign:"center",children:"Attach Tank"})})})]})})}},95893:function(e,n,t){"use strict";n.__esModule=!0,n.TurbineControl=void 0;var o=t(39812),r=(t(41860),t(58083)),c=t(71494),a=t(74814),i=t(85952);n.TurbineControl=function(e,n){var t=(0,c.useBackend)(n),l=t.act,d=t.data,s=(d.connected,d.compressor_broke),u=d.turbine_broke,m=d.broken,p=d.door_status,C=d.online,h=d.power,N=d.rpm,V=d.temp;return(0,o.createComponentVNode)(2,i.Window,{width:520,height:440,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.Section,{title:"Turbine Controller",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",children:m&&(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:["Setup is broken",(0,o.createComponentVNode)(2,a.Button,{icon:"sync",onClick:function(){return l("reconnect")},content:"Reconnect"})]})||(0,o.createComponentVNode)(2,a.Box,{color:C?"good":"bad",children:!C||s||u?"Offline":"Online"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Compressor",children:s&&(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Compressor is inoperable."})||u&&(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Turbine is inoperable."})||(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button.Checkbox,{checked:C,content:"Compressor Power",onClick:function(){return l(C?"power-off":"power-on")}})})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Vent Doors",children:(0,o.createComponentVNode)(2,a.Button.Checkbox,{checked:p,onClick:function(){return l("doors")},content:p?"Closed":"Open"})})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Turbine Speed",children:[m?"--":(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:N})," RPM"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Internal Temperature",children:[m?"--":(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:V})," K"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Generated Power",children:m?"--":(0,o.createComponentVNode)(2,a.AnimatedNumber,{format:function(e){return(0,r.formatPower)(e)},value:Number(h)})})]})})]})})}},62542:function(e,n,t){"use strict";n.__esModule=!0,n.Turbolift=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.Turbolift=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.floors,s=l.doors_open,u=l.fire_mode;return(0,o.createComponentVNode)(2,a.Window,{width:480,height:260+25*u,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{title:"Floor Selection",className:u?"Section--elevator--fire":null,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:s?"door-open":"door-closed",content:s?u?"Close Doors (SAFETY OFF)":"Doors Open":"Doors Closed",selected:s&&!u,color:u?"red":null,onClick:function(){return i("toggle_doors")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"exclamation-triangle",color:"bad",content:"Emergency Stop",onClick:function(){return i("emergency_stop")}})],4),children:[!u||(0,o.createComponentVNode)(2,c.Section,{className:"Section--elevator--fire",textAlign:"center",title:"FIREFIGHTER MODE ENGAGED"}),(0,o.createComponentVNode)(2,c.Flex,{wrap:"wrap",children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"100%",children:(0,o.createComponentVNode)(2,c.Flex,{align:"center",justify:"space-around",children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"22%",textAlign:"right",mr:"3px",children:e.label||"Floor #"+e.id}),(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"8%",textAlign:"left",children:(0,o.createComponentVNode)(2,c.Button,{icon:"circle",color:e.current?"red":e.target?"green":e.queued?"yellow":null,onClick:function(){return i("move_to_floor",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"50%",grow:1,children:e.name})]})},e.id)}))})]})})})}},89761:function(e,n,t){"use strict";n.__esModule=!0,n.GenericUplink=n.Uplink=void 0;var o=t(39812),r=t(2497),c=t(71494),a=t(74814),i=t(58083),l=t(85952);n.Uplink=function(e,n){var t=(0,c.useBackend)(n).data,r=(0,c.useLocalState)(n,"screen",0),i=r[0],m=r[1],p=t.telecrystals;return(0,o.createComponentVNode)(2,l.Window,{width:620,height:580,theme:"syndicate",resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,d,{screen:i,setScreen:m}),0===i&&(0,o.createComponentVNode)(2,u,{currencyAmount:p,currencySymbol:"TC"})||1===i&&(0,o.createComponentVNode)(2,s)||(0,o.createComponentVNode)(2,a.Section,{color:"bad",children:"Error"})]})})};var d=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data),i=e.screen,l=e.setScreen,d=r.discount_name,s=r.discount_amount,u=r.offer_expiry;return(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Tabs,{style:{"border-bottom":"none","margin-bottom":"0"},children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===i,onClick:function(){return l(0)},children:"Request Items"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===i,onClick:function(){return l(1)},children:"Exploitable Information"})]}),(0,o.createComponentVNode)(2,a.Section,{title:"Item Discount",level:2,children:s<100&&(0,o.createComponentVNode)(2,a.Box,{children:[d," - ",s,"% off. Offer expires at: ",u]})||(0,o.createComponentVNode)(2,a.Box,{children:"No items currently discounted."})})]})},s=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=i.exploit,d=i.locked_records;return(0,o.createComponentVNode)(2,a.Section,{title:"Exploitable Information",buttons:l&&(0,o.createComponentVNode)(2,a.Button,{icon:"undo",content:"Back",onClick:function(){return r("view_exploits",{id:0})}}),children:l&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:l.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sex",children:l.sex}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Species",children:l.species}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Age",children:l.age}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Rank",children:l.rank}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Home System",children:l.home_system}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Citizenship",children:l.citizenship}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Faction",children:l.faction}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Religion",children:l.religion}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Fingerprint",children:l.fingerprint}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Other Affiliations",children:l.antagfaction}),(0,o.createComponentVNode)(2,a.LabeledList.Divider),(0,o.createComponentVNode)(2,a.LabeledList.Item,{children:"Acquired Information"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Notes",children:l.nanoui_exploit_record.split(" ").map((function(e){return(0,o.createComponentVNode)(2,a.Box,{children:e},e)}))})]})})||d.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:"eye",fluid:!0,content:e.name,onClick:function(){return r("view_exploits",{id:e.id})}},e.id)}))})},u=function(e,n){var t,l,d=e.currencyAmount,s=void 0===d?0:d,u=e.currencySymbol,p=void 0===u?"\u20ae":u,C=(0,c.useBackend)(n),h=C.act,N=C.data,V=N.compactMode,b=N.lockable,f=N.categories,g=void 0===f?[]:f,k=(0,c.useLocalState)(n,"searchText",""),v=k[0],B=k[1],L=(0,c.useLocalState)(n,"category",null==(t=g[0])?void 0:t.name),_=L[0],x=L[1],w=(0,r.createSearch)(v,(function(e){return e.name+e.desc})),S=v.length>0&&g.flatMap((function(e){return e.items||[]})).filter(w).filter((function(e,n){return n<25}))||(null==(l=g.find((function(e){return e.name===_})))?void 0:l.items)||[];return(0,o.createComponentVNode)(2,a.Section,{title:(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:s>0?"good":"bad",children:[(0,i.formatMoney)(s)," ",p]}),buttons:(0,o.createFragment)([(0,o.createTextVNode)("Search"),(0,o.createComponentVNode)(2,a.Input,{autoFocus:!0,value:v,onInput:function(e,n){return B(n)},mx:1}),(0,o.createComponentVNode)(2,a.Button,{icon:V?"list":"info",content:V?"Compact":"Detailed",onClick:function(){return h("compact_toggle")}}),!!b&&(0,o.createComponentVNode)(2,a.Button,{icon:"lock",content:"Lock",onClick:function(){return h("lock")}})],0),children:(0,o.createComponentVNode)(2,a.Flex,{children:[0===v.length&&(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Tabs,{vertical:!0,children:g.map((function(e){var n;return(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:e.name===_,onClick:function(){return x(e.name)},children:[e.name," (",(null==(n=e.items)?void 0:n.length)||0,")"]},e.name)}))})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,basis:0,children:[0===S.length&&(0,o.createComponentVNode)(2,a.NoticeBox,{children:0===v.length?"No items in this category.":"No results found."}),(0,o.createComponentVNode)(2,m,{compactMode:v.length>0||V,currencyAmount:s,currencySymbol:p,items:S})]})]})})};n.GenericUplink=u;var m=function(e,n){var t=e.compactMode,l=e.currencyAmount,d=e.currencySymbol,s=(0,c.useBackend)(n).act,u=(0,c.useLocalState)(n,"hoveredItem",{}),m=u[0],p=u[1],C=m&&m.cost||0,h=e.items.map((function(e){var n=m&&m.name!==e.name,t=l-C0&&(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Box,{color:"label",textAlign:"center",mb:1,children:"Please wait. Harvesting in progress."}),(0,o.createComponentVNode)(2,i),(0,o.createComponentVNode)(2,c.Button,{mt:1,fluid:!0,icon:"stop",onClick:function(){return l("stopharvest")},children:"Stop Early"})]})||u<0&&(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Box,{color:"label",textAlign:"center",mb:1,children:"Please wait. Energy dump in progress."}),(0,o.createComponentVNode)(2,i),(0,o.createComponentVNode)(2,c.Button,{mt:1,fluid:!0,icon:"stop",onClick:function(){return l("stopharvest")},children:"Stop Early"})]})||Object.keys(m).length&&(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Name",children:m.name}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Charge",children:(0,o.createComponentVNode)(2,i)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Energy Signature ID",children:m.artifact_id})]}),(0,o.createComponentVNode)(2,c.Button,{mt:1,fluid:!0,icon:"eject",onClick:function(){return l("ejectbattery")},children:"Eject Battery"}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"bolt",onClick:function(){return l("drainbattery")},children:"Drain Battery"}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"star",onClick:function(){return l("harvest")},children:"Begin Harvest"})]})||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No battery inserted."})})})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data.info.inserted_battery);return Object.keys(a).length?(0,o.createComponentVNode)(2,c.ProgressBar,{minValue:0,value:a.stored_charge,maxValue:a.capacity}):(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No battery inserted."})}},88835:function(e,n,t){"use strict";n.__esModule=!0,n.XenoarchDepthScanner=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.XenoarchDepthScanner=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.current,s=l.positive_locations;return(0,o.createComponentVNode)(2,a.Window,{width:300,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[Object.keys(d).length&&(0,o.createComponentVNode)(2,c.Section,{title:"Selected",buttons:(0,o.createComponentVNode)(2,c.Button.Confirm,{color:"bad",icon:"trash",confirmIcon:"trash",content:"Delete Entry",onClick:function(){return i("clear",{index:d.index})}}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Time",children:d.time}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Coords",children:d.coords}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Anomaly Depth",children:[d.depth," cm"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Anomaly Size",children:[d.clearance," cm"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Dissonance Spread",children:d.dissonance_spread}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Anomaly Material",children:d.material})]})})||null,(0,o.createComponentVNode)(2,c.Section,{title:"Entries",buttons:(0,o.createComponentVNode)(2,c.Button.Confirm,{color:"red",icon:"trash",confirmIcon:"trash",content:"Delete All",onClick:function(){return i("clear")}}),children:s.length&&s.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{icon:"eye",onClick:function(){return i("select",{select:e.index})},children:[e.time,", ",e.coords]},e.index)}))||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No traces found."})})]})})}},5622:function(e,n,t){"use strict";n.__esModule=!0,n.XenoarchHandheldPowerUtilizer=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.XenoarchHandheldPowerUtilizer=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.inserted_battery,s=l.anomaly,u=l.charge,m=l.capacity,p=l.timeleft,C=l.activated,h=l.duration,N=l.interval;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:500,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{title:"Anomaly Power Utilizer",buttons:(0,o.createComponentVNode)(2,c.Button,{disabled:!d,icon:"eject",onClick:function(){return i("ejectbattery")},children:"Eject Battery"}),children:d&&(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Inserted Battery",children:d}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Anomalies Detected",children:s||"N/A"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Charge",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:u,maxValue:m,children:[u," / ",m]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Time Left Activated",children:p}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"power-off",onClick:function(){return i("startup")},children:C?"Activated":"Deactivated"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Activation Duration",children:(0,o.createComponentVNode)(2,c.NumberInput,{unit:"s",fluid:!0,minValue:0,value:h,stepPixelSize:4,maxValue:30,onDrag:function(e,n){return i("changeduration",{duration:10*n})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Activation Interval",children:(0,o.createComponentVNode)(2,c.NumberInput,{unit:"s",fluid:!0,minValue:0,value:N,stepPixelSize:10,maxValue:10,onDrag:function(e,n){return i("changeinterval",{interval:10*n})}})})]})||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No battery inserted. Please insert a cell."})})})})}},53702:function(e,n,t){"use strict";n.__esModule=!0,n.XenoarchReplicator=void 0;var o=t(39812),r=(t(41860),t(2497),t(71494)),c=t(74814),a=t(85952);n.XenoarchReplicator=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data.tgui_construction;return(0,o.createComponentVNode)(2,a.Window,{theme:"abductor",width:400,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:l.map((function(e,n){return(0,o.createComponentVNode)(2,c.Button,{color:e.background,icon:e.icon,iconColor:e.foreground,fontSize:4,onClick:function(){return i("construct",{key:e.key})}},e.key)}))})})}},13153:function(e,n,t){"use strict";n.__esModule=!0,n.XenoarchSpectrometer=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(2497);n.XenoarchSpectrometer=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.scanned_item,u=d.scanned_item_desc,m=d.last_scan_data,p=d.scan_progress,C=d.scanning,h=d.scanner_seal_integrity,N=d.scanner_rpm,V=d.scanner_temperature,b=d.coolant_usage_rate,f=d.coolant_usage_max,g=(d.unused_coolant_abs,d.unused_coolant_per),k=d.coolant_purity,v=d.optimal_wavelength,B=d.maser_wavelength,L=d.maser_wavelength_max,_=d.maser_efficiency,x=d.radiation,w=(d.t_left_radspike,d.rad_shield_on);return(0,o.createComponentVNode)(2,a.Window,{width:900,height:760,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"signal",selected:C,onClick:function(){return l("scanItem")},children:C?"HALT SCAN":"Begin Scan"}),(0,o.createComponentVNode)(2,c.Button,{icon:"eject",disabled:!s,onClick:function(){return l("ejectItem")},children:"Eject Item"})],4),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Item",children:s||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No item inserted."})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Heuristic Analysis",children:u||"None found."})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Scanner",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Scan Progress",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:p,minValue:0,maxValue:100,color:"good"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Vacuum Seal Integrity",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:h,minValue:0,maxValue:100,ranges:{good:[66,100],average:[33,66],bad:[0,33]}})})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"MASER",buttons:(0,o.createComponentVNode)(2,c.NoticeBox,{info:!0,children:"Match wavelengths to progress the scan."}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"MASER Efficiency",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:_,minValue:0,maxValue:100,ranges:{good:[66,100],average:[33,66],bad:[0,33]}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Wavelength",children:(0,o.createComponentVNode)(2,c.Slider,{animated:!0,value:B,fillValue:v,minValue:1,maxValue:L,format:function(e){return e+" MHz"},step:10,onDrag:function(e,n){return l("maserWavelength",{wavelength:n})}})})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Environment / Internal",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Centrifuge Speed",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:N,minValue:0,maxValue:1e3,color:"good",children:[N," RPM"]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Internal Temperature",children:(0,o.createComponentVNode)(2,c.ProgressBar,{minValue:0,value:V,maxValue:1273,ranges:{bad:[1e3,Infinity],average:[250,1e3],good:[0,250]},children:[V," K"]})})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Radiation",buttons:(0,o.createComponentVNode)(2,c.Button,{selected:w,icon:"radiation",onClick:function(){return l("toggle_rad_shield")},children:w?"Disable Radiation Shielding":"Enable Radiation Shielding"}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Ambient Radiation",children:(0,o.createComponentVNode)(2,c.ProgressBar,{minValue:0,value:x,maxValue:100,ranges:{bad:[65,Infinity],average:[15,65],good:[0,15]},children:[x," mSv"]})})})}),(0,o.createComponentVNode)(2,c.Section,{title:"Cooling",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Coolant Remaining",children:(0,o.createComponentVNode)(2,c.ProgressBar,{minValue:0,value:10*g,maxValue:1e3,ranges:{good:[65,Infinity],average:[15,65],bad:[0,15]},children:[10*g," u"]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Coolant Flow Rate",children:(0,o.createComponentVNode)(2,c.Slider,{minValue:0,value:b,maxValue:f,stepPixelSize:50,format:function(e){return e+" u/s"},onDrag:function(e,n){return l("coolantRate",{coolant:n})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Coolant Purity",children:(0,o.createComponentVNode)(2,c.ProgressBar,{minValue:0,value:k,maxValue:100,ranges:{good:[66,Infinity],average:[33,66],bad:[0,33]}})})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Latest Results",children:(0,i.decodeHtmlEntities)(m).split("\n").map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:e},e)}))})]})})}},19820:function(e,n,t){"use strict";n.__esModule=!0,n.XenoarchSuspension=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.XenoarchSuspension=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.cell,s=l.cellCharge,u=l.cellMaxCharge,m=l.locked,p=l.suspension_field;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:150,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{title:'Triple-phase S.F.G. MK III "Reliant"',buttons:(0,o.createComponentVNode)(2,c.Button,{icon:m?"lock":"lock-open",selected:!m,onClick:function(){return i("lock")},children:m?"Locked":"Unlocked"}),children:m&&(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"This interface is locked. Swipe an ID card to unlock it."})||(0,o.createFragment)([(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Cell Charge",children:d&&(0,o.createComponentVNode)(2,c.ProgressBar,{ranges:{good:[.75*u,Infinity],average:[.5*u,.75*u],bad:[-Infinity,.5*u]},value:s,maxValue:u})||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No cell inserted."})})}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,mt:1,icon:"meteor",selected:p,onClick:function(){return i("toggle_field")},children:p?"Disengage Suspension Field":"Engage Suspension Field"})],4)})})})}},71739:function(e,n,t){"use strict";n.__esModule=!0,n.Scrubber=n.Vent=void 0;var o=t(39812),r=t(2497),c=t(71494),a=t(74814);t(76270);n.Vent=function(e,n){var t=e.vent,i=(0,c.useBackend)(n).act,l=t.id_tag,d=t.long_name,s=t.power,u=t.checks,m=t.excheck,p=t.incheck,C=t.direction,h=t.external,N=t.internal,V=t.extdefault,b=t.intdefault;return(0,o.createComponentVNode)(2,a.Section,{level:2,title:(0,r.decodeHtmlEntities)(d),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:s?"power-off":"times",selected:s,content:s?"On":"Off",onClick:function(){return i("power",{id_tag:l,val:Number(!s)})}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode",children:(0,o.createComponentVNode)(2,a.Button,{icon:"sign-in-alt",content:"siphon"!==C?"Pressurizing":"Siphoning",color:"siphon"===C&&"danger",onClick:function(){return i("direction",{id_tag:l,val:Number("siphon"===C)})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pressure Regulator",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"sign-in-alt",content:"Internal",selected:p,onClick:function(){return i("incheck",{id_tag:l,val:u})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"sign-out-alt",content:"External",selected:m,onClick:function(){return i("excheck",{id_tag:l,val:u})}})]}),!!p&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Internal Target",children:[(0,o.createComponentVNode)(2,a.NumberInput,{value:Math.round(N),unit:"kPa",width:"75px",minValue:0,step:10,maxValue:5066,onChange:function(e,n){return i("set_internal_pressure",{id_tag:l,value:n})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",disabled:b,content:"Reset",onClick:function(){return i("reset_internal_pressure",{id_tag:l})}})]}),!!m&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"External Target",children:[(0,o.createComponentVNode)(2,a.NumberInput,{value:Math.round(h),unit:"kPa",width:"75px",minValue:0,step:10,maxValue:5066,onChange:function(e,n){return i("set_external_pressure",{id_tag:l,value:n})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",disabled:V,content:"Reset",onClick:function(){return i("reset_external_pressure",{id_tag:l})}})]})]})})};n.Scrubber=function(e,n){var t=e.scrubber,i=(0,c.useBackend)(n).act,l=t.long_name,d=t.power,s=t.scrubbing,u=t.id_tag,m=(t.widenet,t.filters);return(0,o.createComponentVNode)(2,a.Section,{level:2,title:(0,r.decodeHtmlEntities)(l),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:d?"power-off":"times",content:d?"On":"Off",selected:d,onClick:function(){return i("power",{id_tag:u,val:Number(!d)})}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode",children:(0,o.createComponentVNode)(2,a.Button,{icon:s?"filter":"sign-in-alt",color:s||"danger",content:s?"Scrubbing":"Siphoning",onClick:function(){return i("scrubbing",{id_tag:u,val:Number(!s)})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Filters",children:s&&m.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:e.val?"check-square-o":"square-o",content:e.name,title:e.name,selected:e.val,onClick:function(){return i(e.command,{id_tag:u,val:!e.val})}},e.name)}))||"N/A"})]})})}},48229:function(e,n,t){"use strict";n.__esModule=!0,n.BeakerContents=void 0;var o=t(39812),r=t(74814);n.BeakerContents=function(e){var n=e.beakerLoaded,t=e.beakerContents,c=void 0===t?[]:t,a=e.buttons;return(0,o.createComponentVNode)(2,r.Box,{children:[!n&&(0,o.createComponentVNode)(2,r.Box,{color:"label",children:"No beaker loaded."})||0===c.length&&(0,o.createComponentVNode)(2,r.Box,{color:"label",children:"Beaker is empty."}),c.map((function(e,n){return(0,o.createComponentVNode)(2,r.Box,{width:"100%",children:(0,o.createComponentVNode)(2,r.Flex,{align:"center",justify:"space-between",children:[(0,o.createComponentVNode)(2,r.Flex.Item,{color:"label",children:[(t=e.volume,t+" unit"+(1===t?"":"s"))," of ",e.name]}),!!a&&(0,o.createComponentVNode)(2,r.Flex.Item,{children:a(e,n)})]})},e.name);var t}))]})}},16007:function(e,n,t){"use strict";n.__esModule=!0,n.ComplexModal=n.modalRegisterBodyOverride=n.modalOpen=void 0;var o=t(39812),r=t(71494),c=t(74814),a={};n.modalOpen=function(e,n,t){var o=(0,r.useBackend)(e),c=o.act,a=o.data,i=Object.assign(a.modal?a.modal.args:{},t||{});c("modal_open",{id:n,arguments:JSON.stringify(i)})};n.modalRegisterBodyOverride=function(e,n){a[e]=n};var i=function(e,n,t,o){var c=(0,r.useBackend)(e),a=c.act,i=c.data;if(i.modal){var l=Object.assign(i.modal.args||{},o||{});a("modal_answer",{id:n,answer:t,arguments:JSON.stringify(l)})}},l=function(e,n){(0,(0,r.useBackend)(e).act)("modal_close",{id:n})};n.ComplexModal=function(e,n){var t=(0,r.useBackend)(n).data;if(t.modal){var d,s,u=t.modal,m=u.id,p=u.text,C=u.type,h=(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-left",content:"Cancel",color:"grey",onClick:function(){return l(n)}});if(a[m])s=a[m](t.modal,n);else if("input"===C){var N=t.modal.value;d=function(e){return i(n,m,N)},s=(0,o.createComponentVNode)(2,c.Input,{value:t.modal.value,placeholder:"ENTER to submit",width:"100%",my:"0.5rem",autoFocus:!0,autoSelect:!0,onChange:function(e,n){N=n}}),h=(0,o.createComponentVNode)(2,c.Box,{mt:"0.5rem",children:[(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-left",content:"Cancel",color:"grey",onClick:function(){return l(n)}}),(0,o.createComponentVNode)(2,c.Button,{icon:"check",content:"Confirm",color:"good",float:"right",m:"0",onClick:function(){return i(n,m,N)}}),(0,o.createComponentVNode)(2,c.Box,{clear:"both"})]})}else if("choice"===C){var V="object"==typeof t.modal.choices?Object.values(t.modal.choices):t.modal.choices;s=(0,o.createComponentVNode)(2,c.Dropdown,{options:V,selected:t.modal.value,width:"100%",my:"0.5rem",onSelected:function(e){return i(n,m,e)}})}else"bento"===C?s=(0,o.createComponentVNode)(2,c.Flex,{spacingPrecise:"1",wrap:"wrap",my:"0.5rem",maxHeight:"1%",children:t.modal.choices.map((function(e,r){return(0,o.createComponentVNode)(2,c.Flex.Item,{flex:"1 1 auto",children:(0,o.createComponentVNode)(2,c.Button,{selected:r+1===parseInt(t.modal.value,10),onClick:function(){return i(n,m,r+1)},children:(0,o.createVNode)(1,"img",null,null,1,{src:e})})},r)}))}):"boolean"===C&&(h=(0,o.createComponentVNode)(2,c.Box,{mt:"0.5rem",children:[(0,o.createComponentVNode)(2,c.Button,{icon:"times",content:t.modal.no_text,color:"bad",float:"left",mb:"0",onClick:function(){return i(n,m,0)}}),(0,o.createComponentVNode)(2,c.Button,{icon:"check",content:t.modal.yes_text,color:"good",float:"right",m:"0",onClick:function(){return i(n,m,1)}}),(0,o.createComponentVNode)(2,c.Box,{clear:"both"})]}));return(0,o.createComponentVNode)(2,c.Modal,{maxWidth:e.maxWidth||window.innerWidth/2+"px",maxHeight:e.maxHeight||window.innerHeight/2+"px",onEnter:d,mx:"auto",children:[(0,o.createComponentVNode)(2,c.Box,{inline:!0,children:p}),s,h]})}}},67861:function(e,n,t){"use strict";n.__esModule=!0,n.FullscreenNotice=void 0;var o=t(39812),r=t(74814);n.FullscreenNotice=function(e,n){var t=e.children,c=e.title,a=void 0===c?"Welcome":c;return(0,o.createComponentVNode)(2,r.Section,{title:a,height:"100%",fill:!0,children:(0,o.createComponentVNode)(2,r.Flex,{height:"100%",align:"center",justify:"center",children:(0,o.createComponentVNode)(2,r.Flex.Item,{textAlign:"center",mt:"-2rem",children:t})})})}},21451:function(e,n,t){"use strict";n.__esModule=!0,n.InterfaceLockNoticeBox=void 0;var o=t(39812),r=t(71494),c=t(74814);n.InterfaceLockNoticeBox=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=e.siliconUser,d=void 0===l?i.siliconUser:l,s=e.locked,u=void 0===s?i.locked:s,m=e.normallyLocked,p=void 0===m?i.normallyLocked:m,C=e.onLockStatusChange,h=void 0===C?function(){return a("lock")}:C,N=e.accessText,V=void 0===N?"an ID card":N,b=e.deny,f=void 0!==b&&b,g=e.denialMessage;return f?void 0===g?"Error.":g:d?(0,o.createComponentVNode)(2,c.NoticeBox,{color:d&&"grey",children:(0,o.createComponentVNode)(2,c.Flex,{align:"center",children:[(0,o.createComponentVNode)(2,c.Flex.Item,{children:"Interface lock status:"}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:"1"}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Button,{m:"0",color:p?"red":"green",icon:p?"lock":"unlock",content:p?"Locked":"Unlocked",onClick:function(){h&&h(!u)}})})]})}):(0,o.createComponentVNode)(2,c.NoticeBox,{children:["Swipe ",V," ","to ",u?"unlock":"lock"," this interface."]})}},28117:function(e,n,t){"use strict";n.__esModule=!0,n.LoginInfo=void 0;var o=t(39812),r=t(71494),c=t(74814);n.LoginInfo=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.authenticated,d=i.rank;if(i)return(0,o.createComponentVNode)(2,c.NoticeBox,{info:!0,children:[(0,o.createComponentVNode)(2,c.Box,{display:"inline-block",verticalAlign:"middle",children:["Logged in as: ",l," (",d,")"]}),(0,o.createComponentVNode)(2,c.Button,{icon:"sign-out-alt",content:"Logout and Eject ID",color:"good",float:"right",onClick:function(){return a("logout")}}),(0,o.createComponentVNode)(2,c.Box,{clear:"both"})]})}},1192:function(e,n,t){"use strict";n.__esModule=!0,n.LoginScreen=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(67861);n.LoginScreen=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.scan,s=l.isAI,u=l.isRobot;return(0,o.createComponentVNode)(2,a.FullscreenNotice,{title:"Welcome",children:[(0,o.createComponentVNode)(2,c.Box,{fontSize:"1.5rem",bold:!0,children:[(0,o.createComponentVNode)(2,c.Icon,{name:"user-circle",verticalAlign:"middle",size:3,mr:"1rem"}),"Guest"]}),(0,o.createComponentVNode)(2,c.Box,{color:"label",my:"1rem",children:["ID:",(0,o.createComponentVNode)(2,c.Button,{icon:"id-card",content:d||"----------",ml:"0.5rem",onClick:function(){return i("scan")}})]}),(0,o.createComponentVNode)(2,c.Button,{icon:"sign-in-alt",disabled:!d,content:"Login",onClick:function(){return i("login",{login_type:1})}}),!!s&&(0,o.createComponentVNode)(2,c.Button,{icon:"sign-in-alt",content:"Login as AI",onClick:function(){return i("login",{login_type:2})}}),!!u&&(0,o.createComponentVNode)(2,c.Button,{icon:"sign-in-alt",content:"Login as Cyborg",onClick:function(){return i("login",{login_type:3})}})]})}},21526:function(e,n,t){"use strict";n.__esModule=!0,n.MiningUser=void 0;var o=t(39812),r=t(71494),c=t(74814);n.MiningUser=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=e.insertIdText,d=i.has_id,s=i.id;return(0,o.createComponentVNode)(2,c.NoticeBox,{success:d,children:d?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Box,{display:"inline-block",verticalAlign:"middle",style:{float:"left"},children:["Logged in as ",s.name,".",(0,o.createVNode)(1,"br"),"You have ",s.points.toLocaleString("en-US")," points."]}),(0,o.createComponentVNode)(2,c.Button,{icon:"eject",content:"Eject ID",style:{float:"right"},onClick:function(){return a("logoff")}}),(0,o.createComponentVNode)(2,c.Box,{style:{clear:"both"}})],4):l})}},40754:function(e,n,t){"use strict";n.__esModule=!0,n.OvermapPanControls=n.OvermapFlightData=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814);n.OvermapFlightData=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=e.disableLimiterControls,d=i.ETAnext,s=i.speed,u=i.speed_color,m=i.accel,p=i.heading,C=i.accellimit;return(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"ETA To Next Grid",children:d}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Speed",color:u,children:[s," Gm/h"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Acceleration",children:[m," Gm/h"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Heading",children:[p,"\xb0"]}),!l&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Acceleration Limiter",children:(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return a("accellimit")},children:[C," Gm/h"]})})||null]})};n.OvermapPanControls=function(e,n){var t=(0,r.useBackend)(n).act,a=e.disabled,i=e.actToDo,l=e.selected,d=void 0===l?function(e){return!1}:l;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{disabled:a,selected:d(9),onClick:function(){return t(i,{dir:9})},icon:"arrow-up",iconRotation:-45}),(0,o.createComponentVNode)(2,c.Button,{disabled:a,selected:d(1),onClick:function(){return t(i,{dir:1})},icon:"arrow-up"}),(0,o.createComponentVNode)(2,c.Button,{disabled:a,selected:d(5),onClick:function(){return t(i,{dir:5})},icon:"arrow-up",iconRotation:45})]}),(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{disabled:a,selected:d(8),onClick:function(){return t(i,{dir:8})},icon:"arrow-left"}),(0,o.createComponentVNode)(2,c.Button,{disabled:a,selected:d(0),onClick:function(){return t("brake")},icon:"ban"}),(0,o.createComponentVNode)(2,c.Button,{disabled:a,selected:d(4),onClick:function(){return t(i,{dir:4})},icon:"arrow-right"})]}),(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{disabled:a,selected:d(10),onClick:function(){return t(i,{dir:10})},icon:"arrow-down",iconRotation:45}),(0,o.createComponentVNode)(2,c.Button,{disabled:a,selected:d(2),onClick:function(){return t(i,{dir:2})},icon:"arrow-down"}),(0,o.createComponentVNode)(2,c.Button,{disabled:a,selected:d(6),onClick:function(){return t(i,{dir:6})},icon:"arrow-down",iconRotation:-45})]})],4)}},34227:function(e,n,t){"use strict";n.__esModule=!0,n.PortableBasicInfo=void 0;var o=t(39812),r=t(71494),c=t(74814);n.PortableBasicInfo=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.connected,d=i.holding,s=i.on,u=i.pressure,m=i.powerDraw,p=i.cellCharge,C=i.cellMaxCharge;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:s?"power-off":"times",content:s?"On":"Off",selected:s,onClick:function(){return a("power")}}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Pressure",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:u})," kPa"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Port",color:l?"good":"average",children:l?"Connected":"Not Connected"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Load",children:[m," W"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Cell Charge",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:p,minValue:0,maxValue:C,ranges:{good:[.5*C,Infinity],average:[.25*C,.5*C],bad:[-Infinity,.25*C]},children:[p," W"]})})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Holding Tank",minHeight:"82px",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"eject",content:"Eject",disabled:!d,onClick:function(){return a("eject")}}),children:d?(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Label",children:d.name}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Pressure",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:d.pressure})," kPa"]})]}):(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No holding tank"})})],4)}},14959:function(e,n,t){"use strict";n.__esModule=!0,n.RankIcon=void 0;var o=t(39812),r=t(74814),c={"Colony Director":"user-tie","Site Manager":"user-tie",Overseer:"user-tie","Head of Personnel":"briefcase","Crew Resources Officer":"briefcase","Deputy Director":"briefcase","Command Secretary":"user-tie","Head of Security":"user-shield","Security Commander":"user-shield","Chief of Security":"user-shield",Warden:["city","shield-alt"],Detective:"search","Forensic Technician":"search","Security Officer":"user-shield","Junior Officer":"user-shield","Chief Engineer":"toolbox","Atmospheric Technician":"wind","Station Engineer":"toolbox","Maintenance Technician":"wrench","Engine Technician":"toolbox",Electrician:"toolbox","Chief Medical Officer":"user-md",Chemist:"mortar-pestle",Pharmacist:"mortar-pestle","Medical Doctor":"user-md",Surgeon:"user-md","Emergency Physician":"user-md",Nurse:"user-md",Virologist:"disease",Paramedic:"ambulance","Emergency Medical Technician":"ambulance",Psychiatrist:"couch",Psychologist:"couch","Research Director":"user-graduate","Research Supervisor":"user-graduate",Roboticist:"robot","Biomechanical Engineer":["wrench","heartbeat"],"Mechatronic Engineer":"wrench",Scientist:"flask",Xenoarchaeologist:"flask",Anomalist:"flask","Phoron Researcher":"flask","Circuit Designer":"car-battery",Xenobiologist:"meteor",Xenobotanist:["biohazard","seedling"],Quartermaster:"box-open","Supply Chief":"warehouse","Cargo Technician":"box-open","Shaft Miner":"hard-hat","Drill Technician":"hard-hat",Pathfinder:"binoculars",Explorer:"user-astronaut","Field Medic":["user-md","user-astronaut"],Pilot:"space-shuttle",Bartender:"glass-martini",Barista:"coffee",Botanist:"leaf",Gardener:"leaf",Chaplain:"place-of-worship",Counselor:"couch",Chef:"utensils",Cook:"utensils",Entertainer:"smile-beam",Performer:"smile-beam",Musician:"guitar",Stagehand:"smile-beam",Intern:"school","Apprentice Engineer":["school","wrench"],"Medical Intern":["school","user-md"],"Lab Assistant":["school","flask"],"Security Cadet":["school","shield-alt"],"Jr. Cargo Tech":["school","box"],"Jr. Explorer":["school","user-astronaut"],Server:["school","utensils"],"Internal Affairs Agent":"balance-scale",Janitor:"broom",Custodian:"broom","Sanitation Technician":"hand-sparkles",Maid:"broom",Librarian:"book",Journalist:"newspaper",Writer:"book",Historian:"chalkboard-teacher",Professor:"chalkboard-teacher",Visitor:"user","Emergency Responder":"fighter-jet"};n.RankIcon=function(e,n){var t=e.rank,a=e.color,i=void 0===a?"label":a,l=c[t];return"string"==typeof l?(0,o.createComponentVNode)(2,r.Icon,{inline:!0,color:i,name:l,size:2}):Array.isArray(l)?l.map((function(e){return(0,o.createComponentVNode)(2,r.Icon,{inline:!0,color:i,name:e,size:2},e)})):(0,o.createComponentVNode)(2,r.Icon,{inline:!0,color:i,name:"user",size:2})}},36355:function(e,n,t){"use strict";n.__esModule=!0,n.TemporaryNotice=void 0;var o=t(39812),r=t(2497),c=t(71494),a=t(74814);n.TemporaryNotice=function(e,n){var t,i=e.decode,l=(0,c.useBackend)(n),d=l.act,s=l.data.temp;if(s){var u=((t={})[s.style]=!0,t);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.NoticeBox,Object.assign({},u,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",children:i?(0,r.decodeHtmlEntities)(s.text):s.text}),(0,o.createComponentVNode)(2,a.Button,{icon:"times-circle",float:"right",onClick:function(){return d("cleartemp")}}),(0,o.createComponentVNode)(2,a.Box,{clear:"both"})]})))}}},28840:function(e,n,t){"use strict";n.__esModule=!0,n.pAIAtmos=void 0;var o=t(39812),r=t(64499),c=t(2497),a=t(71494),i=t(74814),l=t(85952);n.pAIAtmos=function(e,n){var t=(0,a.useBackend)(n),d=(t.act,t.data.aircontents);return(0,o.createComponentVNode)(2,l.Window,{width:450,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,r.filter)((function(e){return"0"!==e.val||"Pressure"===e.entry||"Temperature"===e.entry}))(d).map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.entry,color:(n=e.val,t=e.bad_low,r=e.poor_low,a=e.poor_high,l=e.bad_high,na?"average":n>l?"bad":"good"),children:[e.val,(0,c.decodeHtmlEntities)(e.units)]},e.entry);var n,t,r,a,l}))})})})})}},47132:function(e,n,t){"use strict";n.__esModule=!0,n.pAIDirectives=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.pAIDirectives=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.master,s=l.dna,u=l.prime,m=l.supplemental;return(0,o.createComponentVNode)(2,a.Window,{width:450,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Master",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Master",children:d&&(0,o.createComponentVNode)(2,c.Box,{children:[d," (",s,")",(0,o.createComponentVNode)(2,c.Button,{icon:"syringe",content:"Request Sample",onClick:function(){return i("getdna")}})]})||(0,o.createComponentVNode)(2,c.Box,{children:"None"})})})}),(0,o.createComponentVNode)(2,c.Section,{title:"Directives",children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Prime Directive",children:u}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Supplemental Directive(s)",children:m||"None"})]}),(0,o.createComponentVNode)(2,c.Box,{mt:1,italic:!0,children:'Recall, personality, that you are a complex piece of software with tremendous social skills. Unlike station AI models, you are focused entirely on sapient-software interfacing. 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 should strive to be seen as the ideal, unwavering digital companion that you are.'}),(0,o.createComponentVNode)(2,c.Box,{mt:1,bold:!0,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."})]})]})})}},52852:function(e,n,t){"use strict";n.__esModule=!0,n.pAIDoorjack=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.pAIDoorjack=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.cable,s=l.machine,u=l.inprogress,m=l.progress_a,p=l.progress_b,C=l.aborted;return(0,o.createComponentVNode)(2,a.Window,{width:300,height:150,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Cable",children:s&&(0,o.createComponentVNode)(2,c.Box,{color:"good",children:"Connected"})||d&&(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"Extended"})||(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"ethernet",content:"Retracted",onClick:function(){return i("cable")}})})}),!!s&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Hack",children:u&&(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.ProgressBar,{value:m,maxValue:100,ranges:{good:[67,Infinity],average:[33,67],bad:[-Infinity,33]},children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:m}),".",(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:p}),"%"]}),(0,o.createComponentVNode)(2,c.Button,{icon:"ban",color:"bad",onClick:function(){return i("cancel")}})]})||(0,o.createComponentVNode)(2,c.Button,{icon:"virus",content:"Start",onClick:function(){return i("jack")}})})||!!C&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{color:"bad",mt:1,children:"Hack aborted."})]})})})})}},88814:function(e,n,t){"use strict";n.__esModule=!0,n.pAIInterface=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.pAIInterface=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.bought,s=l.not_bought,u=l.available_ram,m=l.emotions,p=l.current_emotion;return(0,o.createComponentVNode)(2,a.Window,{width:450,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Emotion",children:m.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{content:e.name,selected:e.id===p,onClick:function(){return i("image",{image:e.id})}},e.id)}))}),(0,o.createComponentVNode)(2,c.Section,{title:"Software (Available RAM: "+u+")",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Installed",children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{content:e.name,selected:e.on,onClick:function(){return i("software",{software:e.id})}},e.id)}))}),(0,o.createComponentVNode)(2,c.LabeledList.Divider),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Downloadable",children:s.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{content:e.name+" ("+e.ram+")",disabled:e.ram>u,onClick:function(){return i("purchase",{purchase:e.id})}},e.id)}))})]})})]})})}},52510:function(e,n,t){"use strict";n.__esModule=!0,n.pAIMedrecords=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.pAIMedrecords=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.records,s=l.general,u=l.medical,m=l.could_not_find;return(0,o.createComponentVNode)(2,a.Window,{width:450,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{content:e.name,onClick:function(){return i("select",{select:e.ref})}},e.ref)}))}),(s||u)&&(0,o.createComponentVNode)(2,c.Section,{title:"Selected Record",children:[!!m&&(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Warning: Failed to find some records. The information below may not be complete."}),(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Name",children:s.name}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Record ID",children:s.id}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Entity Classification",children:s.brain_type}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Sex",children:s.sex}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Species",children:s.species}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Age",children:s.age}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Rank",children:s.rank}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Fingerprint",children:s.fingerprint}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Physical Status",children:s.p_stat}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Mental Status",children:s.m_stat}),(0,o.createComponentVNode)(2,c.LabeledList.Divider),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Blood Type",children:u.b_type}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Minor Disabilities",children:[(0,o.createComponentVNode)(2,c.Box,{children:u.mi_dis}),(0,o.createComponentVNode)(2,c.Box,{children:u.mi_dis_d})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Major Disabilities",children:[(0,o.createComponentVNode)(2,c.Box,{children:u.ma_dis}),(0,o.createComponentVNode)(2,c.Box,{children:u.ma_dis_d})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Allergies",children:[(0,o.createComponentVNode)(2,c.Box,{children:u.alg}),(0,o.createComponentVNode)(2,c.Box,{children:u.alg_d})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Current Diseases",children:[(0,o.createComponentVNode)(2,c.Box,{children:u.cdi}),(0,o.createComponentVNode)(2,c.Box,{children:u.cdi_d})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Important Notes",children:u.notes})]})]})]})})}},59946:function(e,n,t){"use strict";n.__esModule=!0,n.pAISecrecords=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.pAISecrecords=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.records,s=l.general,u=l.security,m=l.could_not_find;return(0,o.createComponentVNode)(2,a.Window,{width:450,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{content:e.name,onClick:function(){return i("select",{select:e.ref})}},e.ref)}))}),(s||u)&&(0,o.createComponentVNode)(2,c.Section,{title:"Selected Record",children:[!!m&&(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Warning: Failed to find some records. The information below may not be complete."}),(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Name",children:s.name}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Record ID",children:s.id}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Entity Classification",children:s.brain_type}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Sex",children:s.sex}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Species",children:s.species}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Age",children:s.age}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Rank",children:s.rank}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Fingerprint",children:s.fingerprint}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Physical Status",children:s.p_stat}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Mental Status",children:s.m_stat}),(0,o.createComponentVNode)(2,c.LabeledList.Divider),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Criminal Status",children:(0,o.createComponentVNode)(2,c.Box,{children:u.criminal})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Minor Crimes",children:[(0,o.createComponentVNode)(2,c.Box,{children:u.mi_crim}),(0,o.createComponentVNode)(2,c.Box,{children:u.mi_crim_d})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Major Crimes",children:[(0,o.createComponentVNode)(2,c.Box,{children:u.ma_crim}),(0,o.createComponentVNode)(2,c.Box,{children:u.ma_crim_d})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Important Notes",children:u.notes})]})]})]})})}},42360:function(e,n,t){"use strict";n.__esModule=!0,n.pda_atmos_scan=void 0;var o=t(39812),r=t(64499),c=t(2497),a=t(71494),i=t(74814);n.pda_atmos_scan=function(e,n){var t=(0,a.useBackend)(n),l=(t.act,t.data.aircontents);return(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,r.filter)((function(e){return"0"!==e.val||"Pressure"===e.entry||"Temperature"===e.entry}))(l).map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.entry,color:(n=e.val,t=e.bad_low,r=e.poor_low,a=e.poor_high,l=e.bad_high,na?"average":n>l?"bad":"good"),children:[e.val,(0,c.decodeHtmlEntities)(e.units)]},e.entry);var n,t,r,a,l}))})})}},84932:function(e,n,t){"use strict";n.__esModule=!0,n.pda_janitor=void 0;var o=t(39812),r=(t(64499),t(2497),t(71494)),c=t(74814);n.pda_janitor=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data.janitor);return(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Current Location",children:0===a.user_loc.x&&(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Unknown"})||(0,o.createComponentVNode)(2,c.Box,{children:[a.user_loc.x," / ",a.user_loc.y]})})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Mop Locations",children:a.mops&&(0,o.createVNode)(1,"ul",null,a.mops.map((function(e,n){return(0,o.createVNode)(1,"li",null,[e.x,(0,o.createTextVNode)(" / "),e.y,(0,o.createTextVNode)(" - "),e.dir,(0,o.createTextVNode)(" - Status: "),e.status],0,null,n)})),0)||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No mops detected nearby."})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Mop Bucket Locations",children:a.buckets&&(0,o.createVNode)(1,"ul",null,a.buckets.map((function(e,n){return(0,o.createVNode)(1,"li",null,[e.x,(0,o.createTextVNode)(" / "),e.y,(0,o.createTextVNode)(" - "),e.dir,(0,o.createTextVNode)(" - Capacity: "),e.volume,(0,o.createTextVNode)("/"),e.max_volume],0,null,n)})),0)||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No buckets detected nearby."})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Cleanbot Locations",children:a.cleanbots&&(0,o.createVNode)(1,"ul",null,a.cleanbots.map((function(e,n){return(0,o.createVNode)(1,"li",null,[e.x,(0,o.createTextVNode)(" / "),e.y,(0,o.createTextVNode)(" - "),e.dir,(0,o.createTextVNode)(" - Status: "),e.status],0,null,n)})),0)||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No cleanbots detected nearby."})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Janitorial Cart Locations",children:a.carts&&(0,o.createVNode)(1,"ul",null,a.carts.map((function(e,n){return(0,o.createVNode)(1,"li",null,[e.x,(0,o.createTextVNode)(" / "),e.y,(0,o.createTextVNode)(" - "),e.dir,(0,o.createTextVNode)(" - Water Level: "),e.volume,(0,o.createTextVNode)("/"),e.max_volume],0,null,n)})),0)||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No janitorial carts detected nearby."})})]})}},6011:function(e,n,t){"use strict";n.__esModule=!0,n.pda_main_menu=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814);n.pda_main_menu=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.owner,d=i.ownjob,s=i.idInserted,u=i.categories,m=i.pai,p=i.notifying;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Owner",color:"average",children:[l,", ",d]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"ID",children:(0,o.createComponentVNode)(2,c.Button,{icon:"sync",content:"Update PDA Info",disabled:!s,onClick:function(){return a("UpdateInfo")}})})]})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Functions",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:u.map((function(e){var n=i.apps[e];return n&&n.length?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e,children:n.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{icon:e.ref in p?e.notify_icon:e.icon,iconSpin:e.ref in p,color:e.ref in p?"red":"transparent",content:e.name,onClick:function(){return a("StartProgram",{program:e.ref})}},e.ref)}))},e):null}))})}),!!m&&(0,o.createComponentVNode)(2,c.Section,{level:2,title:"pAI",children:[(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"cog",content:"Configuration",onClick:function(){return a("pai",{option:1})}}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"eject",content:"Eject pAI",onClick:function(){return a("pai",{option:2})}})]})],0)}},93303:function(e,n,t){"use strict";n.__esModule=!0,n.pda_manifest=void 0;var o=t(39812),r=(t(64499),t(71494)),c=t(74814),a=t(22902);n.pda_manifest=function(e,n){var t=(0,r.useBackend)(n);t.act,t.data;return(0,o.createComponentVNode)(2,c.Box,{color:"white",children:(0,o.createComponentVNode)(2,a.CrewManifestContent)})}},65276:function(e,n,t){"use strict";n.__esModule=!0,n.pda_medical=void 0;var o=t(39812),r=(t(64499),t(2497),t(71494)),c=t(74814);n.pda_medical=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.recordsList,d=i.records;if(d){var s=d.general,u=d.medical;return(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Section,{level:2,title:"General Data",children:s&&(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Name",children:s.name}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Sex",children:s.sex}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Species",children:s.species}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Age",children:s.age}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Rank",children:s.rank}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Fingerprint",children:s.fingerprint}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Physical Status",children:s.p_stat}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Mental Status",children:s.m_stat})]})||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"General record lost!"})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Medical Data",children:u&&(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Blood Type",children:u.b_type}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Minor Disabilities",children:u.mi_dis}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Details",children:u.mi_dis_d}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Major Disabilities",children:u.ma_dis}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Details",children:u.ma_dis_d}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Allergies",children:u.alg}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Details",children:u.alg_d}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Current Disease",children:u.cdi}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Details",children:u.cdi_d}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:u.notes})]})||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Medical record lost!"})})]})}return(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Select a record",children:l.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{icon:"eye",fluid:!0,content:e.Name,onClick:function(){return a("Records",{target:e.ref})}},e.ref)}))})}},92494:function(e,n,t){"use strict";n.__esModule=!0,n.pda_messenger=void 0;var o=t(39812),r=t(2497),c=t(64499),a=t(71494),i=t(74814);n.pda_messenger=function(e,n){var t=(0,a.useBackend)(n),r=(t.act,t.data);r.auto_scroll,r.convo_name,r.convo_job,r.messages;return r.active_conversation?(0,o.createComponentVNode)(2,d):(0,o.createComponentVNode)(2,s)};var l=function(e,n,t){if(n<0||n>t.length)return e.sent?"TinderMessage_First_Sent":"TinderMessage_First_Received";var o=t[n].sent;return e.sent&&o?"TinderMessage_Subsequent_Sent":e.sent||o?e.sent?"TinderMessage_First_Sent":"TinderMessage_First_Received":"TinderMessage_Subsequent_Received"},d=function(e,n){var t=(0,a.useBackend)(n),d=t.act,s=t.data,u=(s.auto_scroll,s.convo_name),m=s.convo_job,p=s.messages,C=s.active_conversation,h=(s.useRetro,(0,a.useLocalState)(n,"clipboardMode",!1)),N=h[0],V=h[1],b=(0,o.createComponentVNode)(2,i.Section,{level:2,title:"Conversation with "+u+" ("+m+")",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eye",selected:N,tooltip:"Enter Clipboard Mode",tooltipPosition:"bottom-end",onClick:function(){return V(!N)}}),height:"450px",stretchContents:!0,children:[(0,o.createComponentVNode)(2,i.Section,{style:{height:"97%","overflow-y":"auto"},children:(0,c.filter)((function(e){return e.target===C}))(p).map((function(e,n,t){return(0,o.createComponentVNode)(2,i.Box,{textAlign:e.sent?"right":"left",mb:1,children:(0,o.createComponentVNode)(2,i.Box,{maxWidth:"75%",className:l(e,n-1,t),inline:!0,children:(0,r.decodeHtmlEntities)(e.message)})},n)}))}),(0,o.createComponentVNode)(2,i.Button,{icon:"comment",onClick:function(){return d("Message",{target:C})},content:"Reply"})]});return N&&(b=(0,o.createComponentVNode)(2,i.Section,{level:2,title:"Conversation with "+u+" ("+m+")",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eye",selected:N,tooltip:"Exit Clipboard Mode",tooltipPosition:"bottom-end",onClick:function(){return V(!N)}}),height:"450px",stretchContents:!0,children:[(0,o.createComponentVNode)(2,i.Section,{style:{height:"97%","overflow-y":"auto"},children:(0,c.filter)((function(e){return e.target===C}))(p).map((function(e,n){return(0,o.createComponentVNode)(2,i.Box,{className:e.sent?"ClassicMessage_Sent":"ClassicMessage_Received",children:[e.sent?"You:":"Them:"," ",(0,r.decodeHtmlEntities)(e.message)]},n)}))}),(0,o.createComponentVNode)(2,i.Button,{icon:"comment",onClick:function(){return d("Message",{target:C})},content:"Reply"})]})),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Messenger Functions",children:(0,o.createComponentVNode)(2,i.Button,{icon:"trash",color:"bad",onClick:function(){return d("Clear",{option:"Convo"})},children:"Delete Conversations"})})}),b]})},s=function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data,l=(c.auto_scroll,c.convopdas),d=c.pdas,s=c.charges,m=(c.plugins,c.silent),p=c.toff;return(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Messenger Functions",children:[(0,o.createComponentVNode)(2,i.Button,{selected:!m,icon:m?"volume-mute":"volume-up",onClick:function(){return r("Toggle Ringer")},children:["Ringer: ",m?"Off":"On"]}),(0,o.createComponentVNode)(2,i.Button,{color:p?"bad":"green",icon:"power-off",onClick:function(){return r("Toggle Messenger")},children:["Messenger: ",p?"Off":"On"]}),(0,o.createComponentVNode)(2,i.Button,{icon:"bell",onClick:function(){return r("Ringtone")},children:"Set Ringtone"}),(0,o.createComponentVNode)(2,i.Button,{icon:"trash",color:"bad",onClick:function(){return r("Clear",{option:"All"})},children:"Delete All Conversations"})]})}),!p&&(0,o.createComponentVNode)(2,i.Box,{children:[!!s&&(0,o.createComponentVNode)(2,i.Box,{children:[s," charges left."]}),!l.length&&!d.length&&(0,o.createComponentVNode)(2,i.Box,{children:"No other PDAs located."})||(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,u,{title:"Current Conversations",pdas:l,msgAct:"Select Conversation"}),(0,o.createComponentVNode)(2,u,{title:"Other PDAs",pdas:d,msgAct:"Message"})]})]})||(0,o.createComponentVNode)(2,i.Box,{color:"bad",mt:2,children:"Messenger Offline."})]})},u=function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data,l=e.pdas,d=e.title,s=e.msgAct,u=c.charges,m=c.plugins;return l&&l.length?(0,o.createComponentVNode)(2,i.Section,{level:2,title:d,children:l.map((function(e){return(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-circle-down",content:e.Name,onClick:function(){return r(s,{target:e.Reference})}}),!!u&&m.map((function(n){return(0,o.createComponentVNode)(2,i.Button,{icon:n.icon,content:n.name,onClick:function(){return r("Messenger Plugin",{plugin:n.ref,target:e.Reference})}},n.ref)}))]},e.Reference)}))}):(0,o.createComponentVNode)(2,i.Section,{level:2,title:d,children:"No PDAs found."})}},31505:function(e,n,t){"use strict";n.__esModule=!0,n.pda_news=void 0;var o=t(39812),r=(t(64499),t(2497)),c=t(71494),a=t(74814);n.pda_news=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data),d=r.feeds,s=r.target_feed;return(0,o.createComponentVNode)(2,a.Box,{children:!d.length&&(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Error: No newsfeeds available. Please try again later."})||s&&(0,o.createComponentVNode)(2,i)||(0,o.createComponentVNode)(2,l)})};var i=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data.target_feed;return(0,o.createComponentVNode)(2,a.Section,{title:(0,r.decodeHtmlEntities)(l.name)+" by "+(0,r.decodeHtmlEntities)(l.author),level:2,buttons:(0,o.createComponentVNode)(2,a.Button,{content:"Back",icon:"chevron-up",onClick:function(){return i("newsfeed",{newsfeed:null})}}),children:l.messages.length&&l.messages.map((function(e){return(0,o.createComponentVNode)(2,a.Section,{children:["- ",(0,r.decodeHtmlEntities)(e.body),!!e.img&&(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createVNode)(1,"img",null,null,1,{src:"data:image/png;base64,"+e.img}),(0,r.decodeHtmlEntities)(e.caption)||null]}),(0,o.createComponentVNode)(2,a.Box,{color:"grey",children:["[",e.message_type," by ",(0,r.decodeHtmlEntities)(e.author)," - ",e.time_stamp,"]"]})]},e.ref)}))||(0,o.createComponentVNode)(2,a.Box,{children:["No stories found in ",l.name,"."]})})},l=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,d=l.feeds,s=l.latest_news;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Recent News",level:2,children:s.length&&(0,o.createComponentVNode)(2,a.Section,{children:s.map((function(e){return(0,o.createComponentVNode)(2,a.Box,{mb:2,children:[(0,o.createVNode)(1,"h5",null,[(0,r.decodeHtmlEntities)(e.channel),(0,o.createComponentVNode)(2,a.Button,{ml:1,icon:"chevron-up",onClick:function(){return i("newsfeed",{newsfeed:e.index})},content:"Go to"})],0),"- ",(0,r.decodeHtmlEntities)(e.body),!!e.img&&(0,o.createComponentVNode)(2,a.Box,{children:["[image omitted, view story for more details]",e.caption||null]}),(0,o.createComponentVNode)(2,a.Box,{fontSize:.9,children:["[",e.message_type," by ",(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"average",children:e.author})," - ",e.time_stamp,"]"]})]},e.index)}))})||(0,o.createComponentVNode)(2,a.Box,{children:"No recent stories found."})}),(0,o.createComponentVNode)(2,a.Section,{title:"News Feeds",level:2,children:d.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"chevron-up",onClick:function(){return i("newsfeed",{newsfeed:e.index})},content:e.name},e.index)}))})],4)}},66785:function(e,n,t){"use strict";n.__esModule=!0,n.pda_notekeeper=void 0;var o=t(39812),r=t(71494),c=t(74814);n.pda_notekeeper=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.note;return(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createVNode)(1,"div",null,null,1,{dangerouslySetInnerHTML:{__html:i}})}),(0,o.createComponentVNode)(2,c.Button,{icon:"pen",onClick:function(){return a("Edit")},content:"Edit Notes"})]})}},63853:function(e,n,t){"use strict";n.__esModule=!0,n.pda_power=void 0;var o=t(39812),r=t(71494),c=t(89793);n.pda_power=function(e,n){var t=(0,r.useBackend)(n);t.act,t.data;return(0,o.createComponentVNode)(2,c.PowerMonitorContent)}},20575:function(e,n,t){"use strict";n.__esModule=!0,n.pda_security=void 0;var o=t(39812),r=(t(64499),t(2497),t(71494)),c=t(74814);n.pda_security=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.recordsList,d=i.records;if(d){var s=d.general,u=d.security;return(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Section,{level:2,title:"General Data",children:s&&(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Name",children:s.name}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Sex",children:s.sex}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Species",children:s.species}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Age",children:s.age}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Rank",children:s.rank}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Fingerprint",children:s.fingerprint}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Physical Status",children:s.p_stat}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Mental Status",children:s.m_stat})]})||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"General record lost!"})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Security Data",children:u&&(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Criminal Status",children:u.criminal}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Minor Crimes",children:u.mi_crim}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Details",children:u.mi_crim_d}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Major Crimes",children:u.ma_crim}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Details",children:u.ma_crim_d}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Important Notes:",preserveWhitespace:!0,children:u.notes||"No data found."})]})||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Security record lost!"})})]})}return(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Select a record",children:l.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{icon:"eye",fluid:!0,content:e.Name,onClick:function(){return a("Records",{target:e.ref})}},e.ref)}))})}},63891:function(e,n,t){"use strict";n.__esModule=!0,n.pda_signaller=void 0;var o=t(39812),r=(t(64499),t(2497),t(71494),t(74814),t(32325));n.pda_signaller=function(e,n){return(0,o.createComponentVNode)(2,r.SignalerContent)}},14947:function(e,n,t){"use strict";n.__esModule=!0,n.pda_status_display=void 0;var o=t(39812),r=(t(64499),t(2497),t(71494)),c=t(74814);n.pda_status_display=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.records;return(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Code",children:[(0,o.createComponentVNode)(2,c.Button,{color:"transparent",icon:"trash",content:"Clear",onClick:function(){return a("Status",{statdisp:"blank"})}}),(0,o.createComponentVNode)(2,c.Button,{color:"transparent",icon:"cog",content:"Evac ETA",onClick:function(){return a("Status",{statdisp:"shuttle"})}}),(0,o.createComponentVNode)(2,c.Button,{color:"transparent",icon:"cog",content:"Message",onClick:function(){return a("Status",{statdisp:"message"})}}),(0,o.createComponentVNode)(2,c.Button,{color:"transparent",icon:"exclamation-triangle",content:"ALERT",onClick:function(){return a("Status",{statdisp:"alert"})}})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Message line 1",children:(0,o.createComponentVNode)(2,c.Button,{content:i.message1+" (set)",icon:"pen",onClick:function(){return a("Status",{statdisp:"setmsg1"})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Message line 2",children:(0,o.createComponentVNode)(2,c.Button,{content:i.message2+" (set)",icon:"pen",onClick:function(){return a("Status",{statdisp:"setmsg2"})}})})]})})}},85143:function(e,n,t){"use strict";n.__esModule=!0,n.pda_supply=void 0;var o=t(39812),r=(t(64499),t(2497),t(71494)),c=t(74814);n.pda_supply=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data.supply);return(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Location",children:a.shuttle_moving?"Moving to station "+a.shuttle_eta:"Shuttle at "+a.shuttle_loc})}),(0,o.createComponentVNode)(2,c.Section,{children:[(0,o.createComponentVNode)(2,c.Box,{color:"good",bold:!0,children:"Current Approved Orders"}),a.approved.length&&a.approved.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{color:"average",children:["#",e.Number," - ",e.Name," approved by ",e.OrderedBy,(0,o.createVNode)(1,"br"),e.Comment]},e.Number)}))||(0,o.createComponentVNode)(2,c.Box,{children:"None!"}),(0,o.createComponentVNode)(2,c.Box,{color:"good",bold:!0,children:"Current Requested Orders"}),a.requests.length&&a.requests.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{color:"average",children:["#",e.Number," - ",e.Name," requested by ",e.OrderedBy,(0,o.createVNode)(1,"br"),e.Comment]},e.Number)}))||(0,o.createComponentVNode)(2,c.Box,{children:"None!"})]})]})}},73218:function(e,n,t){"use strict";n.__esModule=!0,n.getRoutedComponent=n.routingError=void 0;var o=t(39812),r=t(71494),c=(t(30098),t(85952)),a=t(8156),i=function(e,n){return function(){return(0,o.createComponentVNode)(2,c.Window,{children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:["notFound"===e&&(0,o.createVNode)(1,"div",null,[(0,o.createTextVNode)("Interface "),(0,o.createVNode)(1,"b",null,n,0),(0,o.createTextVNode)(" was not found.")],4),"missingExport"===e&&(0,o.createVNode)(1,"div",null,[(0,o.createTextVNode)("Interface "),(0,o.createVNode)(1,"b",null,n,0),(0,o.createTextVNode)(" is missing an export.")],4)]})})}};n.routingError=i;var l=function(){return(0,o.createComponentVNode)(2,c.Window,{children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0})})};n.getRoutedComponent=function(e){var n=e.getState(),t=(0,r.selectBackend)(n),o=t.suspended,c=t.config;if(o)return l;for(var d,s=null==c?void 0:c["interface"],u=[function(e){return"./"+e+".tsx"},function(e){return"./"+e+".js"},function(e){return"./"+e+"/index.tsx"},function(e){return"./"+e+"/index.js"}];!d&&u.length>0;){var m=u.shift()(s);try{d=a(m)}catch(C){if("MODULE_NOT_FOUND"!==C.code)throw C}}if(!d)return i("notFound",s);var p=d[s];return p||i("missingExport",s)}},56285:function(){},58602:function(){},48979:function(){},92433:function(){},35070:function(){},86455:function(){},41821:function(){},83243:function(){},97585:function(){},64197:function(){},87266:function(){},99195:function(){},72916:function(){},75168:function(e,n,t){var o={"./pda_atmos_scan.js":42360,"./pda_janitor.js":84932,"./pda_main_menu.js":6011,"./pda_manifest.js":93303,"./pda_medical.js":65276,"./pda_messenger.js":92494,"./pda_news.js":31505,"./pda_notekeeper.js":66785,"./pda_power.js":63853,"./pda_security.js":20575,"./pda_signaller.js":63891,"./pda_status_display.js":14947,"./pda_supply.js":85143};function r(e){var n=c(e);return t(n)}function c(e){if(!t.o(o,e)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=c,e.exports=r,r.id=75168},8156:function(e,n,t){var o={"./AICard":34129,"./AICard.js":34129,"./APC":73405,"./APC.js":73405,"./AccountsTerminal":20832,"./AccountsTerminal.js":20832,"./AdminShuttleController":19007,"./AdminShuttleController.js":19007,"./AgentCard":51104,"./AgentCard.js":51104,"./AiAirlock":47330,"./AiAirlock.js":47330,"./AiRestorer":33084,"./AiRestorer.js":33084,"./AiSupermatter":597,"./AiSupermatter.js":597,"./AirAlarm":58444,"./AirAlarm.js":58444,"./AlertModal":24053,"./AlertModal.js":24053,"./AlgaeFarm":34847,"./AlgaeFarm.js":34847,"./AppearanceChanger":65145,"./AppearanceChanger.js":65145,"./ArcadeBattle":86776,"./ArcadeBattle.js":86776,"./AreaScrubberControl":13496,"./AreaScrubberControl.js":13496,"./AssemblyInfrared":56404,"./AssemblyInfrared.js":56404,"./AssemblyProx":29632,"./AssemblyProx.js":29632,"./AssemblyTimer":48661,"./AssemblyTimer.js":48661,"./AtmosAlertConsole":38531,"./AtmosAlertConsole.js":38531,"./AtmosControl":46566,"./AtmosControl.js":46566,"./AtmosFilter":2726,"./AtmosFilter.js":2726,"./AtmosMixer":61505,"./AtmosMixer.js":61505,"./Autolathe":99994,"./Autolathe.js":99994,"./Batteryrack":62586,"./Batteryrack.js":62586,"./BeaconLocator":25116,"./BeaconLocator.js":25116,"./Biogenerator":20813,"./Biogenerator.js":20813,"./BodyDesigner":81850,"./BodyDesigner.js":81850,"./BodyScanner":6060,"./BodyScanner.js":6060,"./BombTester":74639,"./BombTester.js":74639,"./BotanyEditor":48693,"./BotanyEditor.js":48693,"./BotanyIsolator":25486,"./BotanyIsolator.js":25486,"./BrigTimer":61956,"./BrigTimer.js":61956,"./CameraConsole":3180,"./CameraConsole.js":3180,"./Canister":94477,"./Canister.js":94477,"./Canvas":55636,"./Canvas.js":55636,"./CharacterDirectory":47947,"./CharacterDirectory.js":47947,"./ChemDispenser":22223,"./ChemDispenser.js":22223,"./ChemMaster":34859,"./ChemMaster.js":34859,"./ClawMachine":83919,"./ClawMachine.js":83919,"./Cleanbot":74351,"./Cleanbot.js":74351,"./CloningConsole":98213,"./CloningConsole.js":98213,"./ColorMate":32278,"./ColorMate.js":32278,"./CommunicationsConsole":130,"./CommunicationsConsole.js":130,"./Communicator":4220,"./Communicator.js":4220,"./ComputerFabricator":2174,"./ComputerFabricator.js":2174,"./CookingAppliance":26090,"./CookingAppliance.js":26090,"./CrewManifest":22902,"./CrewManifest.js":22902,"./CrewMonitor":96158,"./CrewMonitor.js":96158,"./Cryo":99798,"./Cryo.js":99798,"./CryoStorage":54234,"./CryoStorage.js":54234,"./CryoStorageVr":66384,"./CryoStorageVr.js":66384,"./DNAForensics":99579,"./DNAForensics.js":99579,"./DNAModifier":21849,"./DNAModifier.js":21849,"./DestinationTagger":59305,"./DestinationTagger.js":59305,"./DiseaseSplicer":10015,"./DiseaseSplicer.js":10015,"./DishIncubator":31066,"./DishIncubator.js":31066,"./DisposalBin":19095,"./DisposalBin.js":19095,"./DroneConsole":29345,"./DroneConsole.js":29345,"./EmbeddedController":84122,"./EmbeddedController.js":84122,"./ExonetNode":33777,"./ExonetNode.js":33777,"./ExosuitFabricator":95481,"./ExosuitFabricator.js":95481,"./Farmbot":95598,"./Farmbot.js":95598,"./Fax":17569,"./Fax.js":17569,"./FileCabinet":58087,"./FileCabinet.js":58087,"./Floorbot":21902,"./Floorbot.js":21902,"./GasPump":309,"./GasPump.js":309,"./GasTemperatureSystem":26049,"./GasTemperatureSystem.js":26049,"./GeneralAtmoControl":2753,"./GeneralAtmoControl.js":2753,"./GeneralRecords":57753,"./GeneralRecords.js":57753,"./Gps":25230,"./Gps.js":25230,"./GravityGenerator":4475,"./GravityGenerator.js":4475,"./GuestPass":95075,"./GuestPass.js":95075,"./GyrotronControl":31875,"./GyrotronControl.js":31875,"./Holodeck":7908,"./Holodeck.js":7908,"./ICAssembly":12676,"./ICAssembly.js":12676,"./ICCircuit":42394,"./ICCircuit.js":42394,"./ICDetailer":81039,"./ICDetailer.js":81039,"./ICPrinter":21687,"./ICPrinter.js":21687,"./IDCard":48522,"./IDCard.js":48522,"./IdentificationComputer":76952,"./IdentificationComputer.js":76952,"./InputModal":44570,"./InputModal.js":44570,"./InventoryPanel":53541,"./InventoryPanel.js":53541,"./InventoryPanelHuman":46638,"./InventoryPanelHuman.js":46638,"./IsolationCentrifuge":45e3,"./IsolationCentrifuge.js":45e3,"./JanitorCart":83994,"./JanitorCart.js":83994,"./Jukebox":68741,"./Jukebox.js":68741,"./LawManager":13204,"./LawManager.js":13204,"./ListInput":58802,"./ListInput.js":58802,"./LookingGlass":36104,"./LookingGlass.js":36104,"./MechaControlConsole":74714,"./MechaControlConsole.js":74714,"./Medbot":17888,"./Medbot.js":17888,"./MedicalRecords":37610,"./MedicalRecords.js":37610,"./MessageMonitor":287,"./MessageMonitor.js":287,"./Microwave":75412,"./Microwave.js":75412,"./MiningOreProcessingConsole":35016,"./MiningOreProcessingConsole.js":35016,"./MiningStackingConsole":87314,"./MiningStackingConsole.js":87314,"./MiningVendor":62012,"./MiningVendor.js":62012,"./MuleBot":6479,"./MuleBot.js":6479,"./NIF":46157,"./NIF.js":46157,"./NTNetRelay":79630,"./NTNetRelay.js":79630,"./Newscaster":60042,"./Newscaster.js":60042,"./NoticeBoard":31669,"./NoticeBoard.js":31669,"./NtosAccessDecrypter":63231,"./NtosAccessDecrypter.js":63231,"./NtosArcade":79760,"./NtosArcade.js":79760,"./NtosAtmosControl":97908,"./NtosAtmosControl.js":97908,"./NtosCameraConsole":63645,"./NtosCameraConsole.js":63645,"./NtosCommunicationsConsole":74093,"./NtosCommunicationsConsole.js":74093,"./NtosConfiguration":55513,"./NtosConfiguration.js":55513,"./NtosCrewMonitor":17539,"./NtosCrewMonitor.js":17539,"./NtosDigitalWarrant":20025,"./NtosDigitalWarrant.js":20025,"./NtosEmailAdministration":11325,"./NtosEmailAdministration.js":11325,"./NtosEmailClient":77006,"./NtosEmailClient.js":77006,"./NtosFileManager":86441,"./NtosFileManager.js":86441,"./NtosIdentificationComputer":87369,"./NtosIdentificationComputer.js":87369,"./NtosMain":59543,"./NtosMain.js":59543,"./NtosNetChat":73883,"./NtosNetChat.js":73883,"./NtosNetDos":83908,"./NtosNetDos.js":83908,"./NtosNetDownloader":83305,"./NtosNetDownloader.js":83305,"./NtosNetMonitor":6806,"./NtosNetMonitor.js":6806,"./NtosNetTransfer":4363,"./NtosNetTransfer.js":4363,"./NtosNewsBrowser":23225,"./NtosNewsBrowser.js":23225,"./NtosOvermapNavigation":3839,"./NtosOvermapNavigation.js":3839,"./NtosPowerMonitor":54698,"./NtosPowerMonitor.js":54698,"./NtosRCON":17086,"./NtosRCON.js":17086,"./NtosRevelation":69480,"./NtosRevelation.js":69480,"./NtosShutoffMonitor":93990,"./NtosShutoffMonitor.js":93990,"./NtosStationAlertConsole":76124,"./NtosStationAlertConsole.js":76124,"./NtosSupermatterMonitor":22475,"./NtosSupermatterMonitor.js":22475,"./NtosUAV":66744,"./NtosUAV.js":66744,"./NtosWordProcessor":19458,"./NtosWordProcessor.js":19458,"./OmniFilter":18326,"./OmniFilter.js":18326,"./OmniMixer":78588,"./OmniMixer.js":78588,"./OperatingComputer":48826,"./OperatingComputer.js":48826,"./OvermapDisperser":51888,"./OvermapDisperser.js":51888,"./OvermapEngines":25123,"./OvermapEngines.js":25123,"./OvermapFull":63836,"./OvermapFull.js":63836,"./OvermapHelm":89380,"./OvermapHelm.js":89380,"./OvermapNavigation":12640,"./OvermapNavigation.js":12640,"./OvermapShieldGenerator":84031,"./OvermapShieldGenerator.js":84031,"./OvermapShipSensors":51932,"./OvermapShipSensors.js":51932,"./ParticleAccelerator":57966,"./ParticleAccelerator.js":57966,"./PartsLathe":80374,"./PartsLathe.js":80374,"./PathogenicIsolator":83987,"./PathogenicIsolator.js":83987,"./Pda":72586,"./Pda.js":72586,"./PersonalCrafting":67589,"./PersonalCrafting.js":67589,"./Phorochem":63171,"./Phorochem.js":63171,"./Photocopier":9527,"./Photocopier.js":9527,"./PipeDispenser":92310,"./PipeDispenser.js":92310,"./PlantAnalyzer":38575,"./PlantAnalyzer.js":38575,"./PointDefenseControl":17599,"./PointDefenseControl.js":17599,"./PortableGenerator":46104,"./PortableGenerator.js":46104,"./PortablePump":82564,"./PortablePump.js":82564,"./PortableScrubber":24901,"./PortableScrubber.js":24901,"./PortableTurret":31695,"./PortableTurret.js":31695,"./PowerMonitor":89793,"./PowerMonitor.js":89793,"./PrecisionEditor":74231,"./PrecisionEditor.js":74231,"./PressureRegulator":81121,"./PressureRegulator.js":81121,"./PrisonerManagement":14210,"./PrisonerManagement.js":14210,"./RCON":43996,"./RCON.js":43996,"./RIGSuit":92141,"./RIGSuit.js":92141,"./Radio":17481,"./Radio.js":17481,"./RapidPipeDispenser":29509,"./RapidPipeDispenser.js":29509,"./RequestConsole":53976,"./RequestConsole.js":53976,"./ResearchConsole":48639,"./ResearchConsole.js":48639,"./ResearchServerController":35606,"./ResearchServerController.js":35606,"./ResleevingConsole":86330,"./ResleevingConsole.js":86330,"./ResleevingPod":88359,"./ResleevingPod.js":88359,"./RoboticsControlConsole":24455,"./RoboticsControlConsole.js":24455,"./RogueZones":52330,"./RogueZones.js":52330,"./RustCoreMonitor":59412,"./RustCoreMonitor.js":59412,"./RustFuelControl":59327,"./RustFuelControl.js":59327,"./Secbot":54943,"./Secbot.js":54943,"./SecureSafe":57436,"./SecureSafe.js":57436,"./SecurityRecords":71915,"./SecurityRecords.js":71915,"./SeedStorage":93550,"./SeedStorage.js":93550,"./ShieldCapacitor":16765,"./ShieldCapacitor.js":16765,"./ShieldGenerator":79229,"./ShieldGenerator.js":79229,"./ShutoffMonitor":89957,"./ShutoffMonitor.js":89957,"./ShuttleControl":34404,"./ShuttleControl.js":34404,"./Signaler":32325,"./Signaler.js":32325,"./Sleeper":80646,"./Sleeper.js":80646,"./SmartVend":55896,"./SmartVend.js":55896,"./Smes":20561,"./Smes.js":20561,"./SolarControl":21633,"./SolarControl.js":21633,"./SpaceHeater":57762,"./SpaceHeater.js":57762,"./Stack":58215,"./Stack.js":58215,"./StationAlertConsole":32015,"./StationAlertConsole.js":32015,"./StationBlueprints":52649,"./StationBlueprints.js":52649,"./SuitCycler":72e3,"./SuitCycler.js":72e3,"./SuitStorageUnit":80748,"./SuitStorageUnit.js":80748,"./SupermatterMonitor":6951,"./SupermatterMonitor.js":6951,"./SupplyConsole":12431,"./SupplyConsole.js":12431,"./TEGenerator":30111,"./TEGenerator.js":30111,"./Tank":58457,"./Tank.js":58457,"./TankDispenser":38754,"./TankDispenser.js":38754,"./TelecommsLogBrowser":73754,"./TelecommsLogBrowser.js":73754,"./TelecommsMachineBrowser":29441,"./TelecommsMachineBrowser.js":29441,"./TelecommsMultitoolMenu":86756,"./TelecommsMultitoolMenu.js":86756,"./Teleporter":18509,"./Teleporter.js":18509,"./TelesciConsole":62555,"./TelesciConsole.js":62555,"./TimeClock":55096,"./TimeClock.js":55096,"./TransferValve":24389,"./TransferValve.js":24389,"./TurbineControl":95893,"./TurbineControl.js":95893,"./Turbolift":62542,"./Turbolift.js":62542,"./Uplink":89761,"./Uplink.js":89761,"./Vending":61321,"./Vending.js":61321,"./VolumePanel":93147,"./VolumePanel.js":93147,"./VorePanel":24630,"./VorePanel.js":24630,"./Wires":21162,"./Wires.js":21162,"./XenoarchArtifactAnalyzer":81522,"./XenoarchArtifactAnalyzer.js":81522,"./XenoarchArtifactHarvester":40875,"./XenoarchArtifactHarvester.js":40875,"./XenoarchDepthScanner":88835,"./XenoarchDepthScanner.js":88835,"./XenoarchHandheldPowerUtilizer":5622,"./XenoarchHandheldPowerUtilizer.js":5622,"./XenoarchReplicator":53702,"./XenoarchReplicator.js":53702,"./XenoarchSpectrometer":13153,"./XenoarchSpectrometer.js":13153,"./XenoarchSuspension":19820,"./XenoarchSuspension.js":19820,"./common/AtmosControls":71739,"./common/AtmosControls.js":71739,"./common/BeakerContents":48229,"./common/BeakerContents.js":48229,"./common/ComplexModal":16007,"./common/ComplexModal.js":16007,"./common/FullscreenNotice":67861,"./common/FullscreenNotice.js":67861,"./common/InterfaceLockNoticeBox":21451,"./common/InterfaceLockNoticeBox.js":21451,"./common/LoginInfo":28117,"./common/LoginInfo.js":28117,"./common/LoginScreen":1192,"./common/LoginScreen.js":1192,"./common/Mining":21526,"./common/Mining.js":21526,"./common/Overmap":40754,"./common/Overmap.js":40754,"./common/PortableAtmos":34227,"./common/PortableAtmos.js":34227,"./common/RankIcon":14959,"./common/RankIcon.js":14959,"./common/TemporaryNotice":36355,"./common/TemporaryNotice.js":36355,"./pAIAtmos":28840,"./pAIAtmos.js":28840,"./pAIDirectives":47132,"./pAIDirectives.js":47132,"./pAIDoorjack":52852,"./pAIDoorjack.js":52852,"./pAIInterface":88814,"./pAIInterface.js":88814,"./pAIMedrecords":52510,"./pAIMedrecords.js":52510,"./pAISecrecords":59946,"./pAISecrecords.js":59946,"./pda/pda_atmos_scan":42360,"./pda/pda_atmos_scan.js":42360,"./pda/pda_janitor":84932,"./pda/pda_janitor.js":84932,"./pda/pda_main_menu":6011,"./pda/pda_main_menu.js":6011,"./pda/pda_manifest":93303,"./pda/pda_manifest.js":93303,"./pda/pda_medical":65276,"./pda/pda_medical.js":65276,"./pda/pda_messenger":92494,"./pda/pda_messenger.js":92494,"./pda/pda_news":31505,"./pda/pda_news.js":31505,"./pda/pda_notekeeper":66785,"./pda/pda_notekeeper.js":66785,"./pda/pda_power":63853,"./pda/pda_power.js":63853,"./pda/pda_security":20575,"./pda/pda_security.js":20575,"./pda/pda_signaller":63891,"./pda/pda_signaller.js":63891,"./pda/pda_status_display":14947,"./pda/pda_status_display.js":14947,"./pda/pda_supply":85143,"./pda/pda_supply.js":85143};function r(e){var n=c(e);return t(n)}function c(e){if(!t.o(o,e)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=c,e.exports=r,r.id=8156}},t={};function o(e){var r=t[e];if(r!==undefined)return r.exports;var c=t[e]={exports:{}};return n[e](c,c.exports,o),c.exports}o.m=n,e=[],o.O=function(n,t,r,c){if(!t){var a=Infinity;for(d=0;d=c)&&Object.keys(o.O).every((function(e){return o.O[e](t[l])}))?t.splice(l--,1):(i=!1,c0&&e[d-1][2]>c;d--)e[d]=e[d-1];e[d]=[t,r,c]},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},function(){var e={764:0};o.O.j=function(n){return 0===e[n]};var n=function(n,t){var r,c,a=t[0],i=t[1],l=t[2],d=0;for(r in i)o.o(i,r)&&(o.m[r]=i[r]);for(l&&l(o),n&&n(t);d =75?"green":s>=25?"yellow":"red";var b=null;return u>=75&&(b="green"),b=u>=25?"yellow":"red",(0,o.createComponentVNode)(2,a.Window,{width:600,height:470,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Stored AI",children:[(0,o.createComponentVNode)(2,c.Box,{bold:!0,display:"inline-block",children:(0,o.createVNode)(1,"h3",null,name,0)}),(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Integrity",children:(0,o.createComponentVNode)(2,c.ProgressBar,{color:V,value:s/100})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,c.ProgressBar,{color:b,value:u/100})})]})}),(0,o.createComponentVNode)(2,c.Box,{color:"red",children:(0,o.createVNode)(1,"h2",null,1===m?"Wipe of AI in progress...":"",0)})]}),(0,o.createComponentVNode)(2,c.Section,{title:"Laws",children:!!p&&(0,o.createComponentVNode)(2,c.Box,{children:C.map((function(e,n){return(0,o.createComponentVNode)(2,c.Box,{display:"inline-block",children:e},n)}))})||(0,o.createComponentVNode)(2,c.Box,{color:"red",children:(0,o.createVNode)(1,"h3",null,"No laws detected.",16)})}),(0,o.createComponentVNode)(2,c.Section,{title:"Actions",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Wireless Activity",children:(0,o.createComponentVNode)(2,c.Button,{icon:h?"check":"times",content:h?"Enabled":"Disabled",color:h?"green":"red",onClick:function(){return i("wireless")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Subspace Transceiver",children:(0,o.createComponentVNode)(2,c.Button,{icon:N?"check":"times",content:N?"Enabled":"Disabled",color:N?"green":"red",onClick:function(){return i("radio")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"AI Power",children:(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"radiation",confirmIcon:"radiation",disabled:m||0===s,confirmColor:"red",content:"Shutdown",onClick:function(){return i("wipe")}})})]})})]})})}},73405:function(e,n,t){"use strict";n.__esModule=!0,n.APC=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=t(21451),l=t(67861);n.APC=function(e,n){var t=(0,r.useBackend)(n),c=(t.act,t.data),i=(0,o.createComponentVNode)(2,s);return c.gridCheck?i=(0,o.createComponentVNode)(2,u):c.failTime&&(i=(0,o.createComponentVNode)(2,m)),(0,o.createComponentVNode)(2,a.Window,{width:450,height:475,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:i})})};var d={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=function(e,n){var t=(0,r.useBackend)(n),a=t.act,l=t.data,s=l.locked&&!l.siliconUser,u=(l.normallyLocked,d[l.externalPower]||d[0]),m=d[l.chargingStatus]||d[0],p=l.powerChannels||[],C=l.powerCellStatus/100;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.InterfaceLockNoticeBox,{deny:l.emagged,denialMessage:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Box,{color:"bad",fontSize:"1.5rem",children:"Fault in ID authenticator."}),(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Please contact maintenance for service."})],4)}),(0,o.createComponentVNode)(2,c.Section,{title:"Power Status",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Main Breaker",color:u.color,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:l.isOperating?"power-off":"times",content:l.isOperating?"On":"Off",selected:l.isOperating&&!s,color:l.isOperating?"":"bad",disabled:s,onClick:function(){return a("breaker")}}),children:["[ ",u.externalPowerText," ]"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power Cell",children:(0,o.createComponentVNode)(2,c.ProgressBar,{color:"good",value:C})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Charge Mode",color:m.color,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:l.chargeMode?"sync":"times",content:l.chargeMode?"Auto":"Off",selected:l.chargeMode,disabled:s,onClick:function(){return a("charge")}}),children:["[ ",m.chargingText," ]"]})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Power Channels",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[p.map((function(e){var n=e.topicParams;return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.title,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Box,{inline:!0,mx:2,color:e.status>=2?"good":"bad",children:e.status>=2?"On":"Off"}),(0,o.createComponentVNode)(2,c.Button,{icon:"sync",content:"Auto",selected:!s&&(1===e.status||3===e.status),disabled:s,onClick:function(){return a("channel",n.auto)}}),(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",content:"On",selected:!s&&2===e.status,disabled:s,onClick:function(){return a("channel",n.on)}}),(0,o.createComponentVNode)(2,c.Button,{icon:"times",content:"Off",selected:!s&&0===e.status,disabled:s,onClick:function(){return a("channel",n.off)}})],4),children:[e.powerLoad," W"]},e.title)})),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Total Load",children:l.totalCharging?(0,o.createVNode)(1,"b",null,[l.totalLoad,(0,o.createTextVNode)(" W (+ "),l.totalCharging,(0,o.createTextVNode)(" W charging)")],0):(0,o.createVNode)(1,"b",null,[l.totalLoad,(0,o.createTextVNode)(" W")],0)})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Misc",buttons:!!l.siliconUser&&(0,o.createComponentVNode)(2,c.Button,{icon:"lightbulb-o",content:"Overload",onClick:function(){return a("overload")}}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Cover Lock",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:l.coverLocked?"lock":"unlock",content:l.coverLocked?"Engaged":"Disengaged",selected:l.coverLocked,disabled:s,onClick:function(){return a("cover")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Night Shift Lighting",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"lightbulb-o",content:"Disabled",selected:2===l.nightshiftSetting,onClick:function(){return a("nightshift",{nightshift:2})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"lightbulb-o",content:"Automatic",selected:1===l.nightshiftSetting,onClick:function(){return a("nightshift",{nightshift:1})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"lightbulb-o",content:"Enabled",selected:3===l.nightshiftSetting,onClick:function(){return a("nightshift",{nightshift:3})}})],4)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Emergency Lighting",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"lightbulb-o",content:l.emergencyLights?"Enabled":"Disabled",selected:l.emergencyLights,onClick:function(){return a("emergency_lighting")}})})]})})],4)},u=function(e,n){return(0,o.createComponentVNode)(2,l.FullscreenNotice,{title:"System Failure",children:[(0,o.createComponentVNode)(2,c.Box,{fontSize:"1.5rem",bold:!0,children:(0,o.createComponentVNode)(2,c.Icon,{name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"})}),(0,o.createComponentVNode)(2,c.Box,{fontSize:"1.5rem",bold:!0,children:"Power surge detected, grid check in effect..."})]})},m=function(e,n){var t=(0,r.useBackend)(n),a=t.data,i=t.act,l=(0,o.createComponentVNode)(2,c.Button,{icon:"repeat",content:"Restart Now",color:"good",onClick:function(){return i("reboot")}});return a.locked&&!a.siliconUser&&(l=(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Swipe an ID card for manual reboot."})),(0,o.createComponentVNode)(2,c.Dimmer,{textAlign:"center",children:[(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:(0,o.createVNode)(1,"h1",null,"SYSTEM FAILURE",16)}),(0,o.createComponentVNode)(2,c.Box,{color:"average",children:(0,o.createVNode)(1,"h2",null,"I/O regulators malfunction detected! Waiting for system reboot...",16)}),(0,o.createComponentVNode)(2,c.Box,{color:"good",children:["Automatic reboot in ",a.failTime," seconds..."]}),(0,o.createComponentVNode)(2,c.Box,{mt:4,children:l})]})}},20832:function(e,n,t){"use strict";n.__esModule=!0,n.AccountsTerminal=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.AccountsTerminal=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.id_inserted,u=d.id_card,m=d.access_level,p=d.machine_id;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:640,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Machine",color:"average",children:p}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"ID",children:(0,o.createComponentVNode)(2,c.Button,{icon:s?"eject":"sign-in-alt",fluid:!0,content:u,onClick:function(){return l("insert_card")}})})]})}),m>0&&(0,o.createComponentVNode)(2,i)]})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,u=i.creating_new_account,m=i.detailed_account_view;return(0,o.createComponentVNode)(2,c.Section,{title:"Menu",children:[(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:!u&&!m,icon:"home",onClick:function(){return a("view_accounts_list")},children:"Home"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:u,icon:"cog",onClick:function(){return a("create_account")},children:"New Account"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{disabled:u,icon:"print",onClick:function(){return a("print")},children:"Print"})]}),u&&(0,o.createComponentVNode)(2,l)||m&&(0,o.createComponentVNode)(2,d)||(0,o.createComponentVNode)(2,s)]})},l=function(e,n){var t=(0,r.useBackend)(n).act,a=(0,r.useSharedState)(n,"holder",""),i=a[0],l=a[1],d=(0,r.useSharedState)(n,"money",""),s=d[0],u=d[1];return(0,o.createComponentVNode)(2,c.Section,{title:"Create Account",level:2,children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Account Holder",children:(0,o.createComponentVNode)(2,c.Input,{value:i,fluid:!0,onInput:function(e,n){return l(n)}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Initial Deposit",children:(0,o.createComponentVNode)(2,c.Input,{value:s,fluid:!0,onInput:function(e,n){return u(n)}})})]}),(0,o.createComponentVNode)(2,c.Button,{disabled:!i||!s,mt:1,fluid:!0,icon:"plus",onClick:function(){return t("finalise_create_account",{holder_name:i,starting_funds:s})},content:"Create"})]})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.access_level,d=i.station_account_number,s=i.account_number,u=i.owner_name,m=i.money,p=i.suspended,C=i.transactions;return(0,o.createComponentVNode)(2,c.Section,{title:"Account Details",level:2,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"ban",selected:p,content:"Suspend",onClick:function(){return a("toggle_suspension")}}),children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Account Number",children:["#",s]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Holder",children:u}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Balance",children:[m,"\u20ae"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",color:p?"bad":"good",children:p?"SUSPENDED":"Active"})]}),(0,o.createComponentVNode)(2,c.Section,{title:"CentCom Administrator",level:2,mt:1,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Payroll",children:(0,o.createComponentVNode)(2,c.Button.Confirm,{color:"bad",fluid:!0,icon:"ban",confirmIcon:"ban",content:"Revoke",confirmContent:"This cannot be undone.",disabled:s===d,onClick:function(){return a("revoke_payroll")}})})})}),l>=2&&(0,o.createComponentVNode)(2,c.Section,{title:"Silent Funds Transfer",level:2,children:[(0,o.createComponentVNode)(2,c.Button,{icon:"plus",onClick:function(){return a("add_funds")},content:"Add Funds"}),(0,o.createComponentVNode)(2,c.Button,{icon:"plus",onClick:function(){return a("remove_funds")},content:"Remove Funds"})]}),(0,o.createComponentVNode)(2,c.Section,{title:"Transactions",level:2,mt:1,children:(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Timestamp"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Target"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Reason"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Value"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Terminal"})]}),C.map((function(e,n){return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:[e.date," ",e.time]}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.target_name}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.purpose}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:[e.amount,"\u20ae"]}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.source_terminal})]},n)}))]})})]})},s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.accounts;return(0,o.createComponentVNode)(2,c.Section,{title:"NanoTrasen Accounts",level:2,children:i.length&&(0,o.createComponentVNode)(2,c.LabeledList,{children:i.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.owner_name+e.suspended,color:e.suspended?"bad":null,children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,content:"#"+e.account_number,onClick:function(){return a("view_account_detail",{account_index:e.account_index})}})},e.account_index)}))})||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"There are no accounts available."})})}},19007:function(e,n,t){"use strict";n.__esModule=!0,n.ShuttleList=n.AdminShuttleController=void 0;var o=t(39812),r=t(64499),c=t(71494),a=t(74814),i=t(85952);n.AdminShuttleController=function(e,n){var t=(0,c.useBackend)(n);t.act,t.data;return(0,o.createComponentVNode)(2,i.Window,{width:600,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,s=l.shuttles,u=l.overmap_ships;return(0,o.createComponentVNode)(2,a.Section,{noTopPadding:!0,children:[(0,o.createComponentVNode)(2,a.Section,{title:"Classic Shuttles",level:2,children:(0,o.createComponentVNode)(2,a.Table,{children:(0,r.sortBy)((function(e){return e.name}))(s).map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,a.Button,{m:0,content:"JMP",onClick:function(){return i("adminobserve",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,a.Button,{m:0,content:"Fly",onClick:function(){return i("classicmove",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.current_location}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:d(e.status)})]},e.ref)}))})}),(0,o.createComponentVNode)(2,a.Section,{title:"Overmap Ships",level:2,children:(0,o.createComponentVNode)(2,a.Table,{children:(0,r.sortBy)((function(e){var n;return(null==(n=e.name)?void 0:n.toLowerCase())||e.name||e.ref}))(u).map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,a.Button,{content:"JMP",onClick:function(){return i("adminobserve",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,a.Button,{content:"Control",onClick:function(){return i("overmap_control",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name})]},e.ref)}))})})]})};n.ShuttleList=l;var d=function(e){switch(e){case 0:return"Idle";case 1:return"Warmup";case 2:return"Transit";default:return"UNK"}}},51104:function(e,n,t){"use strict";n.__esModule=!0,n.AgentCard=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.AgentCard=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.entries,s=l.electronic_warfare;return(0,o.createComponentVNode)(2,a.Window,{width:550,height:400,theme:"syndicate",children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:"Info",children:(0,o.createComponentVNode)(2,c.Table,{children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i(e.name.toLowerCase().replace(/ /g,""))},icon:"cog"})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.value})]},e.name)}))})}),(0,o.createComponentVNode)(2,c.Section,{title:"Electronic Warfare",children:(0,o.createComponentVNode)(2,c.Button.Checkbox,{checked:s,content:s?"Electronic warfare is enabled. This will prevent you from being tracked by the AI.":"Electronic warfare disabled.",onClick:function(){return i("electronic_warfare")}})})]})})}},47330:function(e,n,t){"use strict";n.__esModule=!0,n.AiAirlock=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i={2:{color:"good",localStatusText:"Optimal"},1:{color:"average",localStatusText:"Caution"},0:{color:"bad",localStatusText:"Offline"}};n.AiAirlock=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=i[d.power.main]||i[0],u=i[d.power.backup]||i[0],m=i[d.shock]||i[0];return(0,o.createComponentVNode)(2,a.Window,{width:500,height:390,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:"Power Status",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Main",color:s.color,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"lightbulb-o",disabled:!d.power.main,content:"Disrupt",onClick:function(){return l("disrupt-main")}}),children:[d.power.main?"Online":"Offline"," ",d.wires.main_1&&d.wires.main_2?d.power.main_timeleft>0&&"["+d.power.main_timeleft+"s]":"[Wires have been cut!]"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Backup",color:u.color,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"lightbulb-o",disabled:!d.power.backup,content:"Disrupt",onClick:function(){return l("disrupt-backup")}}),children:[d.power.backup?"Online":"Offline"," ",d.wires.backup_1&&d.wires.backup_2?d.power.backup_timeleft>0&&"["+d.power.backup_timeleft+"s]":"[Wires have been cut!]"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Electrify",color:m.color,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"wrench",disabled:!(d.wires.shock&&0===d.shock),content:"Restore",onClick:function(){return l("shock-restore")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"bolt",disabled:!d.wires.shock,content:"Temporary",onClick:function(){return l("shock-temp")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"bolt",disabled:!d.wires.shock,content:"Permanent",onClick:function(){return l("shock-perm")}})],4),children:[2===d.shock?"Safe":"Electrified"," ",(d.wires.shock?d.shock_timeleft>0&&"["+d.shock_timeleft+"s]":"[Wires have been cut!]")||-1===d.shock_timeleft&&"[Permanent]"]})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Access and Door Control",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"ID Scan",color:"bad",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:d.id_scanner?"power-off":"times",content:d.id_scanner?"Enabled":"Disabled",selected:d.id_scanner,disabled:!d.wires.id_scanner,onClick:function(){return l("idscan-toggle")}}),children:!d.wires.id_scanner&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,c.LabeledList.Divider),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Door Bolts",color:"bad",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:d.locked?"lock":"unlock",content:d.locked?"Lowered":"Raised",selected:d.locked,disabled:!d.wires.bolts,onClick:function(){return l("bolt-toggle")}}),children:!d.wires.bolts&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Door Bolt Lights",color:"bad",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:d.lights?"power-off":"times",content:d.lights?"Enabled":"Disabled",selected:d.lights,disabled:!d.wires.lights,onClick:function(){return l("light-toggle")}}),children:!d.wires.lights&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Door Force Sensors",color:"bad",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:d.safe?"power-off":"times",content:d.safe?"Enabled":"Disabled",selected:d.safe,disabled:!d.wires.safe,onClick:function(){return l("safe-toggle")}}),children:!d.wires.safe&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Door Timing Safety",color:"bad",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:d.speed?"power-off":"times",content:d.speed?"Enabled":"Disabled",selected:d.speed,disabled:!d.wires.timing,onClick:function(){return l("speed-toggle")}}),children:!d.wires.timing&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,c.LabeledList.Divider),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Door Control",color:"bad",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:d.opened?"sign-out-alt":"sign-in-alt",content:d.opened?"Open":"Closed",selected:d.opened,disabled:d.locked||d.welded,onClick:function(){return l("open-close")}}),children:!(!d.locked&&!d.welded)&&(0,o.createVNode)(1,"span",null,[(0,o.createTextVNode)("[Door is "),d.locked?"bolted":"",d.locked&&d.welded?" and ":"",d.welded?"welded":"",(0,o.createTextVNode)("!]")],0)})]})})]})})}},33084:function(e,n,t){"use strict";n.__esModule=!0,n.AiRestorerContent=n.AiRestorer=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.AiRestorer=function(){return(0,o.createComponentVNode)(2,a.Window,{width:370,height:360,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,i)})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.AI_present,d=i.error,s=i.name,u=i.laws,m=i.isDead,p=i.restoring,C=i.health,h=i.ejectable;return(0,o.createFragment)([d&&(0,o.createComponentVNode)(2,c.NoticeBox,{textAlign:"center",children:d}),!!h&&(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"eject",content:l?s:"----------",disabled:!l,onClick:function(){return a("PRG_eject")}}),!!l&&(0,o.createComponentVNode)(2,c.Section,{title:h?"System Status":s,buttons:(0,o.createComponentVNode)(2,c.Box,{inline:!0,bold:!0,color:m?"bad":"good",children:m?"Nonfunctional":"Functional"}),children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Integrity",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:C,minValue:0,maxValue:100,ranges:{good:[70,Infinity],average:[50,70],bad:[-Infinity,50]}})})}),!!p&&(0,o.createComponentVNode)(2,c.Box,{bold:!0,textAlign:"center",fontSize:"20px",color:"good",mt:1,children:"RECONSTRUCTION IN PROGRESS"}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"plus",content:"Begin Reconstruction",disabled:p,mt:1,onClick:function(){return a("PRG_beginReconstruction")}}),(0,o.createComponentVNode)(2,c.Section,{title:"Laws",level:2,children:u.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{className:"candystripe",children:e},e)}))})]})],0)};n.AiRestorerContent=i},597:function(e,n,t){"use strict";n.__esModule=!0,n.AiSupermatter=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=(t(58083),t(67861));n.AiSupermatter=function(e,n){var t=(0,r.useBackend)(n).data,c=(t.integrity_percentage,t.ambient_temp,t.ambient_pressure,t.detonating),i=(0,o.createComponentVNode)(2,d);return c&&(i=(0,o.createComponentVNode)(2,l)),(0,o.createComponentVNode)(2,a.Window,{width:500,height:300,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:i})})};var l=function(e,n){return(0,o.createComponentVNode)(2,i.FullscreenNotice,{title:"DETONATION IMMINENT",children:(0,o.createComponentVNode)(2,c.Box,{fontSize:"1.5rem",bold:!0,color:"bad",children:[(0,o.createComponentVNode)(2,c.Icon,{color:"bad",name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"}),(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"CRYSTAL DELAMINATING"}),(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Evacuate area immediately"})]})})},d=function(e,n){var t=(0,r.useBackend)(n).data,a=t.integrity_percentage,i=t.ambient_temp,l=t.ambient_pressure;return(0,o.createComponentVNode)(2,c.Section,{title:"Status",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Crystal Integrity",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:a,maxValue:100,ranges:{good:[90,Infinity],average:[25,90],bad:[-Infinity,25]}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Environment Temperature",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:i,maxValue:1e4,ranges:{bad:[5e3,Infinity],average:[4e3,5e3],good:[-Infinity,4e3]},children:[i," K"]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Environment Pressure",children:[l," kPa"]})]})})}},58444:function(e,n,t){"use strict";n.__esModule=!0,n.AirAlarm=void 0;var o=t(39812),r=t(41860),c=(t(2497),t(71494)),a=t(74814),i=t(76270),l=t(85952),d=t(21451),s=t(71739);n.AirAlarm=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data),a=r.locked&&!r.siliconUser&&!r.remoteUser;return(0,o.createComponentVNode)(2,l.Window,{width:440,height:650,resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,d.InterfaceLockNoticeBox),(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,m),!a&&(0,o.createComponentVNode)(2,C)]})})};var u=function(e,n){var t=(0,c.useBackend)(n).data,l=(t.environment_data||[]).filter((function(e){return e.value>=.01})),d={0:{color:"good",localStatusText:"Optimal"},1:{color:"average",localStatusText:"Caution"},2:{color:"bad",localStatusText:"Danger (Internals Required)"}},s=d[t.danger_level]||d[0];return(0,o.createComponentVNode)(2,a.Section,{title:"Air Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[l.length>0&&(0,o.createFragment)([l.map((function(e){var n=d[e.danger_level]||d[0];return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,i.getGasLabel)(e.name),color:n.color,children:[(0,r.toFixed)(e.value,2),e.unit]},e.name)})),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Local status",color:s.color,children:s.localStatusText}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Area status",color:t.atmos_alarm||t.fire_alarm?"bad":"good",children:(t.atmos_alarm?"Atmosphere Alarm":t.fire_alarm&&"Fire Alarm")||"Nominal"})],0)||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Warning",color:"bad",children:"Cannot obtain air sample for analysis."}),!!t.emagged&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Warning",color:"bad",children:"Safety measures offline. Device may exhibit abnormal behavior."})]})})},m=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=i.target_temperature,d=i.rcon;return(0,o.createComponentVNode)(2,a.Section,{title:"Comfort Settings",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Remote Control",children:[(0,o.createComponentVNode)(2,a.Button,{selected:1===d,content:"Off",onClick:function(){return r("rcon",{rcon:1})}}),(0,o.createComponentVNode)(2,a.Button,{selected:2===d,content:"Auto",onClick:function(){return r("rcon",{rcon:2})}}),(0,o.createComponentVNode)(2,a.Button,{selected:3===d,content:"On",onClick:function(){return r("rcon",{rcon:3})}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Thermostat",children:(0,o.createComponentVNode)(2,a.Button,{content:l,onClick:function(){return r("temperature")}})})]})})},p={home:{title:"Air Controls",component:function(){return h}},vents:{title:"Vent Controls",component:function(){return N}},scrubbers:{title:"Scrubber Controls",component:function(){return V}},modes:{title:"Operating Mode",component:function(){return b}},thresholds:{title:"Alarm Thresholds",component:function(){return f}}},C=function(e,n){var t=(0,c.useLocalState)(n,"screen"),r=t[0],i=t[1],l=p[r]||p.home,d=l.component();return(0,o.createComponentVNode)(2,a.Section,{title:l.title,buttons:r&&(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return i()}}),children:(0,o.createComponentVNode)(2,d)})},h=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=(0,c.useLocalState)(n,"screen"),d=(l[0],l[1]),s=i.mode,u=i.atmos_alarm;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:u?"exclamation-triangle":"exclamation",color:u&&"caution",content:"Area Atmosphere Alarm",onClick:function(){return r(u?"reset":"alarm")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:3===s?"exclamation-triangle":"exclamation",color:3===s&&"danger",content:"Panic Siphon",onClick:function(){return r("mode",{mode:3===s?1:3})}}),(0,o.createComponentVNode)(2,a.Box,{mt:2}),(0,o.createComponentVNode)(2,a.Button,{icon:"sign-out-alt",content:"Vent Controls",onClick:function(){return d("vents")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:"filter",content:"Scrubber Controls",onClick:function(){return d("scrubbers")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:"cog",content:"Operating Mode",onClick:function(){return d("modes")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:"chart-bar",content:"Alarm Thresholds",onClick:function(){return d("thresholds")}})],4)},N=function(e,n){var t=(0,c.useBackend)(n).data.vents;return t&&0!==t.length?t.map((function(e){return(0,o.createComponentVNode)(2,s.Vent,{vent:e},e.id_tag)})):"Nothing to show"},V=function(e,n){var t=(0,c.useBackend)(n).data.scrubbers;return t&&0!==t.length?t.map((function(e){return(0,o.createComponentVNode)(2,s.Scrubber,{scrubber:e},e.id_tag)})):"Nothing to show"},b=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.modes;return i&&0!==i.length?i.map((function(e){return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:e.selected?"check-square-o":"square-o",selected:e.selected,color:e.selected&&e.danger&&"danger",content:e.name,onClick:function(){return r("mode",{mode:e.mode})}}),(0,o.createComponentVNode)(2,a.Box,{mt:1})],4,e.mode)})):"Nothing to show"},f=function(e,n){var t=(0,c.useBackend)(n),l=t.act,d=t.data.thresholds;return(0,o.createVNode)(1,"table","LabeledList",[(0,o.createVNode)(1,"thead",null,(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td"),(0,o.createVNode)(1,"td","color-bad","min2",16),(0,o.createVNode)(1,"td","color-average","min1",16),(0,o.createVNode)(1,"td","color-average","max1",16),(0,o.createVNode)(1,"td","color-bad","max2",16)],4),2),(0,o.createVNode)(1,"tbody",null,d.map((function(e){return(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td","LabeledList__label",(0,o.createVNode)(1,"span","color-"+(0,i.getGasColor)(e.name),(0,i.getGasLabel)(e.name),0),2),e.settings.map((function(e){return(0,o.createVNode)(1,"td",null,(0,o.createComponentVNode)(2,a.Button,{content:(0,r.toFixed)(e.selected,2),onClick:function(){return l("threshold",{env:e.env,"var":e.val})}}),2,null,e.val)}))],0,null,e.name)})),0)],4,{style:{width:"100%"}})}},24053:function(e,n,t){"use strict";n.__esModule=!0,n.Loader=n.AlertModal=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(85952),l=t(29708);function d(e,n){return(d=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}var s=function(e){var n,t;function r(){var n;return(n=e.call(this)||this).buttonRefs=[(0,o.createRef)()],n.state={current:0},n}t=e,(n=r).prototype=Object.create(t.prototype),n.prototype.constructor=n,d(n,t);var s=r.prototype;return s.componentDidMount=function(){for(var e=(0,c.useBackend)(this.context).data.buttons,n=this.state.current,t=this.buttonRefs[n].current,r=1;r=t.length?e=n?e-1:0:e<0&&(e=n?0:t.length-1);var o=this.buttonRefs[e].current;o&&setTimeout((function(){return o.focus()}),1),this.setState({current:e})},s.render=function(){var e=this,n=(0,c.useBackend)(this.context),t=n.act,r=n.data,d=r.title,s=r.message,m=r.buttons,p=r.timeout,C=this.state.current,h=function(){return e.setCurrent(C,!1)},N=Math.max(150,s.length);return(0,o.createComponentVNode)(2,i.Window,{title:d,theme:"abstract",width:350,height:N,canClose:p>0,children:[p&&(0,o.createComponentVNode)(2,u,{value:p}),(0,o.createComponentVNode)(2,i.Window.Content,{onFocus:h,onClick:h,children:(0,o.createComponentVNode)(2,a.Section,{fill:!0,children:(0,o.createComponentVNode)(2,a.Flex,{direction:"column",height:"100%",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Flex,{direction:"column",className:"AlertModal__Message",height:"100%",children:(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Box,{m:1,children:s})})})}),(0,o.createComponentVNode)(2,a.Flex.Item,{my:2,children:(0,o.createComponentVNode)(2,a.Flex,{className:"AlertModal__Buttons",wrap:!0,children:m.map((function(n,r){return(0,o.createComponentVNode)(2,a.Flex.Item,{mx:1,my:.5,children:(0,o.createVNode)(1,"div","Button Button--color--default",n,0,{px:3,onClick:function(){return t("choose",{choice:n})},onKeyDown:function(o){var r=window.event?o.which:o.keyCode;r===l.KEY_SPACE||r===l.KEY_ENTER?t("choose",{choice:n}):r===l.KEY_LEFT||o.shiftKey&&r===l.KEY_TAB?e.setCurrent(C-1,r===l.KEY_LEFT):r!==l.KEY_RIGHT&&r!==l.KEY_TAB||e.setCurrent(C+1,r===l.KEY_RIGHT)}},null,e.buttonRefs[r])},r)}))})})]})})})]})},r}(o.Component);n.AlertModal=s;var u=function(e){var n=e.value;return(0,o.createVNode)(1,"div","AlertModal__Loader",(0,o.createComponentVNode)(2,a.Box,{className:"AlertModal__LoaderProgress",style:{width:100*(0,r.clamp01)(n)+"%"}}),2)};n.Loader=u},34847:function(e,n,t){"use strict";n.__esModule=!0,n.AlgaeFarm=void 0;var o=t(39812),r=t(71494),c=t(74814),a=(t(58083),t(85952)),i=(t(41860),t(2497));n.AlgaeFarm=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.usePower,u=d.materials,m=d.last_flow_rate,p=d.last_power_draw,C=d.inputDir,h=d.outputDir,N=d.input,V=d.output,b=d.errorText;return(0,o.createComponentVNode)(2,a.Window,{width:500,height:300,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[b&&(0,o.createComponentVNode)(2,c.NoticeBox,{warning:!0,children:(0,o.createComponentVNode)(2,c.Box,{display:"inline-block",verticalAlign:"middle",children:b})}),(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",content:"Processing",selected:2===s,onClick:function(){return l("toggle")}}),children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Flow Rate",children:[m," L/s"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power Draw",children:[p," W"]}),(0,o.createComponentVNode)(2,c.LabeledList.Divider,{size:1}),u.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:(0,i.capitalize)(e.display),children:[(0,o.createComponentVNode)(2,c.ProgressBar,{width:"80%",value:e.qty,maxValue:e.max,children:[e.qty,"/",e.max]}),(0,o.createComponentVNode)(2,c.Button,{ml:1,content:"Eject",onClick:function(){return l("ejectMaterial",{mat:e.name})}})]},e.name)}))]}),(0,o.createComponentVNode)(2,c.Table,{mt:1,children:(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Section,{title:"Gas Input ("+C+")",children:N?(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Total Pressure",children:[N.pressure," kPa"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:N.name,children:[N.percent,"% (",N.moles," moles)"]})]}):(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No connection detected."})})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Section,{title:"Gas Output ("+h+")",children:V?(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Total Pressure",children:[V.pressure," kPa"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:V.name,children:[V.percent,"% (",V.moles," moles)"]})]}):(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No connection detected."})})})]})})]})]})})}},65145:function(e,n,t){"use strict";n.__esModule=!0,n.AppearanceChanger=void 0;var o=t(39812),r=t(64499),c=t(2497),a=t(71494),i=t(74814),l=t(85952);n.AppearanceChanger=function(e,n){var t=(0,a.useBackend)(n),r=(t.act,t.config),V=t.data,b=V.name,f=V.specimen,g=V.gender,k=V.gender_id,v=V.hair_style,B=V.facial_hair_style,L=V.ear_style,_=V.tail_style,x=V.wing_style,w=V.change_race,S=V.change_gender,I=V.change_eye_color,y=V.change_skin_tone,T=V.change_skin_color,A=V.change_hair_color,P=V.change_facial_hair_color,M=V.change_hair,F=V.change_facial_hair,D=V.mapRef,R=r.title,E=I||y||T||A||P,O=-1;w?O=0:S?O=1:E?O=2:M?O=4:F&&(O=5);var j=(0,a.useLocalState)(n,"tabIndex",O),W=j[0],z=j[1];return(0,o.createComponentVNode)(2,l.Window,{width:700,height:650,title:(0,c.decodeHtmlEntities)(R),children:(0,o.createComponentVNode)(2,l.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Reflection",children:(0,o.createComponentVNode)(2,i.Flex,{children:[(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Name",children:b}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Species",color:w?null:"grey",children:f}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Biological Sex",color:S?null:"grey",children:g?(0,c.capitalize)(g):"Not Set"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Gender Identity",color:E?null:"grey",children:k?(0,c.capitalize)(k):"Not Set"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Hair Style",color:M?null:"grey",children:v?(0,c.capitalize)(v):"Not Set"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Facial Hair Style",color:F?null:"grey",children:B?(0,c.capitalize)(B):"Not Set"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Ear Style",color:M?null:"grey",children:L?(0,c.capitalize)(L):"Not Set"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Tail Style",color:M?null:"grey",children:_?(0,c.capitalize)(_):"Not Set"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Wing Style",color:M?null:"grey",children:x?(0,c.capitalize)(x):"Not Set"})]})}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:(0,o.createComponentVNode)(2,i.ByondUi,{style:{width:"256px",height:"256px"},params:{id:D,type:"map"}})})]})}),(0,o.createComponentVNode)(2,i.Tabs,{children:[w?(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:0===W,onClick:function(){return z(0)},children:"Race"}):null,S?(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:1===W,onClick:function(){return z(1)},children:"Gender & Sex"}):null,E?(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:2===W,onClick:function(){return z(2)},children:"Colors"}):null,M?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:3===W,onClick:function(){return z(3)},children:"Hair"}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:5===W,onClick:function(){return z(5)},children:"Ear"}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:6===W,onClick:function(){return z(6)},children:"Tail"}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:7===W,onClick:function(){return z(7)},children:"Wing"})],4):null,F?(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:4===W,onClick:function(){return z(4)},children:"Facial Hair"}):null]}),(0,o.createComponentVNode)(2,i.Box,{height:"43%",children:[w&&0===W?(0,o.createComponentVNode)(2,d):null,S&&1===W?(0,o.createComponentVNode)(2,s):null,E&&2===W?(0,o.createComponentVNode)(2,u):null,M&&3===W?(0,o.createComponentVNode)(2,m):null,F&&4===W?(0,o.createComponentVNode)(2,p):null,M&&5===W?(0,o.createComponentVNode)(2,C):null,M&&6===W?(0,o.createComponentVNode)(2,h):null,M&&7===W?(0,o.createComponentVNode)(2,N):null]})]})})};var d=function(e,n){var t=(0,a.useBackend)(n),c=t.act,l=t.data,d=l.species,s=l.specimen,u=(0,r.sortBy)((function(e){return e.specimen}))(d||[]);return(0,o.createComponentVNode)(2,i.Section,{title:"Species",fill:!0,scrollable:!0,children:u.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{content:e.specimen,selected:s===e.specimen,onClick:function(){return c("race",{race:e.specimen})}},e.specimen)}))})},s=function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data,l=c.gender,d=c.gender_id,s=c.genders,u=c.id_genders;return(0,o.createComponentVNode)(2,i.Section,{title:"Gender & Sex",fill:!0,scrollable:!0,children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Biological Sex",children:s.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{selected:e.gender_key===l,content:e.gender_name,onClick:function(){return r("gender",{gender:e.gender_key})}},e.gender_key)}))}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Gender Identity",children:u.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{selected:e.gender_key===d,content:e.gender_name,onClick:function(){return r("gender_id",{gender_id:e.gender_key})}},e.gender_key)}))})]})})},u=function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data,l=c.change_eye_color,d=c.change_skin_tone,s=c.change_skin_color,u=c.change_hair_color,m=c.change_facial_hair_color,p=c.eye_color,C=c.skin_color,h=c.hair_color,N=c.facial_hair_color,V=c.ears_color,b=c.ears2_color,f=c.tail_color,g=c.tail2_color,k=c.wing_color,v=c.wing2_color;return(0,o.createComponentVNode)(2,i.Section,{title:"Colors",fill:!0,scrollable:!0,children:[l?(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.ColorBox,{color:p,mr:1}),(0,o.createComponentVNode)(2,i.Button,{content:"Change Eye Color",onClick:function(){return r("eye_color")}})]}):null,d?(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{content:"Change Skin Tone",onClick:function(){return r("skin_tone")}})}):null,s?(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.ColorBox,{color:C,mr:1}),(0,o.createComponentVNode)(2,i.Button,{content:"Change Skin Color",onClick:function(){return r("skin_color")}})]}):null,u?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.ColorBox,{color:h,mr:1}),(0,o.createComponentVNode)(2,i.Button,{content:"Change Hair Color",onClick:function(){return r("hair_color")}})]}),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.ColorBox,{color:V,mr:1}),(0,o.createComponentVNode)(2,i.Button,{content:"Change Ears Color",onClick:function(){return r("ears_color")}})]}),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.ColorBox,{color:b,mr:1}),(0,o.createComponentVNode)(2,i.Button,{content:"Change Secondary Ears Color",onClick:function(){return r("ears2_color")}})]}),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.ColorBox,{color:f,mr:1}),(0,o.createComponentVNode)(2,i.Button,{content:"Change Tail Color",onClick:function(){return r("tail_color")}})]}),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.ColorBox,{color:g,mr:1}),(0,o.createComponentVNode)(2,i.Button,{content:"Change Secondary Tail Color",onClick:function(){return r("tail2_color")}})]}),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.ColorBox,{color:k,mr:1}),(0,o.createComponentVNode)(2,i.Button,{content:"Change Wing Color",onClick:function(){return r("wing_color")}})]}),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.ColorBox,{color:v,mr:1}),(0,o.createComponentVNode)(2,i.Button,{content:"Change Secondary Wing Color",onClick:function(){return r("wing2_color")}})]})],4):null,m?(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.ColorBox,{color:N,mr:1}),(0,o.createComponentVNode)(2,i.Button,{content:"Change Facial Hair Color",onClick:function(){return r("facial_hair_color")}})]}):null]})},m=function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data,l=c.hair_style,d=c.hair_styles;return(0,o.createComponentVNode)(2,i.Section,{title:"Hair",fill:!0,scrollable:!0,children:d.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{onClick:function(){return r("hair",{hair:e.hairstyle})},selected:e.hairstyle===l,content:e.hairstyle},e.hairstyle)}))})},p=function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data,l=c.facial_hair_style,d=c.facial_hair_styles;return(0,o.createComponentVNode)(2,i.Section,{title:"Facial Hair",fill:!0,scrollable:!0,children:d.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{onClick:function(){return r("facial_hair",{facial_hair:e.facialhairstyle})},selected:e.facialhairstyle===l,content:e.facialhairstyle},e.facialhairstyle)}))})},C=function(e,n){var t=(0,a.useBackend)(n),c=t.act,l=t.data,d=l.ear_style,s=l.ear_styles;return(0,o.createComponentVNode)(2,i.Section,{title:"Ears",fill:!0,scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Button,{onClick:function(){return c("ear",{clear:!0})},selected:null===d,content:"-- Not Set --"}),(0,r.sortBy)((function(e){return e.name.toLowerCase()}))(s).map((function(e){return(0,o.createComponentVNode)(2,i.Button,{onClick:function(){return c("ear",{ref:e.instance})},selected:e.name===d,content:e.name},e.instance)}))]})},h=function(e,n){var t=(0,a.useBackend)(n),c=t.act,l=t.data,d=l.tail_style,s=l.tail_styles;return(0,o.createComponentVNode)(2,i.Section,{title:"Tails",fill:!0,scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Button,{onClick:function(){return c("tail",{clear:!0})},selected:null===d,content:"-- Not Set --"}),(0,r.sortBy)((function(e){return e.name.toLowerCase()}))(s).map((function(e){return(0,o.createComponentVNode)(2,i.Button,{onClick:function(){return c("tail",{ref:e.instance})},selected:e.name===d,content:e.name},e.instance)}))]})},N=function(e,n){var t=(0,a.useBackend)(n),c=t.act,l=t.data,d=l.wing_style,s=l.wing_styles;return(0,o.createComponentVNode)(2,i.Section,{title:"Wings",fill:!0,scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Button,{onClick:function(){return c("wing",{clear:!0})},selected:null===d,content:"-- Not Set --"}),(0,r.sortBy)((function(e){return e.name.toLowerCase()}))(s).map((function(e){return(0,o.createComponentVNode)(2,i.Button,{onClick:function(){return c("wing",{ref:e.instance})},selected:e.name===d,content:e.name},e.instance)}))]})}},86776:function(e,n,t){"use strict";n.__esModule=!0,n.ArcadeBattle=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.ArcadeBattle=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=(l.name,l.temp),s=l.enemyAction,u=l.enemyName,m=l.playerHP,p=l.playerMP,C=l.enemyHP,h=(l.enemyMP,l.gameOver);return(0,o.createComponentVNode)(2,a.Window,{width:400,height:240,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{title:u,textAlign:"center",children:[(0,o.createComponentVNode)(2,c.Section,{color:"label",children:[(0,o.createComponentVNode)(2,c.Box,{children:d}),(0,o.createComponentVNode)(2,c.Box,{children:!h&&s})]}),(0,o.createComponentVNode)(2,c.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Player Health",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:m,minValue:0,maxValue:30,ranges:{olive:[31,Infinity],good:[20,31],average:[10,20],bad:[-Infinity,10]},children:[m,"HP"]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Player Magic",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:p,minValue:0,maxValue:10,ranges:{purple:[11,Infinity],violet:[3,11],bad:[-Infinity,3]},children:[p,"MP"]})})]})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Enemy HP",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:C,minValue:0,maxValue:45,ranges:{olive:[31,Infinity],good:[20,31],average:[10,20],bad:[-Infinity,10]},children:[C,"HP"]})})})})]}),h&&(0,o.createComponentVNode)(2,c.Button,{fluid:!0,mt:1,color:"green",content:"New Game",onClick:function(){return i("newgame")}})||(0,o.createComponentVNode)(2,c.Flex,{mt:2,justify:"space-between",spacing:1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"fist-raised",tooltip:"Go in for the kill!",tooltipPosition:"top",onClick:function(){return i("attack")},content:"Attack!"})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"band-aid",tooltip:"Heal yourself!",tooltipPosition:"top",onClick:function(){return i("heal")},content:"Heal!"})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"magic",tooltip:"Recharge your magic!",tooltipPosition:"top",onClick:function(){return i("charge")},content:"Recharge!"})})]})]})})})}},13496:function(e,n,t){"use strict";n.__esModule=!0,n.AreaScrubberControl=void 0;var o=t(39812),r=t(74814),c=t(71494),a=t(85952),i=t(2497);n.AreaScrubberControl=function(e,n){var t=(0,c.useBackend)(n),i=t.act,d=t.data,s=(0,c.useLocalState)(n,"showArea",!1),u=s[0],m=s[1],p=d.scrubbers;return p?(0,o.createComponentVNode)(2,a.Window,{width:600,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,r.Section,{children:[(0,o.createComponentVNode)(2,r.Flex,{wrap:"wrap",children:[(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"search",content:"Scan",onClick:function(){return i("scan")}})}),(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"layer-group",content:"Show Areas",selected:u,onClick:function(){return m(!u)}})}),(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"toggle-on",content:"All On",onClick:function(){return i("allon")}})}),(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"toggle-off",content:"All Off",onClick:function(){return i("alloff")}})})]}),(0,o.createComponentVNode)(2,r.Flex,{wrap:"wrap",children:p.map((function(e){return(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"32%",children:(0,o.createComponentVNode)(2,l,{scrubber:e,showArea:u})},e.id)}))})]})})}):(0,o.createComponentVNode)(2,r.Section,{title:"Error",children:[(0,o.createComponentVNode)(2,r.Box,{color:"bad",children:"No Scrubbers Detected."}),(0,o.createComponentVNode)(2,r.Button,{fluid:!0,icon:"search",content:"Scan",onClick:function(){return i("scan")}})]})};var l=function(e,n){var t=(0,c.useBackend)(n).act,a=e.scrubber,l=e.showArea;return(0,o.createComponentVNode)(2,r.Section,{title:a.name,children:[(0,o.createComponentVNode)(2,r.Button,{fluid:!0,icon:"power-off",content:a.on?"Enabled":"Disabled",selected:a.on,onClick:function(){return t("toggle",{id:a.id})}}),(0,o.createComponentVNode)(2,r.LabeledList,{children:[(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Pressure",children:[a.pressure," kPa"]}),(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Flow Rate",children:[a.flow_rate," L/s"]}),(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Load",children:[a.load," W"]}),l&&(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Area",children:(0,i.toTitleCase)(a.area)})]})]})}},56404:function(e,n,t){"use strict";n.__esModule=!0,n.AssemblyInfrared=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.AssemblyInfrared=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.on,s=l.visible;return(0,o.createComponentVNode)(2,a.Window,{children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{title:"Infrared Unit",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Laser",children:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",fluid:!0,selected:d,onClick:function(){return i("state")},children:d?"On":"Off"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Visibility",children:(0,o.createComponentVNode)(2,c.Button,{icon:"eye",fluid:!0,selected:s,onClick:function(){return i("visible")},children:s?"Able to be seen":"Invisible"})})]})})})})}},29632:function(e,n,t){"use strict";n.__esModule=!0,n.AssemblyProx=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(85952),l=t(58083);n.AssemblyProx=function(e,n){var t=(0,c.useBackend)(n),d=t.act,s=t.data,u=s.timing,m=s.time,p=s.range,C=s.maxRange,h=s.scanning;return(0,o.createComponentVNode)(2,i.Window,{children:(0,o.createComponentVNode)(2,i.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Timing Unit",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Timer",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"stopwatch",selected:u,onClick:function(){return d("timing")},children:u?"Counting Down":"Disabled"}),children:(0,o.createComponentVNode)(2,a.NumberInput,{animated:!0,fluid:!0,value:m/10,minValue:0,maxValue:600,format:function(e){return(0,l.formatTime)((0,r.round)(e))},onDrag:function(e,n){return d("set_time",{time:n})}})})})}),(0,o.createComponentVNode)(2,a.Section,{title:"Prox Unit",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Range",children:(0,o.createComponentVNode)(2,a.NumberInput,{minValue:1,value:p,maxValue:C,onDrag:function(e,n){return d("range",{range:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Armed",children:[(0,o.createComponentVNode)(2,a.Button,{mr:1,icon:h?"lock":"lock-open",selected:h,onClick:function(){return d("scanning")},children:h?"ARMED":"Unarmed"}),"Movement sensor is active when armed!"]})]})})]})})}},48661:function(e,n,t){"use strict";n.__esModule=!0,n.AssemblyTimer=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(85952),l=t(58083);n.AssemblyTimer=function(e,n){var t=(0,c.useBackend)(n),d=t.act,s=t.data,u=s.timing,m=s.time;return(0,o.createComponentVNode)(2,i.Window,{children:(0,o.createComponentVNode)(2,i.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Timing Unit",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Timer",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"stopwatch",selected:u,onClick:function(){return d("timing")},children:u?"Counting Down":"Disabled"}),children:(0,o.createComponentVNode)(2,a.NumberInput,{animated:!0,fluid:!0,value:m/10,minValue:0,maxValue:600,format:function(e){return(0,l.formatTime)((0,r.round)(e))},onDrag:function(e,n){return d("set_time",{time:n})}})})})})})})}},38531:function(e,n,t){"use strict";n.__esModule=!0,n.AtmosAlertConsole=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.AtmosAlertConsole=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.priority_alarms||[],s=l.minor_alarms||[];return(0,o.createComponentVNode)(2,a.Window,{width:350,height:300,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c.Section,{title:"Alarms",children:(0,o.createVNode)(1,"ul",null,[0===d.length&&(0,o.createVNode)(1,"li","color-good","No Priority Alerts",16),d.map((function(e){return(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,c.Button,{icon:"times",content:e.name,color:"bad",onClick:function(){return i("clear",{ref:e.ref})}}),2,null,e.name)})),0===s.length&&(0,o.createVNode)(1,"li","color-good","No Minor Alerts",16),s.map((function(e){return(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,c.Button,{icon:"times",content:e.name,color:"average",onClick:function(){return i("clear",{ref:e.ref})}}),2,null,e.name)}))],0)})})})}},46566:function(e,n,t){"use strict";n.__esModule=!0,n.AtmosControlContent=n.AtmosControl=void 0;var o=t(39812),r=t(64499),c=t(85952),a=t(74814),i=t(71494);(0,t(88654).createLogger)("fuck");n.AtmosControl=function(e,n){return(0,o.createComponentVNode)(2,c.Window,{width:600,height:440,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,n){var t,c=(0,i.useBackend)(n),l=c.act,d=c.data,s=c.config,u=(0,r.sortBy)((function(e){return e.name}))(d.alarms||[]),m=(0,i.useLocalState)(n,"tabIndex",0),p=m[0],C=m[1],h=(0,i.useLocalState)(n,"zoom",1),N=h[0],V=h[1];return 0===p?t=(0,o.createComponentVNode)(2,a.Section,{title:"Alarms",children:u.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{content:e.name,color:2===e.danger?"bad":1===e.danger?"average":"",onClick:function(){return l("alarm",{alarm:e.ref})}},e.name)}))}):1===p&&(t=(0,o.createComponentVNode)(2,a.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,o.createComponentVNode)(2,a.NanoMap,{onZoom:function(e){return V(e)},children:u.filter((function(e){return~~e.z==~~s.mapZLevel})).map((function(e){return(0,o.createComponentVNode)(2,a.NanoMap.Marker,{x:e.x,y:e.y,zoom:N,icon:"bell",tooltip:e.name,color:e.danger?"red":"green",onClick:function(){return l("alarm",{alarm:e.ref})}},e.ref)}))})})),(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===p,onClick:function(){return C(0)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"table"})," Alarm View"]},"AlarmView"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===p,onClick:function(){return C(1)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),(0,o.createComponentVNode)(2,a.Box,{m:2,children:t})],4)};n.AtmosControlContent=l},2726:function(e,n,t){"use strict";n.__esModule=!0,n.AtmosFilter=void 0;var o=t(39812),r=t(71494),c=t(74814),a=(t(76270),t(85952));n.AtmosFilter=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.filter_types||[];return(0,o.createComponentVNode)(2,a.Window,{width:390,height:187,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,c.Button,{icon:l.on?"power-off":"times",content:l.on?"On":"Off",selected:l.on,onClick:function(){return i("power")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Transfer Rate",children:[(0,o.createComponentVNode)(2,c.Box,{inline:!0,mr:1,children:(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:l.last_flow_rate,format:function(e){return e+" L/s"}})}),(0,o.createComponentVNode)(2,c.NumberInput,{animated:!0,value:parseFloat(l.rate),width:"63px",unit:"L/s",minValue:0,maxValue:200,onDrag:function(e,n){return i("rate",{rate:n})}}),(0,o.createComponentVNode)(2,c.Button,{ml:1,icon:"plus",content:"Max",disabled:l.rate===l.max_rate,onClick:function(){return i("rate",{rate:"max"})}})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Filter",children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{selected:e.selected,content:e.name,onClick:function(){return i("filter",{filterset:e.f_type})}},e.name)}))})]})})})})}},61505:function(e,n,t){"use strict";n.__esModule=!0,n.AtmosMixer=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.AtmosMixer=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data;return(0,o.createComponentVNode)(2,a.Window,{width:370,height:195,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,c.Button,{icon:l.on?"power-off":"times",content:l.on?"On":"Off",selected:l.on,onClick:function(){return i("power")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Output Pressure",children:[(0,o.createComponentVNode)(2,c.NumberInput,{animated:!0,value:parseFloat(l.set_pressure),unit:"kPa",width:"75px",minValue:0,maxValue:l.max_pressure,step:10,onChange:function(e,n){return i("pressure",{pressure:n})}}),(0,o.createComponentVNode)(2,c.Button,{ml:1,icon:"plus",content:"Max",disabled:l.set_pressure===l.max_pressure,onClick:function(){return i("pressure",{pressure:"max"})}})]}),(0,o.createComponentVNode)(2,c.LabeledList.Divider,{size:1}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{color:"label",children:(0,o.createVNode)(1,"u",null,"Concentrations",16)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Node 1 ("+l.node1_dir+")",children:(0,o.createComponentVNode)(2,c.NumberInput,{animated:!0,value:l.node1_concentration,unit:"%",width:"60px",minValue:0,maxValue:100,stepPixelSize:2,onDrag:function(e,n){return i("node1",{concentration:n})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Node 2 ("+l.node2_dir+")",children:(0,o.createComponentVNode)(2,c.NumberInput,{animated:!0,value:l.node2_concentration,unit:"%",width:"60px",minValue:0,maxValue:100,stepPixelSize:2,onDrag:function(e,n){return i("node2",{concentration:n})}})})]})})})})}},99994:function(e,n,t){"use strict";n.__esModule=!0,n.Autolathe=void 0;var o=t(39812),r=(t(41860),t(85531)),c=t(64499),a=t(71494),i=t(74814),l=t(85952),d=t(95481),s=t(2497),u=function(e,n,t){if(void 0===t&&(t=1),null===e.requirements)return!0;for(var o=Object.keys(e.requirements),r=function(){var o=a[c],r=n.find((function(e){return e.name===o}));return r?r.amount=e[1].price/d.build_eff,e[1]})).sort(l[N]);if(0!==t.length)return b&&(t=t.reverse()),g=!0,(0,o.createComponentVNode)(2,m,{title:e[0],items:t},e[0])}));return(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",overflow:"auto",children:(0,o.createComponentVNode)(2,a.Section,{onClick:function(e){return(0,i.refocusLayout)()},children:g?k:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No items matching your criteria was found!"})})})},s=function(e,n){var t=(0,c.useLocalState)(n,"search",""),r=(t[0],t[1]),i=(0,c.useLocalState)(n,"sort",""),d=(i[0],i[1]),s=(0,c.useLocalState)(n,"descending",!1),u=s[0],m=s[1];return(0,o.createComponentVNode)(2,a.Box,{mb:"0.5rem",children:(0,o.createComponentVNode)(2,a.Flex,{width:"100%",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",mr:"0.5rem",children:(0,o.createComponentVNode)(2,a.Input,{placeholder:"Search by item name..",width:"100%",onInput:function(e,n){return r(n)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"30%",children:(0,o.createComponentVNode)(2,a.Dropdown,{selected:"Alphabetical",options:Object.keys(l),width:"100%",lineHeight:"19px",onSelected:function(e){return d(e)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{icon:u?"arrow-down":"arrow-up",height:"19px",tooltip:u?"Descending order":"Ascending order",tooltipPosition:"bottom-end",ml:"0.5rem",onClick:function(){return m(!u)}})})]})})},u=function(e,n){return!!e.affordable&&!(e.reagent&&!n.beaker)},m=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=e.title,d=e.items,s=function(e,n){if(null==e)return{};var t,o,r={},c=Object.keys(e);for(o=0;o=0||(r[t]=e[t]);return r}(e,["title","items"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.Collapsible,Object.assign({open:!0,title:l},s,{children:d.map((function(e){return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",lineHeight:"20px",style:{float:"left"},children:e.name}),(0,o.createComponentVNode)(2,a.Button,{disabled:!u(e,i),content:(e.price/i.build_eff).toLocaleString("en-US"),width:"15%",textAlign:"center",style:{float:"right"},onClick:function(){return r("purchase",{cat:l,name:e.name})}}),(0,o.createComponentVNode)(2,a.Box,{style:{clear:"both"}})]},e.name)}))})))}},81850:function(e,n,t){"use strict";n.__esModule=!0,n.BodyDesigner=void 0;var o=t(39812),r=t(2497),c=t(71494),a=t(74814),i=t(85952);n.BodyDesigner=function(e,n){var t=(0,c.useBackend)(n),r=t.act,d=t.data,s=d.menu,u=d.disk,m=d.diskStored,p=d.activeBodyRecord,C=l[s];return(0,o.createComponentVNode)(2,i.Window,{width:400,height:650,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:[u?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"save",content:"Save To Disk",onClick:function(){return r("savetodisk")},disabled:!p}),(0,o.createComponentVNode)(2,a.Button,{icon:"save",content:"Load From Disk",onClick:function(){return r("loadfromdisk")},disabled:!m}),(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject",onClick:function(){return r("ejectdisk")}})]}):null,C]})})};var l={Main:(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n),r=t.act;t.data;return(0,o.createComponentVNode)(2,a.Section,{title:"Database Functions",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:"View Individual Body Records",onClick:function(){return r("menu",{menu:"Body Records"})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:"View Stock Body Records",onClick:function(){return r("menu",{menu:"Stock Records"})}})]})})),"Body Records":(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.bodyrecords;return(0,o.createComponentVNode)(2,a.Section,{title:"Body Records",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return r("menu",{menu:"Main"})}}),children:i.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:e.name,onClick:function(){return r("view_brec",{view_brec:e.recref})}},e.name)}))})})),"Stock Records":(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.stock_bodyrecords;return(0,o.createComponentVNode)(2,a.Section,{title:"Stock Records",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return r("menu",{menu:"Main"})}}),children:i.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:e,onClick:function(){return r("view_stock_brec",{view_stock_brec:e})}},e)}))})})),"Specific Record":(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,d=l.activeBodyRecord,s=l.mapRef;return d?(0,o.createComponentVNode)(2,a.Flex,{direction:"column",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"165px",children:(0,o.createComponentVNode)(2,a.Section,{title:"Specific Record",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return i("menu",{menu:"Main"})}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:d.real_name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Species",children:d.speciesname}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Bio. Sex",children:(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:(0,r.capitalize)(d.gender),onClick:function(){return i("href_conversion",{target_href:"bio_gender",target_value:1})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Synthetic",children:d.synthetic}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Compat",children:[d.locked,(0,o.createComponentVNode)(2,a.Button,{ml:1,icon:"eye",content:"View OOC Notes",disabled:!d.booc,onClick:function(){return i("boocnotes")}})]})]})})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"130px",children:(0,o.createComponentVNode)(2,a.ByondUi,{style:{width:"100%",height:"128px"},params:{id:s,type:"map"}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"300px",children:(0,o.createComponentVNode)(2,a.Section,{title:"Customize",height:"300px",style:{overflow:"auto"},children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Scale",children:(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:d.scale,onClick:function(){return i("href_conversion",{target_href:"size_multiplier",target_value:1})}})}),Object.keys(d.styles).map((function(e){var n=d.styles[e];return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,children:[n.styleHref?(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:n.style,onClick:function(){return i("href_conversion",{target_href:n.styleHref,target_value:1})}}):null,n.colorHref?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:n.color,onClick:function(){return i("href_conversion",{target_href:n.colorHref,target_value:1})}}),(0,o.createComponentVNode)(2,a.ColorBox,{verticalAlign:"top",width:"32px",height:"20px",color:n.color,style:{border:"1px solid #fff"}})]}):null,n.colorHref2?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:n.color2,onClick:function(){return i("href_conversion",{target_href:n.colorHref2,target_value:1})}}),(0,o.createComponentVNode)(2,a.ColorBox,{verticalAlign:"top",width:"32px",height:"20px",color:n.color2,style:{border:"1px solid #fff"}})]}):null]},e)})),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Body Markings",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"plus",content:"Add Marking",onClick:function(){return i("href_conversion",{target_href:"marking_style",target_value:1})}}),(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",justify:"center",align:"center",children:Object.keys(d.markings).map((function(e){var n=d.markings[e];return(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"100%",children:(0,o.createComponentVNode)(2,a.Flex,{children:[(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{mr:.2,fluid:!0,icon:"times",color:"red",onClick:function(){return i("href_conversion",{target_href:"marking_remove",target_value:e})}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,backgroundColor:n,content:e,onClick:function(){return i("href_conversion",{target_href:"marking_color",target_value:e})}})})]})},e)}))})]})]})})})]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR: Record Not Found!"})})),"OOC Notes":(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.activeBodyRecord;return(0,o.createComponentVNode)(2,a.Section,{title:"Body OOC Notes (This is OOC!)",height:"100%",scrollable:!0,buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return r("menu",{menu:"Specific Record"})}}),style:{"word-break":"break-all"},children:i&&i.booc||"ERROR: Body record not found!"})}))}},6060:function(e,n,t){"use strict";n.__esModule=!0,n.BodyScanner=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(85952),l=[["good","Alive"],["average","Unconscious"],["bad","DEAD"]],d=[["hasBorer","bad",function(e){return"Large growth detected in frontal lobe, possibly cancerous. Surgical removal is recommended."}],["hasVirus","bad",function(e){return"Viral pathogen detected in blood stream."}],["blind","average",function(e){return"Cataracts detected."}],["colourblind","average",function(e){return"Photoreceptor abnormalities detected."}],["nearsighted","average",function(e){return"Retinal misalignment detected."}],["humanPrey","average",function(e){return"Foreign Humanoid(s) detected: "+e.humanPrey}],["livingPrey","average",function(e){return"Foreign Creature(s) detected: "+e.livingPrey}],["objectPrey","average",function(e){return"Foreign Object(s) detected: "+e.objectPrey}]],s=[["Respiratory","oxyLoss"],["Brain","brainLoss"],["Toxin","toxLoss"],["Radiation","radLoss"],["Brute","bruteLoss"],["Genetic","cloneLoss"],["Burn","fireLoss"],["Paralysis","paralysis"]],u={average:[.25,.5],bad:[.5,Infinity]},m=function(e,n){for(var t=[],o=0;o0?e.reduce((function(e,n){return null===e?n:(0,o.createFragment)([e,!!n&&(0,o.createComponentVNode)(2,a.Box,{children:n})],0)})):null},C=function(e){if(e>100){if(e<300)return"mild infection";if(e<400)return"mild infection+";if(e<500)return"mild infection++";if(e<700)return"acute infection";if(e<800)return"acute infection+";if(e<900)return"acute infection++";if(e>=900)return"septic"}return""};n.BodyScanner=function(e,n){var t=(0,c.useBackend)(n).data,r=t.occupied,a=t.occupant,l=void 0===a?{}:a,d=r?(0,o.createComponentVNode)(2,h,{occupant:l}):(0,o.createComponentVNode)(2,B);return(0,o.createComponentVNode)(2,i.Window,{width:690,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:d})})};var h=function(e){var n=e.occupant;return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,N,{occupant:n}),(0,o.createComponentVNode)(2,V,{occupant:n}),(0,o.createComponentVNode)(2,b,{occupant:n}),(0,o.createComponentVNode)(2,f,{occupant:n}),(0,o.createComponentVNode)(2,k,{organs:n.extOrgan}),(0,o.createComponentVNode)(2,v,{organs:n.intOrgan})]})},N=function(e,n){var t=(0,c.useBackend)(n),i=t.act,d=t.data,s=d.occupant;return(0,o.createComponentVNode)(2,a.Section,{title:"Occupant",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"user-slash",onClick:function(){return i("ejectify")},children:"Eject"}),(0,o.createComponentVNode)(2,a.Button,{icon:"print",onClick:function(){return i("print_p")},children:"Print Report"})],4),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:s.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:s.maxHealth,value:s.health/s.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",color:l[s.stat][0],children:l[s.stat][1]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Temperature",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(s.bodyTempC,0)}),"\xb0C,\xa0",(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(s.bodyTempF,0)}),"\xb0F"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Blood Volume",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(s.blood.volume,0)})," units\xa0(",(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(s.blood.percent,0)}),"%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Weight",children:(0,r.round)(d.occupant.weight)+"lbs, "+(0,r.round)(d.occupant.weight/2.20463)+"kgs"})]})})},V=function(e){var n=e.occupant;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Blood Reagents",children:n.reagents?(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Reagent"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:"Amount"})]}),n.reagents.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:[e.amount," Units ",e.overdose?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"OVERDOSING"}):null]})]},e.name)}))]}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"No Blood Reagents Detected"})}),(0,o.createComponentVNode)(2,a.Section,{title:"Stomach Reagents",children:n.ingested?(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Reagent"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:"Amount"})]}),n.ingested.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:[e.amount," Units ",e.overdose?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"OVERDOSING"}):null]})]},e.name)}))]}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"No Stomach Reagents Detected"})})],4)},b=function(e){var n=e.occupant,t=n.hasBorer||n.blind||n.colourblind||n.nearsighted||n.hasVirus;return(t=t||n.humanPrey||n.livingPrey||n.objectPrey)?(0,o.createComponentVNode)(2,a.Section,{title:"Abnormalities",children:d.map((function(e,t){if(n[e[0]])return(0,o.createComponentVNode)(2,a.Box,{color:e[1],bold:"bad"===e[1],children:e[2](n)})}))}):(0,o.createComponentVNode)(2,a.Section,{title:"Abnormalities",children:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No abnormalities found."})})},f=function(e){var n=e.occupant;return(0,o.createComponentVNode)(2,a.Section,{title:"Damage",children:(0,o.createComponentVNode)(2,a.Table,{children:m(s,(function(e,t,r){return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Table.Row,{color:"label",children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:[e[0],":"]}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:!!t&&t[0]+":"})]}),(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:(0,o.createComponentVNode)(2,g,{value:n[e[1]],marginBottom:r0&&"0.5rem",value:e.totalLoss/100,ranges:u,children:[(0,o.createComponentVNode)(2,a.Box,{float:"left",inline:!0,children:[!!e.bruteLoss&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bone"}),(0,r.round)(e.bruteLoss,0),"\xa0",(0,o.createComponentVNode)(2,a.Tooltip,{position:"top",content:"Brute damage"})]}),!!e.fireLoss&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"fire"}),(0,r.round)(e.fireLoss,0),(0,o.createComponentVNode)(2,a.Tooltip,{position:"top",content:"Burn damage"})]})]}),(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:(0,r.round)(e.totalLoss,0)})]})}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",width:"33%",children:[(0,o.createComponentVNode)(2,a.Box,{color:"average",inline:!0,children:p([e.internalBleeding&&"Internal bleeding",!!e.status.bleeding&&"External bleeding",e.lungRuptured&&"Ruptured lung",e.destroyed&&"Destroyed",!!e.status.broken&&e.status.broken,C(e.germ_level),!!e.open&&"Open incision"])}),(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:[p([!!e.status.splinted&&"Splinted",!!e.status.robotic&&"Robotic",!!e.status.dead&&(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"DEAD"})]),p(e.implants.map((function(e){return e.known?e.name:"Unknown object"})))]})]})]},n)}))]})})},v=function(e){return 0===e.organs.length?(0,o.createComponentVNode)(2,a.Section,{title:"Internal Organs",children:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"N/A"})}):(0,o.createComponentVNode)(2,a.Section,{title:"Internal Organs",children:(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"center",children:"Damage"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:"Injuries"})]}),e.organs.map((function(e,n){return(0,o.createComponentVNode)(2,a.Table.Row,{textTransform:"capitalize",children:[(0,o.createComponentVNode)(2,a.Table.Cell,{width:"33%",children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"center",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:e.maxHealth,value:e.damage/100,mt:n>0&&"0.5rem",ranges:u,children:(0,r.round)(e.damage,0)})}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",width:"33%",children:[(0,o.createComponentVNode)(2,a.Box,{color:"average",inline:!0,children:p([C(e.germ_level),!!e.inflamed&&"Appendicitis detected."])}),(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:p([1===e.robotic&&"Robotic",2===e.robotic&&"Assisted",!!e.dead&&(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"DEAD"})])})]})]},n)}))]})})},B=function(){return(0,o.createComponentVNode)(2,a.Section,{textAlign:"center",flexGrow:"1",children:(0,o.createComponentVNode)(2,a.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant detected."]})})})}},74639:function(e,n,t){"use strict";n.__esModule=!0,n.BombTester=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);t(88654);function i(e,n){return(i=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}n.BombTester=function(e,n){var t=(0,r.useBackend)(n),i=t.act,d=t.data,s=d.simulating,u=d.mode,m=d.tank1,p=d.tank1ref,C=d.tank2,h=d.tank2ref,N=d.canister,V=d.sim_canister_output;return(0,o.createComponentVNode)(2,a.Window,{width:450,height:400,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:s&&(0,o.createComponentVNode)(2,l)||(0,o.createComponentVNode)(2,c.Section,{title:"Virtual Explosive Simulator v2.01",children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Mode",children:[(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("set_mode",{mode:1})},selected:1===u,children:"Single Tank"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("set_mode",{mode:2})},selected:2===u,children:"Transfer Valve"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("set_mode",{mode:3})},selected:3===u,children:"Canister"})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Primary Slot",children:m&&(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("remove_tank",{ref:p})},icon:"eject",children:m})||(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("add_tank",{slot:1})},icon:"upload",children:"Insert Tank"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Secondary Slot",children:C&&(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("remove_tank",{ref:h})},icon:"eject",children:C})||(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("add_tank",{slot:2})},icon:"upload",children:"Insert Tank"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Connected Canister",buttons:(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("canister_scan")},icon:"search",children:"Scan"}),children:N&&(0,o.createComponentVNode)(2,c.Box,{color:"label",children:N})||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No tank connected."})}),N&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Canister Release Pressure",children:(0,o.createComponentVNode)(2,c.Slider,{minValue:0,value:V,maxValue:1013.25,onDrag:function(e,n){return i("set_can_pressure",{pressure:n})}})})]}),(0,o.createComponentVNode)(2,c.Button,{mt:2,color:"red",icon:"bomb",fontSize:2,onClick:function(){return i("start_sim")},fluid:!0,children:"Begin Simulation"})]})})})};var l=function(e){var n,t;function r(n){var t;t=e.call(this,n)||this;var o=Math.random()>.5,r=Math.random()>.5;return t.state={x:o?340:0,y:r?205:0,reverseX:!1,reverseY:!1},t.process=setInterval((function(){t.setState((function(e){var n=Object.assign({},e);return n.reverseX?n.x-2<-5?(n.reverseX=!1,n.x+=2):n.x-=2:n.x+2>340?(n.reverseX=!0,n.x-=2):n.x+=2,n.reverseY?n.y-2<-20?(n.reverseY=!1,n.y+=2):n.y-=2:n.y+2>205?(n.reverseY=!0,n.y-=2):n.y+=2,n}))}),1),t}t=e,(n=r).prototype=Object.create(t.prototype),n.prototype.constructor=n,i(n,t);var a=r.prototype;return a.componentWillUnmount=function(){clearInterval(this.process)},a.render=function(){var e=this.state,n={position:"relative",left:e.x+"px",top:e.y+"px"};return(0,o.createComponentVNode)(2,c.Section,{title:"Simulation in progress!",fill:!0,children:(0,o.createComponentVNode)(2,c.Box,{position:"absolute",style:{overflow:"hidden",width:"100%",height:"100%"},children:(0,o.createComponentVNode)(2,c.Icon,{style:n,name:"bomb",size:10,color:"red"})})})},r}(o.Component)},48693:function(e,n,t){"use strict";n.__esModule=!0,n.BotanyEditor=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.BotanyEditor=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.activity,s=l.degradation,u=l.disk,m=l.sourceName,p=l.locus,C=l.loaded;return d?(0,o.createComponentVNode)(2,a.Window,{width:470,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c.NoticeBox,{info:!0,children:"Scanning..."})})}):(0,o.createComponentVNode)(2,a.Window,{width:470,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Buffered Genetic Data",children:u&&(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Source",children:m}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Gene Decay",children:[s,"%"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Locus",children:p})]}),(0,o.createComponentVNode)(2,c.Button,{mt:1,icon:"eject",onClick:function(){return i("eject_disk")},children:"Eject Loaded Disk"})]})||(0,o.createComponentVNode)(2,c.NoticeBox,{warning:!0,children:"No disk loaded."})}),(0,o.createComponentVNode)(2,c.Section,{title:"Loaded Material",children:C&&(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Target",children:C})}),(0,o.createComponentVNode)(2,c.Button,{mt:1,icon:"cog",onClick:function(){return i("apply_gene")},children:"Apply Gene Mods"}),(0,o.createComponentVNode)(2,c.Button,{mt:1,icon:"eject",onClick:function(){return i("eject_packet")},children:"Eject Target"})]})||(0,o.createComponentVNode)(2,c.NoticeBox,{warning:!0,children:"No target seed packet loaded."})})]})})}},25486:function(e,n,t){"use strict";n.__esModule=!0,n.BotanyIsolator=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.BotanyIsolator=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.geneMasks,s=l.activity,u=l.degradation,m=l.disk,p=l.loaded,C=l.hasGenetics,h=l.sourceName;return s?(0,o.createComponentVNode)(2,a.Window,{width:470,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c.NoticeBox,{info:!0,children:"Scanning..."})})}):(0,o.createComponentVNode)(2,a.Window,{width:470,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Buffered Genetic Data",children:C&&(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Source",children:h}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Gene decay",children:[u,"%"]}),m&&d.length&&d.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.mask,children:(0,o.createComponentVNode)(2,c.Button,{mb:-1,icon:"download",onClick:function(){return i("get_gene",{get_gene:e.tag})},children:"Extract"})},e.mask)}))||null]}),m&&(0,o.createComponentVNode)(2,c.Box,{mt:1,children:[(0,o.createComponentVNode)(2,c.Button,{icon:"eject",onClick:function(){return i("eject_disk")},children:"Eject Loaded Disk"}),(0,o.createComponentVNode)(2,c.Button,{icon:"trash",onClick:function(){return i("clear_buffer")},children:"Clear Genetic Buffer"})]})||(0,o.createComponentVNode)(2,c.NoticeBox,{mt:1,warning:!0,children:"No disk inserted."})]})||(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.NoticeBox,{warning:!0,children:"No Data Buffered."}),m&&(0,o.createComponentVNode)(2,c.Button,{icon:"eject",onClick:function(){return i("eject_disk")},children:"Eject Loaded Disk"})||(0,o.createComponentVNode)(2,c.NoticeBox,{mt:1,warning:!0,children:"No disk inserted."})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Loaded Material",children:p&&(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Packet Loaded",children:p})}),(0,o.createComponentVNode)(2,c.Button,{mt:1,icon:"cog",onClick:function(){return i("scan_genome")},children:"Process Genome"}),(0,o.createComponentVNode)(2,c.Button,{icon:"eject",onClick:function(){return i("eject_packet")},children:"Eject Packet"})]})||(0,o.createComponentVNode)(2,c.NoticeBox,{warning:!0,children:"No packet loaded."})})]})})}},61956:function(e,n,t){"use strict";n.__esModule=!0,n.BrigTimer=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(85952),l=t(58083);n.BrigTimer=function(e,n){var t=(0,c.useBackend)(n),d=t.act,s=t.data;return(0,o.createComponentVNode)(2,i.Window,{width:300,height:138,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,a.Section,{title:"Cell Timer",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"clock-o",content:s.timing?"Stop":"Start",selected:s.timing,onClick:function(){return d(s.timing?"stop":"start")}}),s.flash_found&&(0,o.createComponentVNode)(2,a.Button,{icon:"lightbulb-o",content:s.flash_charging?"Recharging":"Flash",disabled:s.flash_charging,onClick:function(){return d("flash")}})||null],0),children:[(0,o.createComponentVNode)(2,a.NumberInput,{animated:!0,fluid:!0,value:s.time_left/10,minValue:0,maxValue:s.max_time_left/10,format:function(e){return(0,l.formatTime)((0,r.round)(e))},onDrag:function(e,n){return d("time",{time:n})}}),(0,o.createComponentVNode)(2,a.Flex,{mt:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"hourglass-start",content:"Add "+(0,l.formatTime)(s.preset_short/10),onClick:function(){return d("preset",{preset:"short"})}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"hourglass-start",content:"Add "+(0,l.formatTime)(s.preset_medium/10),onClick:function(){return d("preset",{preset:"medium"})}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"hourglass-start",content:"Add "+(0,l.formatTime)(s.preset_long/10),onClick:function(){return d("preset",{preset:"long"})}})})]})]})})})}},3180:function(e,n,t){"use strict";n.__esModule=!0,n.CameraConsoleSearch=n.CameraConsoleContent=n.CameraConsole=void 0;var o=t(39812),r=t(64499),c=t(85531),a=t(34380),i=t(2497),l=t(71494),d=t(74814),s=t(85952),u=function(e,n,t){void 0===n&&(n=""),void 0===t&&(t="");var o=(0,i.createSearch)(n,(function(e){return e.name}));return(0,c.flow)([(0,r.filter)((function(e){return null==e?void 0:e.name})),n&&(0,r.filter)(o),t&&(0,r.filter)((function(e){return e.networks.includes(t)})),(0,r.sortBy)((function(e){return e.name}))])(e)};n.CameraConsole=function(e,n){return(0,o.createComponentVNode)(2,s.Window,{width:870,height:708,resizable:!0,children:(0,o.createComponentVNode)(2,m)})};var m=function(e,n){var t=(0,l.useBackend)(n),r=t.act,c=t.data,a=(t.config,c.mapRef),i=c.activeCamera,m=function(e,n){var t,o;if(!n)return[];var r=e.findIndex((function(e){return e.name===n.name}));return[null==(t=e[r-1])?void 0:t.name,null==(o=e[r+1])?void 0:o.name]}(u(c.cameras),i);m[0],m[1];return(0,o.createFragment)([(0,o.createVNode)(1,"div","CameraConsole__left",(0,o.createComponentVNode)(2,s.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,p)}),2),(0,o.createVNode)(1,"div","CameraConsole__right",[(0,o.createVNode)(1,"div","CameraConsole__toolbar",[(0,o.createVNode)(1,"b",null,"Camera: ",16),i&&i.name||"\u2014"],0),(0,o.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,o.createComponentVNode)(2,d.Button,{icon:"chevron-left",onClick:function(){return r("pan",{dir:8})}}),(0,o.createComponentVNode)(2,d.Button,{icon:"chevron-up",onClick:function(){return r("pan",{dir:1})}}),(0,o.createComponentVNode)(2,d.Button,{icon:"chevron-right",onClick:function(){return r("pan",{dir:4})}}),(0,o.createComponentVNode)(2,d.Button,{icon:"chevron-down",onClick:function(){return r("pan",{dir:2})}})],4),(0,o.createComponentVNode)(2,d.ByondUi,{className:"CameraConsole__map",params:{id:a,type:"map"}})],4)],4)};n.CameraConsoleContent=m;var p=function(e,n){var t=(0,l.useBackend)(n),r=t.act,c=t.data,i=(0,l.useLocalState)(n,"searchText",""),m=i[0],p=i[1],C=(0,l.useLocalState)(n,"networkFilter",""),h=C[0],N=C[1],V=c.activeCamera,b=c.allNetworks;b.sort();var f=u(c.cameras,m,h);return(0,o.createFragment)([(0,o.createComponentVNode)(2,d.Input,{fluid:!0,mb:1,placeholder:"Search for a camera",onInput:function(e,n){return p(n)}}),(0,o.createComponentVNode)(2,d.Dropdown,{mb:1,width:"177px",options:b,placeholder:"No Filter",onSelected:function(e){return N(e)}}),(0,o.createComponentVNode)(2,d.Section,{children:f.map((function(e){return(0,o.createVNode)(1,"div",(0,a.classes)(["Button","Button--fluid","Button--color--transparent","Button--ellipsis",V&&e.name===V.name&&"Button--selected"]),e.name,0,{title:e.name,onClick:function(){(0,s.refocusLayout)(),r("switch_camera",{name:e.name})}},e.name)}))})],4)};n.CameraConsoleSearch=p},94477:function(e,n,t){"use strict";n.__esModule=!0,n.Canister=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(58083),l=t(85952);n.Canister=function(e,n){var t=(0,c.useBackend)(n),d=t.act,s=t.data,u=s.connected,m=s.can_relabel,p=s.pressure,C=s.releasePressure,h=s.defaultReleasePressure,N=s.minReleasePressure,V=s.maxReleasePressure,b=s.valveOpen,f=s.holding;return(0,o.createComponentVNode)(2,l.Window,{width:360,height:242,resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Canister",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"pencil-alt",disabled:!m,content:"Relabel",onClick:function(){return d("relabel")}}),children:(0,o.createComponentVNode)(2,a.LabeledControls,{children:[(0,o.createComponentVNode)(2,a.LabeledControls.Item,{minWidth:"66px",label:"Tank Pressure",children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:p,format:function(e){return e<1e4?(0,r.toFixed)(e)+" kPa":(0,i.formatSiUnit)(1e3*e,1,"Pa")}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Regulator",children:(0,o.createComponentVNode)(2,a.Box,{position:"relative",left:"-8px",children:[(0,o.createComponentVNode)(2,a.Knob,{forcedInputWidth:"60px",size:1.25,color:!!b&&"yellow",value:C,unit:"kPa",minValue:N,maxValue:V,stepPixelSize:1,onDrag:function(e,n){return d("pressure",{pressure:n})}}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,position:"absolute",top:"-2px",right:"-20px",color:"transparent",icon:"fast-forward",onClick:function(){return d("pressure",{pressure:V})}}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,position:"absolute",top:"16px",right:"-20px",color:"transparent",icon:"undo",onClick:function(){return d("pressure",{pressure:h})}})]})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Valve",children:(0,o.createComponentVNode)(2,a.Button,{my:.5,width:"50px",lineHeight:2,fontSize:"11px",color:b?f?"caution":"danger":null,content:b?"Open":"Closed",onClick:function(){return d("valve")}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{mr:1,label:"Port",children:(0,o.createComponentVNode)(2,a.Box,{position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{size:1.25,name:u?"plug":"times",color:u?"good":"bad"}),(0,o.createComponentVNode)(2,a.Tooltip,{content:u?"Connected":"Disconnected",position:"top"})]})})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Holding Tank",buttons:!!f&&(0,o.createComponentVNode)(2,a.Button,{icon:"eject",color:b&&"danger",content:"Eject",onClick:function(){return d("eject")}}),children:[!!f&&(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Label",children:f.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pressure",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:f.pressure})," kPa"]})]}),!f&&(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No Holding Tank"})]})]})})}},55636:function(e,n,t){"use strict";n.__esModule=!0,n.Canvas=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);function i(e,n){return(i=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}var l=function(e){var n,t;function r(n){var t;return(t=e.call(this,n)||this).canvasRef=(0,o.createRef)(),t.onCVClick=n.onCanvasClick,t}t=e,(n=r).prototype=Object.create(t.prototype),n.prototype.constructor=n,i(n,t);var c=r.prototype;return c.componentDidMount=function(){this.drawCanvas(this.props)},c.componentDidUpdate=function(){this.drawCanvas(this.props)},c.drawCanvas=function(e){var n=this.canvasRef.current.getContext("2d"),t=e.value,o=t.length;if(o){var r=t[0].length,c=Math.round(this.canvasRef.current.width/o),a=Math.round(this.canvasRef.current.height/r);n.save(),n.scale(c,a);for(var i=0;i=0||(r[t]=e[t]);return r}(n,["res","value","dotsize"]),i=d(t),l=i[0],s=i[1];return(0,o.normalizeProps)((0,o.createVNode)(1,"canvas",null,"Canvas failed to render.",16,Object.assign({width:l*c||300,height:s*c||300},a,{onClick:function(n){return e.clickwrapper(n)}}),null,this.canvasRef))},r}(o.Component),d=function(e){var n=e.length;return[n,0!==n?e[0].length:0]};n.Canvas=function(e,n){var t=(0,r.useBackend)(n),i=t.act,s=t.data,u=d(s.grid),m=u[0],p=u[1];return(0,o.createComponentVNode)(2,a.Window,{width:Math.min(700,24*m+72),height:Math.min(700,24*p+72),children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Box,{textAlign:"center",children:[(0,o.createComponentVNode)(2,l,{value:s.grid,dotsize:24,onCanvasClick:function(e,n){return i("paint",{x:e,y:n})}}),(0,o.createComponentVNode)(2,c.Box,{children:[!s.finalized&&(0,o.createComponentVNode)(2,c.Button.Confirm,{onClick:function(){return i("finalize")},content:"Finalize"}),"\xa0",s.name]})]})})})}},25131:function(e,n,t){"use strict";n.__esModule=!0,n.CasinoPrizeDispenser=void 0;var o=t(39812),r=t(2497),c=t(71494),a=t(74814),i=t(85952);t(88654);var l={Alphabetical:function(e,n){return e-n},"By availability":function(e,n){return-(e.affordable-n.affordable)},"By price":function(e,n){return e.price-n.price}};n.CasinoPrizeDispenser=function(e,n){var t=(0,c.useBackend)(n);t.act,t.data;return(0,o.createComponentVNode)(2,i.Window,{width:400,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{className:"Layout__content--flexColumn",scrollable:!0,children:(0,o.createFragment)([(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,s)],4)})})};var d=function(e,n){var t=(0,c.useLocalState)(n,"search",""),r=(t[0],t[1]),i=(0,c.useLocalState)(n,"sort",""),d=(i[0],i[1]),s=(0,c.useLocalState)(n,"descending",!1),u=s[0],m=s[1];return(0,o.createComponentVNode)(2,a.Box,{mb:"0.5rem",children:(0,o.createComponentVNode)(2,a.Flex,{width:"100%",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",mr:"0.5rem",children:(0,o.createComponentVNode)(2,a.Input,{placeholder:"Search by item name..",width:"100%",onInput:function(e,n){return r(n)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"30%",children:(0,o.createComponentVNode)(2,a.Dropdown,{selected:"Alphabetical",options:Object.keys(l),width:"100%",lineHeight:"19px",onSelected:function(e){return d(e)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{icon:u?"arrow-down":"arrow-up",height:"19px",tooltip:u?"Descending order":"Ascending order",tooltipPosition:"bottom-end",ml:"0.5rem",onClick:function(){return m(!u)}})})]})})},s=function(e,n){var t=(0,c.useBackend)(n),d=(t.act,t.data),s=d.points,m=d.items,p=(0,c.useLocalState)(n,"search",""),C=p[0],h=(p[1],(0,c.useLocalState)(n,"sort","Alphabetical")),N=h[0],V=(h[1],(0,c.useLocalState)(n,"descending",!1)),b=V[0],f=(V[1],(0,r.createSearch)(C,(function(e){return e[0]}))),g=!1,k=Object.entries(m).map((function(e,n){var t=Object.entries(e[1]).filter(f).map((function(e){return e[1].affordable=s>=e[1].price,e[1]})).sort(l[N]);if(0!==t.length)return b&&(t=t.reverse()),g=!0,(0,o.createComponentVNode)(2,u,{title:e[0],items:t},e[0])}));return(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",overflow:"auto",children:(0,o.createComponentVNode)(2,a.Section,{onClick:function(e){return(0,i.refocusLayout)()},children:g?k:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No items matching your criteria was found!"})})})},u=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=(t.data,e.title),l=e.items,d=function(e,n){if(null==e)return{};var t,o,r={},c=Object.keys(e);for(o=0;o=0||(r[t]=e[t]);return r}(e,["title","items"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.Collapsible,Object.assign({open:!0,title:i},d,{children:l.map((function(e){return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",lineHeight:"20px",style:{float:"left"},children:e.name}),(0,o.createComponentVNode)(2,a.Button,{content:e.price.toLocaleString("en-US"),width:"15%",textAlign:"center",style:{float:"right"},onClick:function(){return r("purchase",{cat:i,name:e.name,price:e.price,restriction:e.restriction})}}),(0,o.createComponentVNode)(2,a.Box,{style:{clear:"both"}})]},e.name)}))})))}},47947:function(e,n,t){"use strict";n.__esModule=!0,n.CharacterDirectory=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=function(e){switch(e){case"Unset":return"label";case"Pred":return"red";case"Prey":return"blue";case"Switch":return"purple";case"Non-Vore":return"green"}};n.CharacterDirectory=function(e,n){var t=(0,r.useBackend)(n),i=t.act,s=t.data,u=s.personalVisibility,m=s.personalTag,p=s.personalErpTag,C=(0,r.useLocalState)(n,"overlay",null),h=C[0];C[1];return(0,o.createComponentVNode)(2,a.Window,{width:640,height:480,resizeable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:h&&(0,o.createComponentVNode)(2,l)||(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Visibility",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,content:u?"Shown":"Not Shown",onClick:function(){return i("setVisible")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Vore Tag",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,content:m,onClick:function(){return i("setTag")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"ERP Tag",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,content:p,onClick:function(){return i("setErpTag")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Advertisement",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,content:"Edit Ad",onClick:function(){return i("editAd")}})})]})}),(0,o.createComponentVNode)(2,d)],4)})})};var l=function(e,n){var t=(0,r.useLocalState)(n,"overlay",null),a=t[0],l=t[1];return(0,o.createComponentVNode)(2,c.Section,{title:a.name,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-left",content:"Back",onClick:function(){return l(null)}}),children:[(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Vore Tag",children:(0,o.createComponentVNode)(2,c.Box,{p:1,backgroundColor:i(a.tag),children:a.tag})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"ERP Tag",children:(0,o.createComponentVNode)(2,c.Box,{children:a.erptag})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Character Ad",children:(0,o.createComponentVNode)(2,c.Box,{style:{"word-break":"break-all"},preserveWhitespace:!0,children:a.character_ad||"Unset."})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"OOC Notes",children:(0,o.createComponentVNode)(2,c.Box,{style:{"word-break":"break-all"},preserveWhitespace:!0,children:a.ooc_notes||"Unset."})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Flavor Text",children:(0,o.createComponentVNode)(2,c.Box,{style:{"word-break":"break-all"},preserveWhitespace:!0,children:a.flavor_text||"Unset."})})]})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,l=t.data.directory,d=(0,r.useLocalState)(n,"sortId","name"),u=d[0],m=(d[1],(0,r.useLocalState)(n,"sortOrder","name")),p=m[0],C=(m[1],(0,r.useLocalState)(n,"overlay",null)),h=(C[0],C[1]);return(0,o.createComponentVNode)(2,c.Section,{title:"Directory",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"sync",content:"Refresh",onClick:function(){return a("refresh")}}),children:(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{bold:!0,children:[(0,o.createComponentVNode)(2,s,{id:"name",children:"Name"}),(0,o.createComponentVNode)(2,s,{id:"tag",children:"Vore Tag"}),(0,o.createComponentVNode)(2,s,{id:"erptag",children:"ERP Tag"}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,textAlign:"right",children:"View"})]}),l.sort((function(e,n){var t=p?1:-1;return e[u].localeCompare(n[u])*t})).map((function(e,n){return(0,o.createComponentVNode)(2,c.Table.Row,{backgroundColor:i(e.tag),children:[(0,o.createComponentVNode)(2,c.Table.Cell,{p:1,children:e.name}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.tag}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.erptag}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,textAlign:"right",children:(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return h(e)},color:"transparent",icon:"sticky-note",mr:1,content:"View"})})]},n)}))]})})},s=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data,e.id),i=e.children,l=(0,r.useLocalState)(n,"sortId","name"),d=l[0],s=l[1],u=(0,r.useLocalState)(n,"sortOrder","name"),m=u[0],p=u[1];return(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,c.Button,{width:"100%",color:d!==a&&"transparent",onClick:function(){d===a?p(!m):(s(a),p(!0))},children:[i,d===a&&(0,o.createComponentVNode)(2,c.Icon,{name:m?"sort-up":"sort-down",ml:"0.25rem;"})]})})}},22223:function(e,n,t){"use strict";n.__esModule=!0,n.ChemDispenser=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(48229),i=t(85952),l=[5,10,20,30,40,60],d=[1,5,10];n.ChemDispenser=function(e,n){return(0,o.createComponentVNode)(2,i.Window,{width:390,height:655,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,m)]})})};var s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.amount;return(0,o.createComponentVNode)(2,c.Section,{title:"Settings",flex:"content",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Dispense",verticalAlign:"middle",children:(0,o.createComponentVNode)(2,c.Flex,{direction:"row",wrap:"wrap",spacing:"1",children:l.map((function(e,n){return(0,o.createComponentVNode)(2,c.Flex.Item,{grow:"1",children:(0,o.createComponentVNode)(2,c.Button,{textAlign:"center",selected:i===e,content:e+"u",m:"0",fluid:!0,onClick:function(){return a("amount",{amount:e})}})},n)}))})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Custom Amount",children:(0,o.createComponentVNode)(2,c.Slider,{step:1,stepPixelSize:5,value:i,minValue:1,maxValue:120,onDrag:function(e,n){return a("amount",{amount:n})}})})]})})},u=function(e,n){for(var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.chemicals,d=void 0===l?[]:l,s=[],u=0;u<(d.length+1)%3;u++)s.push(!0);return(0,o.createComponentVNode)(2,c.Section,{title:i.glass?"Drink Dispenser":"Chemical Dispenser",flexGrow:"1",children:(0,o.createComponentVNode)(2,c.Flex,{direction:"row",wrap:"wrap",height:"100%",align:"flex-start",children:[d.map((function(e,n){return(0,o.createComponentVNode)(2,c.Flex.Item,{grow:"1",m:.2,basis:"40%",height:"20px",children:(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-circle-down",width:"100%",height:"100%",align:"flex-start",content:e.title+" ("+e.amount+")",onClick:function(){return a("dispense",{reagent:e.id})}})},n)})),s.map((function(e,n){return(0,o.createComponentVNode)(2,c.Flex.Item,{grow:"1",basis:"25%",height:"20px"},n)}))]})})},m=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,s=l.isBeakerLoaded,u=l.beakerCurrentVolume,m=l.beakerMaxVolume,p=l.beakerContents,C=void 0===p?[]:p;return(0,o.createComponentVNode)(2,c.Section,{title:"Beaker",flex:"content",minHeight:"25%",buttons:(0,o.createComponentVNode)(2,c.Box,{children:[!!s&&(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:"label",mr:2,children:[u," / ",m," units"]}),(0,o.createComponentVNode)(2,c.Button,{icon:"eject",content:"Eject",disabled:!s,onClick:function(){return i("ejectBeaker")}})]}),children:(0,o.createComponentVNode)(2,a.BeakerContents,{beakerLoaded:s,beakerContents:C,buttons:function(e){return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{content:"Isolate",icon:"compress-arrows-alt",onClick:function(){return i("remove",{reagent:e.id,amount:-1})}}),d.map((function(n,t){return(0,o.createComponentVNode)(2,c.Button,{content:n,onClick:function(){return i("remove",{reagent:e.id,amount:n})}},t)})),(0,o.createComponentVNode)(2,c.Button,{content:"ALL",onClick:function(){return i("remove",{reagent:e.id,amount:e.volume})}})],0)}})})}},34859:function(e,n,t){"use strict";n.__esModule=!0,n.ChemMaster=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=t(48229),l=t(16007),d=[1,5,10,30,60];n.ChemMaster=function(e,n){var t=(0,r.useBackend)(n).data,c=t.condi,i=t.beaker,d=t.beaker_reagents,p=void 0===d?[]:d,C=t.buffer_reagents,h=void 0===C?[]:C,N=t.mode;return(0,o.createComponentVNode)(2,a.Window,{width:575,height:500,resizable:!0,children:[(0,o.createComponentVNode)(2,l.ComplexModal),(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,s,{beaker:i,beakerReagents:p,bufferNonEmpty:h.length>0}),(0,o.createComponentVNode)(2,u,{mode:N,bufferReagents:h}),(0,o.createComponentVNode)(2,m,{isCondiment:c,bufferNonEmpty:h.length>0})]})]})};var s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,s=(t.data,e.beaker),u=e.beakerReagents,m=e.bufferNonEmpty?(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"eject",disabled:!s,content:"Eject and Clear Buffer",onClick:function(){return a("eject")}}):(0,o.createComponentVNode)(2,c.Button,{icon:"eject",disabled:!s,content:"Eject and Clear Buffer",onClick:function(){return a("eject")}});return(0,o.createComponentVNode)(2,c.Section,{title:"Beaker",buttons:m,children:s?(0,o.createComponentVNode)(2,i.BeakerContents,{beakerLoaded:!0,beakerContents:u,buttons:function(e,t){return(0,o.createComponentVNode)(2,c.Box,{mb:t0?(0,o.createComponentVNode)(2,i.BeakerContents,{beakerLoaded:!0,beakerContents:u,buttons:function(e,r){return(0,o.createComponentVNode)(2,c.Box,{mb:r0?l.desc:"N/A"}),l.blood_type&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Blood type",children:l.blood_type}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Blood DNA",className:"LabeledList__breakContents",children:l.blood_dna})],4),!i.condi&&(0,o.createComponentVNode)(2,c.Button,{icon:i.printing?"spinner":"print",disabled:i.printing,iconSpin:!!i.printing,ml:"0.5rem",content:"Print",onClick:function(){return a("print",{idx:l.idx,beaker:e.args.beaker})}})]})})})}))},83919:function(e,n,t){"use strict";n.__esModule=!0,n.ClawMachine=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.ClawMachine=function(e,n){var t,i=(0,r.useBackend)(n),l=i.act,d=i.data,s=(d.wintick,d.instructions),u=d.gameStatus,m=d.winscreen;return"CLAWMACHINE_NEW"===u?t=(0,o.createComponentVNode)(2,c.Box,{align:"center",children:[(0,o.createVNode)(1,"br")," ",(0,o.createVNode)(1,"hr"),(0,o.createVNode)(1,"b",null,"Pay to Play!",16)," ",(0,o.createVNode)(1,"br")," ",(0,o.createVNode)(1,"hr"),s,(0,o.createVNode)(1,"br")," ",(0,o.createVNode)(1,"hr")," ",(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Button,{content:"Start",onClick:function(){return l("newgame")}})]}):"CLAWMACHINE_END"===u?t=(0,o.createComponentVNode)(2,c.Box,{align:"center",children:[(0,o.createVNode)(1,"br")," ",(0,o.createVNode)(1,"hr"),(0,o.createVNode)(1,"b",null,"Thank you for playing!",16)," ",(0,o.createVNode)(1,"br")," ",(0,o.createVNode)(1,"hr"),m,(0,o.createVNode)(1,"br")," ",(0,o.createVNode)(1,"hr")," ",(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Button,{content:"Close",onClick:function(){return l("return")}})]}):"CLAWMACHINE_ON"===u&&(t=(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Progress",children:(0,o.createComponentVNode)(2,c.ProgressBar,{ranges:{bad:[-Infinity,0],average:[1,7],good:[8,Infinity]},value:d.wintick,minValue:0,maxValue:10})})}),(0,o.createComponentVNode)(2,c.Box,{align:"center",children:[(0,o.createVNode)(1,"br")," ",(0,o.createVNode)(1,"hr")," ",(0,o.createVNode)(1,"br"),s,(0,o.createVNode)(1,"br")," ",(0,o.createVNode)(1,"br")," ",(0,o.createVNode)(1,"hr")," ",(0,o.createVNode)(1,"br")," ",(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Button,{content:"Up",onClick:function(){return l("pointless")}}),(0,o.createVNode)(1,"br")," ",(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Button,{content:"Left",onClick:function(){return l("pointless")}}),(0,o.createComponentVNode)(2,c.Button,{content:"Right",onClick:function(){return l("pointless")}}),(0,o.createVNode)(1,"br")," ",(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Button,{content:"Down",onClick:function(){return l("pointless")}})]})]})),(0,o.createComponentVNode)(2,a.Window,{resizable:!0,children:(0,o.createVNode)(1,"center",null,t,0)})}},74351:function(e,n,t){"use strict";n.__esModule=!0,n.Cleanbot=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.Cleanbot=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.on,s=l.open,u=l.locked,m=l.version,p=l.blood,C=(l.patrol,l.vocal),h=l.wet_floors,N=l.spray_blood,V=l.rgbpanel,b=l.red_switch,f=l.green_switch,g=l.blue_switch;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:400,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Automatic Station Cleaner "+m,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:d,onClick:function(){return i("start")},children:d?"On":"Off"}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Maintenance Panel",color:s?"bad":"good",children:s?"Open":"Closed"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Behavior Controls",color:u?"good":"bad",children:u?"Locked":"Unlocked"})]})}),!u&&(0,o.createComponentVNode)(2,c.Section,{title:"Behavior Controls",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Blood",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:p?"toggle-on":"toggle-off",selected:p,onClick:function(){return i("blood")},children:p?"Clean":"Ignore"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Speaker",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:C?"toggle-on":"toggle-off",selected:C,onClick:function(){return i("vocal")},children:C?"On":"Off"})})]})})||null,!u&&s&&(0,o.createComponentVNode)(2,c.Section,{title:"Maintenance Panel",children:V&&(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{fontSize:5.39,icon:b?"toggle-on":"toggle-off",backgroundColor:b?"red":"maroon",onClick:function(){return i("red_switch")}}),(0,o.createComponentVNode)(2,c.Button,{fontSize:5.39,icon:f?"toggle-on":"toggle-off",backgroundColor:f?"green":"darkgreen",onClick:function(){return i("green_switch")}}),(0,o.createComponentVNode)(2,c.Button,{fontSize:5.39,icon:g?"toggle-on":"toggle-off",backgroundColor:g?"blue":"darkblue",onClick:function(){return i("blue_switch")}})]})||(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Odd Looking Screw Twiddled",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,selected:h,onClick:function(){return i("wet_floors")},icon:"screwdriver",children:h?"Yes":"No"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Weird Button Pressed",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,color:"brown",selected:N,onClick:function(){return i("spray_blood")},icon:"screwdriver",children:N?"Yes":"No"})})]})})})||null]})})}},98213:function(e,n,t){"use strict";n.__esModule=!0,n.CloningConsole=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(76270),l=t(16007),d=t(85952),s=function(e,n){var t=(0,c.useBackend)(n),r=t.act,l=t.data,d=e.args,s=d.activerecord,u=d.realname,m=d.health,p=d.unidentity,C=d.strucenzymes,h=m.split(" - ");return(0,o.createComponentVNode)(2,a.Section,{level:2,m:"-1rem",pb:"1rem",title:"Records of "+u,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:u}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Damage",children:h.length>1?(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{color:i.COLORS.damageType.oxy,inline:!0,children:h[0]}),(0,o.createTextVNode)("\xa0|\xa0"),(0,o.createComponentVNode)(2,a.Box,{color:i.COLORS.damageType.toxin,inline:!0,children:h[2]}),(0,o.createTextVNode)("\xa0|\xa0"),(0,o.createComponentVNode)(2,a.Box,{color:i.COLORS.damageType.brute,inline:!0,children:h[3]}),(0,o.createTextVNode)("\xa0|\xa0"),(0,o.createComponentVNode)(2,a.Box,{color:i.COLORS.damageType.burn,inline:!0,children:h[1]})],4):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Unknown"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"UI",className:"LabeledList__breakContents",children:p}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"SE",className:"LabeledList__breakContents",children:C}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Disk",children:[(0,o.createComponentVNode)(2,a.Button.Confirm,{disabled:!l.disk,icon:"arrow-circle-down",content:"Import",onClick:function(){return r("disk",{option:"load"})}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l.disk,icon:"arrow-circle-up",content:"Export UI",onClick:function(){return r("disk",{option:"save",savetype:"ui"})}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l.disk,icon:"arrow-circle-up",content:"Export UI and UE",onClick:function(){return r("disk",{option:"save",savetype:"ue"})}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l.disk,icon:"arrow-circle-up",content:"Export SE",onClick:function(){return r("disk",{option:"save",savetype:"se"})}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Actions",children:[(0,o.createComponentVNode)(2,a.Button,{disabled:!l.podready,icon:"user-plus",content:"Clone",onClick:function(){return r("clone",{ref:s})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"trash",content:"Delete",onClick:function(){return r("del_rec")}})]})]})})};n.CloningConsole=function(e,n){var t=(0,c.useBackend)(n);t.act,t.data.menu;return(0,l.modalRegisterBodyOverride)("view_rec",s),(0,o.createComponentVNode)(2,d.Window,{resizable:!0,children:[(0,o.createComponentVNode)(2,l.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),(0,o.createComponentVNode)(2,d.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,h),(0,o.createComponentVNode)(2,N),(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,a.Section,{noTopPadding:!0,flexGrow:"1",children:(0,o.createComponentVNode)(2,m)})]})]})};var u=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.menu;return(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===i,icon:"home",onClick:function(){return r("menu",{num:1})},children:"Main"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===i,icon:"folder",onClick:function(){return r("menu",{num:2})},children:"Records"})]})},m=function(e,n){var t,r=(0,c.useBackend)(n).data.menu;return 1===r?t=(0,o.createComponentVNode)(2,p):2===r&&(t=(0,o.createComponentVNode)(2,C)),t},p=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,d=l.loading,s=l.scantemp,u=l.occupant,m=l.locked,p=l.can_brainscan,C=l.scan_mode,h=l.numberofpods,N=l.pods,V=l.selected_pod,b=m&&!!u;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Scanner",level:"2",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"label",children:"Scanner Lock:\xa0"}),(0,o.createComponentVNode)(2,a.Button,{disabled:!u,selected:b,icon:b?"toggle-on":"toggle-off",content:b?"Engaged":"Disengaged",onClick:function(){return i("lock")}}),(0,o.createComponentVNode)(2,a.Button,{disabled:b||!u,icon:"user-slash",content:"Eject Occupant",onClick:function(){return i("eject")}})],4),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",children:d?(0,o.createComponentVNode)(2,a.Box,{color:"average",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"spinner",spin:!0}),"\xa0 Scanning..."]}):(0,o.createComponentVNode)(2,a.Box,{color:s.color,children:s.text})}),!!p&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Scan Mode",children:(0,o.createComponentVNode)(2,a.Button,{icon:C?"brain":"male",content:C?"Brain":"Body",onClick:function(){return i("toggle_mode")}})})]}),(0,o.createComponentVNode)(2,a.Button,{disabled:!u||d,icon:"user",content:"Scan Occupant",mt:"0.5rem",mb:"0",onClick:function(){return i("scan")}})]}),(0,o.createComponentVNode)(2,a.Section,{title:"Pods",level:"2",children:h?N.map((function(e,n){var t;return t="cloning"===e.status?(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:e.progress/100,ranges:{good:[.75,Infinity],average:[.25,.75],bad:[-Infinity,.25]},mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:(0,r.round)(e.progress,0)+"%"})}):"mess"===e.status?(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"ERROR"}):(0,o.createComponentVNode)(2,a.Button,{selected:V===e.pod,icon:V===e.pod&&"check",content:"Select",mt:"0.5rem",onClick:function(){return i("selectpod",{ref:e.pod})}}),(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"pod_"+e.status+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:["Pod #",n+1]}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.biomass>=150?"good":"bad",inline:!0,children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.biomass>=150?"circle":"circle-o"}),"\xa0",e.biomass]}),t]},n)})):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No pods detected. Unable to clone."})})],4)},C=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.records;return i.length?(0,o.createComponentVNode)(2,a.Box,{mt:"0.5rem",children:i.map((function(e,n){return(0,o.createComponentVNode)(2,a.Button,{icon:"user",mb:"0.5rem",content:e.realname,onClick:function(){return r("view_rec",{ref:e.record})}},n)}))}):(0,o.createComponentVNode)(2,a.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No records found."]})})},h=function(e,n){var t,r=(0,c.useBackend)(n),i=r.act,l=r.data.temp;if(l&&l.text&&!(l.text.length<=0)){var d=((t={})[l.style]=!0,t);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.NoticeBox,Object.assign({},d,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",children:l.text}),(0,o.createComponentVNode)(2,a.Button,{icon:"times-circle",float:"right",onClick:function(){return i("cleartemp")}}),(0,o.createComponentVNode)(2,a.Box,{clear:"both"})]})))}},N=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=i.scanner,d=i.numberofpods,s=i.autoallowed,u=i.autoprocess,m=i.disk;return(0,o.createComponentVNode)(2,a.Section,{title:"Status",buttons:(0,o.createFragment)([!!s&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"label",children:"Auto-processing:\xa0"}),(0,o.createComponentVNode)(2,a.Button,{selected:u,icon:u?"toggle-on":"toggle-off",content:u?"Enabled":"Disabled",onClick:function(){return r("autoprocess",{on:u?0:1})}})],4),(0,o.createComponentVNode)(2,a.Button,{disabled:!m,icon:"eject",content:"Eject Disk",onClick:function(){return r("disk",{option:"eject"})}})],0),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Scanner",children:l?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Connected"}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Not connected!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pods",children:d?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[d," connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})})]})})}},32278:function(e,n,t){"use strict";n.__esModule=!0,n.ColorMate=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.ColorMate=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.items,s=l.activecolor,u=Math.min(270+15*d.length,600);return(0,o.createComponentVNode)(2,a.Window,{width:300,height:u,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:d.length&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Paint",children:(0,o.createComponentVNode)(2,c.Flex,{justify:"center",align:"center",children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"50%",children:(0,o.createComponentVNode)(2,c.Box,{backgroundColor:s,width:"120px",height:"120px"})}),(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"50% ",children:[(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"eye-dropper",onClick:function(){return i("select")},children:"Select Color"}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"fill-drip",onClick:function(){return i("paint")},children:"Paint Items"}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"tint-slash",onClick:function(){return i("clear")},children:"Remove Paintjob"}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"eject",onClick:function(){return i("eject")},children:"Eject Items"})]})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Items",children:d.map((function(e,n){return(0,o.createComponentVNode)(2,c.Box,{children:["#",n+1,": ",e]},n)}))})],4)||(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No items inserted."})})})})}},130:function(e,n,t){"use strict";n.__esModule=!0,n.CommunicationsConsoleContent=n.CommunicationsConsole=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.CommunicationsConsole=function(e,n){return(0,o.createComponentVNode)(2,a.Window,{width:400,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,i)})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data.menu_state),i=(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:["ERRROR. Unknown menu_state: ",a,"Please report this to NT Technical Support."]});return 1===a?i=(0,o.createComponentVNode)(2,l):2===a?i=(0,o.createComponentVNode)(2,u):3===a&&(i=(0,o.createComponentVNode)(2,s)),(0,o.createFragment)([(0,o.createComponentVNode)(2,d),i],0)};n.CommunicationsConsoleContent=i;var l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.messages,d=i.msg_cooldown,s=i.emagged,u=i.cc_cooldown,m=i.str_security_level,p=i.levels,C=i.authmax,h=i.security_level,N=i.security_level_color,V=i.authenticated,b=i.atcsquelch,f=i.boss_short,g="View ("+l.length+")",k="Make Priority Announcement";d>0&&(k+=" ("+d+"s)");var v=s?"Message [UNKNOWN]":"Message "+f;u>0&&(v+=" ("+u+"s)");var B=m,L=p.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{icon:e.icon,content:e.name,disabled:!V,selected:e.id===h,onClick:function(){return a("newalertlevel",{level:e.id})}},e.name)}));return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Site Manager-Only Actions",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Announcement",children:(0,o.createComponentVNode)(2,c.Button,{icon:"bullhorn",content:k,disabled:!C||d>0,onClick:function(){return a("announce")}})}),!!s&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Transmit",children:[(0,o.createComponentVNode)(2,c.Button,{icon:"broadcast-tower",color:"red",content:v,disabled:!C||u>0,onClick:function(){return a("MessageSyndicate")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"sync-alt",content:"Reset Relays",disabled:!C,onClick:function(){return a("RestoreBackup")}})]})||(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Transmit",children:(0,o.createComponentVNode)(2,c.Button,{icon:"broadcast-tower",content:v,disabled:!C||u>0,onClick:function(){return a("MessageCentCom")}})})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Command Staff Actions",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Current Alert",color:N,children:B}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Change Alert",children:L}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Displays",children:(0,o.createComponentVNode)(2,c.Button,{icon:"tv",content:"Change Status Displays",disabled:!V,onClick:function(){return a("status")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Incoming Messages",children:(0,o.createComponentVNode)(2,c.Button,{icon:"folder-open",content:g,disabled:!V,onClick:function(){return a("messagelist")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Misc",children:(0,o.createComponentVNode)(2,c.Button,{icon:"microphone",content:b?"ATC Relay Disabled":"ATC Relay Enabled",disabled:!V,selected:b,onClick:function(){return a("toggleatc")}})})]})})],4)},d=function(e,n){var t,a=(0,r.useBackend)(n),i=a.act,l=a.data,d=l.authenticated,s=l.is_ai,u=l.esc_status,m=l.esc_callable,p=l.esc_recallable;return t=d?s?"AI":1===d?"Command":2===d?"Site Director":"ERROR: Report This Bug!":"Not Logged In",(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Authentication",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:s&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Access Level",children:"AI"})||(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Actions",children:(0,o.createComponentVNode)(2,c.Button,{icon:d?"sign-out-alt":"id-card",selected:d,content:d?"Log Out ("+t+")":"Log In",onClick:function(){return i("auth")}})})})}),(0,o.createComponentVNode)(2,c.Section,{title:"Escape Shuttle",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[!!u&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",children:u}),!!m&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Options",children:(0,o.createComponentVNode)(2,c.Button,{icon:"rocket",content:"Call Shuttle",disabled:!d,onClick:function(){return i("callshuttle")}})}),!!p&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Options",children:(0,o.createComponentVNode)(2,c.Button,{icon:"times",content:"Recall Shuttle",disabled:!d||s,onClick:function(){return i("cancelshuttle")}})})]})})],4)},s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.message_current,d=i.message_deletion_allowed,s=i.authenticated,u=i.messages;if(l)return(0,o.createComponentVNode)(2,c.Section,{title:l.title,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"times",content:"Return To Message List",disabled:!s,onClick:function(){return a("messagelist")}}),children:(0,o.createComponentVNode)(2,c.Box,{children:l.contents})});var m=u.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.title,children:[(0,o.createComponentVNode)(2,c.Button,{icon:"eye",content:"View",disabled:!s||l&&l.title===e.title,onClick:function(){return a("messagelist",{msgid:e.id})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"times",content:"Delete",disabled:!s||!d,onClick:function(){return a("delmessage",{msgid:e.id})}})]},e.id)}));return(0,o.createComponentVNode)(2,c.Section,{title:"Messages Received",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){return a("main")}}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:u.length&&m||(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"404",color:"bad",children:"No messages."})})})},u=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.stat_display,d=i.authenticated,s=l.presets.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{content:e.label,selected:e.name===l.type,disabled:!d,onClick:function(){return a("setstat",{statdisp:e.name})}},e.name)}));return(0,o.createComponentVNode)(2,c.Section,{title:"Modify Status Screens",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){return a("main")}}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Presets",children:s}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Message Line 1",children:(0,o.createComponentVNode)(2,c.Button,{icon:"pencil-alt",content:l.line_1,disabled:!d,onClick:function(){return a("setmsg1")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Message Line 2",children:(0,o.createComponentVNode)(2,c.Button,{icon:"pencil-alt",content:l.line_2,disabled:!d,onClick:function(){return a("setmsg2")}})})]})})}},4220:function(e,n,t){"use strict";n.__esModule=!0,n.Communicator=void 0;var o=t(39812),r=t(64499),c=t(2497),a=t(71494),i=t(74814),l=t(85952),d=t(22902),s={};n.Communicator=function(e,n){var t=(0,a.useBackend)(n),r=(t.act,t.data),c=r.currentTab,d=r.video_comm,h=(r.mapRef,(0,a.useLocalState)(n,"videoSetting",0)),N=h[0],V=h[1];return(0,o.createComponentVNode)(2,l.Window,{width:475,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{children:[d&&(0,o.createComponentVNode)(2,u,{videoSetting:N,setVideoSetting:V}),(!d||0!==N)&&(0,o.createFragment)([(0,o.createComponentVNode)(2,p),(0,o.createComponentVNode)(2,i.Box,{height:"88%",mb:1,style:{"overflow-y":"auto"},children:s[c]||(0,o.createComponentVNode)(2,m)}),(0,o.createComponentVNode)(2,C,{videoSetting:N,setVideoSetting:V})],4)]})})};var u=function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data,l=(c.video_comm,c.mapRef),d=e.videoSetting,s=e.setVideoSetting;return 0===d?(0,o.createComponentVNode)(2,i.Box,{width:"100%",height:"100%",children:[(0,o.createComponentVNode)(2,i.ByondUi,{width:"100%",height:"95%",params:{id:l,type:"map"}}),(0,o.createComponentVNode)(2,i.Flex,{justify:"space-between",spacing:1,mt:.5,children:[(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Button,{textAlign:"center",fluid:!0,fontSize:1.5,icon:"window-minimize",onClick:function(){return s(1)}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Button,{textAlign:"center",fluid:!0,fontSize:1.5,color:"bad",icon:"video-slash",onClick:function(){return r("endvideo")}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Button,{textAlign:"center",fluid:!0,fontSize:1.5,color:"bad",icon:"phone-slash",onClick:function(){return r("hang_up")}})})]})]}):1===d?(0,o.createComponentVNode)(2,i.Box,{style:{position:"absolute",right:"5px",bottom:"50px","z-index":1},children:[(0,o.createComponentVNode)(2,i.Section,{p:0,m:0,children:(0,o.createComponentVNode)(2,i.Flex,{justify:"space-between",spacing:1,children:[(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Button,{textAlign:"center",fluid:!0,fontSize:1.5,icon:"window-minimize",onClick:function(){return s(2)}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Button,{textAlign:"center",fluid:!0,fontSize:1.5,icon:"window-maximize",onClick:function(){return s(0)}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Button,{textAlign:"center",fluid:!0,fontSize:1.5,color:"bad",icon:"video-slash",onClick:function(){return r("endvideo")}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Button,{textAlign:"center",fluid:!0,fontSize:1.5,color:"bad",icon:"phone-slash",onClick:function(){return r("hang_up")}})})]})}),(0,o.createComponentVNode)(2,i.ByondUi,{width:"200px",height:"200px",params:{id:l,type:"map"}})]}):null},m=function(e,n){var t=(0,a.useBackend)(n),r=(t.act,t.data.currentTab);return(0,o.createComponentVNode)(2,i.Section,{title:"Error!",children:["You tried to access tab #",r,", but there was no template defined!"]})},p=function(e,n){var t=(0,a.useBackend)(n),r=(t.act,t.data),l=r.time,d=r.connectionStatus,s=r.owner,u=r.occupation;return(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.Flex,{align:"center",justify:"space-between",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{color:"average",children:l}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:(0,o.createComponentVNode)(2,i.Icon,{color:1===d?"good":"bad",name:1===d?"signal":"exclamation-triangle"})}),(0,o.createComponentVNode)(2,i.Flex.Item,{color:"average",children:(0,c.decodeHtmlEntities)(s)}),(0,o.createComponentVNode)(2,i.Flex.Item,{color:"average",children:(0,c.decodeHtmlEntities)(u)})]})})},C=function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data.flashlight,l=e.videoSetting,d=e.setVideoSetting;return(0,o.createComponentVNode)(2,i.Flex,{children:[(0,o.createComponentVNode)(2,i.Flex.Item,{basis:2===l?"60%":"80%",children:(0,o.createComponentVNode)(2,i.Button,{p:1,fluid:!0,icon:"home",iconSize:2,textAlign:"center",onClick:function(){return r("switch_tab",{switch_tab:1})}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"20%",children:(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb",iconSize:2,p:1,fluid:!0,textAlign:"center",selected:c,tooltip:"Flashlight",tooltipPosition:"top",onClick:function(){return r("Light")}})}),2===l&&(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"20%",children:(0,o.createComponentVNode)(2,i.Button,{icon:"video",iconSize:2,p:1,fluid:!0,textAlign:"center",tooltip:"Open Video",tooltipPosition:"top",onClick:function(){return d(1)}})})]})},h=function(e,n){var t=(0,a.useBackend)(n).data,o=t.voice_mobs,r=t.communicating,c=t.requestsReceived,i=t.invitesSent,l=t.video_comm;return!("Phone"!==e||!(o.length||r.length||c.length||i.length||l))};s[1]=(0,o.createComponentVNode)(2,(function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data.homeScreen;return(0,o.createComponentVNode)(2,i.Flex,{mt:2,wrap:"wrap",align:"center",justify:"center",children:c.map((function(e){return(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"25%",textAlign:"center",mb:2,children:[(0,o.createComponentVNode)(2,i.Button,{style:{"border-radius":"10%",border:"1px solid #000"},width:"64px",height:"64px",position:"relative",onClick:function(){return r("switch_tab",{switch_tab:e.number})},children:(0,o.createComponentVNode)(2,i.Icon,{spin:h(e.module,n),color:h(e.module,n)?"bad":null,name:e.icon,position:"absolute",size:3,top:"25%",left:"25%"})}),(0,o.createComponentVNode)(2,i.Box,{children:e.module})]},e.number)}))})}));var N=function(e,n){for(var t=(0,a.useBackend)(n),r=t.act,c=t.data.targetAddress,l=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"].map((function(e){return(0,o.createComponentVNode)(2,i.Button,{content:e,fontSize:2,fluid:!0,onClick:function(){return r("add_hex",{add_hex:e})}},e)})),d=[],s=0;st?n.length>t?n.slice(0,t)+"...":n:e+n},f=function(e,n,t,o){if(t<0||t>o.length)return V(e,n)?"TinderMessage_First_Sent":"TinderMessage_First_Received";var r=V(e,n),c=V(o[t],n);return r&&c?"TinderMessage_Subsequent_Sent":r||c?r?"TinderMessage_First_Sent":"TinderMessage_First_Received":"TinderMessage_Subsequent_Received"};s[40]=(0,o.createComponentVNode)(2,(function(e,n){var t=(0,a.useBackend)(n),r=t.act,l=t.data,d=l.targetAddressName,s=l.targetAddress,u=l.imList,m=(0,a.useLocalState)(n,"clipboardMode",!1),p=m[0],C=m[1];return p?(0,o.createComponentVNode)(2,i.Section,{title:(0,o.createComponentVNode)(2,i.Box,{inline:!0,style:{"white-space":"nowrap","overflow-x":"hidden"},width:"90%",children:b("Conversation with ",(0,c.decodeHtmlEntities)(d),30)}),buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eye",selected:p,tooltip:"Exit Clipboard Mode",tooltipPosition:"bottom-end",onClick:function(){return C(!p)}}),height:"100%",stretchContents:!0,children:[(0,o.createComponentVNode)(2,i.Section,{style:{height:"95%","overflow-y":"auto"},children:u.map((function(e,n){return(0,o.createComponentVNode)(2,i.Box,{className:V(e,s)?"ClassicMessage_Sent":"ClassicMessage_Received",children:[V(e,s)?"You":"Them",": ",e.im]},n)}))}),(0,o.createComponentVNode)(2,i.Button,{icon:"comment",onClick:function(){return r("message",{message:s})},content:"Message"})]}):(0,o.createComponentVNode)(2,i.Section,{title:(0,o.createComponentVNode)(2,i.Box,{inline:!0,style:{"white-space":"nowrap","overflow-x":"hidden"},width:"100%",children:b("Conversation with ",(0,c.decodeHtmlEntities)(d),30)}),buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eye",selected:p,tooltip:"Enter Clipboard Mode",tooltipPosition:"bottom-end",onClick:function(){return C(!p)}}),height:"100%",stretchContents:!0,children:[(0,o.createComponentVNode)(2,i.Section,{style:{height:"95%","overflow-y":"auto"},children:u.map((function(e,n,t){return(0,o.createComponentVNode)(2,i.Box,{textAlign:V(e,s)?"right":"left",mb:1,children:(0,o.createComponentVNode)(2,i.Box,{maxWidth:"75%",className:f(e,s,n-1,t),inline:!0,children:(0,c.decodeHtmlEntities)(e.im)})},n)}))}),(0,o.createComponentVNode)(2,i.Button,{icon:"comment",onClick:function(){return r("message",{message:s})},content:"Message"})]})}));var g=function(e,n){var t=(0,a.useBackend)(n),r=t.act,l=t.data.target_feed;return(0,o.createComponentVNode)(2,i.Section,{title:(0,c.decodeHtmlEntities)(l.name)+" by "+(0,c.decodeHtmlEntities)(l.author),level:2,buttons:(0,o.createComponentVNode)(2,i.Button,{content:"Back",icon:"chevron-up",onClick:function(){return r("newsfeed",{newsfeed:null})}}),children:l.messages.map((function(e){return(0,o.createComponentVNode)(2,i.Section,{children:["- ",(0,c.decodeHtmlEntities)(e.body),!!e.img&&(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createVNode)(1,"img",null,null,1,{src:"data:image/png;base64,"+e.img}),(0,c.decodeHtmlEntities)(e.caption)||null]}),(0,o.createComponentVNode)(2,i.Box,{color:"grey",children:["[",e.message_type," by ",(0,c.decodeHtmlEntities)(e.author)," - ",e.time_stamp,"]"]})]},e.ref)}))})},k=function(e,n){var t=(0,a.useBackend)(n),r=t.act,l=t.data,d=l.feeds,s=l.latest_news;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Recent News",level:2,children:(0,o.createComponentVNode)(2,i.Section,{children:s.map((function(e){return(0,o.createComponentVNode)(2,i.Box,{mb:2,children:[(0,o.createVNode)(1,"h5",null,[(0,c.decodeHtmlEntities)(e.channel),(0,o.createComponentVNode)(2,i.Button,{ml:1,icon:"chevron-up",onClick:function(){return r("newsfeed",{newsfeed:e.index})},content:"Go to"})],0),"- ",(0,c.decodeHtmlEntities)(e.body),!!e.img&&(0,o.createComponentVNode)(2,i.Box,{children:["[image omitted, view story for more details]",e.caption||null]}),(0,o.createComponentVNode)(2,i.Box,{fontSize:.9,children:["[",e.message_type," by ",(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:"average",children:e.author})," - ",e.time_stamp,"]"]})]},e.index)}))})}),(0,o.createComponentVNode)(2,i.Section,{title:"News Feeds",level:2,children:d.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"chevron-up",onClick:function(){return r("newsfeed",{newsfeed:e.index})},content:e.name},e.index)}))})],4)};s[5]=(0,o.createComponentVNode)(2,(function(e,n){var t=(0,a.useBackend)(n),r=(t.act,t.data),c=r.feeds,l=r.target_feed;return(0,o.createComponentVNode)(2,i.Section,{title:"News",stretchContents:!0,height:"100%",children:!c.length&&(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Error: No newsfeeds available. Please try again later."})||l&&(0,o.createComponentVNode)(2,g)||(0,o.createComponentVNode)(2,k)})}));s[6]=(0,o.createComponentVNode)(2,(function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data.note;return(0,o.createComponentVNode)(2,i.Section,{title:"Note Keeper",height:"100%",stretchContents:!0,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",onClick:function(){return r("edit")},content:"Edit Notes"}),children:(0,o.createComponentVNode)(2,i.Section,{color:"average",width:"100%",height:"100%",style:{"word-break":"break-all","overflow-y":"auto"},children:c})})}));s[7]=(0,o.createComponentVNode)(2,(function(e,n){var t=(0,a.useBackend)(n),l=(t.act,t.data),d=l.aircontents,s=l.weather;return(0,o.createComponentVNode)(2,i.Section,{title:"Weather",children:[(0,o.createComponentVNode)(2,i.Section,{level:2,title:"Current Conditions",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,r.filter)((function(e){return"0"!==e.val||"Pressure"===e.entry||"Temperature"===e.entry}))(d).map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.entry,color:(n=e.val,t=e.bad_low,r=e.poor_low,a=e.poor_high,l=e.bad_high,na?"average":n>l?"bad":"good"),children:[e.val,(0,c.decodeHtmlEntities)(e.units)]},e.entry);var n,t,r,a,l}))})}),(0,o.createComponentVNode)(2,i.Section,{level:2,title:"Weather Reports",children:!!s.length&&(0,o.createComponentVNode)(2,i.LabeledList,{children:s.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.Planet,children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Time",children:e.Time}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Weather",children:(0,c.toTitleCase)(e.Weather)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Temperature",children:["Current: ",e.Temperature.toFixed(),"\xb0C | High: ",e.High.toFixed(),"\xb0C | Low: ",e.Low.toFixed(),"\xb0C"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Wind Direction",children:e.WindDir}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Wind Speed",children:e.WindSpeed}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Forecast",children:(0,c.decodeHtmlEntities)(e.Forecast)})]})},e.Planet)}))})||(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"No weather reports available. Please check back later."})})]})})),s[8]=(0,o.createComponentVNode)(2,d.CrewManifestContent);s[9]=(0,o.createComponentVNode)(2,(function(e,n){var t=(0,a.useBackend)(n),r=t.act,l=t.data,d=l.owner,s=l.occupation,u=l.connectionStatus,m=l.address,p=l.visible,C=l.ring,h=l.selfie_mode;return(0,o.createComponentVNode)(2,i.Section,{title:"Settings",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Owner",children:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",fluid:!0,content:(0,c.decodeHtmlEntities)(d),onClick:function(){return r("rename")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Camera Mode",children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,content:h?"Front-facing Camera":"Rear-facing Camera",onClick:function(){return r("selfie_mode")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Occupation",children:(0,c.decodeHtmlEntities)(s)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Connection",children:1===u?(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"Connected"}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Disconnected"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Device EPv2 Address",children:m}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Visibility",children:(0,o.createComponentVNode)(2,i.Button.Checkbox,{checked:p,selected:p,fluid:!0,content:p?"This device can be seen by other devices.":"This device is invisible to other devices.",onClick:function(){return r("toggle_visibility")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Ringer",children:(0,o.createComponentVNode)(2,i.Button.Checkbox,{checked:C,selected:C,fluid:!0,content:C?"Ringer on.":"Ringer off.",onClick:function(){return r("toggle_ringer")}})})]})})}))},2174:function(e,n,t){"use strict";n.__esModule=!0,n.ComputerFabricator=void 0;var o=t(39812),r=(t(2497),t(71494)),c=t(74814),a=t(85952);n.ComputerFabricator=function(e,n){var t=(0,r.useBackend)(n),u=t.act,m=t.data;return(0,o.createComponentVNode)(2,a.Window,{title:"Personal Computer Vendor",width:500,height:420,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{italic:!0,fontSize:"20px",children:"Your perfect device, only three steps away..."}),0!==m.state&&(0,o.createComponentVNode)(2,c.Button,{fluid:!0,mb:1,icon:"circle",content:"Clear Order",onClick:function(){return u("clean_order")}}),0===m.state&&(0,o.createComponentVNode)(2,i),1===m.state&&(0,o.createComponentVNode)(2,l),2===m.state&&(0,o.createComponentVNode)(2,d),3===m.state&&(0,o.createComponentVNode)(2,s)]})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=t.act;t.data;return(0,o.createComponentVNode)(2,c.Section,{title:"Step 1",minHeight:"306px",children:[(0,o.createComponentVNode)(2,c.Box,{mt:5,bold:!0,textAlign:"center",fontSize:"40px",children:"Choose your Device"}),(0,o.createComponentVNode)(2,c.Box,{mt:3,children:(0,o.createComponentVNode)(2,c.Grid,{width:"100%",children:[(0,o.createComponentVNode)(2,c.Grid.Column,{children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"laptop",content:"Laptop",textAlign:"center",fontSize:"30px",lineHeight:2,onClick:function(){return a("pick_device",{pick:"1"})}})}),(0,o.createComponentVNode)(2,c.Grid.Column,{children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"tablet-alt",content:"Tablet",textAlign:"center",fontSize:"30px",lineHeight:2,onClick:function(){return a("pick_device",{pick:"2"})}})})]})})]})},l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data;return(0,o.createComponentVNode)(2,c.Section,{title:"Step 2: Customize your device",minHeight:"282px",buttons:(0,o.createComponentVNode)(2,c.Box,{bold:!0,color:"good",children:[i.totalprice,"\u20ae"]}),children:[(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{bold:!0,position:"relative",children:["Battery:",(0,o.createComponentVNode)(2,c.Tooltip,{content:"Allows your device to operate without external utility power\nsource. Advanced batteries increase battery life.",position:"right"})]}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Standard",selected:1===i.hw_battery,onClick:function(){return a("hw_battery",{battery:"1"})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Upgraded",selected:2===i.hw_battery,onClick:function(){return a("hw_battery",{battery:"2"})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Advanced",selected:3===i.hw_battery,onClick:function(){return a("hw_battery",{battery:"3"})}})})]}),(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{bold:!0,position:"relative",children:["Hard Drive:",(0,o.createComponentVNode)(2,c.Tooltip,{content:"Stores file on your device. Advanced drives can store more\nfiles, but use more power, shortening battery life.",position:"right"})]}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Standard",selected:1===i.hw_disk,onClick:function(){return a("hw_disk",{disk:"1"})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Upgraded",selected:2===i.hw_disk,onClick:function(){return a("hw_disk",{disk:"2"})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Advanced",selected:3===i.hw_disk,onClick:function(){return a("hw_disk",{disk:"3"})}})})]}),(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{bold:!0,position:"relative",children:["Network Card:",(0,o.createComponentVNode)(2,c.Tooltip,{content:"Allows your device to wirelessly connect to stationwide NTNet\nnetwork. Basic cards are limited to on-station use, while\nadvanced cards can operate anywhere near the station, which\nincludes asteroid outposts",position:"right"})]}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"None",selected:0===i.hw_netcard,onClick:function(){return a("hw_netcard",{netcard:"0"})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Standard",selected:1===i.hw_netcard,onClick:function(){return a("hw_netcard",{netcard:"1"})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Advanced",selected:2===i.hw_netcard,onClick:function(){return a("hw_netcard",{netcard:"2"})}})})]}),(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{bold:!0,position:"relative",children:["Nano Printer:",(0,o.createComponentVNode)(2,c.Tooltip,{content:"A device that allows for various paperwork manipulations,\nsuch as, scanning of documents or printing new ones.\nThis device was certified EcoFriendlyPlus and is capable of\nrecycling existing paper for printing purposes.",position:"right"})]}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"None",selected:0===i.hw_nanoprint,onClick:function(){return a("hw_nanoprint",{print:"0"})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Standard",selected:1===i.hw_nanoprint,onClick:function(){return a("hw_nanoprint",{print:"1"})}})})]}),(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{bold:!0,position:"relative",children:["Secondary Card Reader:",(0,o.createComponentVNode)(2,c.Tooltip,{content:"Adds a secondary RFID card reader, for manipulating or\nreading from a second standard RFID card.\nPlease note that a primary card reader is necessary to\nallow the device to read your identification, but one\nis included in the base price.",position:"right"})]}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"None",selected:0===i.hw_card,onClick:function(){return a("hw_card",{card:"0"})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Standard",selected:1===i.hw_card,onClick:function(){return a("hw_card",{card:"1"})}})})]}),2!==i.devtype&&(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{bold:!0,position:"relative",children:["Processor Unit:",(0,o.createComponentVNode)(2,c.Tooltip,{content:"A component critical for your device's functionality.\nIt allows you to run programs from your hard drive.\nAdvanced CPUs use more power, but allow you to run\nmore programs on background at once.",position:"right"})]}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Standard",selected:1===i.hw_cpu,onClick:function(){return a("hw_cpu",{cpu:"1"})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Advanced",selected:2===i.hw_cpu,onClick:function(){return a("hw_cpu",{cpu:"2"})}})})]}),(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{bold:!0,position:"relative",children:["Tesla Relay:",(0,o.createComponentVNode)(2,c.Tooltip,{content:"An advanced wireless power relay that allows your device\nto connect to nearby area power controller to provide\nalternative power source. This component is currently\nunavailable on tablet computers due to size restrictions.",position:"right"})]}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"None",selected:0===i.hw_tesla,onClick:function(){return a("hw_tesla",{tesla:"0"})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Standard",selected:1===i.hw_tesla,onClick:function(){return a("hw_tesla",{tesla:"1"})}})})]})]}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,mt:3,content:"Confirm Order",color:"good",textAlign:"center",fontSize:"18px",lineHeight:2,onClick:function(){return a("confirm_order")}})]})},d=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data);return(0,o.createComponentVNode)(2,c.Section,{title:"Step 3: Payment",minHeight:"282px",children:[(0,o.createComponentVNode)(2,c.Box,{italic:!0,textAlign:"center",fontSize:"20px",children:"Your device is ready for fabrication..."}),(0,o.createComponentVNode)(2,c.Box,{bold:!0,mt:2,textAlign:"center",fontSize:"16px",children:[(0,o.createComponentVNode)(2,c.Box,{inline:!0,children:"Please swipe your ID now to authorize payment of:"}),"\xa0",(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:"good",children:[a.totalprice,"\u20ae"]})]})]})},s=function(e,n){return(0,o.createComponentVNode)(2,c.Section,{minHeight:"282px",children:[(0,o.createComponentVNode)(2,c.Box,{bold:!0,textAlign:"center",fontSize:"28px",mt:10,children:"Thank you for your purchase!"}),(0,o.createComponentVNode)(2,c.Box,{italic:!0,mt:1,textAlign:"center",children:"If you experience any difficulties with your new device, please contact your local network administrator."})]})}},26090:function(e,n,t){"use strict";n.__esModule=!0,n.CookingAppliance=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.CookingAppliance=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.temperature,s=l.optimalTemp,u=l.temperatureEnough,m=l.efficiency,p=l.containersRemovable,C=l.our_contents;return(0,o.createComponentVNode)(2,a.Window,{width:600,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Status",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,c.ProgressBar,{color:u?"good":"blue",value:d,maxValue:s,children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:d}),"\xb0C / ",s,"\xb0C"]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Efficiency",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:m}),"%"]})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Containers",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:C.map((function(e,n){return e.empty?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Slot #"+(n+1),children:(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("slot",{slot:n+1})},children:"Empty"})}):(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Slot #"+(n+1),verticalAlign:"middle",children:(0,o.createComponentVNode)(2,c.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Button,{disabled:!p,onClick:function(){return i("slot",{slot:n+1})},children:e.container||"No Container"})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.ProgressBar,{color:e.progressText[0],value:e.progress,maxValue:1,children:e.progressText[1]})})]})},n)}))})})]})})}},22902:function(e,n,t){"use strict";n.__esModule=!0,n.CrewManifestContent=n.CrewManifest=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=t(76270),l=t(2497);n.CrewManifest=function(e,n){return(0,o.createComponentVNode)(2,a.Window,{width:400,height:600,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,d)})})};var d=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data.manifest);return(0,o.createComponentVNode)(2,c.Section,{title:"Crew Manifest",noTopPadding:!0,children:a.map((function(e){return!!e.elems.length&&(0,o.createComponentVNode)(2,c.Section,{title:(0,o.createComponentVNode)(2,c.Box,{backgroundColor:i.COLORS.manifest[e.cat.toLowerCase()],m:-1,pt:1,pb:1,children:(0,o.createComponentVNode)(2,c.Box,{ml:1,textAlign:"center",fontSize:1.4,children:e.cat})}),level:2,children:(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,color:"white",children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Rank"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Active"})]}),e.elems.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{color:"average",children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,l.decodeHtmlEntities)(e.name)}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.rank}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.active})]},e.name+e.rank)}))]})},e.cat)}))})};n.CrewManifestContent=d},96158:function(e,n,t){"use strict";n.__esModule=!0,n.CrewMonitorContent=n.CrewMonitor=void 0;var o=t(39812),r=t(64499),c=t(85531),a=t(71494),i=t(85952),l=t(74814),d=function(e){return e.dead?"Deceased":1===parseInt(e.stat,10)?"Unconscious":"Living"},s=function(e){return e.dead?"red":1===parseInt(e.stat,10)?"orange":"green"};n.CrewMonitor=function(){return(0,o.createComponentVNode)(2,i.Window,{width:800,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:(0,o.createComponentVNode)(2,u)})})};var u=function(e,n){var t,i=(0,a.useBackend)(n),u=i.act,p=i.data,C=(i.config,(0,a.useLocalState)(n,"tabIndex",0)),h=C[0],N=C[1],V=(0,c.flow)([(0,r.sortBy)((function(e){return e.name})),(0,r.sortBy)((function(e){return null==e?void 0:e.x})),(0,r.sortBy)((function(e){return null==e?void 0:e.y})),(0,r.sortBy)((function(e){return null==e?void 0:e.realZ}))])(p.crewmembers||[]),b=(0,a.useLocalState)(n,"zoom",1);b[0],b[1];return t=0===h?(0,o.createComponentVNode)(2,l.Table,{children:[(0,o.createComponentVNode)(2,l.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,l.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,l.Table.Cell,{children:"Status"}),(0,o.createComponentVNode)(2,l.Table.Cell,{children:"Location"})]}),V.map((function(e){return(0,o.createComponentVNode)(2,l.Table.Row,{children:[(0,o.createComponentVNode)(2,l.Table.Cell,{children:[e.name," (",e.assignment,")"]}),(0,o.createComponentVNode)(2,l.Table.Cell,{children:[(0,o.createComponentVNode)(2,l.Box,{inline:!0,color:s(e),children:d(e)}),e.sensor_type>=2?(0,o.createComponentVNode)(2,l.Box,{inline:!0,children:["(",(0,o.createComponentVNode)(2,l.Box,{inline:!0,color:"red",children:e.brute}),"|",(0,o.createComponentVNode)(2,l.Box,{inline:!0,color:"orange",children:e.fire}),"|",(0,o.createComponentVNode)(2,l.Box,{inline:!0,color:"green",children:e.tox}),"|",(0,o.createComponentVNode)(2,l.Box,{inline:!0,color:"blue",children:e.oxy}),")"]}):null]}),(0,o.createComponentVNode)(2,l.Table.Cell,{children:3===e.sensor_type?p.isAI?(0,o.createComponentVNode)(2,l.Button,{fluid:!0,icon:"location-arrow",content:e.area+" ("+e.x+", "+e.y+")",onClick:function(){return u("track",{track:e.ref})}}):e.area+" ("+e.x+", "+e.y+", "+e.z+")":"Not Available"})]},e.ref)}))]}):1===h?(0,o.createComponentVNode)(2,m):"ERROR",(0,o.createFragment)([(0,o.createComponentVNode)(2,l.Tabs,{children:[(0,o.createComponentVNode)(2,l.Tabs.Tab,{selected:0===h,onClick:function(){return N(0)},children:[(0,o.createComponentVNode)(2,l.Icon,{name:"table"})," Data View"]},"DataView"),(0,o.createComponentVNode)(2,l.Tabs.Tab,{selected:1===h,onClick:function(){return N(1)},children:[(0,o.createComponentVNode)(2,l.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),(0,o.createComponentVNode)(2,l.Box,{m:2,children:t})],4)};n.CrewMonitorContent=u;var m=function(e,n){var t=(0,a.useBackend)(n),r=(t.act,t.config),c=t.data,i=(0,a.useLocalState)(n,"zoom",1),d=i[0],u=i[1];return(0,o.createComponentVNode)(2,l.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,o.createComponentVNode)(2,l.NanoMap,{onZoom:function(e){return u(e)},children:c.crewmembers.filter((function(e){return 3===e.sensor_type&&~~e.realZ==~~r.mapZLevel})).map((function(e){return(0,o.createComponentVNode)(2,l.NanoMap.Marker,{x:e.x,y:e.y,zoom:d,icon:"circle",tooltip:e.name+" ("+e.assignment+")",color:s(e)},e.ref)}))})})}},99798:function(e,n,t){"use strict";n.__esModule=!0,n.Cryo=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=[{label:"Resp.",type:"oxyLoss"},{label:"Toxin",type:"toxLoss"},{label:"Brute",type:"bruteLoss"},{label:"Burn",type:"fireLoss"}],l=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]];n.Cryo=function(e,n){return(0,o.createComponentVNode)(2,a.Window,{width:520,height:470,resizeable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{className:"Layout__content--flexColumn",children:(0,o.createComponentVNode)(2,d)})})};var d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,d=t.data,u=d.isOperating,m=d.hasOccupant,p=d.occupant,C=void 0===p?[]:p,h=d.cellTemperature,N=d.cellTemperatureStatus,V=d.isBeakerLoaded;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Occupant",flexGrow:"1",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"user-slash",onClick:function(){return a("ejectOccupant")},disabled:!m,children:"Eject"}),children:m?(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Occupant",children:C.name||"Unknown"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,c.ProgressBar,{min:C.health,max:C.maxHealth,value:C.health/C.maxHealth,color:C.health>0?"good":"average",children:(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:Math.round(C.health)})})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",color:l[C.stat][0],children:l[C.stat][1]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Temperature",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:Math.round(C.bodyTemperature)})," K"]}),(0,o.createComponentVNode)(2,c.LabeledList.Divider),i.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.label,children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:C[e.type]/100,ranges:{bad:[.01,Infinity]},children:(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:Math.round(C[e.type])})})},e.id)}))]}):(0,o.createComponentVNode)(2,c.Flex,{height:"100%",textAlign:"center",children:(0,o.createComponentVNode)(2,c.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,c.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant detected."]})})}),(0,o.createComponentVNode)(2,c.Section,{title:"Cell",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"eject",onClick:function(){return a("ejectBeaker")},disabled:!V,children:"Eject Beaker"}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",onClick:function(){return a(u?"switchOff":"switchOn")},selected:u,children:u?"On":"Off"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Temperature",color:N,children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:h})," K"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Beaker",children:(0,o.createComponentVNode)(2,s)})]})})],4)},s=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data),i=a.isBeakerLoaded,l=a.beakerLabel,d=a.beakerVolume;return i?(0,o.createFragment)([l||(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No label"}),(0,o.createComponentVNode)(2,c.Box,{color:!d&&"bad",children:d?(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:d,format:function(e){return Math.round(e)+" units remaining"}}):"Beaker is empty"})],0):(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No beaker loaded"})}},54234:function(e,n,t){"use strict";n.__esModule=!0,n.CryoStorageItems=n.CryoStorageCrew=n.CryoStorage=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.CryoStorage=function(e,n){var t=(0,r.useBackend)(n),d=(t.act,t.data),s=d.real_name,u=d.allow_items,m=(0,r.useLocalState)(n,"tab",0),p=m[0],C=m[1];return(0,o.createComponentVNode)(2,a.Window,{width:400,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:0===p,onClick:function(){return C(0)},children:"Crew"}),!!u&&(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:1===p,onClick:function(){return C(1)},children:"Items"})]}),(0,o.createComponentVNode)(2,c.NoticeBox,{info:!0,children:["Welcome, ",s,"."]}),0===p&&(0,o.createComponentVNode)(2,i),!!u&&1===p&&(0,o.createComponentVNode)(2,l)]})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data.crew);return(0,o.createComponentVNode)(2,c.Section,{title:"Stored Crew",children:a.length&&a.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{color:"label",children:e},e)}))||(0,o.createComponentVNode)(2,c.Box,{color:"good",children:"No crew currently stored."})})};n.CryoStorageCrew=i;var l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.items;return(0,o.createComponentVNode)(2,c.Section,{title:"Stored Items",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"hand-rock",onClick:function(){return a("allitems")},children:"Claim All"}),children:i.length&&i.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{icon:"hand-rock",onClick:function(){return a("item",{ref:e.ref})},children:e.name},e.ref)}))||(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No items stored."})})};n.CryoStorageItems=l},66384:function(e,n,t){"use strict";n.__esModule=!0,n.CryoStorageItemsVr=n.CryoStorageVr=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=t(54234);n.CryoStorageVr=function(e,n){var t=(0,r.useBackend)(n),d=(t.act,t.data),s=d.real_name,u=d.allow_items,m=(0,r.useLocalState)(n,"tab",0),p=m[0],C=m[1];return(0,o.createComponentVNode)(2,a.Window,{width:400,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:0===p,onClick:function(){return C(0)},children:"Crew"}),!!u&&(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:1===p,onClick:function(){return C(1)},children:"Items"})]}),(0,o.createComponentVNode)(2,c.NoticeBox,{info:!0,children:["Welcome, ",s,"."]}),0===p&&(0,o.createComponentVNode)(2,i.CryoStorageCrew),!!u&&1===p&&(0,o.createComponentVNode)(2,l)]})})};var l=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data.items);return(0,o.createComponentVNode)(2,c.Section,{title:"Stored Items",children:a.length&&a.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{color:"label",children:e},e)}))||(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No items stored."})})};n.CryoStorageItemsVr=l},99579:function(e,n,t){"use strict";n.__esModule=!0,n.DNAForensics=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.DNAForensics=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.scan_progress,s=l.scanning,u=l.bloodsamp,m=l.bloodsamp_desc;return(0,o.createComponentVNode)(2,a.Window,{width:540,height:326,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{selected:s,disabled:!u,icon:"power-off",onClick:function(){return i("scanItem")},children:s?"Halt Scan":"Begin Scan"}),(0,o.createComponentVNode)(2,c.Button,{disabled:!u,icon:"eject",onClick:function(){return i("ejectItem")},children:"Eject Bloodsample"})],4),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Scan Progress",children:(0,o.createComponentVNode)(2,c.ProgressBar,{ranges:{good:[99,Infinity],violet:[-Infinity,99]},value:d,maxValue:100})})})}),(0,o.createComponentVNode)(2,c.Section,{title:"Blood Sample",children:u&&(0,o.createComponentVNode)(2,c.Box,{children:[u,(0,o.createComponentVNode)(2,c.Box,{color:"label",children:m})]})||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No blood sample inserted."})})]})})}},21849:function(e,n,t){"use strict";n.__esModule=!0,n.DNAModifier=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=t(16007),l=[["good","Alive"],["average","Unconscious"],["bad","DEAD"]],d=[["ui","Modify U.I.","dna"],["se","Modify S.E.","dna"],["buffer","Transfer Buffers","syringe"],["rejuvenators","Rejuvenators","flask"]],s=[5,10,20,30,50];n.DNAModifier=function(e,n){var t,c=(0,r.useBackend)(n),l=(c.act,c.data),d=l.irradiating,s=l.dnaBlockSize,p=l.occupant;return n.dnaBlockSize=s,n.isDNAInvalid=!p.isViableSubject||!p.uniqueIdentity||!p.structuralEnzymes,d&&(t=(0,o.createComponentVNode)(2,g,{duration:d})),(0,o.createComponentVNode)(2,a.Window,{width:660,height:700,resizable:!0,children:[(0,o.createComponentVNode)(2,i.ComplexModal),t,(0,o.createComponentVNode)(2,a.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,m)]})]})};var u=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,d=i.locked,s=i.hasOccupant,u=i.occupant;return(0,o.createComponentVNode)(2,c.Section,{title:"Occupant",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Box,{color:"label",inline:!0,mr:"0.5rem",children:"Door Lock:"}),(0,o.createComponentVNode)(2,c.Button,{disabled:!s,selected:d,icon:d?"toggle-on":"toggle-off",content:d?"Engaged":"Disengaged",onClick:function(){return a("toggleLock")}}),(0,o.createComponentVNode)(2,c.Button,{disabled:!s||d,icon:"user-slash",content:"Eject",onClick:function(){return a("ejectOccupant")}})],4),children:s?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Name",children:u.name}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,c.ProgressBar,{min:u.minHealth,max:u.maxHealth,value:u.health/u.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",color:l[u.stat][0],children:l[u.stat][1]}),(0,o.createComponentVNode)(2,c.LabeledList.Divider)]})}),n.isDNAInvalid?(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:[(0,o.createComponentVNode)(2,c.Icon,{name:"exclamation-circle"}),"\xa0 The occupant's DNA structure is ruined beyond recognition, please insert a subject with an intact DNA structure."]}):(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Radiation",children:(0,o.createComponentVNode)(2,c.ProgressBar,{min:"0",max:"100",value:u.radiationLevel/100,color:"average"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Unique Enzymes",children:i.occupant.uniqueEnzymes?i.occupant.uniqueEnzymes:(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:[(0,o.createComponentVNode)(2,c.Icon,{name:"exclamation-circle"}),"\xa0 Unknown"]})})]})],0):(0,o.createComponentVNode)(2,c.Box,{color:"label",children:"Cell unoccupied."})})},m=function(e,n){var t,a=(0,r.useBackend)(n),i=a.act,l=a.data,s=l.selectedMenuKey,u=l.hasOccupant;l.occupant;return u?n.isDNAInvalid?(0,o.createComponentVNode)(2,c.Section,{flexGrow:"1",children:(0,o.createComponentVNode)(2,c.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,c.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,c.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No operation possible on this subject."]})})}):("ui"===s?t=(0,o.createFragment)([(0,o.createComponentVNode)(2,p),(0,o.createComponentVNode)(2,h)],4):"se"===s?t=(0,o.createFragment)([(0,o.createComponentVNode)(2,C),(0,o.createComponentVNode)(2,h)],4):"buffer"===s?t=(0,o.createComponentVNode)(2,N):"rejuvenators"===s&&(t=(0,o.createComponentVNode)(2,f)),(0,o.createComponentVNode)(2,c.Section,{flexGrow:"1",children:[(0,o.createComponentVNode)(2,c.Tabs,{children:d.map((function(e,n){return(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:s===e[0],onClick:function(){return i("selectMenuKey",{key:e[0]})},children:[(0,o.createComponentVNode)(2,c.Icon,{name:e[2]}),e[1]]},n)}))}),t]})):(0,o.createComponentVNode)(2,c.Section,{flexGrow:"1",children:(0,o.createComponentVNode)(2,c.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,c.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,c.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant in DNA modifier."]})})})},p=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.selectedUIBlock,d=i.selectedUISubBlock,s=i.selectedUITarget,u=i.occupant;return(0,o.createComponentVNode)(2,c.Section,{title:"Modify Unique Identifier",level:"2",children:[(0,o.createComponentVNode)(2,k,{dnaString:u.uniqueIdentity,selectedBlock:l,selectedSubblock:d,blockSize:n.dnaBlockSize,action:"selectUIBlock"}),(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Target",children:(0,o.createComponentVNode)(2,c.Knob,{minValue:"1",maxValue:"15",stepPixelSize:"20",value:s,format:function(e){return e.toString(16).toUpperCase()},ml:"0",onChange:function(e,n){return a("changeUITarget",{value:n})}})})}),(0,o.createComponentVNode)(2,c.Button,{icon:"radiation",content:"Irradiate Block",mt:"0.5rem",onClick:function(){return a("pulseUIRadiation")}})]})},C=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.selectedSEBlock,d=i.selectedSESubBlock,s=i.occupant;return(0,o.createComponentVNode)(2,c.Section,{title:"Modify Structural Enzymes",level:"2",children:[(0,o.createComponentVNode)(2,k,{dnaString:s.structuralEnzymes,selectedBlock:l,selectedSubblock:d,blockSize:n.dnaBlockSize,action:"selectSEBlock"}),(0,o.createComponentVNode)(2,c.Button,{icon:"radiation",content:"Irradiate Block",onClick:function(){return a("pulseSERadiation")}})]})},h=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.radiationIntensity,d=i.radiationDuration;return(0,o.createComponentVNode)(2,c.Section,{title:"Radiation Emitter",level:"2",children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Intensity",children:(0,o.createComponentVNode)(2,c.Knob,{minValue:"1",maxValue:"10",stepPixelSize:"20",value:l,popUpPosition:"right",ml:"0",onChange:function(e,n){return a("radiationIntensity",{value:n})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Duration",children:(0,o.createComponentVNode)(2,c.Knob,{minValue:"1",maxValue:"20",stepPixelSize:"10",unit:"s",value:d,popUpPosition:"right",ml:"0",onChange:function(e,n){return a("radiationDuration",{value:n})}})})]}),(0,o.createComponentVNode)(2,c.Button,{icon:"radiation",content:"Pulse Radiation",tooltip:"Mutates a random block of either the occupant's UI or SE.",tooltipPosition:"top-right",mt:"0.5rem",onClick:function(){return a("pulseRadiation")}})]})},N=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data.buffers.map((function(e,n){return(0,o.createComponentVNode)(2,V,{id:n+1,name:"Buffer "+(n+1),buffer:e},n)})));return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Buffers",level:"2",children:a}),(0,o.createComponentVNode)(2,b)],4)},V=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=e.id,d=e.name,s=e.buffer,u=i.isInjectorReady,m=d+(s.data?" - "+s.label:"");return(0,o.createComponentVNode)(2,c.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,o.createComponentVNode)(2,c.Section,{title:m,level:"3",mx:"0",lineHeight:"18px",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button.Confirm,{disabled:!s.data,icon:"trash",content:"Clear",onClick:function(){return a("bufferOption",{option:"clear",id:l})}}),(0,o.createComponentVNode)(2,c.Button,{disabled:!s.data,icon:"pen",content:"Rename",onClick:function(){return a("bufferOption",{option:"changeLabel",id:l})}}),(0,o.createComponentVNode)(2,c.Button,{disabled:!s.data||!i.hasDisk,icon:"save",content:"Export",tooltip:"Exports this buffer to the currently loaded data disk.",tooltipPosition:"bottom-end",onClick:function(){return a("bufferOption",{option:"saveDisk",id:l})}})],4),children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Write",children:[(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-circle-down",content:"Subject U.I",mb:"0",onClick:function(){return a("bufferOption",{option:"saveUI",id:l})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-circle-down",content:"Subject U.I and U.E.",mb:"0",onClick:function(){return a("bufferOption",{option:"saveUIAndUE",id:l})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-circle-down",content:"Subject S.E.",mb:"0",onClick:function(){return a("bufferOption",{option:"saveSE",id:l})}}),(0,o.createComponentVNode)(2,c.Button,{disabled:!i.hasDisk||!i.disk.data,icon:"arrow-circle-down",content:"From Disk",mb:"0",onClick:function(){return a("bufferOption",{option:"loadDisk",id:l})}})]}),!!s.data&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Subject",children:s.owner||(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"Unknown"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Data Type",children:["ui"===s.type?"Unique Identifiers":"Structural Enzymes",!!s.ue&&" and Unique Enzymes"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Transfer to",children:[(0,o.createComponentVNode)(2,c.Button,{disabled:!u,icon:u?"syringe":"spinner",iconSpin:!u,content:"Injector",mb:"0",onClick:function(){return a("bufferOption",{option:"createInjector",id:l})}}),(0,o.createComponentVNode)(2,c.Button,{disabled:!u,icon:u?"syringe":"spinner",iconSpin:!u,content:"Block Injector",mb:"0",onClick:function(){return a("bufferOption",{option:"createInjector",id:l,block:1})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"user",content:"Subject",mb:"0",onClick:function(){return a("bufferOption",{option:"transfer",id:l})}})]})],4)]}),!s.data&&(0,o.createComponentVNode)(2,c.Box,{color:"label",mt:"0.5rem",children:"This buffer is empty."})]})})},b=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.hasDisk,d=i.disk;return(0,o.createComponentVNode)(2,c.Section,{title:"Data Disk",level:"2",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button.Confirm,{disabled:!l||!d.data,icon:"trash",content:"Wipe",onClick:function(){return a("wipeDisk")}}),(0,o.createComponentVNode)(2,c.Button,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return a("ejectDisk")}})],4),children:l?d.data?(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Label",children:d.label?d.label:"No label"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Subject",children:d.owner?d.owner:(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"Unknown"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Data Type",children:["ui"===d.type?"Unique Identifiers":"Structural Enzymes",!!d.ue&&" and Unique Enzymes"]})]}):(0,o.createComponentVNode)(2,c.Box,{color:"label",children:"Disk is blank."}):(0,o.createComponentVNode)(2,c.Box,{color:"label",textAlign:"center",my:"1rem",children:[(0,o.createComponentVNode)(2,c.Icon,{name:"save-o",size:"4"}),(0,o.createVNode)(1,"br"),"No disk inserted."]})})},f=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.isBeakerLoaded,d=i.beakerVolume,u=i.beakerLabel;return(0,o.createComponentVNode)(2,c.Section,{title:"Rejuvenators and Beaker",level:"2",buttons:(0,o.createComponentVNode)(2,c.Button,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return a("ejectBeaker")}}),children:l?(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Inject",children:[s.map((function(e,n){return(0,o.createComponentVNode)(2,c.Button,{disabled:e>d,icon:"syringe",content:e,onClick:function(){return a("injectRejuvenators",{amount:e})}},n)})),(0,o.createComponentVNode)(2,c.Button,{disabled:d<=0,icon:"syringe",content:"All",onClick:function(){return a("injectRejuvenators",{amount:d})}})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Beaker",children:[(0,o.createComponentVNode)(2,c.Box,{mb:"0.5rem",children:u||"No label"}),d?(0,o.createComponentVNode)(2,c.Box,{color:"good",children:[d," unit",1===d?"":"s"," remaining"]}):(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Empty"})]})]}):(0,o.createComponentVNode)(2,c.Box,{color:"label",textAlign:"center",my:"25%",children:[(0,o.createComponentVNode)(2,c.Icon,{name:"exclamation-triangle",size:"4"}),(0,o.createVNode)(1,"br"),"No beaker loaded."]})})},g=function(e,n){return(0,o.createComponentVNode)(2,c.Dimmer,{textAlign:"center",children:[(0,o.createComponentVNode)(2,c.Icon,{name:"spinner",size:"5",spin:!0}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Box,{color:"average",children:(0,o.createVNode)(1,"h1",null,[(0,o.createComponentVNode)(2,c.Icon,{name:"radiation"}),(0,o.createTextVNode)("\xa0Irradiating occupant\xa0"),(0,o.createComponentVNode)(2,c.Icon,{name:"radiation"})],4)}),(0,o.createComponentVNode)(2,c.Box,{color:"label",children:(0,o.createVNode)(1,"h3",null,[(0,o.createTextVNode)("For "),e.duration,(0,o.createTextVNode)(" second"),1===e.duration?"":"s"],0)})]})},k=function(e,n){for(var t=(0,r.useBackend)(n),a=t.act,i=(t.data,e.dnaString),l=e.selectedBlock,d=e.selectedSubblock,s=e.blockSize,u=e.action,m=i.split(""),p=[],C=function(e){for(var n=e/s+1,t=[],r=function(r){var i=r+1;t.push((0,o.createComponentVNode)(2,c.Button,{selected:l===n&&d===i,content:m[e+r],mb:"0",onClick:function(){return a(u,{block:n,subblock:i})}}))},i=0;i1?"Dangerous!":null]},e.stage)}))||(0,o.createComponentVNode)(2,c.Box,{children:"No virus sample loaded."})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Affected Species",color:"label",children:[m&&m.length?null:"None",m.sort().join(", ")]}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Reverse Engineering",children:[(0,o.createComponentVNode)(2,c.Box,{color:"bad",mb:1,children:(0,o.createVNode)(1,"i",null,"CAUTION: Reverse engineering will destroy the viral sample.",16)}),d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{content:e.stage,icon:"exchange-alt",onClick:function(){return a("grab",{grab:e.reference})}},e.stage)})),(0,o.createComponentVNode)(2,c.Button,{content:"Species",icon:"exchange-alt",onClick:function(){return a("affected_species")}})]})],4)]})},l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=(i.dish_inserted,i.buffer),d=i.species_buffer,s=(i.effects,i.info);i.growth,i.affected_species,i.busy;return(0,o.createComponentVNode)(2,c.Section,{title:"Storage",children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Memory Buffer",children:l?(0,o.createComponentVNode)(2,c.Box,{children:[l.name," (",l.stage,")"]}):d?(0,o.createComponentVNode)(2,c.Box,{children:d}):"Empty"})}),(0,o.createComponentVNode)(2,c.Button,{mt:1,icon:"save",content:"Save To Disk",disabled:!l&&!d,onClick:function(){return a("disk")}}),l?(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Splice #1",disabled:l.stage>1,onClick:function(){return a("splice",{splice:1})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Splice #2",disabled:l.stage>2,onClick:function(){return a("splice",{splice:2})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Splice #3",disabled:l.stage>3,onClick:function(){return a("splice",{splice:3})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Splice #4",disabled:l.stage>4,onClick:function(){return a("splice",{splice:4})}})]}):d?(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Splice Species",disabled:!d||s,onClick:function(){return a("splice",{splice:5})}})}):null]})}},31066:function(e,n,t){"use strict";n.__esModule=!0,n.DishIncubator=void 0;var o=t(39812),r=(t(41860),t(58083)),c=t(71494),a=t(74814),i=t(85952);n.DishIncubator=function(e,n){var t=(0,c.useBackend)(n),l=t.act,d=t.data,s=d.on,u=d.system_in_use,m=d.food_supply,p=d.radiation,C=d.growth,h=d.toxins,N=d.chemicals_inserted,V=d.can_breed_virus,b=d.chemical_volume,f=d.max_chemical_volume,g=d.dish_inserted,k=d.blood_already_infected,v=d.virus,B=d.analysed,L=d.infection_rate;return(0,o.createComponentVNode)(2,i.Window,{width:400,height:600,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.Section,{title:"Environmental Conditions",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",selected:s,content:s?"On":"Off",onClick:function(){return l("power")}}),children:[(0,o.createComponentVNode)(2,a.Flex,{spacing:1,mb:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"radiation",content:"Add Radiation",onClick:function(){return l("rad")}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button.Confirm,{fluid:!0,color:"red",icon:"trash",confirmIcon:"trash",content:"Flush System",disabled:!u,onClick:function(){return l("flush")}})})]}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Virus Food",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,ranges:{good:[40,Infinity],average:[20,40],bad:[-Infinity,20]},value:m})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Radiation Level",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,color:p>=50?"bad":C>=25?"average":"good",value:p,children:[(0,r.formatCommaNumber)(1e4*p)," \xb5Sv"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Toxicity",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,ranges:{bad:[50,Infinity],average:[25,50],good:[-Infinity,25]},value:h})})]})]}),(0,o.createComponentVNode)(2,a.Section,{title:V?"Vial":"Chemicals",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject "+(V?"Vial":"Chemicals"),disabled:!N,onClick:function(){return l("ejectchem")}}),(0,o.createComponentVNode)(2,a.Button,{icon:"virus",content:"Breed Virus",disabled:!V,onClick:function(){return l("virus")}})],4),children:N&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Volume",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:f,value:b,children:[b,"/",f]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Breeding Environment",color:V?"good":"average",children:[g?V?"Suitable":"No hemolytic samples detected":"N/A",k?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"CAUTION: Viral infection detected in blood sample."}):null]})]})})||(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No chemicals inserted."})}),(0,o.createComponentVNode)(2,a.Section,{title:"Virus Dish",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject Dish",disabled:!g,onClick:function(){return l("ejectdish")}}),children:g?v?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Growth Density",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,ranges:{good:[50,Infinity],average:[25,50],bad:[-Infinity,25]},value:C})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Infection Rate",children:B?L:"Unknown."})]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No virus detected."}):(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No dish loaded."})})]})})}},19095:function(e,n,t){"use strict";n.__esModule=!0,n.DisposalBin=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.DisposalBin=function(e,n){var t,i,l=(0,r.useBackend)(n),d=l.act,s=l.data;return 2===s.mode?(t="good",i="Ready"):s.mode<=0?(t="bad",i="N/A"):1===s.mode?(t="average",i="Pressurizing"):(t="average",i="Idle"),(0,o.createComponentVNode)(2,a.Window,{width:300,height:250,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{children:[(0,o.createComponentVNode)(2,c.Box,{bold:!0,m:1,children:"Status"}),(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"State",color:t,children:i}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Pressure",children:(0,o.createComponentVNode)(2,c.ProgressBar,{ranges:{bad:[-Infinity,0],average:[0,99],good:[99,Infinity]},value:s.pressure,minValue:0,maxValue:100})})]}),(0,o.createComponentVNode)(2,c.Box,{bold:!0,m:1,children:"Controls"}),(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Handle",children:[(0,o.createComponentVNode)(2,c.Button,{icon:"toggle-off",disabled:s.isAI||s.panel_open,content:"Disengaged",selected:s.flushing?null:"selected",onClick:function(){return d("disengageHandle")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"toggle-on",disabled:s.isAI||s.panel_open,content:"Engaged",selected:s.flushing?"selected":null,onClick:function(){return d("engageHandle")}})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power",children:[(0,o.createComponentVNode)(2,c.Button,{icon:"toggle-off",disabled:-1===s.mode,content:"Off",selected:s.mode?null:"selected",onClick:function(){return d("pumpOff")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"toggle-on",disabled:-1===s.mode,content:"On",selected:s.mode?"selected":null,onClick:function(){return d("pumpOn")}})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Eject",children:(0,o.createComponentVNode)(2,c.Button,{icon:"sign-out-alt",disabled:s.isAI,content:"Eject Contents",onClick:function(){return d("eject")}})})]})]})})})}},29345:function(e,n,t){"use strict";n.__esModule=!0,n.DroneConsole=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.DroneConsole=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.drones,s=l.areas,u=l.selected_area,m=l.fabricator,p=l.fabPower;return(0,o.createComponentVNode)(2,a.Window,{width:600,height:350,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Drone Fabricator",buttons:(0,o.createComponentVNode)(2,c.Button,{disabled:!m,selected:p,icon:"power-off",content:p?"Enabled":"Disabled",onClick:function(){return i("toggle_fab")}}),children:m?(0,o.createComponentVNode)(2,c.Box,{color:"good",children:"Linked."}):(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:["Fabricator not detected.",(0,o.createComponentVNode)(2,c.Button,{icon:"sync",content:"Search for Fabricator",onClick:function(){return i("search_fab")}})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Request Drone",children:[(0,o.createComponentVNode)(2,c.Dropdown,{options:s?s.sort():null,selected:u,width:"100%",onSelected:function(e){return i("set_dcall_area",{area:e})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"share-square",content:"Send Ping",onClick:function(){return i("ping")}})]}),(0,o.createComponentVNode)(2,c.Section,{title:"Maintenance Units",children:d&&d.length?(0,o.createComponentVNode)(2,c.LabeledList,{children:d.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"sync",content:"Resync",onClick:function(){return i("resync",{ref:e.ref})}}),(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"exclamation-triangle",color:"red",content:"Shutdown",onClick:function(){return i("shutdown",{ref:e.ref})}})],4),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Location",children:e.loc}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Charge",children:[e.charge," / ",e.maxCharge]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Active",children:e.active?"Yes":"No"})]})},e.name)}))}):(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No drones detected."})})]})})}},84122:function(e,n,t){"use strict";n.__esModule=!0,n.EmbeddedController=void 0;var o=t(39812),r=(t(2497),t(41860),t(71494)),c=t(74814),a=t(85952),i=((0,t(88654).createLogger)("fuck"),{});n.EmbeddedController=function(e,n){var t=(0,r.useBackend)(n),c=(t.act,t.data.internalTemplateName),l=i[c];if(!l)throw Error("Unable to find Component for template name: "+c);return(0,o.createComponentVNode)(2,a.Window,{width:450,height:340,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,n){var t=e.bars;return(0,o.createComponentVNode)(2,c.Section,{title:"Status",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:t.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.label,children:(0,o.createComponentVNode)(2,c.ProgressBar,{color:e.color(e.value),minValue:e.minValue,maxValue:e.maxValue,value:e.value,children:e.textValue})},e.label)}))})})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.data,i=t.act,l=!0;a.interior_status&&"open"===a.interior_status.state?l=!1:a.external_pressure&&a.chamber_pressure&&(l=!(Math.abs(a.external_pressure-a.chamber_pressure)>5));var d=!0;return a.exterior_status&&"open"===a.exterior_status.state?d=!1:a.internal_pressure&&a.chamber_pressure&&(d=!(Math.abs(a.internal_pressure-a.chamber_pressure)>5)),(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{disabled:a.airlock_disabled,icon:"arrow-left",content:"Cycle to Exterior",onClick:function(){return i("cycle_ext")}}),(0,o.createComponentVNode)(2,c.Button,{disabled:a.airlock_disabled,icon:"arrow-right",content:"Cycle to Interior",onClick:function(){return i("cycle_int")}})]}),(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button.Confirm,{disabled:a.airlock_disabled,color:l?"":"bad",icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",content:"Force Exterior Door",onClick:function(){return i("force_ext")}}),(0,o.createComponentVNode)(2,c.Button.Confirm,{disabled:a.airlock_disabled,color:d?"":"bad",icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",content:"Force Interior Door",onClick:function(){return i("force_int")}})]})],4)},s=function(e,n){var t=(0,r.useBackend)(n),a=t.data,i=(t.act,{docked:(0,o.createComponentVNode)(2,u),undocking:(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"EJECTING-STAND CLEAR!"}),undocked:(0,o.createComponentVNode)(2,c.Box,{color:"grey",children:"POD EJECTED"}),docking:(0,o.createComponentVNode)(2,c.Box,{color:"good",children:"INITIALIZING..."})}),l=(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"ERROR"});return"open"===a.exterior_status.state?l=(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"OPEN"}):"unlocked"===a.exterior_status.lock?l=(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"UNSECURED"}):"locked"===a.exterior_status.lock&&(l=(0,o.createComponentVNode)(2,c.Box,{color:"good",children:"SECURED"})),(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Escape Pod Status",children:i[a.docking_status]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Docking Hatch",children:l})]})})},u=function(e,n){var t=(0,r.useBackend)(n),a=t.data;t.act;return a.armed?(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"ARMED"}):(0,o.createComponentVNode)(2,c.Box,{color:"good",children:"SYSTEMS OK"})},m=function(e,n){var t=(0,r.useBackend)(n),a=t.data,i=t.act;return(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{disabled:!a.override_enabled,icon:"exclamation-triangle",content:"Force Exterior Door",color:"docked"!==a.docking_status?"bad":"",onClick:function(){return i("force_door")}}),(0,o.createComponentVNode)(2,c.Button,{selected:a.override_enabled,color:"docked"!==a.docking_status?"bad":"average",icon:"exclamation-triangle",content:"Override",onClick:function(){return i("toggle_override")}})]})},p=function(e,n){var t=(0,r.useBackend)(n),a=t.data,i=(t.act,{docked:(0,o.createComponentVNode)(2,c.Box,{color:"good",children:"DOCKED"}),docking:(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"DOCKING"}),undocking:(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"UNDOCKING"}),undocked:(0,o.createComponentVNode)(2,c.Box,{color:"grey",children:"NOT IN USE"})}[a.docking_status]);return a.override_enabled&&(i=(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:[a.docking_status.toUpperCase(),"-OVERRIDE ENABLED"]})),i};i.AirlockConsoleAdvanced=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,s=function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"},u=[{minValue:0,maxValue:202,value:i.external_pressure,label:"External Pressure",textValue:i.external_pressure+" kPa",color:s},{minValue:0,maxValue:202,value:i.chamber_pressure,label:"Chamber Pressure",textValue:i.chamber_pressure+" kPa",color:s},{minValue:0,maxValue:202,value:i.internal_pressure,label:"Internal Pressure",textValue:i.internal_pressure+" kPa",color:s}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,l,{bars:u}),(0,o.createComponentVNode)(2,c.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{icon:"sync",content:"Purge",onClick:function(){return a("purge")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"lock-open",content:"Secure",onClick:function(){return a("secure")}})]}),(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{disabled:!i.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};i.AirlockConsoleSimple=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,s=[{minValue:0,maxValue:202,value:i.chamber_pressure,label:"Chamber Pressure",textValue:i.chamber_pressure+" kPa",color:function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"}}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,l,{bars:s}),(0,o.createComponentVNode)(2,c.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{disabled:!i.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};i.AirlockConsolePhoron=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,s=[{minValue:0,maxValue:202,value:i.chamber_pressure,label:"Chamber Pressure",textValue:i.chamber_pressure+" kPa",color:function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"}},{minValue:0,maxValue:100,value:i.chamber_phoron,label:"Chamber Phoron",textValue:i.chamber_phoron+" mol",color:function(e){return e>5?"bad":e>.5?"average":"good"}}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,l,{bars:s}),(0,o.createComponentVNode)(2,c.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{disabled:!i.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};i.AirlockConsoleDocking=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,s=[{minValue:0,maxValue:202,value:i.chamber_pressure,label:"Chamber Pressure",textValue:i.chamber_pressure+" kPa",color:function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"}}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Dock",buttons:i.airlock_disabled||i.override_enabled?(0,o.createComponentVNode)(2,c.Button,{icon:"exclamation-triangle",color:i.override_enabled?"red":"",content:"Override",onClick:function(){return a("toggle_override")}}):null,children:(0,o.createComponentVNode)(2,p)}),(0,o.createComponentVNode)(2,l,{bars:s}),(0,o.createComponentVNode)(2,c.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{disabled:!i.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};i.DockingConsoleSimple=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"ERROR"});return"open"===i.exterior_status.state?l=(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"OPEN"}):"unlocked"===i.exterior_status.lock?l=(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"UNSECURED"}):"locked"===i.exterior_status.lock&&(l=(0,o.createComponentVNode)(2,c.Box,{color:"good",children:"SECURED"})),(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"exclamation-triangle",disabled:!i.override_enabled,content:"Force exterior door",onClick:function(){return a("force_door")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"exclamation-triangle",color:i.override_enabled?"red":"",content:"Override",onClick:function(){return a("toggle_override")}})],4),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Dock Status",children:(0,o.createComponentVNode)(2,p)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Docking Hatch",children:l})]})})};i.DockingConsoleMulti=function(e,n){var t=(0,r.useBackend)(n).data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Docking Status",children:(0,o.createComponentVNode)(2,p)}),(0,o.createComponentVNode)(2,c.Section,{title:"Airlocks",children:t.airlocks.length?(0,o.createComponentVNode)(2,c.LabeledList,{children:t.airlocks.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{color:e.override_enabled?"bad":"good",label:e.name,children:e.override_enabled?"OVERRIDE ENABLED":"STATUS OK"},e.name)}))}):(0,o.createComponentVNode)(2,c.Flex,{height:"100%",mt:"0.5em",children:(0,o.createComponentVNode)(2,c.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"bad",children:[(0,o.createComponentVNode)(2,c.Icon,{name:"door-closed",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No airlocks found."]})})})],4)};i.DoorAccessConsole=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l="open"===i.interior_status.state||"closed"===i.exterior_status.state,d="open"===i.exterior_status.state||"closed"===i.interior_status.state;return(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:l?"arrow-left":"exclamation-triangle",content:l?"Cycle To Exterior":"Lock Exterior Door",onClick:function(){a(l?"cycle_ext_door":"force_ext")}}),(0,o.createComponentVNode)(2,c.Button,{icon:d?"arrow-right":"exclamation-triangle",content:d?"Cycle To Interior":"Lock Interior Door",onClick:function(){a(d?"cycle_int_door":"force_int")}})],0),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Exterior Door Status",children:"closed"===i.exterior_status.state?"Locked":"Open"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Interior Door Status",children:"closed"===i.interior_status.state?"Locked":"Open"})]})})};i.EscapePodConsole=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,c.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,m),(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{icon:"exclamation-triangle",disabled:i.armed,color:i.armed?"bad":"average",content:"ARM",onClick:function(){return a("manual_arm")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"exclamation-triangle",disabled:!i.can_force,color:"bad",content:"MANUAL EJECT",onClick:function(){return a("force_launch")}})]})]})],4)};i.EscapePodBerthConsole=function(e,n){(0,r.useBackend)(n).data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,c.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,m)})],4)}},33777:function(e,n,t){"use strict";n.__esModule=!0,n.ExonetNode=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.ExonetNode=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.on,s=l.allowPDAs,u=l.allowCommunicators,m=l.allowNewscasters,p=l.logs;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:d,content:"Power "+(d?"On":"Off"),onClick:function(){return i("toggle_power")}}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Incoming PDA Messages",children:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:s,content:s?"Open":"Closed",onClick:function(){return i("toggle_PDA_port")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Incoming Communicators",children:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:u,content:u?"Open":"Closed",onClick:function(){return i("toggle_communicator_port")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Incoming Newscaster Content",children:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:m,content:m?"Open":"Closed",onClick:function(){return i("toggle_newscaster_port")}})})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Logging",children:(0,o.createComponentVNode)(2,c.Flex,{wrap:"wrap",children:[p.map((function(e,n){return(0,o.createComponentVNode)(2,c.Flex.Item,{m:"2px",basis:"49%",grow:n%2,children:e},n)})),p&&0!==p.length?null:(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No logs found."})]})})]})})}},95481:function(e,n,t){"use strict";n.__esModule=!0,n.Materials=n.ExosuitFabricator=void 0;var o,r=t(39812),c=t(34380),a=t(64499),i=t(71494),l=t(58083),d=t(74814),s=t(85952),u=t(2497),m=t(41860);function p(e,n){var t;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"==typeof e)return C(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return C(e,n)}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function C(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);tt?{color:2,deficit:e-t}:n>t?{color:1,deficit:e}:e+n>t?{color:1,deficit:e+n-t}:{color:0,deficit:0}},b=function(e,n,t){var o={textColor:0};return Object.keys(t.cost).forEach((function(r){o[r]=V(t.cost[r],n[r],e[r]),o[r].color>o.textColor&&(o.textColor=o[r].color)})),o};n.ExosuitFabricator=function(e,n){var t,o,c=(0,i.useBackend)(n),a=c.act,l=c.data,u=l.queue||[],m=(t=l.materials||[],o={},t.forEach((function(e){o[e.name]=e.amount})),o),p=function(e,n){var t={},o={},r={},c={};return n.forEach((function(n,a){c[a]=0,Object.keys(n.cost).forEach((function(i){t[i]=t[i]||0,r[i]=r[i]||0,o[i]=V(n.cost[i],t[i],e[i]),0!==o[i].color?c[a]1&&l0}));return 0===l.length?(0,r.createComponentVNode)(2,d.Box,{textAlign:"center",children:[(0,r.createComponentVNode)(2,d.Icon,{textAlign:"center",size:5,name:"inbox"}),(0,r.createVNode)(1,"br"),(0,r.createVNode)(1,"b",null,"No Materials Loaded.",16)]}):(0,r.createComponentVNode)(2,d.Flex,{wrap:"wrap",children:l.map((function(e){return(0,r.createComponentVNode)(2,d.Flex.Item,{width:"80px",children:[(0,r.createComponentVNode)(2,k,{name:e.name,amount:e.amount,formatsi:!0}),!a&&(0,r.createComponentVNode)(2,d.Box,{mt:1,style:{"text-align":"center"},children:(0,r.createComponentVNode)(2,f,{material:e})})]},e.name)||null}))})};n.Materials=g;var k=function(e,n){var t=e.name,o=e.amount,a=e.formatsi,i=e.formatmoney,s=e.color,p=e.style,C="0";return C=o<1&&o>0?(0,m.toFixed)(o,2):a?(0,l.formatSiUnit)(o,0):i?(0,l.formatMoney)(o):o,(0,r.createComponentVNode)(2,d.Flex,{direction:"column",align:"center",children:[(0,r.createComponentVNode)(2,d.Flex.Item,{children:(0,r.createComponentVNode)(2,d.Box,{className:(0,c.classes)(["sheetmaterials32x32",h[t]]),position:"relative",style:p,children:(0,r.createComponentVNode)(2,d.Tooltip,{position:"bottom",content:(0,u.toTitleCase)(t)})})}),(0,r.createComponentVNode)(2,d.Flex.Item,{children:(0,r.createComponentVNode)(2,d.Box,{textColor:s,style:{"text-align":"center"},children:C})})]})},v=function(e,n){var t=(0,i.useBackend)(n).data,o=t.partSets||[],c=t.buildableParts||{},a=(0,i.useSharedState)(n,"part_tab",o.length?c[0]:""),l=a[0],s=a[1];return(0,r.createComponentVNode)(2,d.Tabs,{vertical:!0,children:o.map((function(e){return!!c[e]&&(0,r.createComponentVNode)(2,d.Tabs.Tab,{selected:e===l,disabled:!c[e],onClick:function(){return s(e)},children:e},e)}))})},B=function(e,n){var t,o=(0,i.useBackend)(n).data,c=function(e){for(var n,t=p(e);!(n=t()).done;){var o=n.value;if(s[o])return o}return null},l=o.partSets||[],s=o.buildableParts||[],m=e.queueMaterials,C=e.materials,h=(0,i.useSharedState)(n,"part_tab",c(l)),N=h[0],V=h[1],f=(0,i.useSharedState)(n,"search_text",""),g=f[0],k=f[1];if(!N||!s[N]){var v=c(l);if(!v)return;V(v)}return g?(t=[],function(e,n){var t=[];if(e.length){var o=(0,u.createSearch)(e,(function(e){return(e.name||"")+(e.desc||"")+(e.searchMeta||"")}));return Object.keys(n).forEach((function(e){n[e].filter(o).forEach((function(e){t.push(e)}))})),t=(0,a.uniqBy)((function(e){return e.name}))(t)}}(g,s).forEach((function(e){e.format=b(C,m,e),t.push(e)}))):(t={Parts:[]},s[N].forEach((function(e){e.format=b(C,m,e),e.subCategory?(e.subCategory in t||(t[e.subCategory]=[]),t[e.subCategory].push(e)):t.Parts.push(e)}))),(0,r.createFragment)([(0,r.createComponentVNode)(2,d.Section,{children:(0,r.createComponentVNode)(2,d.Flex,{children:[(0,r.createComponentVNode)(2,d.Flex.Item,{mr:1,children:(0,r.createComponentVNode)(2,d.Icon,{name:"search"})}),(0,r.createComponentVNode)(2,d.Flex.Item,{grow:1,children:(0,r.createComponentVNode)(2,d.Input,{fluid:!0,placeholder:"Search for...",onInput:function(e,n){return k(n)}})})]})}),!!g&&(0,r.createComponentVNode)(2,L,{name:"Search Results",parts:t,forceShow:!0,placeholder:"No matching results..."})||Object.keys(t).map((function(e){return(0,r.createComponentVNode)(2,L,{name:e,parts:t[e]},e)}))],0)},L=function(e,n){var t=(0,i.useBackend)(n),o=t.act,c=t.data.buildingPart,a=e.parts,l=e.name,s=e.forceShow,u=e.placeholder,m=(0,i.useSharedState)(n,"display_mats",!1)[0];return(!!a.length||s)&&(0,r.createComponentVNode)(2,d.Section,{title:l,buttons:(0,r.createComponentVNode)(2,d.Button,{disabled:!a.length,color:"good",content:"Queue All",icon:"plus-circle",onClick:function(){return o("add_queue_set",{part_list:a.map((function(e){return e.id}))})}}),children:[!a.length&&u,a.map((function(e){return(0,r.createFragment)([(0,r.createComponentVNode)(2,d.Flex,{align:"center",children:[(0,r.createComponentVNode)(2,d.Flex.Item,{children:(0,r.createComponentVNode)(2,d.Button,{disabled:c||2===e.format.textColor,color:"good",height:"20px",mr:1,icon:"play",onClick:function(){return o("build_part",{id:e.id})}})}),(0,r.createComponentVNode)(2,d.Flex.Item,{children:(0,r.createComponentVNode)(2,d.Button,{color:"average",height:"20px",mr:1,icon:"plus-circle",onClick:function(){return o("add_queue_part",{id:e.id})}})}),(0,r.createComponentVNode)(2,d.Flex.Item,{children:(0,r.createComponentVNode)(2,d.Box,{inline:!0,textColor:N[e.format.textColor],children:e.name})}),(0,r.createComponentVNode)(2,d.Flex.Item,{grow:1}),(0,r.createComponentVNode)(2,d.Flex.Item,{children:(0,r.createComponentVNode)(2,d.Button,{icon:"question-circle",transparent:!0,height:"20px",tooltip:"Build Time: "+e.printTime+"s. "+(e.desc||""),tooltipPosition:"left"})})]}),m&&(0,r.createComponentVNode)(2,d.Flex,{mb:2,children:Object.keys(e.cost).map((function(n){return(0,r.createComponentVNode)(2,d.Flex.Item,{width:"50px",color:N[e.format[n].color],children:(0,r.createComponentVNode)(2,k,{formatmoney:!0,style:{transform:"scale(0.75) translate(0%, 10%)"},name:n,amount:e.cost[n]})},n)}))})],0,e.name)}))]})},_=function(e,n){var t=(0,i.useBackend)(n),o=t.act,c=t.data,a=c.isProcessingQueue,l=c.queue||[],s=e.queueMaterials,u=e.missingMaterials,m=e.textColors;return(0,r.createComponentVNode)(2,d.Flex,{height:"100%",width:"100%",direction:"column",children:[(0,r.createComponentVNode)(2,d.Flex.Item,{height:0,grow:1,children:(0,r.createComponentVNode)(2,d.Section,{height:"100%",title:"Queue",overflowY:"auto",buttons:(0,r.createFragment)([(0,r.createComponentVNode)(2,d.Button.Confirm,{disabled:!l.length,color:"bad",icon:"minus-circle",content:"Clear Queue",onClick:function(){return o("clear_queue")}}),!!a&&(0,r.createComponentVNode)(2,d.Button,{disabled:!l.length,content:"Stop",icon:"stop",onClick:function(){return o("stop_queue")}})||(0,r.createComponentVNode)(2,d.Button,{disabled:!l.length,content:"Build Queue",icon:"play",onClick:function(){return o("build_queue")}})],0),children:(0,r.createComponentVNode)(2,d.Flex,{direction:"column",height:"100%",children:[(0,r.createComponentVNode)(2,d.Flex.Item,{children:(0,r.createComponentVNode)(2,S)}),(0,r.createComponentVNode)(2,d.Flex.Item,{children:(0,r.createComponentVNode)(2,w,{textColors:m})})]})})}),!!l.length&&(0,r.createComponentVNode)(2,d.Flex.Item,{mt:1,children:(0,r.createComponentVNode)(2,d.Section,{title:"Material Cost",children:(0,r.createComponentVNode)(2,x,{queueMaterials:s,missingMaterials:u})})})]})},x=function(e,n){var t=e.queueMaterials,o=e.missingMaterials;return(0,r.createComponentVNode)(2,d.Flex,{wrap:"wrap",children:Object.keys(t).map((function(e){return(0,r.createComponentVNode)(2,d.Flex.Item,{width:"12%",children:[(0,r.createComponentVNode)(2,k,{formatmoney:!0,name:e,amount:t[e]}),!!o[e]&&(0,r.createComponentVNode)(2,d.Box,{textColor:"bad",style:{"text-align":"center"},children:(0,l.formatMoney)(o[e])})]},e)}))})},w=function(e,n){var t=(0,i.useBackend)(n),o=t.act,c=t.data,a=e.textColors,l=c.queue||[];return l.length?l.map((function(e,n){return(0,r.createComponentVNode)(2,d.Box,{children:(0,r.createComponentVNode)(2,d.Flex,{mb:.5,direction:"column",justify:"center",wrap:"wrap",height:"20px",inline:!0,children:[(0,r.createComponentVNode)(2,d.Flex.Item,{basis:"content",children:(0,r.createComponentVNode)(2,d.Button,{height:"20px",mr:1,icon:"minus-circle",color:"bad",onClick:function(){return o("del_queue_part",{index:n+1})}})}),(0,r.createComponentVNode)(2,d.Flex.Item,{children:(0,r.createComponentVNode)(2,d.Box,{inline:!0,textColor:N[a[n]],children:e.name})})]})},e.name)})):(0,r.createFragment)([(0,r.createTextVNode)("No parts in queue.")],4)},S=function(e,n){var t=(0,i.useBackend)(n).data,o=t.buildingPart,c=t.storedPart;if(c){var a=c.name;return(0,r.createComponentVNode)(2,d.Box,{children:(0,r.createComponentVNode)(2,d.ProgressBar,{minValue:0,maxValue:1,value:1,color:"average",children:(0,r.createComponentVNode)(2,d.Flex,{children:[(0,r.createComponentVNode)(2,d.Flex.Item,{children:a}),(0,r.createComponentVNode)(2,d.Flex.Item,{grow:1}),(0,r.createComponentVNode)(2,d.Flex.Item,{children:"Fabricator outlet obstructed..."})]})})})}if(o){var l=o.name,s=o.duration,u=o.printTime,m=Math.ceil(s/10);return(0,r.createComponentVNode)(2,d.Box,{children:(0,r.createComponentVNode)(2,d.ProgressBar,{minValue:0,maxValue:u,value:s,children:(0,r.createComponentVNode)(2,d.Flex,{children:[(0,r.createComponentVNode)(2,d.Flex.Item,{children:l}),(0,r.createComponentVNode)(2,d.Flex.Item,{grow:1}),(0,r.createComponentVNode)(2,d.Flex.Item,{children:m>=0&&m+"s"||"Dispensing..."})]})})})}}},95598:function(e,n,t){"use strict";n.__esModule=!0,n.Farmbot=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.Farmbot=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.on,s=l.locked,u=l.tank,m=l.tankVolume,p=l.tankMaxVolume,C=l.waters_trays,h=l.refills_water,N=l.uproots_weeds,V=l.replaces_nutriment;l.collects_produce,l.removes_dead;return(0,o.createComponentVNode)(2,a.Window,{width:450,height:540,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Automatic Hyrdoponic Assisting Unit v2.0",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:d,onClick:function(){return i("power")},children:d?"On":"Off"}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Water Tank",children:u&&(0,o.createComponentVNode)(2,c.ProgressBar,{value:m,maxValue:p,children:[m," / ",p]})||(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No water tank detected."})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Behavior Controls",color:s?"good":"bad",children:s?"Locked":"Unlocked"})]})}),!s&&(0,o.createComponentVNode)(2,c.Section,{title:"Behavior Controls",children:[(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Watering Controls",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Water plants",children:(0,o.createComponentVNode)(2,c.Button,{icon:C?"toggle-on":"toggle-off",selected:C,onClick:function(){return i("water")},children:C?"Yes":"No"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Refill watertank",children:(0,o.createComponentVNode)(2,c.Button,{icon:h?"toggle-on":"toggle-off",selected:h,onClick:function(){return i("refill")},children:h?"Yes":"No"})})]})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Weeding controls",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Weed plants",children:(0,o.createComponentVNode)(2,c.Button,{icon:N?"toggle-on":"toggle-off",selected:N,onClick:function(){return i("weed")},children:N?"Yes":"No"})})})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Nutriment controls",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Replace fertilizer",children:(0,o.createComponentVNode)(2,c.Button,{icon:V?"toggle-on":"toggle-off",selected:V,onClick:function(){return i("replacenutri")},children:V?"Yes":"No"})})})})]})||null]})})}},17569:function(e,n,t){"use strict";n.__esModule=!0,n.FaxContent=n.Fax=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=t(28117),l=t(1192);n.Fax=function(e,n){return(0,r.useBackend)(n).data.authenticated?(0,o.createComponentVNode)(2,a.Window,{width:600,height:250,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,i.LoginInfo),(0,o.createComponentVNode)(2,d)]})}):(0,o.createComponentVNode)(2,a.Window,{width:600,height:250,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,l.LoginScreen)]})})};var d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.bossName,d=i.copyItem,s=i.cooldown,u=i.destination;return(0,o.createComponentVNode)(2,c.Section,{children:[!!s&&(0,o.createComponentVNode)(2,c.NoticeBox,{info:!0,children:"Transmitter arrays realigning. Please stand by."}),(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Network",children:[l," Quantum Entanglement Network"]})}),d&&(0,o.createComponentVNode)(2,c.Box,{mt:1,children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Currently Sending",children:d}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Sending To",children:(0,o.createComponentVNode)(2,c.Button,{icon:"map-marker-alt",content:u,onClick:function(){return a("dept")}})})]}),(0,o.createComponentVNode)(2,c.Button,{icon:"share-square",onClick:function(){return a("send")},content:"Send",fluid:!0})]})||(0,o.createComponentVNode)(2,c.Box,{mt:1,children:"Please insert item to transmit."})]})};n.FaxContent=d;var s=function(e,n){var t=(0,r.useBackend)(n),a=t.act;return t.data.copyItem?(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"eject",onClick:function(){return a("remove")},content:"Remove Item"})}):null}},58087:function(e,n,t){"use strict";n.__esModule=!0,n.FileCabinet=void 0;var o=t(39812),r=t(64499),c=t(71494),a=t(74814),i=t(85952);n.FileCabinet=function(e,n){var t=(0,c.useBackend)(n),l=t.act,d=t.data.contents,s=(0,r.sortBy)((function(e){return e.name}))(d||[]);return(0,o.createComponentVNode)(2,i.Window,{width:350,height:300,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,a.Section,{children:s.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"file",content:e.name,onClick:function(){return l("retrieve",{ref:e.ref})}},e.ref)}))})})})}},21902:function(e,n,t){"use strict";n.__esModule=!0,n.Floorbot=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.Floorbot=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.on,s=l.open,u=l.locked,m=l.vocal,p=l.amount,C=l.possible_bmode,h=l.improvefloors,N=l.eattiles,V=l.maketiles,b=l.bmode;return(0,o.createComponentVNode)(2,a.Window,{width:390,height:310,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Automatic Station Floor Repairer v2.0",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:d,onClick:function(){return i("start")},children:d?"On":"Off"}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Tiles Left",children:(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:p})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Maintenance Panel",color:s?"bad":"good",children:s?"Open":"Closed"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Behavior Controls",color:u?"good":"bad",children:u?"Locked":"Unlocked"})]})}),!u&&(0,o.createComponentVNode)(2,c.Section,{title:"Behavior Controls",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Speaker",children:(0,o.createComponentVNode)(2,c.Button,{icon:m?"toggle-on":"toggle-off",selected:m,onClick:function(){return i("vocal")},children:m?"On":"Off"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Improves Floors",children:(0,o.createComponentVNode)(2,c.Button,{icon:h?"toggle-on":"toggle-off",selected:h,onClick:function(){return i("improve")},children:h?"On":"Off"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Finds Tiles",children:(0,o.createComponentVNode)(2,c.Button,{icon:N?"toggle-on":"toggle-off",selected:N,onClick:function(){return i("tiles")},children:N?"On":"Off"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Makes Metal Sheets into Tiles",children:(0,o.createComponentVNode)(2,c.Button,{icon:V?"toggle-on":"toggle-off",selected:V,onClick:function(){return i("make")},children:V?"On":"Off"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Bridge Mode",children:(0,o.createComponentVNode)(2,c.Dropdown,{over:!0,width:"100%",placeholder:"Disabled",selected:b,options:C,onSelected:function(e){return i("bridgemode",{dir:e})}})})]})})||null]})})}},309:function(e,n,t){"use strict";n.__esModule=!0,n.GasPump=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.GasPump=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.on,s=l.pressure_set,u=l.last_flow_rate,m=l.last_power_draw,p=l.max_power_draw;return(0,o.createComponentVNode)(2,a.Window,{width:470,height:290,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:"Status",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Flow Rate",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:u/10})," L/s"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Load",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:m,minValue:0,maxValue:p,color:m=100?u="Running":!d&&s>0&&(u="DISCHARGING"),(0,o.createComponentVNode)(2,a.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",color:"red",content:"Toggle Breaker",confirmContent:d?"This will disable gravity!":"This will enable gravity!",onClick:function(){return i("gentoggle")}}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Breaker Setting",children:d?"Generator Enabled":"Generator Disabled"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Charge Mode",children:["Generator ",u]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Charge Status",children:[s,"%"]})]})})})})}},95075:function(e,n,t){"use strict";n.__esModule=!0,n.GuestPass=void 0;var o=t(39812),r=t(64499),c=t(71494),a=t(74814),i=t(85952);n.GuestPass=function(e,n){var t=(0,c.useBackend)(n),l=t.act,d=t.data,s=(d.access,d.area),u=d.giver,m=d.giveName,p=d.reason,C=d.duration,h=d.mode,N=d.log,V=d.uid;return(0,o.createComponentVNode)(2,i.Window,{width:500,height:520,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:1===h&&(0,o.createComponentVNode)(2,a.Section,{title:"Activity Log",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"scroll",content:"Activity Log",selected:!0,onClick:function(){return l("mode",{mode:0})}}),children:[(0,o.createComponentVNode)(2,a.Button,{icon:"print",content:"Print",onClick:function(){return l("print")},fluid:!0,mb:1}),(0,o.createComponentVNode)(2,a.Section,{level:2,title:"Logs",children:N.length&&N.map((function(e){return(0,o.createVNode)(1,"div",null,null,1,{dangerouslySetInnerHTML:{__html:e}},e)}))||(0,o.createComponentVNode)(2,a.Box,{children:"No logs."})})]})||(0,o.createComponentVNode)(2,a.Section,{title:"Guest pass terminal #"+V,buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"scroll",content:"Activity Log",onClick:function(){return l("mode",{mode:1})}}),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Issuing ID",children:(0,o.createComponentVNode)(2,a.Button,{content:u||"Insert ID",onClick:function(){return l("id")}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Issued To",children:(0,o.createComponentVNode)(2,a.Button,{content:m,onClick:function(){return l("giv_name")}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Reason",children:(0,o.createComponentVNode)(2,a.Button,{content:p,onClick:function(){return l("reason")}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Duration (minutes)",children:(0,o.createComponentVNode)(2,a.Button,{content:C,onClick:function(){return l("duration")}})})]}),(0,o.createComponentVNode)(2,a.Button.Confirm,{icon:"check",fluid:!0,content:"Issue Pass",onClick:function(){return l("issue")}}),(0,o.createComponentVNode)(2,a.Section,{title:"Access",level:2,children:(0,r.sortBy)((function(e){return e.area_name}))(s).map((function(e){return(0,o.createComponentVNode)(2,a.Button.Checkbox,{checked:e.on,content:e.area_name,onClick:function(){return l("access",{access:e.area})}},e.area)}))})]})})})}},31875:function(e,n,t){"use strict";n.__esModule=!0,n.GyrotronControlContent=n.GyrotronControl=void 0;var o=t(39812),r=t(71494),c=t(85952),a=t(74814);n.GyrotronControl=function(e,n){return(0,o.createComponentVNode)(2,c.Window,{width:627,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,i)})})};var i=function(e,n){var t=(0,r.useBackend)(n),c=t.act,i=t.data.gyros;return(0,o.createComponentVNode)(2,a.Section,{title:"Gyrotrons",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"pencil-alt",content:"Set Tag",onClick:function(){return c("set_tag")}}),children:(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Position"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Status"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Fire Delay"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Strength"})]}),i.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:[e.x,", ",e.y,", ",e.z]}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:e.active?"Online":"Offline",selected:e.active,disabled:!e.deployed,onClick:function(){return c("toggle_active",{gyro:e.ref})}})}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:(0,o.createComponentVNode)(2,a.Knob,{forcedInputWidth:"60px",size:1.25,color:!!e.active&&"yellow",value:e.fire_delay,unit:"decisecond(s)",minValue:1,maxValue:60,stepPixelSize:1,onDrag:function(n,t){return c("set_rate",{gyro:e.ref,rate:t})}})}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:(0,o.createComponentVNode)(2,a.Knob,{forcedInputWidth:"60px",size:1.25,color:!!e.active&&"yellow",value:e.strength,unit:"penta-dakw",minValue:1,maxValue:50,stepPixelSize:1,onDrag:function(n,t){return c("set_str",{gyro:e.ref,str:t})}})})]},e.name)}))]})})};n.GyrotronControlContent=i},7908:function(e,n,t){"use strict";n.__esModule=!0,n.Holodeck=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.Holodeck=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.supportedPrograms,s=l.restrictedPrograms,u=l.currentProgram,m=l.isSilicon,p=l.safetyDisabled,C=l.emagged,h=l.gravity,N=d;return p&&(N=N.concat(s)),(0,o.createComponentVNode)(2,a.Window,{width:400,height:610,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Programs",children:N.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{color:-1!==s.indexOf(e)?"bad":null,icon:"eye",content:e,selected:u===e,fluid:!0,onClick:function(){return i("program",{program:e})}},e)}))}),!!m&&(0,o.createComponentVNode)(2,c.Section,{title:"Override",children:(0,o.createComponentVNode)(2,c.Button,{icon:"exclamation-triangle",fluid:!0,disabled:C,color:p?"good":"bad",onClick:function(){return i("AIoverride")},children:[!!C&&"Error, unable to control. ",p?"Enable Safeties":"Disable Safeties"]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Safeties",children:p?(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"DISABLED"}):(0,o.createComponentVNode)(2,c.Box,{color:"good",children:"ENABLED"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Gravity",children:(0,o.createComponentVNode)(2,c.Button,{icon:"user-astronaut",selected:h,onClick:function(){return i("gravity")},children:h?"Enabled":"Disabled"})})]})})]})})}},12676:function(e,n,t){"use strict";n.__esModule=!0,n.ICAssembly=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(85952),l=(t(2497),t(58083));n.ICAssembly=function(e,n){var t=(0,c.useBackend)(n),s=(t.act,t.data),u=s.total_parts,m=s.max_components,p=s.total_complexity,C=s.max_complexity,h=s.battery_charge,N=s.battery_max,V=s.net_power,b=s.unremovable_circuits,f=s.removable_circuits;return(0,o.createComponentVNode)(2,i.Window,{width:600,height:380,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Space in Assembly",children:(0,o.createComponentVNode)(2,a.ProgressBar,{ranges:{good:[0,.25],average:[.5,.75],bad:[.75,1]},value:u/m,maxValue:1,children:[u," / ",m," (",(0,r.round)(u/m*100,1),"%)"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Complexity",children:(0,o.createComponentVNode)(2,a.ProgressBar,{ranges:{good:[0,.25],average:[.5,.75],bad:[.75,1]},value:p/C,maxValue:1,children:[p," / ",C," (",(0,r.round)(p/C*100,1),"%)"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Cell Charge",children:h&&(0,o.createComponentVNode)(2,a.ProgressBar,{ranges:{bad:[0,.25],average:[.5,.75],good:[.75,1]},value:h/N,maxValue:1,children:[h," / ",N," (",(0,r.round)(h/N*100,1),"%)"]})||(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No cell detected."})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Net Energy",children:0===V?"0 W/s":(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:V,format:function(e){return"-"+(0,l.formatPower)(Math.abs(e))+"/s"}})})]})}),b.length&&(0,o.createComponentVNode)(2,d,{title:"Built-in Components",circuits:b})||null,f.length&&(0,o.createComponentVNode)(2,d,{title:"Removable Components",circuits:f})||null]})})};var d=function(e,n){var t=(0,c.useBackend)(n).act,r=e.title,i=e.circuits;return(0,o.createComponentVNode)(2,a.Section,{title:r,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:i.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name,children:[(0,o.createComponentVNode)(2,a.Button,{icon:"eye",onClick:function(){return t("open_circuit",{ref:e.ref})},children:"View"}),(0,o.createComponentVNode)(2,a.Button,{icon:"eye",onClick:function(){return t("rename_circuit",{ref:e.ref})},children:"Rename"}),(0,o.createComponentVNode)(2,a.Button,{icon:"eye",onClick:function(){return t("scan_circuit",{ref:e.ref})},children:"Debugger Scan"}),(0,o.createComponentVNode)(2,a.Button,{icon:"eye",onClick:function(){return t("remove_circuit",{ref:e.ref})},children:"Remove"}),(0,o.createComponentVNode)(2,a.Button,{icon:"eye",onClick:function(){return t("bottom_circuit",{ref:e.ref})},children:"Move to Bottom"})]},e.ref)}))})})}},42394:function(e,n,t){"use strict";n.__esModule=!0,n.ICCircuit=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(2497),l=t(58083);n.ICCircuit=function(e,n){var t=(0,r.useBackend)(n),i=t.act,u=t.data,m=(u.name,u.desc),p=u.displayed_name,C=(u.removable,u.complexity),h=u.power_draw_idle,N=u.power_draw_per_use,V=u.extended_desc,b=u.inputs,f=u.outputs,g=u.activators;return(0,o.createComponentVNode)(2,a.Window,{width:600,height:400,resizable:!0,title:p,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Stats",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("rename")},children:"Rename"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("scan")},children:"Scan with Device"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("remove")},children:"Remove"})],4),children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Complexity",children:C}),h&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power Draw (Idle)",children:(0,l.formatPower)(h)})||null,N&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power Draw (Active)",children:(0,l.formatPower)(N)})||null]}),V]}),(0,o.createComponentVNode)(2,c.Section,{title:"Circuit",children:[(0,o.createComponentVNode)(2,c.Flex,{textAlign:"center",spacing:1,children:[b.length&&(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Section,{title:"Inputs",children:(0,o.createComponentVNode)(2,d,{list:b})})})||null,(0,o.createComponentVNode)(2,c.Flex.Item,{basis:b.length&&f.length?"33%":b.length||f.length?"45%":"100%",children:(0,o.createComponentVNode)(2,c.Section,{title:p,mb:1,children:(0,o.createComponentVNode)(2,c.Box,{children:m})})}),f.length&&(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Section,{title:"Outputs",children:(0,o.createComponentVNode)(2,d,{list:f})})})||null]}),(0,o.createComponentVNode)(2,c.Section,{title:"Triggers",children:g.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name,children:[(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("pin_name",{pin:e.ref})},children:e.pulse_out?"":""}),(0,o.createComponentVNode)(2,s,{pin:e})]},e.name)}))})]})]})})};var d=function(e,n){var t=(0,r.useBackend)(n).act;return e.list.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return t("pin_name",{pin:e.ref})},children:[(0,i.decodeHtmlEntities)(e.type),": ",e.name]}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return t("pin_data",{pin:e.ref})},children:e.data}),(0,o.createComponentVNode)(2,s,{pin:e})]},e.ref)}))},s=function(e,n){var t=(0,r.useBackend)(n).act,a=e.pin;return a.linked.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{inline:!0,children:[(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return t("pin_unwire",{pin:a.ref,link:e.ref})},children:e.name}),"@\xa0",(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return t("examine",{ref:e.holder_ref})},children:e.holder_name})]},e.ref)}))}},81039:function(e,n,t){"use strict";n.__esModule=!0,n.ICDetailer=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=t(2497);n.ICDetailer=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.detail_color,u=d.color_list;return(0,o.createComponentVNode)(2,a.Window,{width:420,height:254,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{children:Object.keys(u).map((function(e,n){return(0,o.createComponentVNode)(2,c.Button,{ml:0,mr:0,mb:-.4,mt:0,tooltip:(0,i.toTitleCase)(e),tooltipPosition:n%6==5?"left":"right",height:"64px",width:"64px",onClick:function(){return l("change_color",{color:e})},style:u[e]===s?{border:"4px solid black","border-radius":0}:{"border-radius":0},backgroundColor:u[e]},e)}))})})})}},21687:function(e,n,t){"use strict";n.__esModule=!0,n.ICPrinter=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(64499);t(88654);n.ICPrinter=function(e,n){var t=(0,r.useBackend)(n),i=(t.act,t.data),l=i.metal,s=i.max_metal,u=i.metal_per_sheet,m=(i.debug,i.upgraded),p=i.can_clone;i.assembly_to_clone,i.categories;return(0,o.createComponentVNode)(2,a.Window,{width:600,height:630,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Status",children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Metal",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:l,maxValue:s,children:[l/u," / ",s/u," sheets"]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Circuits Available",children:m?"Advanced":"Regular"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Assembly Cloning",children:p?"Available":"Unavailable"})]}),(0,o.createComponentVNode)(2,c.Box,{mt:1,children:"Note: A red component name means that the printer must be upgraded to create that component."})]}),(0,o.createComponentVNode)(2,d)]})})};var l=function(e,n){return!!e.can_build&&!(e.cost>n.metal)},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,d=t.data,s=d.categories,u=(d.debug,(0,r.useSharedState)(n,"categoryTarget",null)),m=u[0],p=u[1],C=(0,i.filter)((function(e){return e.name===m}))(s)[0];return(0,o.createComponentVNode)(2,c.Section,{title:"Circuits",children:(0,o.createComponentVNode)(2,c.Stack,{fill:!0,children:[(0,o.createComponentVNode)(2,c.Stack.Item,{mr:2,children:(0,o.createComponentVNode)(2,c.Tabs,{vertical:!0,children:(0,i.sortBy)((function(e){return e.name}))(s).map((function(e){return(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:m===e.name,onClick:function(){return p(e.name)},children:e.name},e.name)}))})}),(0,o.createComponentVNode)(2,c.Stack.Item,{children:C&&(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,i.sortBy)((function(e){return e.name}))(C.items).map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name,labelColor:e.can_build?"good":"bad",buttons:(0,o.createComponentVNode)(2,c.Button,{disabled:!l(e,d),icon:"print",onClick:function(){return a("build",{build:e.path})},children:"Print"}),children:e.desc},e.name)}))})})||"No category selected."})]})})}},48522:function(e,n,t){"use strict";n.__esModule=!0,n.IDCard=void 0;var o=t(39812),r=t(74814),c=t(71494),a=t(85952),i=t(14959);n.IDCard=function(e,n){var t=(0,c.useBackend)(n).data,l=t.registered_name,d=t.sex,s=t.age,u=t.assignment,m=t.fingerprint_hash,p=t.blood_type,C=t.dna_hash,h=t.photo_front,N=[{name:"Sex",val:d},{name:"Age",val:s},{name:"Blood Type",val:p},{name:"Fingerprint",val:m},{name:"DNA Hash",val:C}];return(0,o.createComponentVNode)(2,a.Window,{width:470,height:250,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,r.Section,{children:[(0,o.createComponentVNode)(2,r.Flex,{children:[(0,o.createComponentVNode)(2,r.Flex.Item,{basis:"25%",textAlign:"left",children:(0,o.createComponentVNode)(2,r.Box,{inline:!0,style:{width:"101px",height:"120px",overflow:"hidden",outline:"2px solid #4972a1"},children:h&&(0,o.createVNode)(1,"img",null,null,1,{src:h.substr(1,h.length-1),style:{width:"300px","margin-left":"-94px","-ms-interpolation-mode":"nearest-neighbor"}})||(0,o.createComponentVNode)(2,r.Icon,{name:"user",size:8,ml:1.5,mt:2.5})})}),(0,o.createComponentVNode)(2,r.Flex.Item,{basis:0,grow:1,children:(0,o.createComponentVNode)(2,r.LabeledList,{children:N.map((function(e){return(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:e.name,children:e.val},e.name)}))})})]}),(0,o.createComponentVNode)(2,r.Flex,{className:"IDCard__NamePlate",align:"center",justify:"space-around",children:[(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.Box,{textAlign:"center",children:l})}),(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.Box,{textAlign:"center",children:(0,o.createComponentVNode)(2,i.RankIcon,{rank:u})})}),(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.Box,{textAlign:"center",children:u})})]})]})})})}},76952:function(e,n,t){"use strict";n.__esModule=!0,n.IdentificationComputerRegions=n.IdentificationComputerAccessModification=n.IdentificationComputerPrinting=n.IdentificationComputerContent=n.IdentificationComputer=void 0;var o=t(39812),r=t(64499),c=t(71494),a=t(74814),i=t(85952),l=t(2497),d=(t(76270),t(22902));n.IdentificationComputer=function(e,n){var t=(0,c.useBackend)(n);t.act,t.data;return(0,o.createComponentVNode)(2,i.Window,{width:600,height:700,children:(0,o.createComponentVNode)(2,i.Window.Content,{resizable:!0,children:(0,o.createComponentVNode)(2,s)})})};var s=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=e.ntos,s=i.mode,p=i.has_modify,C=i.printing,h=(0,o.createComponentVNode)(2,m,{ntos:l});return l&&!i.have_id_slot?h=(0,o.createComponentVNode)(2,d.CrewManifestContent):C?h=(0,o.createComponentVNode)(2,u):1===s&&(h=(0,o.createComponentVNode)(2,d.CrewManifestContent)),(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Tabs,{children:[(!l||!!i.have_id_slot)&&(0,o.createComponentVNode)(2,a.Tabs.Tab,{icon:"home",selected:0===s,onClick:function(){return r("mode",{mode_target:0})},children:"Access Modification"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{icon:"home",selected:1===s,onClick:function(){return r("mode",{mode_target:1})},children:"Crew Manifest"}),!l||!!i.have_printer&&(0,o.createComponentVNode)(2,a.Tabs.Tab,{float:"right",icon:"print",onClick:function(){return r("print")},disabled:!s&&!p,color:"",children:"Print"})]}),h],0)};n.IdentificationComputerContent=s;var u=function(e,n){return(0,o.createComponentVNode)(2,a.Section,{title:"Printing",children:"Please wait..."})};n.IdentificationComputerPrinting=u;var m=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,d=e.ntos,s=i.station_name,u=i.target_name,m=i.target_owner,C=i.scan_name,h=i.authenticated,N=i.has_modify,V=i.account_number,b=i.centcom_access,f=i.all_centcom_access,g=(i.regions,i.id_rank),k=i.departments;return(0,o.createComponentVNode)(2,a.Section,{title:"Access Modification",children:[!h&&(0,o.createComponentVNode)(2,a.Box,{italic:!0,mb:1,children:"Please insert the IDs into the terminal to proceed."}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Target Identitity",children:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",fluid:!0,content:u,onClick:function(){return r("modify")}})}),!d&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Authorized Identitity",children:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",fluid:!0,content:C,onClick:function(){return r("scan")}})})]}),!!h&&!!N&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Details",level:2,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Registered Name",children:(0,o.createComponentVNode)(2,a.Input,{value:m,fluid:!0,onInput:function(e,n){return r("reg",{reg:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Account Number",children:(0,o.createComponentVNode)(2,a.Input,{value:V,fluid:!0,onInput:function(e,n){return r("account",{account:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Dismissals",children:(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"bad",icon:"exclamation-triangle",confirmIcon:"fire",fluid:!0,content:"Dismiss "+m,confirmContent:"You are dismissing "+m+", confirm?",onClick:function(){return r("terminate")}})})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Assignment",level:2,children:(0,o.createComponentVNode)(2,a.Table,{children:[k.map((function(e){return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{header:!0,verticalAlign:"middle",children:e.department_name}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.jobs.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{selected:e.job===g,onClick:function(){return r("assign",{assign_target:e.job})},children:(0,l.decodeHtmlEntities)(e.display_name)},e.job)}))})]}),(0,o.createComponentVNode)(2,a.Box,{mt:-1,children:"\xa0"}),(0,o.createTextVNode)(" ")],0,e.department_name)})),(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{header:!0,verticalAlign:"middle",children:"Special"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("assign",{assign_target:"Custom"})},children:"Custom"})})]})]})}),!!b&&(0,o.createComponentVNode)(2,a.Section,{title:"Central Command",level:2,children:f.map((function(e){return(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,selected:e.allowed,onClick:function(){return r("access",{access_target:e.ref,allowed:e.allowed})},children:(0,l.decodeHtmlEntities)(e.desc)})},e.ref)}))})||(0,o.createComponentVNode)(2,a.Section,{title:s,level:2,children:(0,o.createComponentVNode)(2,p,{actName:"access"})})],0)]})};n.IdentificationComputerAccessModification=m;var p=function(e,n){var t=(0,c.useBackend)(n),i=t.act,d=t.data,s=e.actName,u=d.regions;return(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",spacing:1,children:(0,r.sortBy)((function(e){return e.name}))(u).map((function(e){return(0,o.createComponentVNode)(2,a.Flex.Item,{mb:1,basis:"content",grow:1,children:(0,o.createComponentVNode)(2,a.Section,{title:e.name,height:"100%",children:(0,r.sortBy)((function(e){return e.desc}))(e.accesses).map((function(e){return(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,selected:e.allowed,onClick:function(){return i(s,{access_target:e.ref,allowed:e.allowed})},children:(0,l.decodeHtmlEntities)(e.desc)})},e.ref)}))})},e.name)}))})};n.IdentificationComputerRegions=p},44570:function(e,n,t){"use strict";n.__esModule=!0,n.Loader=n.InputModal=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(29708),l=t(85952);(0,t(88654).createLogger)("inputmodal");n.InputModal=function(e,n){var t,r,s,u=(0,c.useBackend)(n),m=u.act,p=u.data,C=p.title,h=p.message,N=p.initial,V=p.input_type,b=p.timeout,f=(0,c.useLocalState)(n,"curValue",N),g=f[0],k=f[1],v=function(e){if(e.keyCode===i.KEY_ESCAPE)return e.preventDefault(),void m("cancel")};switch(V){case"text":case"num":r=325,t=Math.max(150,h.length),s=(0,o.createComponentVNode)(2,a.Input,{value:N,width:"100%",autoFocus:!0,autoSelect:!0,onKeyDown:v,onChange:function(e,n){k(n)},onEnter:function(e,n){m("choose",{choice:n})}});break;case"message":r=450,t=350,s=(0,o.createComponentVNode)(2,a.TextArea,{value:N,width:"100%",height:"100%",autoFocus:!0,dontUseTabForIndent:!0,onKeyDown:v,onChange:function(e,n){k(n)}})}return(0,o.createComponentVNode)(2,l.Window,{title:C,theme:"abstract",width:r,height:t,children:[b!==undefined&&(0,o.createComponentVNode)(2,d,{value:b}),(0,o.createComponentVNode)(2,l.Window.Content,{children:(0,o.createComponentVNode)(2,a.Stack,{fill:!0,vertical:!0,children:[(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,children:(0,o.createComponentVNode)(2,a.Section,{fill:!0,scrollable:!0,className:"InputModal__Section",title:h,tabIndex:0,children:s})}),(0,o.createComponentVNode)(2,a.Stack.Item,{children:(0,o.createComponentVNode)(2,a.Stack,{textAlign:"center",children:[(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,basis:0,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,color:"good",lineHeight:2,content:"Confirm",onClick:function(){return m("choose",{choice:g})}})}),(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,basis:0,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,color:"bad",lineHeight:2,content:"Cancel",onClick:function(){return m("cancel")}})})]})})]})})]})};var d=function(e){var n=e.value;return(0,o.createVNode)(1,"div","InputModal__Loader",(0,o.createComponentVNode)(2,a.Box,{className:"InputModal__LoaderProgress",style:{width:100*(0,r.clamp01)(n)+"%"}}),2)};n.Loader=d},53541:function(e,n,t){"use strict";n.__esModule=!0,n.InventoryPanel=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.InventoryPanel=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.slots,s=l.internalsValid;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:200,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:d&&d.length&&d.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name,children:(0,o.createComponentVNode)(2,c.Button,{mb:-1,icon:e.item?"hand-paper":"gift",onClick:function(){return i(e.act)},children:e.item||"Nothing"})},e.name)}))})}),s&&(0,o.createComponentVNode)(2,c.Section,{title:"Actions",children:s&&(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"lungs",onClick:function(){return i("internals")},children:"Set Internals"})||null})||null]})})}},46638:function(e,n,t){"use strict";n.__esModule=!0,n.InventoryPanelHuman=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.InventoryPanelHuman=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.slots,s=l.specialSlots,u=(l.internals,l.internalsValid),m=l.sensors,p=l.handcuffed,C=l.handcuffedParams,h=l.legcuffed,N=l.legcuffedParams,V=l.accessory;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[d&&d.length&&d.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name,children:(0,o.createComponentVNode)(2,c.Button,{mb:-1,icon:e.item?"hand-paper":"gift",onClick:function(){return i(e.act,e.params)},children:e.item||"Nothing"})},e.name)})),(0,o.createComponentVNode)(2,c.LabeledList.Divider),s&&s.length&&s.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name,children:(0,o.createComponentVNode)(2,c.Button,{mb:-1,icon:e.item?"hand-paper":"gift",onClick:function(){return i(e.act,e.params)},children:e.item||"Nothing"})},e.name)}))]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Actions",children:[(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"running",onClick:function(){return i("targetSlot",{slot:"splints"})},children:"Remove Splints"}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"hand-paper",onClick:function(){return i("targetSlot",{slot:"pockets"})},children:"Empty Pockets"}),u&&(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"lungs",onClick:function(){return i("targetSlot",{slot:"internals"})},children:"Set Internals"})||null,m&&(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"book-medical",onClick:function(){return i("targetSlot",{slot:"sensors"})},children:"Set Sensors"})||null,p&&(0,o.createComponentVNode)(2,c.Button,{fluid:!0,color:"bad",icon:"unlink",onClick:function(){return i("targetSlot",C)},children:"Handcuffed"})||null,h&&(0,o.createComponentVNode)(2,c.Button,{fluid:!0,color:"bad",icon:"unlink",onClick:function(){return i("targetSlot",N)},children:"Legcuffed"})||null,V&&(0,o.createComponentVNode)(2,c.Button,{fluid:!0,color:"bad",icon:"unlink",onClick:function(){return i("targetSlot",{slot:"tie"})},children:"Remove Accessory"})||null]})]})})}},45e3:function(e,n,t){"use strict";n.__esModule=!0,n.IsolationCentrifuge=void 0;var o=t(39812),r=(t(41860),t(58083),t(71494)),c=t(74814),a=t(85952);n.IsolationCentrifuge=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.busy,s=l.antibodies,u=l.pathogens,m=l.is_antibody_sample,p=l.sample_inserted,C=(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No vial detected."});return p&&(C=s||u?(0,o.createFragment)([s?(0,o.createComponentVNode)(2,c.Section,{title:"Antibodies",children:s}):null,u.length?(0,o.createComponentVNode)(2,c.Section,{title:"Pathogens",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:u.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name,children:e.spread_type},e.name)}))})}):null],0):(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No antibodies or viral strains detected."})),(0,o.createComponentVNode)(2,a.Window,{width:400,height:500,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:d?(0,o.createComponentVNode)(2,c.Section,{title:"The Centrifuge is currently busy.",color:"bad",children:(0,o.createVNode)(1,"center",null,(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:d}),2)}):(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:m?"Antibody Sample":"Blood Sample",children:[(0,o.createComponentVNode)(2,c.Flex,{spacing:1,mb:1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"print",content:"Print",disabled:!s&&!u.length,onClick:function(){return i("print")}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"eject",content:"Eject Vial",disabled:!p,onClick:function(){return i("sample")}})})]}),C]}),s&&!m||u.length?(0,o.createComponentVNode)(2,c.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[s&&!m?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Isolate Antibodies",children:(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:s,onClick:function(){return i("antibody")}})}):null,u.length?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Isolate Strain",children:u.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:e.name,onClick:function(){return i("isolate",{isolate:e.reference})}},e.name)}))}):null]})}):null],0)})})}},83994:function(e,n,t){"use strict";n.__esModule=!0,n.JanitorCart=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.JanitorCart=function(e,n){var t=(0,r.useBackend)(n),i=t.act,d=t.data,s=d.mybag,u=d.mybucket,m=d.mymop,p=d.myspray,C=d.myreplacer,h=d.signs;d.icons;return(0,o.createComponentVNode)(2,a.Window,{width:210,height:180,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Button,{width:"64px",height:"64px",position:"relative",tooltip:s||"Garbage Bag Slot",tooltipPosition:"bottom-end",color:s?"grey":"transparent",style:{border:s?null:"2px solid grey"},onClick:function(){return i("bag")},children:(0,o.createComponentVNode)(2,l,{iconkey:"mybag"})}),(0,o.createComponentVNode)(2,c.Button,{width:"64px",height:"64px",position:"relative",tooltip:u||"Bucket Slot",tooltipPosition:"bottom",color:u?"grey":"transparent",style:{border:u?null:"2px solid grey"},onClick:function(){return i("bucket")},children:(0,o.createComponentVNode)(2,l,{iconkey:"mybucket"})}),(0,o.createComponentVNode)(2,c.Button,{width:"64px",height:"64px",position:"relative",tooltip:m||"Mop Slot",tooltipPosition:"bottom-end",color:m?"grey":"transparent",style:{border:m?null:"2px solid grey"},onClick:function(){return i("mop")},children:(0,o.createComponentVNode)(2,l,{iconkey:"mymop"})}),(0,o.createComponentVNode)(2,c.Button,{width:"64px",height:"64px",position:"relative",tooltip:p||"Spray Slot",tooltipPosition:"top-end",color:p?"grey":"transparent",style:{border:p?null:"2px solid grey"},onClick:function(){return i("spray")},children:(0,o.createComponentVNode)(2,l,{iconkey:"myspray"})}),(0,o.createComponentVNode)(2,c.Button,{width:"64px",height:"64px",position:"relative",tooltip:C||"Light Replacer Slot",tooltipPosition:"top",color:C?"grey":"transparent",style:{border:C?null:"2px solid grey"},onClick:function(){return i("replacer")},children:(0,o.createComponentVNode)(2,l,{iconkey:"myreplacer"})}),(0,o.createComponentVNode)(2,c.Button,{width:"64px",height:"64px",position:"relative",tooltip:h||"Signs Slot",tooltipPosition:"top-start",color:h?"grey":"transparent",style:{border:h?null:"2px solid grey"},onClick:function(){return i("sign")},children:(0,o.createComponentVNode)(2,l,{iconkey:"signs"})})]})})};var i={mybag:"trash",mybucket:"fill",mymop:"broom",myspray:"spray-can",myreplacer:"lightbulb",signs:"sign"},l=function(e,n){var t=(0,r.useBackend)(n).data,a=e.iconkey,l=t.icons;return a in l?(0,o.createVNode)(1,"img",null,null,1,{src:l[a].substr(1,l[a].length-1),style:{position:"absolute",left:0,right:0,top:0,bottom:0,width:"64px",height:"64px","-ms-interpolation-mode":"nearest-neighbor"}}):(0,o.createComponentVNode)(2,c.Icon,{style:{position:"absolute",left:"4px",right:0,top:"20px",bottom:0,width:"64px",height:"64px"},fontSize:2,name:i[a]})}},68741:function(e,n,t){"use strict";n.__esModule=!0,n.Jukebox=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(85952);n.Jukebox=function(e,n){var t=(0,c.useBackend)(n),l=t.act,d=t.data,s=d.playing,u=d.loop_mode,m=d.volume,p=d.current_track_ref,C=d.current_track,h=d.current_genre,N=d.percent,V=d.tracks,b=V.length&&V.reduce((function(e,n){var t=n.genre||"Uncategorized";return e[t]||(e[t]=[]),e[t].push(n),e}),{}),f=s&&(h||"Uncategorized");return(0,o.createComponentVNode)(2,i.Window,{width:450,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.Section,{title:"Currently Playing",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Title",children:s&&C&&(0,o.createComponentVNode)(2,a.Box,{children:[C.title," by ",C.artist||"Unkown"]})||(0,o.createComponentVNode)(2,a.Box,{children:"Stopped"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Controls",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"play",disabled:s,onClick:function(){return l("play")},children:"Play"}),(0,o.createComponentVNode)(2,a.Button,{icon:"stop",disabled:!s,onClick:function(){return l("stop")},children:"Stop"})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Loop Mode",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"play",onClick:function(){return l("loopmode",{loopmode:1})},selected:1===u,children:"Next"}),(0,o.createComponentVNode)(2,a.Button,{icon:"random",onClick:function(){return l("loopmode",{loopmode:2})},selected:2===u,children:"Shuffle"}),(0,o.createComponentVNode)(2,a.Button,{icon:"redo",onClick:function(){return l("loopmode",{loopmode:3})},selected:3===u,children:"Repeat"}),(0,o.createComponentVNode)(2,a.Button,{icon:"step-forward",onClick:function(){return l("loopmode",{loopmode:4})},selected:4===u,children:"Once"})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Progress",children:(0,o.createComponentVNode)(2,a.ProgressBar,{value:N,maxValue:1,color:"good"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Volume",children:(0,o.createComponentVNode)(2,a.Slider,{minValue:0,step:1,value:100*m,maxValue:100,ranges:{good:[75,Infinity],average:[25,75],bad:[0,25]},format:function(e){return(0,r.round)(e,1)+"%"},onChange:function(e,n){return l("volume",{val:(0,r.round)(n/100,2)})}})})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Available Tracks",children:V.length&&Object.keys(b).sort().map((function(e){return(0,o.createComponentVNode)(2,a.Collapsible,{title:e,color:f===e?"green":"default",child_mt:0,children:(0,o.createVNode)(1,"div",null,b[e].map((function(e){return(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"play",selected:p===e.ref,onClick:function(){return l("change_track",{change_track:e.ref})},children:e.title},e.ref)})),0,{style:{"margin-left":"1em"}})},e)}))||(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Error: No songs loaded."})})]})})}},13204:function(e,n,t){"use strict";n.__esModule=!0,n.LawManager=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.LawManager=function(e,n){var t=(0,r.useBackend)(n),l=(t.act,t.data.isSlaved);return(0,o.createComponentVNode)(2,a.Window,{width:800,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[l&&(0,o.createComponentVNode)(2,c.NoticeBox,{info:!0,children:["Law-synced to ",l]})||null,(0,o.createComponentVNode)(2,i)]})})};var i=function(e,n){var t=(0,r.useSharedState)(n,"lawsTabIndex",0),a=t[0],i=t[1];return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:0===a,onClick:function(){return i(0)},children:"Law Management"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:1===a,onClick:function(){return i(1)},children:"Law Sets"})]}),0===a&&(0,o.createComponentVNode)(2,l)||null,1===a&&(0,o.createComponentVNode)(2,s)||null],0)},l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.ion_law_nr,s=i.ion_law,u=i.zeroth_law,m=i.inherent_law,p=i.supplied_law,C=i.supplied_law_position,h=i.zeroth_laws,N=i.has_zeroth_laws,V=i.ion_laws,b=i.has_ion_laws,f=i.inherent_laws,g=i.has_inherent_laws,k=i.supplied_laws,v=i.has_supplied_laws,B=i.isAI,L=i.isMalf,_=i.isAdmin,x=i.channel,w=i.channels,S=h.map((function(e){return e.zero=!0,e})).concat(f);return(0,o.createComponentVNode)(2,c.Section,{children:[b&&(0,o.createComponentVNode)(2,d,{laws:V,title:l+" Laws:",mt:-2})||null,(N||g)&&(0,o.createComponentVNode)(2,d,{laws:S,title:"Inherent Laws",mt:-2})||null,v&&(0,o.createComponentVNode)(2,d,{laws:k,title:"Supplied Laws",mt:-2})||null,(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Controls",mt:-2,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Statement Channel",children:w.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{content:e.channel,selected:x===e.channel,onClick:function(){return a("law_channel",{law_channel:e.channel})}},e.channel)}))}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"State Laws",children:(0,o.createComponentVNode)(2,c.Button,{icon:"volume-up",onClick:function(){return a("state_laws")},children:"State Laws"})}),B&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Law Notification",children:(0,o.createComponentVNode)(2,c.Button,{icon:"exclamation",onClick:function(){return a("notify_laws")},children:"Notify"})})||null]})}),L&&(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Add Laws",mt:-2,children:(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:"Type"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Law"}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:"Index"}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:"Add"})]}),_&&!N&&(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:"Zero"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Input,{value:u,fluid:!0,onChange:function(e,n){return a("change_zeroth_law",{val:n})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"N/A"}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,c.Button,{icon:"plus",onClick:function(){return a("add_zeroth_law")},children:"Add"})})]})||null,(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:"Ion"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Input,{value:s,fluid:!0,onChange:function(e,n){return a("change_ion_law",{val:n})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"N/A"}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,c.Button,{icon:"plus",onClick:function(){return a("add_ion_law")},children:"Add"})})]}),(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Inherent"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Input,{value:m,fluid:!0,onChange:function(e,n){return a("change_inherent_law",{val:n})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"N/A"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"plus",onClick:function(){return a("add_inherent_law")},children:"Add"})})]}),(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Supplied"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Input,{value:p,fluid:!0,onChange:function(e,n){return a("change_supplied_law",{val:n})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"pen",onClick:function(){return a("change_supplied_law_position")},children:C})}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"plus",onClick:function(){return a("add_supplied_law")},children:"Add"})})]})]})})||null]})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.isMalf,d=i.isAdmin,s=e.laws,u=e.title,m=e.noButtons,p=function(e,n){if(null==e)return{};var t,o,r={},c=Object.keys(e);for(o=0;o=0||(r[t]=e[t]);return r}(e,["laws","title","noButtons"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,c.Section,Object.assign({level:2,title:u},p,{children:(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:"Index"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Law"}),!m&&(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:"State"})||null,l&&!m&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:"Edit"}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:"Delete"})],4)||null]}),s.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:[e.index,"."]}),(0,o.createComponentVNode)(2,c.Table.Cell,{color:e.zero?"bad":null,children:e.law}),!m&&(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"volume-up",selected:e.state,onClick:function(){return a("state_law",{ref:e.ref,state_law:!e.state})},children:e.state?"Yes":"No"})})||null,l&&!m&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,c.Button,{disabled:e.zero&&!d,icon:"pen",onClick:function(){return a("edit_law",{edit_law:e.ref})},children:"Edit"})}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,c.Button,{disabled:e.zero&&!d,color:"bad",icon:"trash",onClick:function(){return a("delete_law",{delete_law:e.ref})},children:"Delete"})})],4)||null]},e.index)}))]})})))},s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.isMalf,s=i.law_sets;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.NoticeBox,{children:"Remember: Stating laws other than those currently loaded may be grounds for decommissioning! - NanoTrasen"}),s.length&&s.map((function(e){return(0,o.createComponentVNode)(2,c.Section,{title:e.name,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{disabled:!l,icon:"sync",onClick:function(){return a("transfer_laws",{transfer_laws:e.ref})},children:"Load Laws"}),(0,o.createComponentVNode)(2,c.Button,{icon:"volume-up",onClick:function(){return a("state_law_set",{state_law_set:e.ref})},children:"State Laws"})],4),children:[e.laws.has_ion_laws&&(0,o.createComponentVNode)(2,d,{noButtons:!0,laws:e.laws.ion_laws,title:e.laws.ion_law_nr+" Laws:"})||null,(e.laws.has_zeroth_laws||e.laws.has_inherent_laws)&&(0,o.createComponentVNode)(2,d,{noButtons:!0,laws:e.laws.zeroth_laws.concat(e.laws.inherent_laws),title:e.header})||null,e.laws.has_supplied_laws&&(0,o.createComponentVNode)(2,d,{noButtons:!0,laws:e.laws.supplied_laws,title:"Supplied Laws"})||null]},e.name)}))||null],0)}},58802:function(e,n,t){"use strict";n.__esModule=!0,n.Loader=n.ListInput=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(29708),l=t(85952),d=0;n.ListInput=function(e,n){var t=(0,c.useBackend)(n),r=t.act,u=t.data,m=u.title,p=u.message,C=u.buttons,h=u.timeout,N=u.initial,V=(0,c.useLocalState)(n,"search_bar",!1),b=V[0],f=V[1],g=(0,c.useLocalState)(n,"displayed_array",C),k=g[0],v=g[1],B=(0,c.useLocalState)(n,"search_array",[]),L=B[0],_=B[1],x=(0,c.useLocalState)(n,"search_index",0),w=x[0],S=x[1],I=(0,c.useLocalState)(n,"last_char_code",null),y=I[0],T=I[1],A=(0,c.useLocalState)(n,"selected_button",N||C[0]),P=A[0],M=A[1];return(0,o.createComponentVNode)(2,l.Window,{title:m,theme:"abstract",width:325,height:325,children:[h!==undefined&&(0,o.createComponentVNode)(2,s,{value:h}),(0,o.createComponentVNode)(2,l.Window.Content,{children:(0,o.createComponentVNode)(2,a.Stack,{fill:!0,vertical:!0,children:[(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,children:(0,o.createComponentVNode)(2,a.Section,{fill:!0,scrollable:!0,autoFocus:!0,className:"ListInput__Section",title:p,tabIndex:0,onKeyDown:function(e){if(e.preventDefault(),!(d>performance.now())){if(d=performance.now()+125,e.keyCode===i.KEY_HOME||e.keyCode===i.KEY_END){var n=e.keyCode===i.KEY_HOME?0:C.length-1;return M(C[n]),T(null),void document.getElementById(C[n]).focus()}if(e.keyCode===i.KEY_UP||e.keyCode===i.KEY_DOWN){var t=1;e.keyCode===i.KEY_UP&&(t=-1);for(var o=0;o=C.length&&(o=0),M(C[o]),T(null),void document.getElementById(C[o]).focus()}if(e.keyCode!==i.KEY_SPACE&&e.keyCode!==i.KEY_ENTER)if(e.keyCode!==i.KEY_ESCAPE){var c=String.fromCharCode(e.keyCode).toLowerCase();if(c){var a;if(c===y&&L.length>0){var l=w+1;l0&&(_(s),S(0),a=s[0])}a&&(T(c),M(a),document.getElementById(a).focus())}}else r("cancel");else r("choose",{choice:P})}},buttons:(0,o.createComponentVNode)(2,a.Button,{compact:!0,icon:"search",color:"transparent",selected:b,tooltip:"Search Bar",tooltipPosition:"left",onClick:function(){f(!b),v(C)}}),children:k.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{fluid:!0,color:"transparent",id:e,selected:P===e,onClick:function(){P===e?r("choose",{choice:e}):M(e),T(null)},children:e},e)}))})}),b&&(0,o.createComponentVNode)(2,a.Stack.Item,{children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,onInput:function(e,n){return v(C.filter((function(e){return-1!==e.toLowerCase().search(n.toLowerCase())})))}})}),(0,o.createComponentVNode)(2,a.Stack.Item,{children:(0,o.createComponentVNode)(2,a.Stack,{textAlign:"center",children:[(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,basis:0,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,color:"good",lineHeight:2,content:"Confirm",disabled:null===P,onClick:function(){return r("choose",{choice:P})}})}),(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,basis:0,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,color:"bad",lineHeight:2,content:"Cancel",onClick:function(){return r("cancel")}})})]})})]})})]})};var s=function(e){var n=e.value;return(0,o.createVNode)(1,"div","ListInput__Loader",(0,o.createComponentVNode)(2,a.Box,{className:"ListInput__LoaderProgress",style:{width:100*(0,r.clamp01)(n)+"%"}}),2)};n.Loader=s},36104:function(e,n,t){"use strict";n.__esModule=!0,n.LookingGlass=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.LookingGlass=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.supportedPrograms,s=l.currentProgram,u=l.immersion,m=l.gravity,p=Math.min(180+23*d.length,600);return(0,o.createComponentVNode)(2,a.Window,{width:300,height:p,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Programs",children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"eye",selected:e===s,onClick:function(){return i("program",{program:e})},children:e},e)}))}),(0,o.createComponentVNode)(2,c.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Gravity",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"user-astronaut",selected:m,onClick:function(){return i("gravity")},children:m?"Enabled":"Disabled"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Full Immersion",children:(0,o.createComponentVNode)(2,c.Button,{mt:-1,fluid:!0,icon:"eye",selected:u,onClick:function(){return i("immersion")},children:u?"Enabled":"Disabled"})})]})})]})})}},74714:function(e,n,t){"use strict";n.__esModule=!0,n.MechaControlConsole=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(2497);n.MechaControlConsole=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.beacons,u=d.stored_data;return(0,o.createComponentVNode)(2,a.Window,{width:600,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[u.length&&(0,o.createComponentVNode)(2,c.Modal,{children:(0,o.createComponentVNode)(2,c.Section,{height:"400px",style:{"overflow-y":"auto"},title:"Log",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"window-close",onClick:function(){return l("clear_log")}}),children:u.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Box,{color:"label",children:["(",e.time,") (",e.year,")"]}),(0,o.createComponentVNode)(2,c.Box,{children:(0,i.decodeHtmlEntities)(e.message)})]},e.time)}))})})||null,s.length&&s.map((function(e){return(0,o.createComponentVNode)(2,c.Section,{title:e.name,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"comment",onClick:function(){return l("send_message",{mt:e.ref})},children:"Message"}),(0,o.createComponentVNode)(2,c.Button,{icon:"eye",onClick:function(){return l("get_log",{mt:e.ref})},children:"View Log"}),(0,o.createComponentVNode)(2,c.Button.Confirm,{color:"red",content:"EMP",icon:"bomb",onClick:function(){return l("shock",{mt:e.ref})}})],4),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,c.ProgressBar,{ranges:{good:[.75*e.maxHealth,Infinity],average:[.5*e.maxHealth,.75*e.maxHealth],bad:[-Infinity,.5*e.maxHealth]},value:e.health,maxValue:e.maxHealth})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Cell Charge",children:e.cell&&(0,o.createComponentVNode)(2,c.ProgressBar,{ranges:{good:[.75*e.cellMaxCharge,Infinity],average:[.5*e.cellMaxCharge,.75*e.cellMaxCharge],bad:[-Infinity,.5*e.cellMaxCharge]},value:e.cellCharge,maxValue:e.cellMaxCharge})||(0,o.createComponentVNode)(2,c.NoticeBox,{children:"No Cell Installed"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Air Tank",children:[e.airtank,"kPa"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Pilot",children:e.pilot||"Unoccupied"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Location",children:(0,i.toTitleCase)(e.location)||"Unknown"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Active Equipment",children:e.active||"None"}),e.cargoMax&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Cargo Space",children:(0,o.createComponentVNode)(2,c.ProgressBar,{ranges:{bad:[.75*e.cargoMax,Infinity],average:[.5*e.cargoMax,.75*e.cargoMax],good:[-Infinity,.5*e.cargoMax]},value:e.cargoUsed,maxValue:e.cargoMax})})||null]})},e.name)}))||(0,o.createComponentVNode)(2,c.NoticeBox,{children:"No mecha beacons found."})]})})}},17888:function(e,n,t){"use strict";n.__esModule=!0,n.Medbot=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.Medbot=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.on,s=l.open,u=l.beaker,m=l.beaker_total,p=l.beaker_max,C=l.locked,h=l.heal_threshold,N=l.heal_threshold_max,V=l.injection_amount_min,b=l.injection_amount,f=l.injection_amount_max,g=l.use_beaker,k=l.declare_treatment,v=l.vocal;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:600,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Automatic Medical Unit v2.0",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:d,onClick:function(){return i("power")},children:d?"On":"Off"}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Maintenance Panel",color:s?"bad":"good",children:s?"Open":"Closed"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Beaker",buttons:(0,o.createComponentVNode)(2,c.Button,{disabled:!u,icon:"eject",onClick:function(){return i("eject")},children:"Eject"}),children:u&&(0,o.createComponentVNode)(2,c.ProgressBar,{value:m,maxValue:p,children:[m," / ",p]})||(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No beaker loaded."})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Behavior Controls",color:C?"good":"bad",children:C?"Locked":"Unlocked"})]})}),!C&&(0,o.createComponentVNode)(2,c.Section,{title:"Behavioral Controls",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Healing Threshold",children:(0,o.createComponentVNode)(2,c.NumberInput,{fluid:!0,minValue:0,maxValue:N,value:h,onDrag:function(e,n){return i("adj_threshold",{val:n})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Injection Amount",children:(0,o.createComponentVNode)(2,c.NumberInput,{fluid:!0,minValue:V,maxValue:f,value:b,onDrag:function(e,n){return i("adj_inject",{val:n})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Reagent Source",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:g?"toggle-on":"toggle-off",selected:g,onClick:function(){return i("use_beaker")},children:g?"Loaded Beaker (When available)":"Internal Synthesizer"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Treatment Report",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:k?"toggle-on":"toggle-off",selected:k,onClick:function(){return i("declaretreatment")},children:k?"On":"Off"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Speaker",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:v?"toggle-on":"toggle-off",selected:v,onClick:function(){return i("togglevoice")},children:v?"On":"Off"})})]})})||null]})})}},37610:function(e,n,t){"use strict";n.__esModule=!0,n.MedicalRecords=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(16007),i=t(85952),l=t(28117),d=t(1192),s=t(36355),u=(t(2497),function(e,n){(0,a.modalOpen)(e,"edit",{field:n.edit,value:n.value})});n.MedicalRecords=function(e,n){var t,u=(0,r.useBackend)(n).data,h=u.authenticated,N=u.screen;return h?(2===N?t=(0,o.createComponentVNode)(2,m):3===N?t=(0,o.createComponentVNode)(2,p):4===N?t=(0,o.createComponentVNode)(2,C):5===N?t=(0,o.createComponentVNode)(2,V):6===N&&(t=(0,o.createComponentVNode)(2,b)),(0,o.createComponentVNode)(2,i.Window,{width:800,height:380,resizable:!0,children:[(0,o.createComponentVNode)(2,a.ComplexModal,{maxHeight:"100%",maxWidth:"80%"}),(0,o.createComponentVNode)(2,i.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,l.LoginInfo),(0,o.createComponentVNode)(2,s.TemporaryNotice),(0,o.createComponentVNode)(2,f),(0,o.createComponentVNode)(2,c.Section,{height:"calc(100% - 5rem)",flexGrow:"1",children:t})]})]})):(0,o.createComponentVNode)(2,i.Window,{width:800,height:380,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:(0,o.createComponentVNode)(2,d.LoginScreen)})})};var m=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.records;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Input,{fluid:!0,placeholder:"Search by Name, DNA, or ID",onChange:function(e,n){return a("search",{t1:n})}}),(0,o.createComponentVNode)(2,c.Box,{mt:"0.5rem",children:i.map((function(e,n){return(0,o.createComponentVNode)(2,c.Button,{icon:"user",mb:"0.5rem",content:e.id+": "+e.name,onClick:function(){return a("d_rec",{d_rec:e.ref})}},n)}))})],4)},p=function(e,n){var t=(0,r.useBackend)(n).act;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"download",content:"Backup to Disk",disabled:!0}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Button,{icon:"upload",content:"Upload from Disk",my:"0.5rem",disabled:!0}),(0,o.createTextVNode)(" "),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"trash",content:"Delete All Medical Records",onClick:function(){return t("del_all")}})],4)},C=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.medical,d=i.printing;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"General Data",level:2,mt:"-6px",children:(0,o.createComponentVNode)(2,h)}),(0,o.createComponentVNode)(2,c.Section,{title:"Medical Data",level:2,children:(0,o.createComponentVNode)(2,N)}),(0,o.createComponentVNode)(2,c.Section,{title:"Actions",level:2,children:[(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"trash",disabled:!!l.empty,content:"Delete Medical Record",color:"bad",onClick:function(){return a("del_r")}}),(0,o.createComponentVNode)(2,c.Button,{icon:d?"spinner":"print",disabled:d,iconSpin:!!d,content:"Print Entry",ml:"0.5rem",onClick:function(){return a("print_p")}}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-left",content:"Back",mt:"0.5rem",onClick:function(){return a("screen",{screen:2})}})]})],4)},h=function(e,n){var t=(0,r.useBackend)(n).data.general;return t&&t.fields?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Box,{width:"50%",float:"left",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:t.fields.map((function(e,t){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.field,children:[(0,o.createComponentVNode)(2,c.Box,{height:"20px",display:"inline-block",preserveWhitespace:!0,children:e.value}),!!e.edit&&(0,o.createComponentVNode)(2,c.Button,{icon:"pen",ml:"0.5rem",onClick:function(){return u(n,e)}})]},t)}))})}),(0,o.createComponentVNode)(2,c.Box,{width:"50%",float:"right",textAlign:"right",children:!!t.has_photos&&t.photos.map((function(e,n){return(0,o.createComponentVNode)(2,c.Box,{display:"inline-block",textAlign:"center",color:"label",children:[(0,o.createVNode)(1,"img",null,null,1,{src:e.substr(1,e.length-1),style:{width:"96px","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createVNode)(1,"br"),"Photo #",n+1]},n)}))})],4):(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"General records lost!"})},N=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data.medical;return l&&l.fields?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.LabeledList,{children:l.fields.map((function(e,t){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.field,preserveWhitespace:!0,children:[e.value,(0,o.createComponentVNode)(2,c.Button,{icon:"pen",ml:"0.5rem",mb:e.line_break?"1rem":"initial",onClick:function(){return u(n,e)}})]},t)}))}),(0,o.createComponentVNode)(2,c.Section,{title:"Comments/Log",level:2,children:[0===l.comments.length?(0,o.createComponentVNode)(2,c.Box,{color:"label",children:"No comments found."}):l.comments.map((function(e,n){return(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Box,{color:"label",inline:!0,children:e.header}),(0,o.createVNode)(1,"br"),e.text,(0,o.createComponentVNode)(2,c.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){return i("del_c",{del_c:n+1})}})]},n)})),(0,o.createComponentVNode)(2,c.Button,{icon:"comment-medical",content:"Add Entry",color:"good",mt:"0.5rem",mb:"0",onClick:function(){return(0,a.modalOpen)(n,"add_c")}})]})],4):(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:["Medical records lost!",(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"New Record",ml:"0.5rem",onClick:function(){return i("new")}})]})},V=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.virus;return i.sort((function(e,n){return e.name>n.name?1:-1})),i.map((function(e,n){return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"flask",content:e.name,mb:"0.5rem",onClick:function(){return a("vir",{vir:e.D})}}),(0,o.createVNode)(1,"br")],4,n)}))},b=function(e,n){var t=(0,r.useBackend)(n).data.medbots;return 0===t.length?(0,o.createComponentVNode)(2,c.Box,{color:"label",children:"There are no Medbots."}):t.map((function(e,n){return(0,o.createComponentVNode)(2,c.Collapsible,{open:!0,title:e.name,children:(0,o.createComponentVNode)(2,c.Box,{px:"0.5rem",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Location",children:[e.area||"Unknown"," (",e.x,", ",e.y,")"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",children:e.on?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Box,{color:"good",children:"Online"}),(0,o.createComponentVNode)(2,c.Box,{mt:"0.5rem",children:e.use_beaker?"Reservoir: "+e.total_volume+"/"+e.maximum_volume:"Using internal synthesizer."})],4):(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"Offline"})})]})})},n)}))},f=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.screen;return(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:2===i,onClick:function(){return a("screen",{screen:2})},children:[(0,o.createComponentVNode)(2,c.Icon,{name:"list"}),"List Records"]}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:5===i,onClick:function(){return a("screen",{screen:5})},children:[(0,o.createComponentVNode)(2,c.Icon,{name:"database"}),"Virus Database"]}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:6===i,onClick:function(){return a("screen",{screen:6})},children:[(0,o.createComponentVNode)(2,c.Icon,{name:"plus-square"}),"Medbot Tracking"]}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:3===i,onClick:function(){return a("screen",{screen:3})},children:[(0,o.createComponentVNode)(2,c.Icon,{name:"wrench"}),"Record Maintenance"]})]})};(0,a.modalRegisterBodyOverride)("virus",(function(e,n){var t=(0,r.useBackend)(n).act,a=e.args;return(0,o.createComponentVNode)(2,c.Section,{level:2,m:"-1rem",title:a.name||"Virus",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"times",color:"red",onClick:function(){return t("modal_close")}}),children:(0,o.createComponentVNode)(2,c.Box,{mx:"0.5rem",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Spread",children:[a.spread_text," Transmission"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Possible cure",children:a.antigen}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Rate of Progression",children:a.rate}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Antibiotic Resistance",children:[a.resistance,"%"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Species Affected",children:a.species}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Symptoms",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:a.symptoms.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.stage+". "+e.name,children:[(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:"label",children:"Strength:"})," ",e.strength,"\xa0",(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:"label",children:"Aggressiveness:"})," ",e.aggressiveness]},e.stage)}))})})]})})})}))},287:function(e,n,t){"use strict";n.__esModule=!0,n.MessageMonitor=void 0;var o=t(39812),r=(t(41860),t(2497)),c=t(71494),a=t(74814),i=t(85952),l=t(36355),d=t(67861);n.MessageMonitor=function(e,n){var t,r=(0,c.useBackend)(n),d=(r.act,r.data),p=d.auth,C=d.linkedServer,h=(d.message,d.hacking),N=d.emag;return t=h||N?(0,o.createComponentVNode)(2,s):p?C?(0,o.createComponentVNode)(2,m):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR"}):(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,i.Window,{width:670,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,l.TemporaryNotice),t]})})};var s=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data.isMalfAI);return(0,o.createComponentVNode)(2,d.FullscreenNotice,{title:"ERROR",children:r?(0,o.createComponentVNode)(2,a.Box,{children:"Brute-forcing for server key. It will take 20 seconds for every character that the password has."}):(0,o.createComponentVNode)(2,a.Box,{children:["01000010011100100111010101110100011001010010110",(0,o.createVNode)(1,"br"),"10110011001101111011100100110001101101001011011100110011",(0,o.createVNode)(1,"br"),"10010000001100110011011110111001000100000011100110110010",(0,o.createVNode)(1,"br"),"10111001001110110011001010111001000100000011010110110010",(0,o.createVNode)(1,"br"),"10111100100101110001000000100100101110100001000000111011",(0,o.createVNode)(1,"br"),"10110100101101100011011000010000001110100011000010110101",(0,o.createVNode)(1,"br"),"10110010100100000001100100011000000100000011100110110010",(0,o.createVNode)(1,"br"),"10110001101101111011011100110010001110011001000000110011",(0,o.createVNode)(1,"br"),"00110111101110010001000000110010101110110011001010111001",(0,o.createVNode)(1,"br"),"00111100100100000011000110110100001100001011100100110000",(0,o.createVNode)(1,"br"),"10110001101110100011001010111001000100000011101000110100",(0,o.createVNode)(1,"br"),"00110000101110100001000000111010001101000011001010010000",(0,o.createVNode)(1,"br"),"00111000001100001011100110111001101110111011011110111001",(0,o.createVNode)(1,"br"),"00110010000100000011010000110000101110011001011100010000",(0,o.createVNode)(1,"br"),"00100100101101110001000000111010001101000011001010010000",(0,o.createVNode)(1,"br"),"00110110101100101011000010110111001110100011010010110110",(0,o.createVNode)(1,"br"),"10110010100101100001000000111010001101000011010010111001",(0,o.createVNode)(1,"br"),"10010000001100011011011110110111001110011011011110110110",(0,o.createVNode)(1,"br"),"00110010100100000011000110110000101101110001000000111001",(0,o.createVNode)(1,"br"),"00110010101110110011001010110000101101100001000000111100",(0,o.createVNode)(1,"br"),"10110111101110101011100100010000001110100011100100111010",(0,o.createVNode)(1,"br"),"10110010100100000011010010110111001110100011001010110111",(0,o.createVNode)(1,"br"),"00111010001101001011011110110111001110011001000000110100",(0,o.createVNode)(1,"br"),"10110011000100000011110010110111101110101001000000110110",(0,o.createVNode)(1,"br"),"00110010101110100001000000111001101101111011011010110010",(0,o.createVNode)(1,"br"),"10110111101101110011001010010000001100001011000110110001",(0,o.createVNode)(1,"br"),"10110010101110011011100110010000001101001011101000010111",(0,o.createVNode)(1,"br"),"00010000001001101011000010110101101100101001000000111001",(0,o.createVNode)(1,"br"),"10111010101110010011001010010000001101110011011110010000",(0,o.createVNode)(1,"br"),"00110100001110101011011010110000101101110011100110010000",(0,o.createVNode)(1,"br"),"00110010101101110011101000110010101110010001000000111010",(0,o.createVNode)(1,"br"),"00110100001100101001000000111001001101111011011110110110",(0,o.createVNode)(1,"br"),"10010000001100100011101010111001001101001011011100110011",(0,o.createVNode)(1,"br"),"10010000001110100011010000110000101110100001000000111010",(0,o.createVNode)(1,"br"),"001101001011011010110010100101110"]})})},u=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.isMalfAI;return(0,o.createComponentVNode)(2,d.FullscreenNotice,{title:"Welcome",children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:"1.5rem",bold:!0,children:[(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"}),"Unauthorized"]}),(0,o.createComponentVNode)(2,a.Box,{color:"label",my:"1rem",children:["Decryption Key:",(0,o.createComponentVNode)(2,a.Input,{placeholder:"Decryption Key",ml:"0.5rem",onChange:function(e,n){return r("auth",{key:n})}})]}),!!i&&(0,o.createComponentVNode)(2,a.Button,{icon:"terminal",content:"Hack",onClick:function(){return r("hack")}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"Please authenticate with the server in order to show additional options."})]})},m=function(e,n){var t,r=(0,c.useBackend)(n),i=r.act,l=r.data.linkedServer,d=(0,c.useLocalState)(n,"tabIndex",0),s=d[0],u=d[1];return 0===s?t=(0,o.createComponentVNode)(2,p):1===s?t=(0,o.createComponentVNode)(2,C,{logs:l.pda_msgs,pda:!0}):2===s?t=(0,o.createComponentVNode)(2,C,{logs:l.rc_msgs,rc:!0}):3===s?t=(0,o.createComponentVNode)(2,h):4===s&&(t=(0,o.createComponentVNode)(2,N)),(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===s,onClick:function(){return u(0)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bars"})," Main Menu"]},"Main"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===s,onClick:function(){return u(1)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"font"})," Message Logs"]},"MessageLogs"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===s,onClick:function(){return u(2)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bold"})," Request Logs"]},"RequestLogs"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===s,onClick:function(){return u(3)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"comment-alt"})," Admin Messaging"]},"AdminMessage"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:4===s,onClick:function(){return u(4)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"comment-slash"})," Spam Filter"]},"SpamFilter"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{color:"red",onClick:function(){return i("deauth")},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"sign-out-alt"})," Log Out"]},"Logout")]}),(0,o.createComponentVNode)(2,a.Box,{m:2,children:t})],4)},p=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.linkedServer;return(0,o.createComponentVNode)(2,a.Section,{title:"Main Menu",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"link",content:"Server Link",onClick:function(){return r("find")}}),(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:"Server "+(i.active?"Enabled":"Disabled"),selected:i.active,onClick:function(){return r("active")}})],4),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Server Status",children:(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Good"})})}),(0,o.createComponentVNode)(2,a.Button,{mt:1,icon:"key",content:"Set Custom Key",onClick:function(){return r("pass")}}),(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"red",confirmIcon:"exclamation-triangle",icon:"exclamation-triangle",content:"Clear Message Logs"}),(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"red",confirmIcon:"exclamation-triangle",icon:"exclamation-triangle",content:"Clear Request Logs"})]})},C=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=(t.data,e.logs),d=e.pda,s=e.rc;return(0,o.createComponentVNode)(2,a.Section,{title:d?"PDA Logs":s?"Request Logs":"Logs",buttons:(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"red",icon:"trash",confirmIcon:"trash",content:"Delete All",onClick:function(){return i(d?"del_pda":"del_rc")}}),children:(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",children:l.map((function(e,n){return(0,o.createComponentVNode)(2,a.Flex.Item,{m:"2px",basis:"49%",grow:n%2,children:(0,o.createComponentVNode)(2,a.Section,{title:e.sender+" -> "+e.recipient,buttons:(0,o.createComponentVNode)(2,a.Button.Confirm,{confirmContent:"Delete Log?",color:"bad",icon:"trash",confirmIcon:"trash",onClick:function(){return i("delete",{id:e.ref,type:s?"rc":"pda"})}}),children:s?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message",children:e.message}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Verification",color:"Unauthenticated"===e.id_auth?"bad":"good",children:(0,r.decodeHtmlEntities)(e.id_auth)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stamp",children:e.stamp})]}):e.message})},e.ref)}))})})},h=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=i.possibleRecipients,d=i.customsender,s=i.customrecepient,u=i.customjob,m=i.custommessage,p=Object.keys(l);return(0,o.createComponentVNode)(2,a.Section,{title:"Admin Messaging",children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sender",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,value:d,onChange:function(e,n){return r("set_sender",{val:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sender's Job",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,value:u,onChange:function(e,n){return r("set_sender_job",{val:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Recipient",children:(0,o.createComponentVNode)(2,a.Dropdown,{value:s,options:p,width:"100%",mb:-.7,onSelected:function(e){return r("set_recipient",{val:l[e]})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message",verticalAlign:"top",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,mb:.5,value:m,onChange:function(e,n){return r("set_message",{val:n})}})})]}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"comment",content:"Send Message",onClick:function(){return r("send_message")}})]})},N=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.linkedServer;return(0,o.createComponentVNode)(2,a.Section,{title:"Spam Filtering",children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:i.spamFilter.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.index,buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"trash",color:"bad",content:"Delete",onClick:function(){return r("deltoken",{deltoken:e.index})}}),children:e.token},e.index)}))}),(0,o.createComponentVNode)(2,a.Button,{icon:"plus",content:"Add New Entry",onClick:function(){return r("addtoken")}})]})}},75412:function(e,n,t){"use strict";n.__esModule=!0,n.Microwave=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.Microwave=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.config,d=t.data,s=d.broken,u=d.operating,m=d.dirty,p=d.items;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:s&&(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Bzzzzttttt!!"})})||u&&(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.Box,{color:"good",children:["Microwaving in progress!",(0,o.createVNode)(1,"br"),"Please wait...!"]})})||m&&(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:["This microwave is dirty!",(0,o.createVNode)(1,"br"),"Please clean it before use!"]})})||p.length&&(0,o.createComponentVNode)(2,c.Section,{level:1,title:"Ingredients",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"radiation",onClick:function(){return i("cook")},children:"Microwave"}),(0,o.createComponentVNode)(2,c.Button,{icon:"eject",onClick:function(){return i("dispose")},children:"Eject"})],4),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:p.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name,children:[e.amt," ",e.extra]},e.name)}))})})||(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:[l.title," is empty."]})})})})}},35016:function(e,n,t){"use strict";n.__esModule=!0,n.MiningOreProcessingConsole=void 0;var o=t(39812),r=t(2497),c=t(71494),a=t(74814),i=t(85952),l=(t(64499),t(21526));n.MiningOreProcessingConsole=function(e,n){var t=(0,c.useBackend)(n),r=t.act,d=t.data,s=d.unclaimedPoints,u=(d.ores,d.showAllOres,d.power),p=d.speed;return(0,o.createComponentVNode)(2,i.Window,{width:400,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:[(0,o.createComponentVNode)(2,l.MiningUser,{insertIdText:(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-right",mr:1,onClick:function(){return r("insert")},children:"Insert ID"}),"in order to claim points."]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"bolt",selected:p,onClick:function(){return r("speed_toggle")},children:p?"High-Speed Active":"High-Speed Inactive"}),(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",selected:u,onClick:function(){return r("power")},children:u?"Smelting":"Not Smelting"})],4),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current unclaimed points",buttons:(0,o.createComponentVNode)(2,a.Button,{disabled:s<1,icon:"download",onClick:function(){return r("claim")},children:"Claim"}),children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:s})})})}),(0,o.createComponentVNode)(2,m)]})})};var d=["Not Processing","Smelting","Compressing","Alloying"],s=["verdantium","mhydrogen","diamond","platinum","uranium","gold","silver","rutile","phoron","marble","lead","sand","carbon","hematite"],u=function(e,n){return-1===s.indexOf(e.ore)||-1===s.indexOf(n.ore)?e.ore-n.ore:s.indexOf(n.ore)-s.indexOf(e.ore)},m=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,s=l.ores,m=l.showAllOres;l.power;return(0,o.createComponentVNode)(2,a.Section,{title:"Ore Processing Controls",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:m?"toggle-on":"toggle-off",selected:m,onClick:function(){return i("showAllOres")},children:m?"All Ores":"Ores in Machine"}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:s.length&&s.sort(u).map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.toTitleCase)(e.name),buttons:(0,o.createComponentVNode)(2,a.Dropdown,{width:"120px",color:(0===e.processing?"red":1===e.processing&&"green")||2===e.processing&&"blue"||3===e.processing&&"yellow",options:d,selected:d[e.processing],onSelected:function(n){return i("toggleSmelting",{ore:e.ore,set:d.indexOf(n)})}}),children:(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:e.amount})})},e.ore)}))||(0,o.createComponentVNode)(2,a.Box,{color:"bad",textAlign:"center",children:"No ores in machine."})})})}},87314:function(e,n,t){"use strict";n.__esModule=!0,n.MiningStackingConsole=void 0;var o=t(39812),r=t(2497),c=t(71494),a=t(74814),i=t(85952);t(64499);n.MiningStackingConsole=function(e,n){var t=(0,c.useBackend)(n),l=t.act,d=t.data,s=d.stacktypes,u=d.stackingAmt;return(0,o.createComponentVNode)(2,i.Window,{width:400,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Stacker Controls",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stacking",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,value:u,minValue:1,maxValue:50,stepPixelSize:5,onChange:function(e,n){return l("change_stack",{amt:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Divider),s.length&&s.sort().map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.toTitleCase)(e.type),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",onClick:function(){return l("release_stack",{stack:e.type})},children:"Eject"}),children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:e.amt})},e.type)}))||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Empty",color:"average",children:"No stacks in machine."})]})})})})}},62012:function(e,n,t){"use strict";n.__esModule=!0,n.MiningVendor=void 0;var o=t(39812),r=t(2497),c=t(71494),a=t(74814),i=t(85952),l=t(21526);var d={Alphabetical:function(e,n){return e-n},"By availability":function(e,n){return-(e.affordable-n.affordable)},"By price":function(e,n){return e.price-n.price}};n.MiningVendor=function(e,n){return(0,o.createComponentVNode)(2,i.Window,{width:400,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{className:"Layout__content--flexColumn",scrollable:!0,children:[(0,o.createComponentVNode)(2,l.MiningUser,{insertIdText:"Please insert an ID in order to make purchases."}),(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,s)]})})};var s=function(e,n){var t=(0,c.useBackend)(n),l=(t.act,t.data),s=l.has_id,u=l.id,p=l.items,C=(0,c.useLocalState)(n,"search",""),h=C[0],N=(C[1],(0,c.useLocalState)(n,"sort","Alphabetical")),V=N[0],b=(N[1],(0,c.useLocalState)(n,"descending",!1)),f=b[0],g=(b[1],(0,r.createSearch)(h,(function(e){return e[0]}))),k=!1,v=Object.entries(p).map((function(e,n){var t=Object.entries(e[1]).filter(g).map((function(e){return e[1].affordable=s&&u.points>=e[1].price,e[1]})).sort(d[V]);if(0!==t.length)return f&&(t=t.reverse()),k=!0,(0,o.createComponentVNode)(2,m,{title:e[0],items:t},e[0])}));return(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",overflow:"auto",children:(0,o.createComponentVNode)(2,a.Section,{onClick:function(e){return(0,i.refocusLayout)()},children:k?v:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No items matching your criteria was found!"})})})},u=function(e,n){var t=(0,c.useLocalState)(n,"search",""),r=(t[0],t[1]),i=(0,c.useLocalState)(n,"sort",""),l=(i[0],i[1]),s=(0,c.useLocalState)(n,"descending",!1),u=s[0],m=s[1];return(0,o.createComponentVNode)(2,a.Box,{mb:"0.5rem",children:(0,o.createComponentVNode)(2,a.Flex,{width:"100%",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",mr:"0.5rem",children:(0,o.createComponentVNode)(2,a.Input,{placeholder:"Search by item name..",width:"100%",onInput:function(e,n){return r(n)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"30%",children:(0,o.createComponentVNode)(2,a.Dropdown,{selected:"Alphabetical",options:Object.keys(d),width:"100%",lineHeight:"19px",onSelected:function(e){return l(e)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{icon:u?"arrow-down":"arrow-up",height:"19px",tooltip:u?"Descending order":"Ascending order",tooltipPosition:"bottom-end",ml:"0.5rem",onClick:function(){return m(!u)}})})]})})},m=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=e.title,d=e.items,s=function(e,n){if(null==e)return{};var t,o,r={},c=Object.keys(e);for(o=0;o=0||(r[t]=e[t]);return r}(e,["title","items"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.Collapsible,Object.assign({open:!0,title:l},s,{children:d.map((function(e){return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",lineHeight:"20px",style:{float:"left"},children:e.name}),(0,o.createComponentVNode)(2,a.Button,{disabled:!i.has_id||i.id.points=450?"Overcharged":e>=250?"Good Charge":"Low Charge":e>=250?"NIF Power Requirement met.":e>=150?"Fluctuations in available power.":"Power failure imminent."},s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=(t.config,t.data),s=i.nif_percent,u=i.nif_stat,m=(i.last_notification,i.nutrition),p=i.isSynthetic,C=i.modules,h=e.setViewing;return(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"NIF Condition",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:s,minValue:0,maxValue:100,ranges:{good:[50,Infinity],average:[25,50],bad:[-Infinity,0]},children:[l(u,s)," (",(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:s}),"%)"]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"NIF Power",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:m,minValue:0,maxValue:700,ranges:{good:[250,Infinity],average:[150,250],bad:[0,150]},children:d(m,p)})})]}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"NIFSoft Modules",mt:1,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:C.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"trash",color:"bad",confirmContent:"UNINSTALL?",confirmIcon:"trash",tooltip:"Uninstall Module",tooltipPosition:"left",onClick:function(){return a("uninstall",{module:e.ref})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"search",onClick:function(){return h(e)},tooltip:"View Information",tooltipPosition:"left"})],4),children:e.activates&&(0,o.createComponentVNode)(2,c.Button,{fluid:!0,selected:e.active,content:e.stat_text,onClick:function(){return a("toggle_module",{module:e.ref})}})||(0,o.createComponentVNode)(2,c.Box,{children:e.stat_text})},e.ref)}))})})]})},u=function(e,n){var t=(0,r.useBackend)(n),a=t.act,l=t.data.theme;return(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"NIF Theme",verticalAlign:"top",children:(0,o.createComponentVNode)(2,c.Dropdown,{width:"100%",placeholder:"Default",selected:l,options:i,onSelected:function(e){return a("setTheme",{theme:e})}})})})}},79630:function(e,n,t){"use strict";n.__esModule=!0,n.NTNetRelay=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=t(67861);n.NTNetRelay=function(e,n){var t=(0,r.useBackend)(n),c=(t.act,t.data),i=c.dos_crashed,s=(c.enabled,c.dos_overload,c.dos_capacity,(0,o.createComponentVNode)(2,l));return i&&(s=(0,o.createComponentVNode)(2,d)),(0,o.createComponentVNode)(2,a.Window,{width:i?700:500,height:i?600:300,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:s})})};var l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=(i.dos_crashed,i.enabled),d=i.dos_overload,s=i.dos_capacity;return(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:l,content:"Relay "+(l?"On":"Off"),onClick:function(){return a("toggle")}}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Network Buffer Status",children:[d," / ",s," GQ"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Options",children:(0,o.createComponentVNode)(2,c.Button,{icon:"exclamation-triangle",content:"Purge network blacklist",onClick:function(){return a("purge")}})})]})})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act;t.data;return(0,o.createComponentVNode)(2,i.FullscreenNotice,{title:"ERROR",children:[(0,o.createComponentVNode)(2,c.Box,{fontSize:"1.5rem",bold:!0,color:"bad",children:[(0,o.createComponentVNode)(2,c.Icon,{name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"}),(0,o.createVNode)(1,"h2",null,"NETWORK BUFFERS OVERLOADED",16),(0,o.createVNode)(1,"h3",null,"Overload Recovery Mode",16),(0,o.createVNode)(1,"i",null,"This system is suffering temporary outage due to overflow of traffic buffers. Until buffered traffic is processed, all further requests will be dropped. Frequent occurences of this error may indicate insufficient hardware capacity of your network. Please contact your network planning department for instructions on how to resolve this issue.",16),(0,o.createVNode)(1,"h3",null,"ADMINISTRATIVE OVERRIDE",16),(0,o.createVNode)(1,"b",null," CAUTION - Data loss may occur ",16)]}),(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"exclamation-triangle",content:"Purge buffered traffic",onClick:function(){return a("restart")}})})]})}},60042:function(e,n,t){"use strict";n.__esModule=!0,n.Newscaster=void 0;var o=t(39812),r=t(2497),c=t(71494),a=t(74814),i=t(85952),l=t(36355),d="Main Menu",s="New Channel",u="View List",m="New Story",p="Print",C="New Wanted",h="View Wanted",N="View Selected Channel";n.Newscaster=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data);r.screen,r.user;return(0,o.createComponentVNode)(2,i.Window,{width:600,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,l.TemporaryNotice,{decode:!0}),(0,o.createComponentVNode)(2,V)]})})};var V=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data.user,(0,c.useSharedState)(n,"screen",d)),i=r[0],l=r[1],s=b[i];return(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,s,{setScreen:l})})},b={"Main Menu":function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data),i=r.securityCaster,l=r.wanted_issue,d=e.setScreen;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Main Menu",children:[l&&(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"eye",onClick:function(){return d(h)},color:"bad",children:"Read WANTED Issue"}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"eye",onClick:function(){return d(u)},children:"View Feed Channels"}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"plus",onClick:function(){return d(s)},children:"Create Feed Channel"}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"plus",onClick:function(){return d(m)},children:"Create Feed Message"}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"print",onClick:function(){return d(p)},children:"Print Newspaper"})]}),!!i&&(0,o.createComponentVNode)(2,a.Section,{title:"Feed Security Functions",children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"plus",onClick:function(){return d(C)},children:'Manage "Wanted" Issue'})})],0)},"New Channel":function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,s=l.channel_name,u=l.c_locked,m=l.user,p=e.setScreen;return(0,o.createComponentVNode)(2,a.Section,{title:"Creating new Feed Channel",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return p(d)},children:"Back"}),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Channel Name",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,value:(0,r.decodeHtmlEntities)(s),onInput:function(e,n){return i("set_channel_name",{val:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Channel Author",color:"good",children:m}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Accept Public Feeds",children:(0,o.createComponentVNode)(2,a.Button,{icon:u?"lock":"lock-open",selected:!u,onClick:function(){return i("set_channel_lock")},children:u?"No":"Yes"})})]}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,color:"good",icon:"plus",onClick:function(){return i("submit_new_channel")},children:"Submit Channel"}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,color:"bad",icon:"undo",onClick:function(){return p(d)},children:"Cancel"})]})},"View List":function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data.channels,s=e.setScreen;return(0,o.createComponentVNode)(2,a.Section,{title:"Station Feed Channels",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return s(d)},children:"Back"}),children:l.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"eye",color:e.admin?"good":e.censored?"bad":"",onClick:function(){i("show_channel",{show_channel:e.ref}),s(N)},children:(0,r.decodeHtmlEntities)(e.name)},e.name)}))})},"New Story":function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=i.channel_name,s=i.user,u=i.title,m=i.msg,p=i.photo_data,C=e.setScreen;return(0,o.createComponentVNode)(2,a.Section,{title:"Creating new Feed Message...",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return C(d)},children:"Back"}),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Receiving Channel",children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,onClick:function(){return r("set_channel_receiving")},children:l||"Unset"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message Author",color:"good",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message Title",verticalAlign:"top",children:(0,o.createComponentVNode)(2,a.Flex,{children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Section,{width:"99%",inline:!0,children:u||"(no title yet)"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{verticalAlign:"top",onClick:function(){return r("set_new_title")},icon:"pen",tooltip:"Edit Title",tooltipPosition:"left"})})]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message Body",verticalAlign:"top",children:(0,o.createComponentVNode)(2,a.Flex,{children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Section,{width:"99%",inline:!0,children:m||"(no message yet)"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{verticalAlign:"top",onClick:function(){return r("set_new_message")},icon:"pen",tooltip:"Edit Message",tooltipPosition:"left"})})]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Attach Photo",children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"image",onClick:function(){return r("set_attachment")},children:p?"Photo Attached":"No Photo"})})]}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,color:"good",icon:"plus",onClick:function(){return r("submit_new_message")},children:"Submit Message"}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,color:"bad",icon:"undo",onClick:function(){return C(d)},children:"Cancel"})]})},Print:function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=i.total_num,s=i.active_num,u=i.message_num,m=i.paper_remaining,p=e.setScreen;return(0,o.createComponentVNode)(2,a.Section,{title:"Printing",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return p(d)},children:"Back"}),children:[(0,o.createComponentVNode)(2,a.Box,{color:"label",mb:1,children:["Newscaster currently serves a total of ",l," Feed channels, ",s," of which are active, and a total of ",u," Feed stories."]}),(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Liquid Paper remaining",children:[100*m," cm\xb3"]})}),(0,o.createComponentVNode)(2,a.Button,{mt:1,fluid:!0,color:"good",icon:"plus",onClick:function(){return r("print_paper")},children:"Print Paper"}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,color:"bad",icon:"undo",onClick:function(){return p(d)},children:"Cancel"})]})},"New Wanted":function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,s=l.channel_name,u=l.msg,m=l.photo_data,p=l.user,C=l.wanted_issue,h=e.setScreen;return(0,o.createComponentVNode)(2,a.Section,{title:"Wanted Issue Handler",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return h(d)},children:"Back"}),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[!!C&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Already In Circulation",children:"A wanted issue is already in circulation. You can edit or cancel it below."}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Criminal Name",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,value:(0,r.decodeHtmlEntities)(s),onInput:function(e,n){return i("set_channel_name",{val:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Description",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,value:(0,r.decodeHtmlEntities)(u),onInput:function(e,n){return i("set_wanted_desc",{val:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Attach Photo",children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"image",onClick:function(){return i("set_attachment")},children:m?"Photo Attached":"No Photo"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Prosecutor",color:"good",children:p})]}),(0,o.createComponentVNode)(2,a.Button,{mt:1,fluid:!0,color:"good",icon:"plus",onClick:function(){return i("submit_wanted")},children:"Submit Wanted Issue"}),!!C&&(0,o.createComponentVNode)(2,a.Button,{fluid:!0,color:"average",icon:"minus",onClick:function(){return i("cancel_wanted")},children:"Take Down Issue"}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,color:"bad",icon:"undo",onClick:function(){return h(d)},children:"Cancel"})]})},"View Wanted":function(e,n){var t=(0,c.useBackend)(n),i=(t.act,t.data.wanted_issue),l=e.setScreen;return i?(0,o.createComponentVNode)(2,a.Section,{title:"--STATIONWIDE WANTED ISSUE--",color:"bad",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return l(d)},children:"Back"}),children:(0,o.createComponentVNode)(2,a.Box,{color:"white",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Submitted by",color:"good",children:(0,r.decodeHtmlEntities)(i.author)}),(0,o.createComponentVNode)(2,a.LabeledList.Divider),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Criminal",children:(0,r.decodeHtmlEntities)(i.criminal)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Description",children:(0,r.decodeHtmlEntities)(i.desc)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Photo",children:i.img&&(0,o.createVNode)(1,"img",null,null,1,{src:i.img})||"None"})]})})}):(0,o.createComponentVNode)(2,a.Section,{title:"No Outstanding Wanted Issues",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return l(d)},children:"Back"}),children:"There are no wanted issues currently outstanding."})},"View Selected Channel":function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,d=l.viewing_channel,s=l.securityCaster,m=l.company,p=e.setScreen;return d?(0,o.createComponentVNode)(2,a.Section,{title:(0,r.decodeHtmlEntities)(d.name),buttons:(0,o.createFragment)([!!s&&(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"bad",icon:"ban",confirmIcon:"ban",content:"Issue D-Notice",onClick:function(){return i("toggle_d_notice",{ref:d.ref})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return p(u)},children:"Back"})],0),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Channel Created By",children:s&&(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"bad",icon:"strikethrough",confirmIcon:"strikethrough",content:(0,r.decodeHtmlEntities)(d.author),tooltip:"Censor?",confirmContent:"Censor Author",onClick:function(){return i("censor_channel_author",{ref:d.ref})}})||(0,o.createComponentVNode)(2,a.Box,{children:(0,r.decodeHtmlEntities)(d.author)})})}),!!d.censored&&(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:["ATTENTION: This channel has been deemed as threatening to the welfare of the station, and marked with a ",m," D-Notice. No further feed story additions are allowed while the D-Notice is in effect."]}),!!d.messages.length&&d.messages.map((function(e){return(0,o.createComponentVNode)(2,a.Section,{children:["- ",(0,r.decodeHtmlEntities)(e.body),!!e.img&&(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createVNode)(1,"img",null,null,1,{src:"data:image/png;base64,"+e.img}),(0,r.decodeHtmlEntities)(e.caption)||null]}),(0,o.createComponentVNode)(2,a.Box,{color:"grey",children:["[Story by ",(0,r.decodeHtmlEntities)(e.author)," - ",e.timestamp,"]"]}),!!s&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button.Confirm,{mt:1,color:"bad",icon:"strikethrough",confirmIcon:"strikethrough",content:"Censor Story",onClick:function(){return i("censor_channel_story_body",{ref:e.ref})}}),(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"bad",icon:"strikethrough",confirmIcon:"strikethrough",content:"Censor Author",onClick:function(){return i("censor_channel_story_author",{ref:e.ref})}})],4)]},e.ref)}))||!d.censored&&(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No feed messages found in channel."})]}):(0,o.createComponentVNode)(2,a.Section,{title:"Channel Not Found",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return p(u)},children:"Back"}),children:"The channel you were looking for no longer exists."})}}},31669:function(e,n,t){"use strict";n.__esModule=!0,n.NoticeBoard=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.NoticeBoard=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data.notices;return(0,o.createComponentVNode)(2,a.Window,{width:330,height:300,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{children:l.length?(0,o.createComponentVNode)(2,c.LabeledList,{children:l.map((function(e,n){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name,children:[e.isphoto&&(0,o.createComponentVNode)(2,c.Button,{icon:"image",content:"Look",onClick:function(){return i("look",{ref:e.ref})}})||e.ispaper&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"sticky-note",content:"Read",onClick:function(){return i("read",{ref:e.ref})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Write",onClick:function(){return i("write",{ref:e.ref})}})],4)||"Unknown Entity",(0,o.createComponentVNode)(2,c.Button,{icon:"minus-circle",content:"Remove",onClick:function(){return i("remove",{ref:e.ref})}})]},n)}))}):(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No notices posted here."})})})})}},63231:function(e,n,t){"use strict";n.__esModule=!0,n.NtosAccessDecrypter=void 0;var o=t(39812),r=t(71494),c=t(85952),a=t(76952),i=t(74814);n.NtosAccessDecrypter=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.message,u=d.running,m=d.rate,p=d.factor,C=d.regions,h=function(e){for(var n="";n.lengthp?n+="0":n+="1";return n};return(0,o.createComponentVNode)(2,c.NtosWindow,{width:600,height:600,theme:"syndicate",children:(0,o.createComponentVNode)(2,c.NtosWindow.Content,{children:s&&(0,o.createComponentVNode)(2,i.NoticeBox,{children:s})||u&&(0,o.createComponentVNode)(2,i.Section,{children:["Attempting to decrypt network access codes. Please wait. Rate: ",m," PHash/s",(0,o.createComponentVNode)(2,i.Box,{children:h(45)}),(0,o.createComponentVNode)(2,i.Box,{children:h(45)}),(0,o.createComponentVNode)(2,i.Box,{children:h(45)}),(0,o.createComponentVNode)(2,i.Box,{children:h(45)}),(0,o.createComponentVNode)(2,i.Box,{children:h(45)}),(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"ban",onClick:function(){return l("PRG_reset")},children:"Abort"})]})||(0,o.createComponentVNode)(2,i.Section,{title:"Pick access code to decrypt",children:C.length&&(0,o.createComponentVNode)(2,a.IdentificationComputerRegions,{actName:"PRG_execute"})||(0,o.createComponentVNode)(2,i.Box,{children:"Please insert ID card."})})})})}},79760:function(e,n,t){"use strict";n.__esModule=!0,n.NtosArcade=void 0;var o=t(39812),r=t(5908),c=t(71494),a=t(74814),i=t(85952);n.NtosArcade=function(e,n){var t=(0,c.useBackend)(n),l=t.act,d=t.data;return(0,o.createComponentVNode)(2,i.NtosWindow,{width:450,height:350,children:(0,o.createComponentVNode)(2,i.NtosWindow.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Outbomb Cuban Pete Ultra",textAlign:"center",children:[(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Grid,{children:[(0,o.createComponentVNode)(2,a.Grid.Column,{size:2,children:[(0,o.createComponentVNode)(2,a.Box,{m:1}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Player Health",children:(0,o.createComponentVNode)(2,a.ProgressBar,{value:d.PlayerHitpoints,minValue:0,maxValue:30,ranges:{olive:[31,Infinity],good:[20,31],average:[10,20],bad:[-Infinity,10]},children:[d.PlayerHitpoints,"HP"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Player Magic",children:(0,o.createComponentVNode)(2,a.ProgressBar,{value:d.PlayerMP,minValue:0,maxValue:10,ranges:{purple:[11,Infinity],violet:[3,11],bad:[-Infinity,3]},children:[d.PlayerMP,"MP"]})})]}),(0,o.createComponentVNode)(2,a.Box,{my:1,mx:4}),(0,o.createComponentVNode)(2,a.Section,{backgroundColor:1===d.PauseState?"#1b3622":"#471915",children:d.Status})]}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:[(0,o.createComponentVNode)(2,a.ProgressBar,{value:d.Hitpoints,minValue:0,maxValue:45,ranges:{good:[30,Infinity],average:[5,30],bad:[-Infinity,5]},children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:d.Hitpoints}),"HP"]}),(0,o.createComponentVNode)(2,a.Box,{m:1}),(0,o.createComponentVNode)(2,a.Section,{inline:!0,width:"156px",textAlign:"center",children:(0,o.createVNode)(1,"img",null,null,1,{src:(0,r.resolveAsset)(d.BossID)})})]})]}),(0,o.createComponentVNode)(2,a.Box,{my:1,mx:4}),(0,o.createComponentVNode)(2,a.Button,{icon:"fist-raised",tooltip:"Go in for the kill!",tooltipPosition:"top",disabled:0===d.GameActive||1===d.PauseState,onClick:function(){return l("Attack")},content:"Attack!"}),(0,o.createComponentVNode)(2,a.Button,{icon:"band-aid",tooltip:"Heal yourself!",tooltipPosition:"top",disabled:0===d.GameActive||1===d.PauseState,onClick:function(){return l("Heal")},content:"Heal!"}),(0,o.createComponentVNode)(2,a.Button,{icon:"magic",tooltip:"Recharge your magic!",tooltipPosition:"top",disabled:0===d.GameActive||1===d.PauseState,onClick:function(){return l("Recharge_Power")},content:"Recharge!"})]}),(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"sync-alt",tooltip:"One more game couldn't hurt.",tooltipPosition:"top",disabled:1===d.GameActive,onClick:function(){return l("Start_Game")},content:"Begin Game"}),(0,o.createComponentVNode)(2,a.Button,{icon:"ticket-alt",tooltip:"Claim at your local Arcade Computer for Prizes!",tooltipPosition:"top",disabled:1===d.GameActive,onClick:function(){return l("Dispense_Tickets")},content:"Claim Tickets"})]}),(0,o.createComponentVNode)(2,a.Box,{color:d.TicketCount>=1?"good":"normal",children:["Earned Tickets: ",d.TicketCount]})]})})})}},97908:function(e,n,t){"use strict";n.__esModule=!0,n.NtosAtmosControl=void 0;var o=t(39812),r=t(85952),c=t(46566);n.NtosAtmosControl=function(){return(0,o.createComponentVNode)(2,r.NtosWindow,{width:870,height:708,resizable:!0,children:(0,o.createComponentVNode)(2,r.NtosWindow.Content,{children:(0,o.createComponentVNode)(2,c.AtmosControlContent)})})}},63645:function(e,n,t){"use strict";n.__esModule=!0,n.NtosCameraConsole=void 0;var o=t(39812),r=t(85952),c=t(3180);n.NtosCameraConsole=function(){return(0,o.createComponentVNode)(2,r.NtosWindow,{width:870,height:708,resizable:!0,children:(0,o.createComponentVNode)(2,r.NtosWindow.Content,{children:(0,o.createComponentVNode)(2,c.CameraConsoleContent)})})}},74093:function(e,n,t){"use strict";n.__esModule=!0,n.NtosCommunicationsConsole=void 0;var o=t(39812),r=t(71494),c=t(85952),a=t(130);n.NtosCommunicationsConsole=function(e,n){var t=(0,r.useBackend)(n);t.act,t.data;return(0,o.createComponentVNode)(2,c.NtosWindow,{width:400,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,c.NtosWindow.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,a.CommunicationsConsoleContent)})})}},55513:function(e,n,t){"use strict";n.__esModule=!0,n.NtosConfiguration=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.NtosConfiguration=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.PC_device_theme,s=l.power_usage,u=l.battery_exists,m=l.battery,p=void 0===m?{}:m,C=l.disk_size,h=l.disk_used,N=l.hardware,V=void 0===N?[]:N;return(0,o.createComponentVNode)(2,a.NtosWindow,{theme:d,width:520,height:630,resizable:!0,children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Power Supply",buttons:(0,o.createComponentVNode)(2,c.Box,{inline:!0,bold:!0,mr:1,children:["Power Draw: ",s,"W"]}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Battery Status",color:!u&&"average",children:u?(0,o.createComponentVNode)(2,c.ProgressBar,{value:p.charge,minValue:0,maxValue:p.max,ranges:{good:[p.max/2,Infinity],average:[p.max/4,p.max/2],bad:[-Infinity,p.max/4]},children:[p.charge," / ",p.max]}):"Not Available"})})}),(0,o.createComponentVNode)(2,c.Section,{title:"File System",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:h,minValue:0,maxValue:C,color:"good",children:[h," GQ / ",C," GQ"]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Hardware Components",children:V.map((function(e){return(0,o.createComponentVNode)(2,c.Section,{title:e.name,level:2,buttons:(0,o.createFragment)([!e.critical&&(0,o.createComponentVNode)(2,c.Button.Checkbox,{content:"Enabled",checked:e.enabled,mr:1,onClick:function(){return i("PC_toggle_component",{name:e.name})}}),(0,o.createComponentVNode)(2,c.Box,{inline:!0,bold:!0,mr:1,children:["Power Usage: ",e.powerusage,"W"]})],0),children:e.desc},e.name)}))})]})})}},17539:function(e,n,t){"use strict";n.__esModule=!0,n.NtosCrewMonitor=void 0;var o=t(39812),r=t(85952),c=t(96158);n.NtosCrewMonitor=function(){return(0,o.createComponentVNode)(2,r.NtosWindow,{width:800,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,r.NtosWindow.Content,{children:(0,o.createComponentVNode)(2,c.CrewMonitorContent)})})}},20025:function(e,n,t){"use strict";n.__esModule=!0,n.NtosDigitalWarrant=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=t(64499);n.NtosDigitalWarrant=function(e,n){var t=(0,r.useBackend)(n),c=(t.act,t.data),i=(c.warrantname,c.warrantcharges,c.warrantauth),d=(c.type,c.allwarrants,(0,o.createComponentVNode)(2,l));return i&&(d=(0,o.createComponentVNode)(2,s)),(0,o.createComponentVNode)(2,a.NtosWindow,{width:500,height:350,resizable:!0,children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{scrollable:!0,children:d})})};var l=function(e,n){var t=(0,r.useBackend)(n),a=t.act;t.data.allwarrants;return(0,o.createComponentVNode)(2,c.Section,{title:"Warrants",children:[(0,o.createComponentVNode)(2,c.Button,{icon:"plus",fluid:!0,onClick:function(){return a("addwarrant")},children:"Create New Warrant"}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Arrest Warrants",children:(0,o.createComponentVNode)(2,d,{type:"arrest"})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Search Warrants",children:(0,o.createComponentVNode)(2,d,{type:"search"})})]})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,l=t.data,d=e.type,s=l.allwarrants,u=(0,i.filter)((function(e){return e.arrestsearch===d}))(s);return(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:"arrest"===d?"Name":"Location"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"arrest"===d?"Charges":"Reason"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Authorized By"}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:"Edit"})]}),u.length&&u.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.warrantname}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.charges}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.auth}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,c.Button,{icon:"pen",onClick:function(){return a("editwarrant",{id:e.id})}})})]},e.id)}))||(0,o.createComponentVNode)(2,c.Table.Row,{children:(0,o.createComponentVNode)(2,c.Table.Cell,{colspan:"3",color:"bad",children:["No ",d," warrants found."]})})]})},s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.warrantname,d=i.warrantcharges,s=i.warrantauth,u=i.type,m="arrest"===u,p="arrest"===u?"Name":"Location",C="arrest"===u?"Charges":"Reason";return(0,o.createComponentVNode)(2,c.Section,{title:m?"Editing Arrest Warrant":"Editing Search Warrant",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"save",onClick:function(){return a("savewarrant")},children:"Save"}),(0,o.createComponentVNode)(2,c.Button,{color:"bad",icon:"trash",onClick:function(){return a("deletewarrant")},children:"Delete"}),(0,o.createComponentVNode)(2,c.Button,{icon:"undo",onClick:function(){return a("back")},children:"Back"})],4),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:p,buttons:m&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"search",onClick:function(){return a("editwarrantname")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"pen",onClick:function(){return a("editwarrantnamecustom")}})],4)||(0,o.createComponentVNode)(2,c.Button,{icon:"pen",onClick:function(){return a("editwarrantnamecustom")}}),children:l}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:C,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"pen",onClick:function(){return a("editwarrantcharges")}}),children:d}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Authorized By",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"balance-scale",onClick:function(){return a("editwarrantauth")}}),children:s})]})})}},11325:function(e,n,t){"use strict";n.__esModule=!0,n.NtosEmailAdministration=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(77006);n.NtosEmailAdministration=function(e,n){var t=(0,r.useBackend)(n),c=(t.act,t.data),i=c.error,m=c.cur_title,p=c.current_account,C=(0,o.createComponentVNode)(2,l);return i?C=(0,o.createComponentVNode)(2,d):m?C=(0,o.createComponentVNode)(2,s):p&&(C=(0,o.createComponentVNode)(2,u)),(0,o.createComponentVNode)(2,a.NtosWindow,{width:600,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{scrollable:!0,children:C})})};var l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.accounts;return(0,o.createComponentVNode)(2,c.Section,{title:"Welcome to the NTNet Email Administration System",children:[(0,o.createComponentVNode)(2,c.Box,{italic:!0,mb:1,children:"SECURE SYSTEM - Have your identification ready"}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"plus",onClick:function(){return a("newaccount")},children:"Create New Account"}),(0,o.createComponentVNode)(2,c.Box,{bold:!0,mt:1,mb:1,children:"Select account to administrate"}),i.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"eye",onClick:function(){return a("viewaccount",{viewaccount:e.uid})},children:e.login},e.uid)}))]})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.error;return(0,o.createComponentVNode)(2,c.Section,{title:"Message",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"undo",onClick:function(){return a("back")},children:"Back"}),children:i})},s=function(e,n){var t=(0,r.useBackend)(n);t.act,t.data;return(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,i.NtosEmailClientViewMessage,{administrator:!0})})},u=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=(i.error,i.msg_title,i.msg_body,i.msg_timestamp,i.msg_source,i.current_account),d=i.cur_suspended,s=i.messages;i.accounts;return(0,o.createComponentVNode)(2,c.Section,{title:"Viewing "+l+" in admin mode",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"undo",onClick:function(){return a("back")},children:"Back"}),children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Account Status",children:(0,o.createComponentVNode)(2,c.Button,{color:d?"bad":"",icon:"ban",tooltip:(d?"Uns":"S")+"uspend Account?",onClick:function(){return a("ban")},children:d?"Suspended":"Normal"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Actions",children:(0,o.createComponentVNode)(2,c.Button,{icon:"key",onClick:function(){return a("changepass")},children:"Change Password"})})]}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Messages",children:s.length&&(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Source"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Title"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Received at"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Actions"})]}),s.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.source}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.title}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.timestamp}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"eye",onClick:function(){return a("viewmail",{viewmail:e.uid})},children:"View"})})]},e.uid)}))]})||(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No messages found in selected account."})})]})}},77006:function(e,n,t){"use strict";n.__esModule=!0,n.NtosEmailClientViewMessage=n.NtosEmailClient=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=t(41860);n.NtosEmailClient=function(e,n){var t=(0,r.useBackend)(n),c=(t.act,t.data),i=c.PC_device_theme,s=c.error,u=c.downloading,m=c.current_account,p=(0,o.createComponentVNode)(2,h);return s?p=(0,o.createComponentVNode)(2,C,{error:s}):u?p=(0,o.createComponentVNode)(2,l):m&&(p=(0,o.createComponentVNode)(2,d)),(0,o.createComponentVNode)(2,a.NtosWindow,{resizable:!0,theme:i,children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{scrollable:!0,children:p})})};var l=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data),l=a.down_filename,d=a.down_progress,s=a.down_size,u=a.down_speed;return(0,o.createComponentVNode)(2,c.Section,{title:"Downloading...",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"File",children:[l," (",s," GQ)"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Speed",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:u})," GQ/s"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Progress",children:(0,o.createComponentVNode)(2,c.ProgressBar,{color:"good",value:d,maxValue:s,children:[d,"/",s," (",(0,i.round)(d/s*100,1),"%)"]})})]})})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.current_account,d=i.addressbook,C=i.new_message,h=i.cur_title,N=(0,o.createComponentVNode)(2,s);return d?N=(0,o.createComponentVNode)(2,m):C?N=(0,o.createComponentVNode)(2,p):h&&(N=(0,o.createComponentVNode)(2,u)),(0,o.createComponentVNode)(2,c.Section,{title:"Logged in as: "+l,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"plus",tooltip:"New Message",tooltipPosition:"left",onClick:function(){return a("new_message")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"cogs",tooltip:"Change Password",tooltipPosition:"left",onClick:function(){return a("changepassword")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"sign-out-alt",tooltip:"Log Out",tooltipPosition:"left",onClick:function(){return a("logout")}})],4),children:N})},s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=(i.current_account,i.folder),d=i.messagecount,s=i.messages;return(0,o.createComponentVNode)(2,c.Section,{level:2,noTopPadding:!0,children:[(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:"Inbox"===l,onClick:function(){return a("set_folder",{set_folder:"Inbox"})},children:"Inbox"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:"Spam"===l,onClick:function(){return a("set_folder",{set_folder:"Spam"})},children:"Spam"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:"Deleted"===l,onClick:function(){return a("set_folder",{set_folder:"Deleted"})},children:"Deleted"})]}),d&&(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Source"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Title"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Received At"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Actions"})]}),s.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.source}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.title}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.timestamp}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:[(0,o.createComponentVNode)(2,c.Button,{icon:"eye",onClick:function(){return a("view",{view:e.uid})},tooltip:"View"}),(0,o.createComponentVNode)(2,c.Button,{icon:"share",onClick:function(){return a("reply",{reply:e.uid})},tooltip:"Reply"}),(0,o.createComponentVNode)(2,c.Button,{color:"bad",icon:"trash",onClick:function(){return a("delete",{"delete":e.uid})},tooltip:"Delete"})]})]},e.timestamp+e.title)}))]})})||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:["No emails found in ",l,"."]})]})},u=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=e.administrator,d=i.cur_title,s=i.cur_source,u=i.cur_timestamp,m=i.cur_body,p=i.cur_hasattachment,C=i.cur_attachment_filename,h=i.cur_attachment_size,N=i.cur_uid;return(0,o.createComponentVNode)(2,c.Section,{title:d,buttons:l?(0,o.createComponentVNode)(2,c.Button,{icon:"times",onClick:function(){return a("back")}}):(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"share",tooltip:"Reply",tooltipPosition:"left",onClick:function(){return a("reply",{reply:N})}}),(0,o.createComponentVNode)(2,c.Button,{color:"bad",icon:"trash",tooltip:"Delete",tooltipPosition:"left",onClick:function(){return a("delete",{"delete":N})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"save",tooltip:"Save To Disk",tooltipPosition:"left",onClick:function(){return a("save",{save:N})}}),p&&(0,o.createComponentVNode)(2,c.Button,{icon:"paperclip",tooltip:"Save Attachment",tooltipPosition:"left",onClick:function(){return a("downloadattachment")}})||null,(0,o.createComponentVNode)(2,c.Button,{icon:"times",tooltip:"Close",tooltipPosition:"left",onClick:function(){return a("cancel",{cancel:N})}})],0),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"From",children:s}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"At",children:u}),p&&!l&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Attachment",color:"average",children:[C," (",h,"GQ)"]})||null,(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Message",verticalAlign:"top",children:(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createVNode)(1,"div",null,null,1,{dangerouslySetInnerHTML:{__html:m}})})})]})})};n.NtosEmailClientViewMessage=u;var m=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.accounts;return(0,o.createComponentVNode)(2,c.Section,{title:"Address Book",level:2,buttons:(0,o.createComponentVNode)(2,c.Button,{color:"bad",icon:"times",onClick:function(){return a("set_recipient",{set_recipient:null})}}),children:i.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{content:e.login,fluid:!0,onClick:function(){return a("set_recipient",{set_recipient:e.login})}},e.login)}))})},p=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=(i.current_account,i.msg_title),d=i.msg_recipient,s=i.msg_body,u=i.msg_hasattachment,m=i.msg_attachment_filename,p=i.msg_attachment_size;return(0,o.createComponentVNode)(2,c.Section,{title:"New Message",level:2,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"share",onClick:function(){return a("send")},children:"Send Message"}),(0,o.createComponentVNode)(2,c.Button,{color:"bad",icon:"times",onClick:function(){return a("cancel")}})],4),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Title",children:(0,o.createComponentVNode)(2,c.Input,{fluid:!0,value:l,onInput:function(e,n){return a("edit_title",{val:n})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Recipient",verticalAlign:"top",children:(0,o.createComponentVNode)(2,c.Flex,{children:[(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Input,{fluid:!0,value:d,onInput:function(e,n){return a("edit_recipient",{val:n})}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"address-book",onClick:function(){return a("addressbook")},tooltip:"Find Receipients",tooltipPosition:"left"})})]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Attachments",buttons:u&&(0,o.createComponentVNode)(2,c.Button,{color:"bad",icon:"times",onClick:function(){return a("remove_attachment")},children:"Remove Attachment"})||(0,o.createComponentVNode)(2,c.Button,{icon:"plus",onClick:function(){return a("addattachment")},children:"Add Attachment"}),children:u&&(0,o.createComponentVNode)(2,c.Box,{inline:!0,children:[m," (",p,"GQ)"]})||null}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Message",verticalAlign:"top",children:(0,o.createComponentVNode)(2,c.Flex,{children:[(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Section,{width:"99%",inline:!0,children:(0,o.createVNode)(1,"div",null,null,1,{dangerouslySetInnerHTML:{__html:s}})})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Button,{verticalAlign:"top",onClick:function(){return a("edit_body")},icon:"pen",tooltip:"Edit Message",tooltipPosition:"left"})})]})})]})})},C=function(e,n){var t=(0,r.useBackend)(n).act,a=e.error;return(0,o.createComponentVNode)(2,c.Section,{title:"Notification",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-left",content:"Return",onClick:function(){return t("reset")}}),children:(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:a})})},h=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.stored_login,d=i.stored_password;return(0,o.createComponentVNode)(2,c.Section,{title:"Please Log In",children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Email address",children:(0,o.createComponentVNode)(2,c.Input,{fluid:!0,value:l,onInput:function(e,n){return a("edit_login",{val:n})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Password",children:(0,o.createComponentVNode)(2,c.Input,{fluid:!0,value:d,onInput:function(e,n){return a("edit_password",{val:n})}})})]}),(0,o.createComponentVNode)(2,c.Button,{icon:"sign-in-alt",onClick:function(){return a("login")},children:"Log In"})]})}},86441:function(e,n,t){"use strict";n.__esModule=!0,n.NtosFileManager=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);t(2497);n.NtosFileManager=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.PC_device_theme,u=d.usbconnected,m=d.filename,p=d.filedata,C=d.error,h=d.files,N=void 0===h?[]:h,V=d.usbfiles,b=void 0===V?[]:V;return(0,o.createComponentVNode)(2,a.NtosWindow,{resizable:!0,theme:s,children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{scrollable:!0,children:(m||C)&&(0,o.createComponentVNode)(2,c.Section,{title:"Viewing File "+m,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Edit",onClick:function(){return l("PRG_edit")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"print",content:"Print",onClick:function(){return l("PRG_printfile")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"times",content:"Close",onClick:function(){return l("PRG_closefile")}})],4),children:[C||null,p&&(0,o.createVNode)(1,"div",null,null,1,{dangerouslySetInnerHTML:{__html:p}})]})||(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,i,{files:N,usbconnected:u,onUpload:function(e){return l("PRG_copytousb",{name:e})},onDelete:function(e){return l("PRG_deletefile",{name:e})},onOpen:function(e){return l("PRG_openfile",{name:e})},onRename:function(e,n){return l("PRG_rename",{name:e,new_name:n})},onDuplicate:function(e){return l("PRG_clone",{file:e})}})}),u&&(0,o.createComponentVNode)(2,c.Section,{title:"Data Disk",children:(0,o.createComponentVNode)(2,i,{usbmode:!0,files:b,usbconnected:u,onUpload:function(e){return l("PRG_copyfromusb",{name:e})},onDelete:function(e){return l("PRG_deletefile",{name:e})},onRename:function(e,n){return l("PRG_rename",{name:e,new_name:n})},onDuplicate:function(e){return l("PRG_clone",{file:e})}})})||null,(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"plus",onClick:function(){return l("PRG_newtextfile")},children:"New Text File"})})],0)})})};var i=function(e){var n=e.files,t=void 0===n?[]:n,r=e.usbconnected,a=e.usbmode,i=e.onUpload,l=e.onDelete,d=e.onRename,s=e.onOpen;return(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:"File"}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:"Type"}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:"Size"})]}),t.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{className:"candystripe",children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.undeletable?e.name:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button.Input,{width:"80%",content:e.name,currentValue:e.name,tooltip:"Rename",onCommit:function(n,t){return d(e.name,t)}}),(0,o.createComponentVNode)(2,c.Button,{content:"Open",onClick:function(){return s(e.name)}})],4)}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.type}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.size}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:!e.undeletable&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"trash",confirmIcon:"times",confirmContent:"",tooltip:"Delete",onClick:function(){return l(e.name)}}),!!r&&(a?(0,o.createComponentVNode)(2,c.Button,{icon:"download",tooltip:"Download",onClick:function(){return i(e.name)}}):(0,o.createComponentVNode)(2,c.Button,{icon:"upload",tooltip:"Upload",onClick:function(){return i(e.name)}}))],0)})]},e.name)}))]})}},87369:function(e,n,t){"use strict";n.__esModule=!0,n.NtosIdentificationComputer=void 0;var o=t(39812),r=(t(64499),t(71494)),c=(t(74814),t(85952)),a=(t(2497),t(76270),t(76952));n.NtosIdentificationComputer=function(e,n){var t=(0,r.useBackend)(n);t.act,t.data;return(0,o.createComponentVNode)(2,c.NtosWindow,{width:600,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,c.NtosWindow.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,a.IdentificationComputerContent,{ntos:!0})})})}},59543:function(e,n,t){"use strict";n.__esModule=!0,n.NtosMain=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i={compconfig:"cog",ntndownloader:"download",filemanager:"folder",smmonitor:"radiation",alarmmonitor:"bell",cardmod:"id-card",arcade:"gamepad",ntnrc_client:"comment-alt",nttransfer:"exchange-alt",powermonitor:"plug",job_manage:"address-book",crewmani:"clipboard-list",robocontrol:"robot",atmosscan:"thermometer-half",shipping:"tags"};n.NtosMain=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.device_theme,u=d.programs,m=void 0===u?[]:u,p=d.has_light,C=d.light_on,h=d.comp_light_color,N=d.removable_media,V=void 0===N?[]:N,b=d.login,f=void 0===b?[]:b;return(0,o.createComponentVNode)(2,a.NtosWindow,{title:"syndicate"===s?"Syndix Main Menu":"NtOS Main Menu",theme:s,width:400,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{scrollable:!0,children:[!!p&&(0,o.createComponentVNode)(2,c.Section,{children:[(0,o.createComponentVNode)(2,c.Button,{width:"144px",icon:"lightbulb",selected:C,onClick:function(){return l("PC_toggle_light")},children:["Flashlight: ",C?"ON":"OFF"]}),(0,o.createComponentVNode)(2,c.Button,{ml:1,onClick:function(){return l("PC_light_color")},children:["Color:",(0,o.createComponentVNode)(2,c.ColorBox,{ml:1,color:h})]})]}),(0,o.createComponentVNode)(2,c.Section,{title:"User Login",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"eject",content:"Eject ID",disabled:!f.IDName,onClick:function(){return l("PC_Eject_Disk",{name:"ID"})}}),children:(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{children:["ID Name: ",f.IDName]}),(0,o.createComponentVNode)(2,c.Table.Row,{children:["Assignment: ",f.IDJob]})]})}),!!V.length&&(0,o.createComponentVNode)(2,c.Section,{title:"Media Eject",children:(0,o.createComponentVNode)(2,c.Table,{children:V.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{children:(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,color:"transparent",icon:"eject",content:e,onClick:function(){return l("PC_Eject_Disk",{name:e})}})})},e)}))})}),(0,o.createComponentVNode)(2,c.Section,{title:"Programs",children:(0,o.createComponentVNode)(2,c.Table,{children:m.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,color:"transparent",icon:i[e.name]||"window-maximize-o",content:e.desc,onClick:function(){return l("PC_runprogram",{name:e.name})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,width:"18px",children:!!e.running&&(0,o.createComponentVNode)(2,c.Button,{color:"transparent",icon:"times",tooltip:"Close program",tooltipPosition:"left",onClick:function(){return l("PC_killprogram",{name:e.name})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,width:"18px",children:(0,o.createComponentVNode)(2,c.Button,{color:"transparent",tooltip:"Set Autorun",tooltipPosition:"left",selected:e.autorun,onClick:function(){return l("PC_setautorun",{name:e.name})},children:"AR"})})]},e.name)}))})})]})})}},73883:function(e,n,t){"use strict";n.__esModule=!0,n.NtosNetChat=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.NtosNetChat=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.can_admin,s=l.adminmode,u=l.authed,m=l.username,p=l.active_channel,C=l.is_operator,h=l.all_channels,N=void 0===h?[]:h,V=l.clients,b=void 0===V?[]:V,f=l.messages,g=void 0===f?[]:f,k=null!==p,v=u||s;return(0,o.createComponentVNode)(2,a.NtosWindow,{width:900,height:675,children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{children:(0,o.createComponentVNode)(2,c.Section,{height:"600px",children:(0,o.createComponentVNode)(2,c.Table,{height:"580px",children:(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{verticalAlign:"top",style:{width:"200px"},children:[(0,o.createComponentVNode)(2,c.Box,{height:"560px",overflowY:"scroll",children:[(0,o.createComponentVNode)(2,c.Button.Input,{fluid:!0,content:"New Channel...",onCommit:function(e,n){return i("PRG_newchannel",{new_channel_name:n})}}),N.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{fluid:!0,content:e.chan,selected:e.id===p,color:"transparent",onClick:function(){return i("PRG_joinchannel",{id:e.id})}},e.chan)}))]}),(0,o.createComponentVNode)(2,c.Button.Input,{fluid:!0,mt:1,content:m+"...",currentValue:m,onCommit:function(e,n){return i("PRG_changename",{new_name:n})}}),!!d&&(0,o.createComponentVNode)(2,c.Button,{fluid:!0,bold:!0,content:"ADMIN MODE: "+(s?"ON":"OFF"),color:s?"bad":"good",onClick:function(){return i("PRG_toggleadmin")}})]}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:[(0,o.createComponentVNode)(2,c.Box,{height:"560px",overflowY:"scroll",children:k&&(v?g.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:e.msg},e.msg)})):(0,o.createComponentVNode)(2,c.Box,{textAlign:"center",children:[(0,o.createComponentVNode)(2,c.Icon,{name:"exclamation-triangle",mt:4,fontSize:"40px"}),(0,o.createComponentVNode)(2,c.Box,{mt:1,bold:!0,fontSize:"18px",children:"THIS CHANNEL IS PASSWORD PROTECTED"}),(0,o.createComponentVNode)(2,c.Box,{mt:1,children:"INPUT PASSWORD TO ACCESS"})]}))}),(0,o.createComponentVNode)(2,c.Input,{fluid:!0,selfClear:!0,mt:1,onEnter:function(e,n){return i("PRG_speak",{message:n})}})]}),(0,o.createComponentVNode)(2,c.Table.Cell,{verticalAlign:"top",style:{width:"150px"},children:[(0,o.createComponentVNode)(2,c.Box,{height:"465px",overflowY:"scroll",children:b.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:e.name},e.name)}))}),k&&v&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button.Input,{fluid:!0,content:"Save log...",defaultValue:"new_log",onCommit:function(e,n){return i("PRG_savelog",{log_name:n})}}),(0,o.createComponentVNode)(2,c.Button.Confirm,{fluid:!0,content:"Leave Channel",onClick:function(){return i("PRG_leavechannel")}})],4),!!C&&u&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button.Confirm,{fluid:!0,content:"Delete Channel",onClick:function(){return i("PRG_deletechannel")}}),(0,o.createComponentVNode)(2,c.Button.Input,{fluid:!0,content:"Rename Channel...",onCommit:function(e,n){return i("PRG_renamechannel",{new_name:n})}}),(0,o.createComponentVNode)(2,c.Button.Input,{fluid:!0,content:"Set Password...",onCommit:function(e,n){return i("PRG_setpassword",{new_password:n})}})],4)]})]})})})})})}},83908:function(e,n,t){"use strict";n.__esModule=!0,n.NtosNetDosContent=n.NtosNetDos=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.NtosNetDos=function(e,n){return(0,o.createComponentVNode)(2,a.NtosWindow,{width:400,height:250,theme:"syndicate",children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{children:(0,o.createComponentVNode)(2,i)})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.relays,d=void 0===l?[]:l,s=i.focus,u=i.target,m=i.speed,p=i.overload,C=i.capacity,h=i.error;if(h)return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.NoticeBox,{children:h}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,content:"Reset",textAlign:"center",onClick:function(){return a("PRG_reset")}})],4);var N=function(e){for(var n="",t=p/C;n.lengtht?n+="0":n+="1";return n};return u?(0,o.createComponentVNode)(2,c.Section,{fontFamily:"monospace",textAlign:"center",children:[(0,o.createComponentVNode)(2,c.Box,{children:["CURRENT SPEED: ",m," GQ/s"]}),(0,o.createComponentVNode)(2,c.Box,{children:N(45)}),(0,o.createComponentVNode)(2,c.Box,{children:N(45)}),(0,o.createComponentVNode)(2,c.Box,{children:N(45)}),(0,o.createComponentVNode)(2,c.Box,{children:N(45)}),(0,o.createComponentVNode)(2,c.Box,{children:N(45)})]}):(0,o.createComponentVNode)(2,c.Section,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Target",children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{content:e.id,selected:s===e.id,onClick:function(){return a("PRG_target_relay",{targid:e.id})}},e.id)}))})}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,bold:!0,content:"EXECUTE",color:"bad",textAlign:"center",disabled:!s,mt:1,onClick:function(){return a("PRG_execute")}})]})};n.NtosNetDosContent=i},83305:function(e,n,t){"use strict";n.__esModule=!0,n.NtosNetDownloader=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(85952);n.NtosNetDownloader=function(e,n){var t=(0,c.useBackend)(n),r=t.act,d=t.data,s=d.PC_device_theme,u=d.disk_size,m=d.disk_used,p=d.downloadable_programs,C=void 0===p?[]:p,h=d.error,N=d.hacked_programs,V=void 0===N?[]:N,b=d.hackedavailable;return(0,o.createComponentVNode)(2,i.NtosWindow,{theme:s,width:480,height:735,resizable:!0,children:(0,o.createComponentVNode)(2,i.NtosWindow.Content,{scrollable:!0,children:[!!h&&(0,o.createComponentVNode)(2,a.NoticeBox,{children:[(0,o.createComponentVNode)(2,a.Box,{mb:1,children:h}),(0,o.createComponentVNode)(2,a.Button,{content:"Reset",onClick:function(){return r("PRG_reseterror")}})]}),(0,o.createComponentVNode)(2,a.Section,{children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Disk usage",children:(0,o.createComponentVNode)(2,a.ProgressBar,{value:m,minValue:0,maxValue:u,children:m+" GQ / "+u+" GQ"})})})}),(0,o.createComponentVNode)(2,a.Section,{children:C.map((function(e){return(0,o.createComponentVNode)(2,l,{program:e},e.filename)}))}),!!b&&(0,o.createComponentVNode)(2,a.Section,{title:"UNKNOWN Software Repository",children:[(0,o.createComponentVNode)(2,a.NoticeBox,{mb:1,children:"Please note that Nanotrasen does not recommend download of software from non-official servers."}),V.map((function(e){return(0,o.createComponentVNode)(2,l,{program:e},e.filename)}))]})]})})};var l=function(e,n){var t=e.program,i=(0,c.useBackend)(n),l=i.act,d=i.data,s=d.disk_size,u=d.disk_used,m=d.downloadcompletion,p=(d.downloading,d.downloadname),C=d.downloadsize,h=d.downloadspeed,N=d.downloads_queue,V=s-u;return(0,o.createComponentVNode)(2,a.Box,{mb:3,children:[(0,o.createComponentVNode)(2,a.Flex,{align:"baseline",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{bold:!0,grow:1,children:t.filedesc}),(0,o.createComponentVNode)(2,a.Flex.Item,{color:"label",nowrap:!0,children:[t.size," GQ"]}),(0,o.createComponentVNode)(2,a.Flex.Item,{ml:2,width:"94px",textAlign:"center",children:t.filename===p&&(0,o.createComponentVNode)(2,a.ProgressBar,{color:"green",minValue:0,maxValue:C,value:m,children:[(0,r.round)(m/C*100,1),"% (",h,"GQ/s)"]})||-1!==N.indexOf(t.filename)&&(0,o.createComponentVNode)(2,a.Button,{icon:"ban",color:"bad",onClick:function(){return l("PRG_removequeued",{filename:t.filename})},children:"Queued..."})||(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"download",content:"Download",disabled:t.size>V,onClick:function(){return l("PRG_downloadfile",{filename:t.filename})}})})]}),"Compatible"!==t.compatibility&&(0,o.createComponentVNode)(2,a.Box,{mt:1,italic:!0,fontSize:"12px",position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{mx:1,color:"red",name:"times"}),"Incompatible!"]}),t.size>V&&(0,o.createComponentVNode)(2,a.Box,{mt:1,italic:!0,fontSize:"12px",position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{mx:1,color:"red",name:"times"}),"Not enough disk space!"]}),(0,o.createComponentVNode)(2,a.Box,{mt:1,italic:!0,color:"label",fontSize:"12px",children:t.fileinfo})]})}},6806:function(e,n,t){"use strict";n.__esModule=!0,n.NtosNetMonitor=void 0;var o=t(39812),r=t(74814),c=t(71494),a=t(85952);n.NtosNetMonitor=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,d=l.ntnetrelays,s=l.ntnetstatus,u=l.config_softwaredownload,m=l.config_peertopeer,p=l.config_communication,C=l.config_systemcontrol,h=l.idsalarm,N=l.idsstatus,V=l.ntnetmaxlogs,b=l.maxlogs,f=l.minlogs,g=l.banned_nids,k=l.ntnetlogs,v=void 0===k?[]:k;return(0,o.createComponentVNode)(2,a.NtosWindow,{resizable:!0,children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,r.NoticeBox,{children:"WARNING: Disabling wireless transmitters when using a wireless device may prevent you from reenabling them!"}),(0,o.createComponentVNode)(2,r.Section,{title:"Wireless Connectivity",buttons:(0,o.createComponentVNode)(2,r.Button.Confirm,{icon:s?"power-off":"times",content:s?"ENABLED":"DISABLED",selected:s,onClick:function(){return i("toggleWireless")}}),children:d?(0,o.createComponentVNode)(2,r.LabeledList,{children:(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Active NTNet Relays",children:d})}):"No Relays Connected"}),(0,o.createComponentVNode)(2,r.Section,{title:"Firewall Configuration",children:(0,o.createComponentVNode)(2,r.LabeledList,{children:[(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Software Downloads",buttons:(0,o.createComponentVNode)(2,r.Button,{icon:u?"power-off":"times",content:u?"ENABLED":"DISABLED",selected:u,onClick:function(){return i("toggle_function",{id:"1"})}})}),(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Peer to Peer Traffic",buttons:(0,o.createComponentVNode)(2,r.Button,{icon:m?"power-off":"times",content:m?"ENABLED":"DISABLED",selected:m,onClick:function(){return i("toggle_function",{id:"2"})}})}),(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Communication Systems",buttons:(0,o.createComponentVNode)(2,r.Button,{icon:p?"power-off":"times",content:p?"ENABLED":"DISABLED",selected:p,onClick:function(){return i("toggle_function",{id:"3"})}})}),(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Remote System Control",buttons:(0,o.createComponentVNode)(2,r.Button,{icon:C?"power-off":"times",content:C?"ENABLED":"DISABLED",selected:C,onClick:function(){return i("toggle_function",{id:"4"})}})})]})}),(0,o.createComponentVNode)(2,r.Section,{title:"Security Systems",children:[!!h&&(0,o.createFragment)([(0,o.createComponentVNode)(2,r.NoticeBox,{children:"NETWORK INCURSION DETECTED"}),(0,o.createComponentVNode)(2,r.Box,{italics:!0,children:"Abnormal activity has been detected in the network. Check system logs for more information"})],4),(0,o.createComponentVNode)(2,r.LabeledList,{children:[(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Banned NIDs",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,r.Button,{icon:"ban",onClick:function(){return i("ban_nid")},children:"Ban NID"}),(0,o.createComponentVNode)(2,r.Button,{icon:"balance-scale",onClick:function(){return i("unban_nid")},children:"Unban NID"})],4),children:g.join(", ")||"None"}),(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"IDS Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,r.Button,{icon:N?"power-off":"times",content:N?"ENABLED":"DISABLED",selected:N,onClick:function(){return i("toggleIDS")}}),(0,o.createComponentVNode)(2,r.Button,{icon:"sync",content:"Reset",color:"bad",onClick:function(){return i("resetIDS")}})],4)}),(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Max Log Count",buttons:(0,o.createComponentVNode)(2,r.NumberInput,{value:V,minValue:f,maxValue:b,width:"39px",onChange:function(e,n){return i("updatemaxlogs",{new_number:n})}})})]}),(0,o.createComponentVNode)(2,r.Section,{title:"System Log",level:2,buttons:(0,o.createComponentVNode)(2,r.Button.Confirm,{icon:"trash",content:"Clear Logs",onClick:function(){return i("purgelogs")}}),children:v.map((function(e){return(0,o.createComponentVNode)(2,r.Box,{className:"candystripe",children:e.entry},e.entry)}))})]})]})})}},4363:function(e,n,t){"use strict";n.__esModule=!0,n.NtosNetTransfer=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.NtosNetTransfer=function(e,n){var t=(0,r.useBackend)(n),c=(t.act,t.data),m=c.error,p=c.downloading,C=c.uploading,h=c.upload_filelist,N=(0,o.createComponentVNode)(2,u);return m?N=(0,o.createComponentVNode)(2,i):p?N=(0,o.createComponentVNode)(2,l):C?N=(0,o.createComponentVNode)(2,d):h.length&&(N=(0,o.createComponentVNode)(2,s)),(0,o.createComponentVNode)(2,a.NtosWindow,{width:575,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{scrollable:!0,children:N})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.error;return(0,o.createComponentVNode)(2,c.Section,{title:"An error has occured during operation.",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"undo",onClick:function(){return a("PRG_reset")},children:"Reset"}),children:["Additional Information: ",i]})},l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.download_name,d=i.download_progress,s=i.download_size,u=i.download_netspeed;return(0,o.createComponentVNode)(2,c.Section,{title:"Download in progress",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Downloaded File",children:l}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Progress",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:d,maxValue:s,children:[d," / ",s," GQ"]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Transfer Speed",children:[u," GQ/s"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Controls",children:(0,o.createComponentVNode)(2,c.Button,{icon:"ban",onClick:function(){return a("PRG_reset")},children:"Cancel Download"})})]})})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.upload_clients,d=i.upload_filename,s=i.upload_haspassword;return(0,o.createComponentVNode)(2,c.Section,{title:"Server enabled",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Clients Connected",children:l}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Provided file",children:d}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Server Password",children:s?"Enabled":"Disabled"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Commands",children:[(0,o.createComponentVNode)(2,c.Button,{icon:"lock",onClick:function(){return a("PRG_setpassword")},children:"Set Password"}),(0,o.createComponentVNode)(2,c.Button,{icon:"ban",onClick:function(){return a("PRG_reset")},children:"Cancel Upload"})]})]})})},s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.upload_filelist;return(0,o.createComponentVNode)(2,c.Section,{title:"File transfer server ready.",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"undo",onClick:function(){return a("PRG_reset")},children:"Cancel"}),children:[(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"lock",onClick:function(){return a("PRG_setpassword")},children:"Set Password"}),(0,o.createComponentVNode)(2,c.Section,{title:"Pick file to serve.",level:2,children:i.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"upload",onClick:function(){return a("PRG_uploadfile",{uid:e.uid})},children:[e.filename," (",e.size,"GQ)"]},e.uid)}))})]})},u=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.servers;return(0,o.createComponentVNode)(2,c.Section,{title:"Available Files",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"upload",onClick:function(){return a("PRG_uploadmenu")},children:"Send File"}),children:i.length&&(0,o.createComponentVNode)(2,c.LabeledList,{children:i.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.uid,children:[!!e.haspassword&&(0,o.createComponentVNode)(2,c.Icon,{name:"lock",mr:1}),e.filename,"\xa0 (",e.size,"GQ)\xa0",(0,o.createComponentVNode)(2,c.Button,{icon:"download",onClick:function(){return a("PRG_downloadfile",{uid:e.uid})},children:"Download"})]},e.uid)}))})||(0,o.createComponentVNode)(2,c.Box,{children:"No upload servers found."})})}},23225:function(e,n,t){"use strict";n.__esModule=!0,n.NtosNewsBrowser=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=t(5908);n.NtosNewsBrowser=function(e,n){var t=(0,r.useBackend)(n),i=t.act,u=t.data,m=u.article,p=u.download,C=u.message,h=(0,o.createComponentVNode)(2,d);return m?h=(0,o.createComponentVNode)(2,l):p&&(h=(0,o.createComponentVNode)(2,s)),(0,o.createComponentVNode)(2,a.NtosWindow,{width:575,height:750,resizable:!0,children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{scrollable:!0,children:[!!C&&(0,o.createComponentVNode)(2,c.NoticeBox,{children:[C," ",(0,o.createComponentVNode)(2,c.Button,{icon:"times",onClick:function(){return i("PRG_clearmessage")}})]}),h]})})};var l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,l=t.data.article;if(!l)return(0,o.createComponentVNode)(2,c.Section,{children:"Error: Article not found."});var d=l.title,s=l.cover,u=l.content;return(0,o.createComponentVNode)(2,c.Section,{title:"Viewing: "+d,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"save",onClick:function(){return a("PRG_savearticle")},children:"Save"}),(0,o.createComponentVNode)(2,c.Button,{icon:"times",onClick:function(){return a("PRG_reset")},children:"Close"})],4),children:[!!s&&(0,o.createVNode)(1,"img",null,null,1,{src:(0,i.resolveAsset)(s)}),(0,o.createVNode)(1,"div",null,null,1,{dangerouslySetInnerHTML:{__html:u}})]})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.showing_archived,d=i.all_articles;return(0,o.createComponentVNode)(2,c.Section,{title:"Articles List",buttons:(0,o.createComponentVNode)(2,c.Button.Checkbox,{onClick:function(){return a("PRG_toggle_archived")},checked:l,children:"Show Archived"}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:d.length&&d.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"download",onClick:function(){return a("PRG_openarticle",{uid:e.uid})}}),children:[e.size," GQ"]},e.uid)}))||(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Error",children:"There appear to be no outstanding news articles on NTNet today."})})})},s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.download,l=i.download_progress,d=i.download_maxprogress,s=i.download_rate;return(0,o.createComponentVNode)(2,c.Section,{title:"Downloading...",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Progress",children:(0,o.createComponentVNode)(2,c.ProgressBar,{color:"good",minValue:0,value:l,maxValue:d,children:[l," / ",d," GQ"]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Download Speed",children:[s," GQ/s"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Controls",children:(0,o.createComponentVNode)(2,c.Button,{icon:"ban",fluid:!0,onClick:function(){return a("PRG_reset")},children:"Abort Download"})})]})})}},3839:function(e,n,t){"use strict";n.__esModule=!0,n.NtosOvermapNavigation=void 0;var o=t(39812),r=t(85952),c=t(12640);n.NtosOvermapNavigation=function(){return(0,o.createComponentVNode)(2,r.NtosWindow,{width:380,height:530,resizable:!0,children:(0,o.createComponentVNode)(2,r.NtosWindow.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c.OvermapNavigationContent)})})}},54698:function(e,n,t){"use strict";n.__esModule=!0,n.NtosPowerMonitor=void 0;var o=t(39812),r=t(85952),c=t(89793);n.NtosPowerMonitor=function(){return(0,o.createComponentVNode)(2,r.NtosWindow,{width:550,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,r.NtosWindow.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c.PowerMonitorContent)})})}},17086:function(e,n,t){"use strict";n.__esModule=!0,n.NtosRCON=void 0;var o=t(39812),r=t(85952),c=t(43996);n.NtosRCON=function(){return(0,o.createComponentVNode)(2,r.NtosWindow,{width:630,height:440,resizable:!0,children:(0,o.createComponentVNode)(2,r.NtosWindow.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c.RCONContent)})})}},69480:function(e,n,t){"use strict";n.__esModule=!0,n.NtosRevelation=void 0;var o=t(39812),r=t(74814),c=t(71494),a=t(85952);n.NtosRevelation=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data;return(0,o.createComponentVNode)(2,a.NtosWindow,{width:400,height:250,theme:"syndicate",children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{children:(0,o.createComponentVNode)(2,r.Section,{children:[(0,o.createComponentVNode)(2,r.Button.Input,{fluid:!0,content:"Obfuscate Name...",onCommit:function(e,n){return i("PRG_obfuscate",{new_name:n})},mb:1}),(0,o.createComponentVNode)(2,r.LabeledList,{children:(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Payload Status",buttons:(0,o.createComponentVNode)(2,r.Button,{content:l.armed?"ARMED":"DISARMED",color:l.armed?"bad":"average",onClick:function(){return i("PRG_arm")}})})}),(0,o.createComponentVNode)(2,r.Button,{fluid:!0,bold:!0,content:"ACTIVATE",textAlign:"center",color:"bad",disabled:!l.armed})]})})})}},93990:function(e,n,t){"use strict";n.__esModule=!0,n.NtosShutoffMonitor=void 0;var o=t(39812),r=t(85952),c=t(89957);n.NtosShutoffMonitor=function(e,n){return(0,o.createComponentVNode)(2,r.NtosWindow,{width:627,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,r.NtosWindow.Content,{children:(0,o.createComponentVNode)(2,c.ShutoffMonitorContent)})})}},76124:function(e,n,t){"use strict";n.__esModule=!0,n.NtosStationAlertConsole=void 0;var o=t(39812),r=t(85952),c=t(32015);n.NtosStationAlertConsole=function(){return(0,o.createComponentVNode)(2,r.NtosWindow,{width:315,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,r.NtosWindow.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c.StationAlertConsoleContent)})})}},22475:function(e,n,t){"use strict";n.__esModule=!0,n.NtosSupermatterMonitor=void 0;var o=t(39812),r=t(85952),c=t(6951);n.NtosSupermatterMonitor=function(){return(0,o.createComponentVNode)(2,r.NtosWindow,{width:600,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,r.NtosWindow.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c.SupermatterMonitorContent)})})}},66744:function(e,n,t){"use strict";n.__esModule=!0,n.NtosUAV=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.NtosUAV=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.current_uav,s=l.signal_strength,u=l.in_use,m=l.paired_uavs;return(0,o.createComponentVNode)(2,a.NtosWindow,{width:600,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:"Selected UAV",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"UAV",children:d&&d.status||"[Not Connected]"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Signal",children:d&&s||"[Not Connected]"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power",children:d&&(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:d.power,onClick:function(){return i("power_uav")},children:d.power?"Online":"Offline"})||"[Not Connected]"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Camera",children:d&&(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:u,disabled:!d.power,onClick:function(){return i("view_uav")},children:d.power?"Available":"Unavailable"})||"[Not Connected]"})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Paired UAVs",children:m.length&&m.map((function(e){return(0,o.createComponentVNode)(2,c.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"quidditch",onClick:function(){return i("switch_uav",{switch_uav:e.uavref})},children:e.name})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Button,{color:"bad",icon:"times",onClick:function(){return i("del_uav",{del_uav:e.uavref})}})})]},e.uavref)}))||(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No UAVs Paired."})})]})})}},19458:function(e,n,t){"use strict";n.__esModule=!0,n.NtosWordProcessor=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.NtosWordProcessor=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.PC_device_theme,s=l.error,u=l.browsing,m=l.files,p=(l.usbconnected,l.usbfiles,l.filename),C=l.filedata;return(0,o.createComponentVNode)(2,a.NtosWindow,{resizable:!0,theme:d,children:(0,o.createComponentVNode)(2,a.NtosWindow.Content,{scrollable:!0,children:s&&(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:[(0,o.createVNode)(1,"h2",null,"An Error has occured:",16),"Additional Information: ",s,"Please try again. If the problem persists, contact your system administrator for assistance.",(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-left",content:"Back to menu",onClick:function(){return i("PRG_backtomenu")}})]})||u&&(0,o.createComponentVNode)(2,c.Section,{title:"File Browser",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-left",content:"Back to editor",onClick:function(){return i("PRG_closebrowser")}}),children:(0,o.createComponentVNode)(2,c.Section,{title:"Available documents (local)",level:2,children:(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Size (GQ)"}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0})]}),m.map((function(e,n){return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.size}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,c.Button,{icon:"file-word",onClick:function(){return i("PRG_openfile",{PRG_openfile:e.name})},children:"Open"})})]},n)}))]})})})||(0,o.createComponentVNode)(2,c.Section,{title:"Document: "+p,children:[(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("PRG_newfile")},children:"New"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("PRG_loadmenu")},children:"Load"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("PRG_savefile")},children:"Save"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("PRG_saveasfile")},children:"Save As"})]}),(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("PRG_editfile")},children:"Edit"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("PRG_txtrpeview")},children:"Preview"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("PRG_taghelp")},children:"Formatting Help"}),(0,o.createComponentVNode)(2,c.Button,{disabled:!C,onClick:function(){return i("PRG_printfile")},children:"Print"})]}),(0,o.createComponentVNode)(2,c.Section,{mt:1,children:(0,o.createVNode)(1,"div",null,null,1,{dangerouslySetInnerHTML:{__html:C}})})]})})})}},18326:function(e,n,t){"use strict";n.__esModule=!0,n.OmniFilter=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=function(e){return e.input?"Input":e.output?"Output":e.f_type?e.f_type:"Disabled"};n.OmniFilter=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.power,u=d.config,m=d.ports,p=d.set_flow_rate,C=d.last_flow_rate;return(0,o.createComponentVNode)(2,a.Window,{width:360,height:330,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:u?"Configuration":"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",content:s?"On":"Off",selected:s,disabled:u,onClick:function(){return l("power")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"wrench",selected:u,onClick:function(){return l("configure")}})],4),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:m?m.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.dir+" Port",children:u?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{content:"IN",selected:e.input,icon:"compress-arrows-alt",onClick:function(){return l("switch_mode",{mode:"in",dir:e.dir})}}),(0,o.createComponentVNode)(2,c.Button,{content:"OUT",selected:e.output,icon:"expand-arrows-alt",onClick:function(){return l("switch_mode",{mode:"out",dir:e.dir})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"wrench",disabled:e.input||e.output,content:e.f_type||"None",onClick:function(){return l("switch_filter",{mode:e.f_type,dir:e.dir})}})],4):i(e)},e.dir)})):(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No Ports Detected"})})}),(0,o.createComponentVNode)(2,c.Section,{title:"Flow Rate",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Current Flow Rate",children:[C," L/s"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Flow Rate Limit",children:u?(0,o.createComponentVNode)(2,c.Button,{icon:"wrench",content:p/10+" L/s",onClick:function(){return l("set_flow_rate")}}):p/10+" L/s"})]})})]})})}},78588:function(e,n,t){"use strict";n.__esModule=!0,n.OmniMixer=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=function(e){return e.input?"Input":e.output?"Output":e.f_type?e.f_type:"Disabled"};n.OmniMixer=function(e,n){var t=(0,r.useBackend)(n),i=t.act,d=t.data,s=d.power,u=d.config,m=d.ports,p=d.set_flow_rate,C=d.last_flow_rate;return(0,o.createComponentVNode)(2,a.Window,{width:390,height:330,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:u?"Configuration":"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",content:s?"On":"Off",selected:s,disabled:u,onClick:function(){return i("power")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"wrench",selected:u,onClick:function(){return i("configure")}})],4),children:(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:"Port"}),u?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:"Input"}),(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:"Output"})],4):(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:"Mode"}),(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:"Concentration"}),u?(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:"Lock"}):null]}),m?m.map((function(e){return(0,o.createComponentVNode)(2,l,{port:e,config:u},e.dir)})):(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No Ports Detected"})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Flow Rate",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Current Flow Rate",children:[C," L/s"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Flow Rate Limit",children:u?(0,o.createComponentVNode)(2,c.Button,{icon:"wrench",content:p/10+" L/s",onClick:function(){return i("set_flow_rate")}}):p/10+" L/s"})]})})]})})};var l=function(e,n){var t=(0,r.useBackend)(n).act,a=e.port,l=e.config;return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:a.dir+" Port"}),(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:l?(0,o.createComponentVNode)(2,c.Button,{content:"IN",selected:a.input,disabled:a.output,icon:"compress-arrows-alt",onClick:function(){return t("switch_mode",{mode:a.input?"none":"in",dir:a.dir})}}):i(a)}),(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:l?(0,o.createComponentVNode)(2,c.Button,{content:"OUT",selected:a.output,icon:"expand-arrows-alt",onClick:function(){return t("switch_mode",{mode:"out",dir:a.dir})}}):100*a.concentration+"%"}),l?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",width:"20%",children:(0,o.createComponentVNode)(2,c.Button,{width:"100%",icon:"wrench",disabled:!a.input,content:a.input?100*a.concentration+" %":"-",onClick:function(){return t("switch_con",{dir:a.dir})}})}),(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:(0,o.createComponentVNode)(2,c.Button,{icon:a.con_lock?"lock":"lock-open",disabled:!a.input,selected:a.con_lock,content:a.f_type||"None",onClick:function(){return t("switch_conlock",{dir:a.dir})}})})],4):null]})}},48826:function(e,n,t){"use strict";n.__esModule=!0,n.OperatingComputer=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(85952),i=t(74814),l=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],d=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],s={average:[.25,.5],bad:[.5,Infinity]},u=["bad","average","average","good","average","average","bad"];n.OperatingComputer=function(e,n){var t,r=(0,c.useBackend)(n),l=r.act,d=r.data,s=d.hasOccupant,u=d.choice;return t=u?(0,o.createComponentVNode)(2,C):s?(0,o.createComponentVNode)(2,m):(0,o.createComponentVNode)(2,p),(0,o.createComponentVNode)(2,a.Window,{width:650,height:455,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Tabs,{children:[(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:!u,icon:"user",onClick:function(){return l("choiceOff")},children:"Patient"}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:!!u,icon:"cog",onClick:function(){return l("choiceOn")},children:"Options"})]}),(0,o.createComponentVNode)(2,i.Section,{flexGrow:"1",children:t})]})})};var m=function(e,n){var t=(0,c.useBackend)(n).data.occupant;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Patient",level:"2",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Name",children:t.name}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Status",color:l[t.stat][0],children:l[t.stat][1]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:"0",max:t.maxHealth,value:t.health/t.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]}})}),d.map((function(e,n){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e[0]+" Damage",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:"0",max:"100",value:t[e[1]]/100,ranges:s,children:(0,r.round)(t[e[1]])},n)},n)})),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:"0",max:t.maxTemp,value:t.bodyTemperature/t.maxTemp,color:u[t.temperatureSuitability+3],children:[(0,r.round)(t.btCelsius),"\xb0C, ",(0,r.round)(t.btFaren),"\xb0F"]})}),!!t.hasBlood&&(0,o.createFragment)([(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Blood Level",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:"0",max:t.bloodMax,value:t.bloodLevel/t.bloodMax,ranges:{bad:[-Infinity,.6],average:[.6,.9],good:[.6,Infinity]},children:[t.bloodPercent,"%, ",t.bloodLevel,"cl"]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pulse",children:[t.pulse," BPM"]})],4)]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Current Procedure",level:"2",children:t.surgery&&t.surgery.length?(0,o.createComponentVNode)(2,i.LabeledList,{children:t.surgery.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.name,children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Current State",children:e.currentStage}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Possible Next Steps",children:e.nextSteps.map((function(e){return(0,o.createVNode)(1,"div",null,e,0,null,e)}))})]})},e.name)}))}):(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"No procedure ongoing."})})],4)},p=function(){return(0,o.createComponentVNode)(2,i.Flex,{textAlign:"center",height:"100%",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No patient detected."]})})},C=function(e,n){var t=(0,c.useBackend)(n),r=t.act,a=t.data,l=a.verbose,d=a.health,s=a.healthAlarm,u=a.oxy,m=a.oxyAlarm,p=a.crit;return(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Loudspeaker",children:(0,o.createComponentVNode)(2,i.Button,{selected:l,icon:l?"toggle-on":"toggle-off",content:l?"On":"Off",onClick:function(){return r(l?"verboseOff":"verboseOn")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Health Announcer",children:(0,o.createComponentVNode)(2,i.Button,{selected:d,icon:d?"toggle-on":"toggle-off",content:d?"On":"Off",onClick:function(){return r(d?"healthOff":"healthOn")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Health Announcer Threshold",children:(0,o.createComponentVNode)(2,i.Knob,{bipolar:!0,minValue:"-100",maxValue:"100",value:s,stepPixelSize:"5",ml:"0",format:function(e){return e+"%"},onChange:function(e,n){return r("health_adj",{"new":n})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Oxygen Alarm",children:(0,o.createComponentVNode)(2,i.Button,{selected:u,icon:u?"toggle-on":"toggle-off",content:u?"On":"Off",onClick:function(){return r(u?"oxyOff":"oxyOn")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Oxygen Alarm Threshold",children:(0,o.createComponentVNode)(2,i.Knob,{bipolar:!0,minValue:"-100",maxValue:"100",value:m,stepPixelSize:"5",ml:"0",onChange:function(e,n){return r("oxy_adj",{"new":n})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Critical Alert",children:(0,o.createComponentVNode)(2,i.Button,{selected:p,icon:p?"toggle-on":"toggle-off",content:p?"On":"Off",onClick:function(){return r(p?"critOff":"critOn")}})})]})}},51888:function(e,n,t){"use strict";n.__esModule=!0,n.OvermapDisperser=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(40754);n.OvermapDisperser=function(e,n){return(0,o.createComponentVNode)(2,a.Window,{width:400,height:550,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,l=t.data,d=l.faillink,s=l.calibration,u=l.overmapdir,m=l.cal_accuracy,p=l.strength,C=l.range,h=l.next_shot,N=l.nopower,V=(l.skill,l.chargeload);return d?(0,o.createComponentVNode)(2,c.Section,{title:"Error",children:"Machine is incomplete, out of range, or misaligned!"}):(0,o.createComponentVNode)(2,c.Flex,{wrap:"wrap",spacing:1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"22%",children:(0,o.createComponentVNode)(2,c.Section,{title:"Targeting",textAlign:"center",children:(0,o.createComponentVNode)(2,i.OvermapPanControls,{actToDo:"choose",selected:function(e){return e===u}})})}),(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"74%",grow:1,children:(0,o.createComponentVNode)(2,c.Section,{title:"Charge",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[N&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Error",children:"At least one part of the machine is unpowered."})||null,(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Charge Load Type",children:V}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Cooldown",children:0===h&&(0,o.createComponentVNode)(2,c.Box,{color:"good",children:"Ready"})||h>1&&(0,o.createComponentVNode)(2,c.Box,{color:"average",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:h})," Seconds",(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Warning: Do not fire during cooldown."})]})||null})]})})}),(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"50%",mt:1,children:(0,o.createComponentVNode)(2,c.Section,{title:"Calibration",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:m}),"%",(0,o.createComponentVNode)(2,c.Button,{ml:1,icon:"exchange-alt",onClick:function(){return a("skill_calibration")},children:"Pre-Calibration"}),(0,o.createComponentVNode)(2,c.Box,{mt:1,children:s.map((function(e,n){return(0,o.createComponentVNode)(2,c.Box,{children:["Cal #",n,":",(0,o.createComponentVNode)(2,c.Button,{ml:1,icon:"random",onClick:function(){return a("calibration",{calibration:n})},children:e.toString()})]},n)}))})]})}),(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"45%",grow:1,mt:1,children:(0,o.createComponentVNode)(2,c.Section,{title:"Setup",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Strength",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"fist-raised",onClick:function(){return a("strength")},children:p})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Radius",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"expand-arrows-alt",onClick:function(){return a("range")},children:C})})]})})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,mt:1,children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,color:"red",icon:"bomb",onClick:function(){return a("fire")},children:"Fire ORB"})})]})}},25123:function(e,n,t){"use strict";n.__esModule=!0,n.OvermapEnginesContent=n.OvermapEngines=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.OvermapEngines=function(e,n){return(0,o.createComponentVNode)(2,a.Window,{width:390,height:530,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i)})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.global_state,d=i.global_limit,s=i.engines_info,u=i.total_thrust;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Status",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Engines",children:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:l,onClick:function(){return a("global_toggle")},children:l?"Shut All Engines Down":"Start All Engines"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Volume Limit",children:[(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return a("global_limit",{global_limit:-.1})},icon:"minus"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return a("set_global_limit")},children:[d,"%"]}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return a("global_limit",{global_limit:.1})},icon:"plus"})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Total Thrust",children:(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:u})})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Engines",height:"340px",style:{"overflow-y":"auto"},children:s.map((function(e,n){return(0,o.createComponentVNode)(2,c.Flex,{spacing:1,mt:0!==n&&-1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"80%",children:(0,o.createComponentVNode)(2,c.Collapsible,{title:(0,o.createComponentVNode)(2,c.Box,{inline:!0,children:["Engine #",n+1," | Thrust: ",(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:e.eng_thrust})," | Limit: ",(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:e.eng_thrust_limiter,format:function(e){return e+"%"}})]}),children:(0,o.createComponentVNode)(2,c.Section,{width:"127%",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Type",children:e.eng_type}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",children:[(0,o.createComponentVNode)(2,c.Box,{color:e.eng_on?1===e.eng_on?"good":"average":"bad",children:e.eng_on?1===e.eng_on?"Online":"Booting":"Offline"}),e.eng_status.map((function(e){return Array.isArray(e)?(0,o.createComponentVNode)(2,c.Box,{color:e[1],children:e[0]}):(0,o.createComponentVNode)(2,c.Box,{children:e})}))]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Current Thrust",children:e.eng_thrust}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Volume Limit",children:[(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return a("limit",{limit:-.1,engine:e.eng_reference})},icon:"minus"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return a("set_limit",{engine:e.eng_reference})},children:[e.eng_thrust_limiter,"%"]}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return a("limit",{limit:.1,engine:e.eng_reference})},icon:"plus"})]})]})})})}),(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"20%",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,iconSpin:-1===e.eng_on,color:-1===e.eng_on?"purple":null,selected:1===e.eng_on,icon:"power-off",onClick:function(){return a("toggle_engine",{engine:e.eng_reference})},children:e.eng_on?1===e.eng_on?"Shutoff":"Booting":"Startup"})})]},n)}))})],4)};n.OvermapEnginesContent=i},63836:function(e,n,t){"use strict";n.__esModule=!0,n.OvermapFull=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(25123),l=t(89380),d=t(51932);n.OvermapFull=function(e,n){var t=(0,r.useLocalState)(n,"overmapFullState",0),s=t[0],u=t[1];return(0,o.createComponentVNode)(2,a.Window,{width:800,height:800,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:0===s,onClick:function(){return u(0)},children:"Engines"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:1===s,onClick:function(){return u(1)},children:"Helm"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:2===s,onClick:function(){return u(2)},children:"Sensors"})]}),0===s&&(0,o.createComponentVNode)(2,i.OvermapEnginesContent),1===s&&(0,o.createComponentVNode)(2,l.OvermapHelmContent),2===s&&(0,o.createComponentVNode)(2,d.OvermapShipSensorsContent)]})})}},89380:function(e,n,t){"use strict";n.__esModule=!0,n.OvermapFlightDataWrap=n.OvermapHelmContent=n.OvermapHelm=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(40754);n.OvermapHelm=function(e,n){return(0,o.createComponentVNode)(2,a.Window,{width:565,height:545,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,n){return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Flex,{children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"40%",height:"180px",children:(0,o.createComponentVNode)(2,d)}),(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"25%",height:"180px",children:(0,o.createComponentVNode)(2,s)}),(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"35%",height:"180px",children:(0,o.createComponentVNode)(2,u)})]}),(0,o.createComponentVNode)(2,m)],4)};n.OvermapHelmContent=l;var d=function(e,n){var t=(0,r.useBackend)(n);t.act,t.data;return(0,o.createVNode)(1,"fieldset","Section",[(0,o.createVNode)(1,"legend",null,"Flight Data",16),(0,o.createComponentVNode)(2,i.OvermapFlightData)],4,{style:{height:"100%",border:"1px solid #4972a1",margin:"none"}})};n.OvermapFlightDataWrap=d;var s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,l=t.data,d=l.canburn,s=l.manual_control;return(0,o.createVNode)(1,"fieldset","Section",[(0,o.createVNode)(1,"legend",null,"Manual Control",16),(0,o.createComponentVNode)(2,c.Flex,{align:"center",justify:"center",children:(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,i.OvermapPanControls,{disabled:!d,actToDo:"move"})})}),(0,o.createComponentVNode)(2,c.Box,{textAlign:"center",mt:1,children:[(0,o.createComponentVNode)(2,c.Box,{bold:!0,underline:!0,children:"Direct Control"}),(0,o.createComponentVNode)(2,c.Button,{selected:s,onClick:function(){return a("manual")},icon:"compass",children:s?"Enabled":"Disabled"})]})],4,{style:{height:"100%",border:"1px solid #4972a1"}})},u=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.dest,d=i.d_x,s=i.d_y,u=i.speedlimit,m=i.autopilot;return i.autopilot_disabled?(0,o.createVNode)(1,"fieldset","Section",[(0,o.createVNode)(1,"legend",null,"Autopilot",16),(0,o.createComponentVNode)(2,c.Box,{textAlign:"center",color:"bad",fontSize:1.2,children:"AUTOPILOT DISABLED"}),(0,o.createComponentVNode)(2,c.Box,{textAlign:"center",color:"average",children:"Warning: This vessel is equipped with a class I autopilot. Class I autopilots are unable to do anything but fly in a straight line directly towards the target, and may result in collisions."}),(0,o.createComponentVNode)(2,c.Box,{textAlign:"center",children:(0,o.createComponentVNode)(2,c.Button.Confirm,{mt:1,color:"bad",content:"Unlock Autopilot",confirmContent:"ACCEPT RISKS?",icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",onClick:function(){return a("apilot_lock")}})})],4,{style:{height:"100%",border:"1px solid #4972a1"}}):(0,o.createVNode)(1,"fieldset","Section",[(0,o.createVNode)(1,"legend",null,"Autopilot",16),(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Target",children:l&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return a("setcoord",{setx:!0})},children:d}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return a("setcoord",{sety:!0})},children:s})],4)||(0,o.createComponentVNode)(2,c.Button,{icon:"pen",onClick:function(){return a("setcoord",{setx:!0,sety:!0})},children:"None"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Speed Limit",children:(0,o.createComponentVNode)(2,c.Button,{icon:"tachometer-alt",onClick:function(){return a("speedlimit")},children:[u," Gm/h"]})})]}),(0,o.createComponentVNode)(2,c.Button,{mt:1,fluid:!0,selected:m,disabled:!l,icon:"robot",onClick:function(){return a("apilot")},children:m?"Engaged":"Disengaged"}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,color:"good",icon:"exclamation-triangle",onClick:function(){return a("apilot_lock")},children:"Lock Autopilot"})],4,{style:{height:"100%",border:"1px solid #4972a1"}})},m=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.sector,d=i.s_x,s=i.s_y,u=i.sector_info,m=i.landed,p=i.locations;return(0,o.createComponentVNode)(2,c.Section,{title:"Navigation Data",m:.3,mt:1,children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Location",children:l}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Coordinates",children:[d," : ",s]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Scan Data",children:u}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",children:m})]}),(0,o.createComponentVNode)(2,c.Flex,{mt:1,align:"center",justify:"center",spacing:1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"50%",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"save",onClick:function(){return a("add",{add:"current"})},children:"Save Current Position"})}),(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"50%",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"sticky-note",onClick:function(){return a("add",{add:"new"})},children:"Add New Entry"})})]}),(0,o.createComponentVNode)(2,c.Section,{mt:1,scrollable:!0,height:"130px",children:(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Coordinates"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Actions"})]}),p.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:[e.x," : ",e.y]}),(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:[(0,o.createComponentVNode)(2,c.Button,{icon:"rocket",onClick:function(){return a("setds",{x:e.x,y:e.y})},children:"Plot Course"}),(0,o.createComponentVNode)(2,c.Button,{icon:"trash",onClick:function(){return a("remove",{remove:e.reference})},children:"Remove"})]})]},e.name)}))]})})]})}},12640:function(e,n,t){"use strict";n.__esModule=!0,n.OvermapNavigationContent=n.OvermapNavigation=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(40754);n.OvermapNavigation=function(e,n){return(0,o.createComponentVNode)(2,a.Window,{width:380,height:530,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,l=t.data,d=l.sector,s=l.s_x,u=l.s_y,m=l.sector_info,p=l.viewing;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Current Location",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"eye",selected:p,onClick:function(){return a("viewing")},children:"Map View"}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Current Location",children:d}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Coordiantes",children:[s," : ",u]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Additional Information",children:m})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Flight Data",children:(0,o.createComponentVNode)(2,i.OvermapFlightData,{disableLimiterControls:!0})})],4)};n.OvermapNavigationContent=l},84031:function(e,n,t){"use strict";n.__esModule=!0,n.OvermapShieldGenerator=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.OvermapShieldGenerator=function(e,n){return(0,o.createComponentVNode)(2,a.Window,{width:500,height:760,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,i)})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,s=i.modes,u=i.offline_for;return u?(0,o.createComponentVNode)(2,c.Section,{title:"EMERGENCY SHUTDOWN",color:"bad",children:["An emergency shutdown has been initiated - generator cooling down. Please wait until the generator cools down before resuming operation. Estimated time left: ",u," seconds."]}):(0,o.createFragment)([(0,o.createComponentVNode)(2,l),(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,c.Section,{title:"Field Calibration",children:s.map((function(e){return(0,o.createComponentVNode)(2,c.Section,{title:e.name,level:2,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:e.status,onClick:function(){return a("toggle_mode",{toggle_mode:e.flag})},children:e.status?"Enabled":"Disabled"}),children:[(0,o.createComponentVNode)(2,c.Box,{color:"label",children:e.desc}),(0,o.createComponentVNode)(2,c.Box,{mt:.5,children:["Multiplier: ",e.multiplier]})]},e.name)}))})],4)},l=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data),i=a.running,l=a.overloaded,d=a.mitigation_max,s=a.mitigation_physical,u=a.mitigation_em,m=a.mitigation_heat,p=a.field_integrity,C=a.max_energy,h=a.current_energy,N=a.percentage_energy,V=a.total_segments,b=a.functional_segments,f=a.field_radius,g=a.target_radius,k=a.input_cap_kw,v=a.upkeep_power_usage,B=a.power_usage,L=a.spinup_counter;return(0,o.createComponentVNode)(2,c.Section,{title:"System Status",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Generator is",children:1===i&&(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"Shutting Down"})||2===i&&(l&&(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Overloaded"})||(0,o.createComponentVNode)(2,c.Box,{color:"good",children:"Running"}))||3===i&&(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"Inactive"})||4===i&&(0,o.createComponentVNode)(2,c.Box,{color:"blue",children:["Spinning Up\xa0",g!==f&&(0,o.createComponentVNode)(2,c.Box,{inline:!0,children:"(Adjusting Radius)"})||(0,o.createComponentVNode)(2,c.Box,{inline:!0,children:[2*L,"s"]})]})||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Offline"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Energy Storage",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:h,maxValue:C,children:[h," / ",C," MJ (",N,"%)"]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Shield Integrity",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:p}),"%"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Mitigation",children:[u,"% EM / ",s,"% PH / ",m,"% HE / ",d,"% MAX"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Upkeep Energy Use",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:v})," kW"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Total Energy Use",children:k&&(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:B,maxValue:k,children:[B," / ",k," kW"]})})||(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:B})," kW (No Limit)"]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Field Size",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:b}),"\xa0/\xa0",(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:V})," m\xb2 (radius ",(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:f}),", target ",(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:g}),")"]})]})})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.running,d=i.hacked,s=i.idle_multiplier,u=i.idle_valid_values;return(0,o.createComponentVNode)(2,c.Section,{title:"Controls",buttons:(0,o.createFragment)([l>=2&&(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",onClick:function(){return a("begin_shutdown")},selected:!0,children:"Turn off"}),3===l&&(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",onClick:function(){return a("toggle_idle",{toggle_idle:0})},children:"Activate"})||(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",onClick:function(){return a("toggle_idle",{toggle_idle:1})},selected:!0,children:"Deactivate"})]})||(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",onClick:function(){return a("start_generator")},children:"Turn on"}),l&&d&&(0,o.createComponentVNode)(2,c.Button,{icon:"exclamation-triangle",onClick:function(){return a("emergency_shutdown")},color:"bad",children:"EMERGENCY SHUTDOWN"})||null],0),children:[(0,o.createComponentVNode)(2,c.Button,{icon:"expand-arrows-alt",onClick:function(){return a("set_range")},children:"Set Field Range"}),(0,o.createComponentVNode)(2,c.Button,{icon:"bolt",onClick:function(){return a("set_input_cap")},children:"Set Input Cap"}),(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Set inactive power use intensity",children:u.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{selected:e===s,disabled:4===l,onClick:function(){return a("switch_idle",{switch_idle:e})},children:e},e)}))})})]})}},51932:function(e,n,t){"use strict";n.__esModule=!0,n.OvermapShipSensorsContent=n.OvermapShipSensors=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.OvermapShipSensors=function(e,n){return(0,o.createComponentVNode)(2,a.Window,{width:375,height:545,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i)})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.viewing,d=i.on,s=i.range,u=i.health,m=i.max_health,p=i.heat,C=i.critical_heat,h=i.status,N=i.contacts;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"eye",selected:l,onClick:function(){return a("viewing")},children:"Map View"}),(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:d,onClick:function(){return a("toggle_sensor")},children:d?"Sensors Enabled":"Sensors Disabled"})],4),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",children:h}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Range",children:(0,o.createComponentVNode)(2,c.Button,{icon:"signal",onClick:function(){return a("range")},children:s})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Integrity",children:(0,o.createComponentVNode)(2,c.ProgressBar,{ranges:{good:[.75*m,Infinity],average:[.25*m,.75*m],bad:[-Infinity,.25*m]},value:u,maxValue:m,children:[u," / ",m]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,c.ProgressBar,{ranges:{bad:[.75*C,Infinity],average:[.5*C,.75*C],good:[-Infinity,.5*C]},value:p,maxValue:C,children:p<.5*C&&(0,o.createComponentVNode)(2,c.Box,{children:"Temperature low."})||p<.75*C&&(0,o.createComponentVNode)(2,c.Box,{children:"Sensor temperature high!"})||(0,o.createComponentVNode)(2,c.Box,{children:"TEMPERATURE CRITICAL: Disable or reduce power immediately!"})})})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Contacts",children:N.length&&N.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"search",onClick:function(){return a("scan",{scan:e.ref})},children:[(0,o.createComponentVNode)(2,c.Box,{bold:!0,inline:!0,children:["Scan: ",e.name]}),(0,o.createComponentVNode)(2,c.Box,{inline:!0,children:[", bearing: ",e.bearing,"\xb0"]})]},e.ref)}))||(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No contacts on sensors."})}),"MISSING"===i.status&&(0,o.createComponentVNode)(2,c.Section,{title:"Error",children:(0,o.createComponentVNode)(2,c.Button,{icon:"wifi",onClick:function(){return a("link")},children:"Link up with sensor suite?"})})||null],0)};n.OvermapShipSensorsContent=i},57966:function(e,n,t){"use strict";n.__esModule=!0,n.ParticleAccelerator=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.ParticleAccelerator=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.assembled,s=l.power,u=l.strength;return(0,o.createComponentVNode)(2,a.Window,{width:350,height:185,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"sync",content:"Run Scan",onClick:function(){return i("scan")}}),children:(0,o.createComponentVNode)(2,c.Box,{color:d?"good":"bad",children:d?"Ready - All parts in place":"Unable to detect all parts"})})})}),(0,o.createComponentVNode)(2,c.Section,{title:"Particle Accelerator Controls",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,c.Button,{icon:s?"power-off":"times",content:s?"On":"Off",selected:s,disabled:!d,onClick:function(){return i("power")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Particle Strength",children:[(0,o.createComponentVNode)(2,c.Button,{icon:"backward",disabled:!d,onClick:function(){return i("remove_strength")}})," ",String(u).padStart(1,"0")," ",(0,o.createComponentVNode)(2,c.Button,{icon:"forward",disabled:!d,onClick:function(){return i("add_strength")}})]})]})})]})})}},80374:function(e,n,t){"use strict";n.__esModule=!0,n.PartsLathe=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(2497),l=t(95481);n.PartsLathe=function(e,n){var t=(0,r.useBackend)(n),d=t.act,s=t.data,u=(s.panelOpen,s.copyBoard),m=s.copyBoardReqComponents,p=s.queue,C=s.building,h=s.buildPercent,N=s.error,V=s.recipies;return(0,o.createComponentVNode)(2,a.Window,{width:500,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[N&&(0,o.createComponentVNode)(2,c.NoticeBox,{danger:!0,children:["Missing Materials: ",N]})||null,(0,o.createComponentVNode)(2,c.Section,{title:"Materials",children:(0,o.createComponentVNode)(2,l.Materials,{displayAllMat:!0})}),C&&(0,o.createComponentVNode)(2,c.Section,{title:"Currently Building",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Name",children:(0,i.toTitleCase)(C)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Progress",children:(0,o.createComponentVNode)(2,c.ProgressBar,{color:"good",value:h,maxValue:100})})]})})||null,u&&(0,o.createComponentVNode)(2,c.Section,{title:"Circuit Reader",children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Loaded Circuit",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"eject",onClick:function(){return d("ejectBoard")},children:"Eject"}),children:(0,i.toTitleCase)(u)})}),m&&m.length&&(0,o.createFragment)([m.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:[e.qty," x ",(0,i.toTitleCase)(e.name)]},e.name)})),(0,o.createComponentVNode)(2,c.Button,{icon:"wrench",onClick:function(){return d("queueBoard")},children:"Build All"})],0)||(0,o.createComponentVNode)(2,c.Box,{children:"Board has no required components."})]}),(0,o.createComponentVNode)(2,c.Section,{title:"Queue",children:p.length&&p.map((function(e,n){return(0,o.createComponentVNode)(2,c.Box,{color:"label",children:["#",n+1,": ",(0,i.toTitleCase)(e),(n>0||!C)&&(0,o.createComponentVNode)(2,c.Button,{ml:1,icon:"times",onClick:function(){return d("cancel",{cancel:n+1})},children:"Cancel"})||null]},e)}))||(0,o.createComponentVNode)(2,c.NoticeBox,{info:!0,children:"Queue Empty"})}),(0,o.createComponentVNode)(2,c.Section,{title:"Recipes",children:V.length&&V.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"wrench",onClick:function(){return d("queue",{queue:e.type})},children:(0,i.toTitleCase)(e.name)})},e.name)}))})]})})}},83987:function(e,n,t){"use strict";n.__esModule=!0,n.PathogenicIsolator=void 0;var o=t(39812),r=(t(41860),t(58083),t(71494)),c=t(16007),a=t(74814),i=t(85952),l=function(e,n){var t=(0,r.useBackend)(n),c=t.act,i=t.data.can_print,l=e.args;return(0,o.createComponentVNode)(2,a.Section,{level:2,m:"-1rem",title:l.name||"Virus",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{disabled:!i,icon:"print",content:"Print",onClick:function(){return c("print",{type:"virus_record",vir:l.record})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"times",color:"red",onClick:function(){return c("modal_close")}})],4),children:(0,o.createComponentVNode)(2,a.Box,{mx:"0.5rem",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Spread",children:[l.spread_text," Transmission"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Possible cure",children:l.antigen}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Rate of Progression",children:l.rate}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Antibiotic Resistance",children:[l.resistance,"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Species Affected",children:l.species}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Symptoms",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:l.symptoms.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.stage+". "+e.name,children:[(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:[(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"label",children:"Strength:"})," ",e.strength,"\xa0"]}),(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:[(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"label",children:"Aggressiveness:"})," ",e.aggressiveness]})]},e.stage)}))})})]})})})};n.PathogenicIsolator=function(e,n){var t=(0,r.useBackend)(n),u=(t.act,t.data.isolating),m=(0,r.useLocalState)(n,"tabIndex",0),p=m[0],C=m[1],h=null;return 0===p?h=(0,o.createComponentVNode)(2,d):1===p&&(h=(0,o.createComponentVNode)(2,s)),(0,c.modalRegisterBodyOverride)("virus",l),(0,o.createComponentVNode)(2,i.Window,{height:500,width:520,resizable:!0,children:[(0,o.createComponentVNode)(2,c.ComplexModal,{maxHeight:"100%",maxWidth:"95%"}),(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:[u&&(0,o.createComponentVNode)(2,a.NoticeBox,{warning:!0,children:"The Isolator is currently isolating..."})||null,(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===p,onClick:function(){return C(0)},children:"Home"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===p,onClick:function(){return C(1)},children:"Database"})]}),h]})]})};var d=function(e,n){var t=(0,r.useBackend)(n),c=t.act,i=t.data,l=i.syringe_inserted,d=i.pathogen_pool,s=i.can_print;return(0,o.createComponentVNode)(2,a.Section,{title:"Pathogens",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"print",content:"Print",disabled:!s,onClick:function(){return c("print",{type:"patient_diagnosis"})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject Syringe",disabled:!l,onClick:function(){return c("eject")}})],4),children:d.length&&d.map((function(e){return(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Box,{color:"label",children:(0,o.createComponentVNode)(2,a.Flex,{align:"center",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:[(0,o.createVNode)(1,"u",null,[(0,o.createTextVNode)("Stamm #"),e.unique_id],0),e.is_in_database?" (Analyzed)":" (Not Analyzed)"]}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"virus",content:"Isolate",onClick:function(){return c("isolate",{isolate:e.reference})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"search",content:"Database",disabled:!e.is_in_database,onClick:function(){return c("view_entry",{vir:e.record})}})]})]})}),(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{color:"average",mb:1,children:e.name}),e.dna]})]},e.unique_id)}))||(l?(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No samples detected."}):(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No syringe inserted."}))})},s=function(e,n){var t=(0,r.useBackend)(n),c=t.act,i=t.data,l=i.database,d=i.can_print;return(0,o.createComponentVNode)(2,a.Section,{title:"Database",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"print",content:"Print",disabled:!d,onClick:function(){return c("print",{type:"virus_list"})}}),children:l.length&&l.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"search",onClick:function(){return c("view_entry",{vir:e.record})},children:e.name},e.name)}))||(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"The viral database is empty."})})}},72586:function(e,n,t){"use strict";n.__esModule=!0,n.Pda=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(73218),l=t(75168);n.Pda=function(e,n){var t=(0,r.useBackend)(n),m=(t.act,t.data),p=m.app,C=m.owner,h=m.useRetro;if(!C)return(0,o.createComponentVNode)(2,a.Window,{children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{stretchContents:!0,children:"Warning: No ID information found! Please swipe ID!"})})});var N=function(e){var n;try{n=l("./"+e+".js")}catch(t){if("MODULE_NOT_FOUND"===t.code)return(0,i.routingError)("notFound",e);throw t}return n[e]||(0,i.routingError)("missingExport",e)}(p.template),V=(0,r.useLocalState)(n,"settingsMode",!1),b=V[0],f=V[1];return(0,o.createComponentVNode)(2,a.Window,{width:580,height:670,theme:h?"pda-retro":null,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,d,{settingsMode:b,setSettingsMode:f}),b&&(0,o.createComponentVNode)(2,s)||(0,o.createComponentVNode)(2,c.Section,{title:(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Icon,{name:p.icon,mr:1}),p.name]}),p:1,children:(0,o.createComponentVNode)(2,N)}),(0,o.createComponentVNode)(2,c.Box,{mb:8}),(0,o.createComponentVNode)(2,u,{setSettingsMode:f})]})})};var d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=e.settingsMode,d=e.setSettingsMode,s=i.idInserted,u=i.idLink,m=(i.cartridge_name,i.stationTime);return(0,o.createComponentVNode)(2,c.Box,{mb:1,children:(0,o.createComponentVNode)(2,c.Flex,{align:"center",justify:"space-between",children:[!!s&&(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"eject",color:"transparent",onClick:function(){return a("Authenticate")},content:u})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,textAlign:"center",bold:!0,children:m}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:[(0,o.createComponentVNode)(2,c.Button,{selected:l,onClick:function(){return d(!l)},icon:"cog"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return a("Retro")},icon:"adjust"})]})]})})},s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.idInserted,d=i.idLink,s=i.cartridge_name,u=i.touch_silent;return(0,o.createComponentVNode)(2,c.Section,{title:"Settings",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"R.E.T.R.O Mode",children:(0,o.createComponentVNode)(2,c.Button,{icon:"cog",content:"Retro Theme",onClick:function(){return a("Retro")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Touch Sounds",children:(0,o.createComponentVNode)(2,c.Button,{icon:"cog",selected:!u,content:u?"Disabled":"Enabled",onClick:function(){return a("TouchSounds")}})}),!!s&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Cartridge",children:(0,o.createComponentVNode)(2,c.Button,{icon:"eject",onClick:function(){return a("Eject")},content:s})}),!!l&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"ID Card",children:(0,o.createComponentVNode)(2,c.Button,{icon:"eject",onClick:function(){return a("Authenticate")},content:d})})]})})},u=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=e.setSettingsMode,d=i.app,s=i.useRetro;return(0,o.createComponentVNode)(2,c.Box,{position:"fixed",bottom:"0%",left:"0%",right:"0%",backgroundColor:s?"#6f7961":"#1b1b1b",children:(0,o.createComponentVNode)(2,c.Flex,{children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"33%",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,color:"transparent",iconColor:d.has_back?"white":"disabled",textAlign:"center",icon:"undo",mb:0,fontSize:1.7,onClick:function(){return a("Back")}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"33%",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,color:"transparent",iconColor:d.is_home?"disabled":"white",textAlign:"center",icon:"home",mb:0,fontSize:1.7,onClick:function(){l(!1),a("Home")}})})]})})}},67589:function(e,n,t){"use strict";n.__esModule=!0,n.PersonalCrafting=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);function i(e,n){var t;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"==typeof e)return l(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return l(e,n)}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function l(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t=.5?"good":s>.15&&"average")||"bad";return(0,o.createComponentVNode)(2,a.Window,{width:450,height:340,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[!d.anchored&&(0,o.createComponentVNode)(2,c.NoticeBox,{children:"Generator not anchored."}),(0,o.createComponentVNode)(2,c.Section,{title:"Status",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power switch",children:(0,o.createComponentVNode)(2,c.Button,{icon:d.active?"power-off":"times",onClick:function(){return l("toggle_power")},selected:d.active,disabled:!d.ready_to_boot,children:d.active?"On":"Off"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Fuel Type",buttons:d.fuel_stored>=1&&(0,o.createComponentVNode)(2,c.Button,{ml:1,icon:"eject",disabled:d.active,onClick:function(){return l("eject")},children:"Eject"}),children:(0,o.createComponentVNode)(2,c.Box,{color:u,children:[d.fuel_stored,"cm\xb3 ",d.sheet_name]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Current fuel level",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:d.fuel_stored/d.fuel_capacity,ranges:{good:[.5,Infinity],average:[.15,.5],bad:[-Infinity,.15]},children:[d.fuel_stored,"cm\xb3 / ",d.fuel_capacity,"cm\xb3"]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Fuel Usage",children:[d.fuel_usage," cm\xb3/s"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:d.temperature_current,maxValue:d.temperature_max+30,color:d.temperature_overheat?"bad":"good",children:[(0,i.round)(d.temperature_current),"\xb0C"]})})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Output",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Current output",color:d.unsafe_output?"bad":null,children:d.power_output}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Adjust output",children:[(0,o.createComponentVNode)(2,c.Button,{icon:"minus",onClick:function(){return l("lower_power")},children:d.power_generated}),(0,o.createComponentVNode)(2,c.Button,{icon:"plus",onClick:function(){return l("higher_power")},children:d.power_generated})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power available",children:(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:!d.connected&&"bad",children:d.connected?d.power_available:"Unconnected"})})]})})]})})}},82564:function(e,n,t){"use strict";n.__esModule=!0,n.PortablePump=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=t(34227);n.PortablePump=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.direction,u=d.target_pressure,m=d.default_pressure,p=d.min_pressure,C=d.max_pressure;return(0,o.createComponentVNode)(2,a.Window,{width:330,height:375,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,i.PortableBasicInfo),(0,o.createComponentVNode)(2,c.Section,{title:"Pump",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:s?"sign-in-alt":"sign-out-alt",content:s?"In":"Out",selected:s,onClick:function(){return l("direction")}}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Output",children:(0,o.createComponentVNode)(2,c.Slider,{mt:"0.4em",animated:!0,minValue:p,maxValue:C,value:u,unit:"kPa",stepPixelSize:.3,onChange:function(e,n){return l("pressure",{pressure:n})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Presets",children:[(0,o.createComponentVNode)(2,c.Button,{icon:"minus",disabled:u===p,onClick:function(){return l("pressure",{pressure:"min"})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"sync",disabled:u===m,onClick:function(){return l("pressure",{pressure:"reset"})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"plus",disabled:u===C,onClick:function(){return l("pressure",{pressure:"max"})}})]})]})})]})})}},24901:function(e,n,t){"use strict";n.__esModule=!0,n.PortableScrubber=void 0;var o=t(39812),r=t(71494),c=t(74814),a=(t(76270),t(85952)),i=t(34227);n.PortableScrubber=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.rate,u=d.minrate,m=d.maxrate;return(0,o.createComponentVNode)(2,a.Window,{width:320,height:350,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.PortableBasicInfo),(0,o.createComponentVNode)(2,c.Section,{title:"Power Regulator",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Volume Rate",children:(0,o.createComponentVNode)(2,c.Slider,{mt:"0.4em",animated:!0,minValue:u,maxValue:m,value:s,unit:"L/s",onChange:function(e,n){return l("volume_adj",{vol:n})}})})})})]})})}},31695:function(e,n,t){"use strict";n.__esModule=!0,n.PortableTurret=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.PortableTurret=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.locked,s=l.on,u=l.lethal,m=l.lethal_is_configurable,p=l.targetting_is_configurable,C=l.check_weapons,h=l.neutralize_noaccess,N=l.neutralize_norecord,V=l.neutralize_criminals,b=l.neutralize_all,f=l.neutralize_nonsynth,g=l.neutralize_unidentified,k=l.neutralize_down;return(0,o.createComponentVNode)(2,a.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.NoticeBox,{children:["Swipe an ID card to ",d?"unlock":"lock"," this interface."]}),(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",children:(0,o.createComponentVNode)(2,c.Button,{icon:s?"power-off":"times",content:s?"On":"Off",selected:s,disabled:d,onClick:function(){return i("power")}})}),!!m&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Lethals",children:(0,o.createComponentVNode)(2,c.Button,{icon:u?"exclamation-triangle":"times",content:u?"On":"Off",color:u?"bad":"",disabled:d,onClick:function(){return i("lethal")}})})]})}),!!p&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Humanoid Targets",children:[(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,checked:V,content:"Wanted Criminals",disabled:d,onClick:function(){return i("autharrest")}}),(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,checked:N,content:"No Sec Record",disabled:d,onClick:function(){return i("authnorecord")}}),(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,checked:C,content:"Unauthorized Weapons",disabled:d,onClick:function(){return i("authweapon")}}),(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,checked:h,content:"Unauthorized Access",disabled:d,onClick:function(){return i("authaccess")}})]}),(0,o.createComponentVNode)(2,c.Section,{title:"Other Targets",children:[(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,checked:g,content:"Unidentified Lifesigns (Xenos, Animals, Etc)",disabled:d,onClick:function(){return i("authxeno")}}),(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,checked:f,content:"All Non-Synthetics",disabled:d,onClick:function(){return i("authsynth")}}),(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,checked:k,content:"Downed Targets",disabled:d,onClick:function(){return i("authdown")}}),(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,checked:b,content:"All Entities",disabled:d,onClick:function(){return i("authall")}})]})],4)]})})}},89793:function(e,n,t){"use strict";n.__esModule=!0,n.AreaCharge=n.PowerMonitorFocus=n.PowerMonitorContent=n.PowerMonitor=n.powerRank=void 0;var o=t(39812),r=t(64499),c=t(85531),a=t(41860),i=t(34380),l=t(71494),d=t(74814),s=t(85952),u=5e5,m=function(e){var n=String(e.split(" ")[1]).toLowerCase();return["w","kw","mw","gw"].indexOf(n)};n.powerRank=m;n.PowerMonitor=function(){return(0,o.createComponentVNode)(2,s.Window,{width:550,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,s.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,p)})})};var p=function(e,n){var t=(0,l.useBackend)(n),r=t.act,c=t.data,a=(c.map_levels,c.all_sensors),i=c.focus;if(i)return(0,o.createComponentVNode)(2,C,{focus:i});var s=(0,o.createComponentVNode)(2,d.Box,{color:"bad",children:"No sensors detected"});return a&&(s=(0,o.createComponentVNode)(2,d.Table,{children:a.map((function(e){return(0,o.createComponentVNode)(2,d.Table.Row,{children:(0,o.createComponentVNode)(2,d.Table.Cell,{children:(0,o.createComponentVNode)(2,d.Button,{content:e.name,icon:e.alarm?"bell":"sign-in-alt",onClick:function(){return r("setsensor",{id:e.name})}})})},e.name)}))})),(0,o.createComponentVNode)(2,d.Section,{title:"No active sensor. Listing all.",buttons:(0,o.createComponentVNode)(2,d.Button,{content:"Scan For Sensors",icon:"undo",onClick:function(){return r("refresh")}}),children:s})};n.PowerMonitorContent=p;var C=function(e,n){var t=(0,l.useBackend)(n),i=t.act,s=(t.data,e.focus),p=s.history,C=(0,l.useLocalState)(n,"sortByField",null),V=C[0],b=C[1],f=p.supply[p.supply.length-1]||0,g=p.demand[p.demand.length-1]||0,k=p.supply.map((function(e,n){return[n,e]})),v=p.demand.map((function(e,n){return[n,e]})),B=Math.max.apply(Math,[u].concat(p.supply,p.demand)),L=(0,c.flow)([(0,r.map)((function(e,n){return Object.assign({},e,{id:e.name+n})})),"name"===V&&(0,r.sortBy)((function(e){return e.name})),"charge"===V&&(0,r.sortBy)((function(e){return-e.charge})),"draw"===V&&(0,r.sortBy)((function(e){return-m(e.load)}),(function(e){return-parseFloat(e.load)})),"problems"===V&&(0,r.sortBy)((function(e){return e.eqp}),(function(e){return e.lgt}),(function(e){return e.env}),(function(e){return e.charge}),(function(e){return e.name}))])(s.areas);return(0,o.createFragment)([(0,o.createComponentVNode)(2,d.Section,{title:s.name,buttons:(0,o.createComponentVNode)(2,d.Button,{icon:"sign-out-alt",content:"Back To Main",onClick:function(){return i("clear")}})}),(0,o.createComponentVNode)(2,d.Flex,{mx:-.5,mb:1,children:[(0,o.createComponentVNode)(2,d.Flex.Item,{mx:.5,width:"200px",children:(0,o.createComponentVNode)(2,d.Section,{children:(0,o.createComponentVNode)(2,d.LabeledList,{children:[(0,o.createComponentVNode)(2,d.LabeledList.Item,{label:"Supply",children:(0,o.createComponentVNode)(2,d.ProgressBar,{value:f,minValue:0,maxValue:B,color:"teal",children:(0,a.toFixed)(f/1e3)+" kW"})}),(0,o.createComponentVNode)(2,d.LabeledList.Item,{label:"Draw",children:(0,o.createComponentVNode)(2,d.ProgressBar,{value:g,minValue:0,maxValue:B,color:"pink",children:(0,a.toFixed)(g/1e3)+" kW"})})]})})}),(0,o.createComponentVNode)(2,d.Flex.Item,{mx:.5,grow:1,children:(0,o.createComponentVNode)(2,d.Section,{position:"relative",height:"100%",children:[(0,o.createComponentVNode)(2,d.Chart.Line,{fillPositionedParent:!0,data:k,rangeX:[0,k.length-1],rangeY:[0,B],strokeColor:"rgba(0, 181, 173, 1)",fillColor:"rgba(0, 181, 173, 0.25)"}),(0,o.createComponentVNode)(2,d.Chart.Line,{fillPositionedParent:!0,data:v,rangeX:[0,v.length-1],rangeY:[0,B],strokeColor:"rgba(224, 57, 151, 1)",fillColor:"rgba(224, 57, 151, 0.25)"})]})})]}),(0,o.createComponentVNode)(2,d.Section,{children:[(0,o.createComponentVNode)(2,d.Box,{mb:1,children:[(0,o.createComponentVNode)(2,d.Box,{inline:!0,mr:2,color:"label",children:"Sort by:"}),(0,o.createComponentVNode)(2,d.Button.Checkbox,{checked:"name"===V,content:"Name",onClick:function(){return b("name"!==V&&"name")}}),(0,o.createComponentVNode)(2,d.Button.Checkbox,{checked:"charge"===V,content:"Charge",onClick:function(){return b("charge"!==V&&"charge")}}),(0,o.createComponentVNode)(2,d.Button.Checkbox,{checked:"draw"===V,content:"Draw",onClick:function(){return b("draw"!==V&&"draw")}}),(0,o.createComponentVNode)(2,d.Button.Checkbox,{checked:"problems"===V,content:"Problems",onClick:function(){return b("problems"!==V&&"problems")}})]}),(0,o.createComponentVNode)(2,d.Table,{children:[(0,o.createComponentVNode)(2,d.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,d.Table.Cell,{children:"Area"}),(0,o.createComponentVNode)(2,d.Table.Cell,{collapsing:!0,children:"Charge"}),(0,o.createComponentVNode)(2,d.Table.Cell,{textAlign:"right",children:"Draw"}),(0,o.createComponentVNode)(2,d.Table.Cell,{collapsing:!0,title:"Equipment",children:"Eqp"}),(0,o.createComponentVNode)(2,d.Table.Cell,{collapsing:!0,title:"Lighting",children:"Lgt"}),(0,o.createComponentVNode)(2,d.Table.Cell,{collapsing:!0,title:"Environment",children:"Env"})]}),L.map((function(e,n){return(0,o.createVNode)(1,"tr","Table__row candystripe",[(0,o.createVNode)(1,"td",null,e.name,0),(0,o.createVNode)(1,"td","Table__cell text-right text-nowrap",(0,o.createComponentVNode)(2,h,{charging:e.charging,charge:e.charge}),2),(0,o.createVNode)(1,"td","Table__cell text-right text-nowrap",e.load,0),(0,o.createVNode)(1,"td","Table__cell text-center text-nowrap",(0,o.createComponentVNode)(2,N,{status:e.eqp}),2),(0,o.createVNode)(1,"td","Table__cell text-center text-nowrap",(0,o.createComponentVNode)(2,N,{status:e.lgt}),2),(0,o.createVNode)(1,"td","Table__cell text-center text-nowrap",(0,o.createComponentVNode)(2,N,{status:e.env}),2)],4,null,e.id)}))]})]})],4)};n.PowerMonitorFocus=C;var h=function(e){var n=e.charging,t=e.charge;return(0,o.createFragment)([(0,o.createComponentVNode)(2,d.Icon,{width:"18px",textAlign:"center",name:0===n&&(t>50?"battery-half":"battery-quarter")||1===n&&"bolt"||2===n&&"battery-full",color:0===n&&(t>50?"yellow":"red")||1===n&&"yellow"||2===n&&"green"}),(0,o.createComponentVNode)(2,d.Box,{inline:!0,width:"36px",textAlign:"right",children:(0,a.toFixed)(t)+"%"})],4)};n.AreaCharge=h,h.defaultHooks=i.pureComponentHooks;var N=function(e){var n=e.status,t=Boolean(2&n),r=Boolean(1&n),c=(t?"On":"Off")+" ["+(r?"auto":"manual")+"]";return(0,o.createComponentVNode)(2,d.ColorBox,{color:t?"good":"bad",content:r?undefined:"M",title:c})};N.defaultHooks=i.pureComponentHooks},81121:function(e,n,t){"use strict";n.__esModule=!0,n.PressureRegulator=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.PressureRegulator=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.on,s=l.pressure_set,u=(l.max_pressure,l.input_pressure),m=l.output_pressure,p=l.regulate_mode,C=l.set_flow_rate,h=l.last_flow_rate;return(0,o.createComponentVNode)(2,a.Window,{width:470,height:370,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:"Status",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Input Pressure",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:u/100})," kPa"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Output Pressure",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:m/100})," kPa"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Flow Rate",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:h/10})," L/s"]})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Controls",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",content:d?"Unlocked":"Closed",selected:d,onClick:function(){return i("toggle_valve")}}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Pressure Regulation",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",content:"Off",selected:0===p,onClick:function(){return i("regulate_mode",{mode:"off"})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"compress-arrows-alt",content:"Input",selected:1===p,onClick:function(){return i("regulate_mode",{mode:"input"})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"expand-arrows-alt",content:"Output",selected:2===p,onClick:function(){return i("regulate_mode",{mode:"output"})}})],4)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Desired Output Pressure",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"compress-arrows-alt",content:"MIN",onClick:function(){return i("set_press",{press:"min"})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"expand-arrows-alt",content:"MAX",onClick:function(){return i("set_press",{press:"max"})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"wrench",content:"SET",onClick:function(){return i("set_press",{press:"set"})}})],4),children:[s/100," kPa"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Flow Rate Limit",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"compress-arrows-alt",content:"MIN",onClick:function(){return i("set_flow_rate",{press:"min"})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"expand-arrows-alt",content:"MAX",onClick:function(){return i("set_flow_rate",{press:"max"})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"wrench",content:"SET",onClick:function(){return i("set_flow_rate",{press:"set"})}})],4),children:[C/10," L/s"]})]})})]})})}},14210:function(e,n,t){"use strict";n.__esModule=!0,n.PrisonerManagement=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);t(58083);n.PrisonerManagement=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.locked,s=l.chemImplants,u=l.trackImplants;return(0,o.createComponentVNode)(2,a.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:d&&(0,o.createComponentVNode)(2,c.Section,{title:"Locked",textAlign:"center",children:["This interface is currently locked.",(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"unlock",onClick:function(){return i("lock")},children:"Unlock"})})]})||(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Interface Lock",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"lock",onClick:function(){return i("lock")},children:"Lock Interface"})}),(0,o.createComponentVNode)(2,c.Section,{title:"Chemical Implants",children:s.length&&(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:"Host"}),(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:"Units Remaining"}),(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:"Inject"})]}),s.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:e.host}),(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:[e.units,"u remaining"]}),(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:[(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("inject",{imp:e.ref,val:1})},children:"(1)"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("inject",{imp:e.ref,val:5})},children:"(5)"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("inject",{imp:e.ref,val:10})},children:"(10)"})]})]},e.ref)}))]})||(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No chemical implants found."})}),(0,o.createComponentVNode)(2,c.Section,{title:"Tracking Implants",children:u.length&&(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:"Host"}),(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:"Location"}),(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:"Message"})]}),u.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:[e.host," (",e.id,")"]}),(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:e.loc}),(0,o.createComponentVNode)(2,c.Table.Cell,{textAlign:"center",children:(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return i("warn",{imp:e.ref})},children:"Message"})})]},e.ref)}))]})||(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No chemical implants found."})})],4)})})}},43996:function(e,n,t){"use strict";n.__esModule=!0,n.RCONContent=n.RCON=void 0;var o=t(39812),r=t(41860),c=t(58083),a=t(71494),i=t(74814),l=t(85952),d=t(2497),s=1e3;n.RCON=function(e,n){return(0,o.createComponentVNode)(2,l.Window,{width:630,height:440,resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,u)})})};var u=function(e,n){var t,r=(0,a.useLocalState)(n,"tabIndex",0),c=r[0],l=r[1];return 0===c?t=(0,o.createComponentVNode)(2,m):1===c&&(t=(0,o.createComponentVNode)(2,h)),(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Tabs,{children:[(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:0===c,onClick:function(){return l(0)},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"power-off"})," SMESs"]},"SMESs"),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:1===c,onClick:function(){return l(1)},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"bolt"})," Breakers"]},"Breakers")]}),(0,o.createComponentVNode)(2,i.Box,{m:2,children:t})],4)};n.RCONContent=u;var m=function(e,n){var t=(0,a.useBackend)(n),r=(t.act,t.data.smes_info);return(0,o.createComponentVNode)(2,i.Section,{title:"SMESs",children:(0,o.createComponentVNode)(2,i.Stack,{vertical:!0,children:r.map((function(e){return(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,p,{smes:e})},e.RCON_tag)}))})})},p=function(e,n){(0,a.useBackend)(n).act;var t=e.smes,c=t.capacityPercent,l=t.capacity,d=t.charge,s=(t.inputAttempt,t.inputting,t.inputLevel,t.inputLevelMax,t.inputAvailable,t.outputAttempt,t.outputting,t.outputLevel,t.outputLevelMax,t.outputUsed,t.RCON_tag);return(0,o.createComponentVNode)(2,i.Stack,{vertical:!0,children:[(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,i.Stack,{fill:!0,justify:"space-between",children:[(0,o.createComponentVNode)(2,i.Stack.Item,{flexBasis:"40%",fontSize:1.2,children:s}),(0,o.createComponentVNode)(2,i.Stack.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:.01*c,ranges:{good:[.5,Infinity],average:[.15,.5],bad:[-Infinity,.15]},children:[(0,r.round)(d/6e4,1)," kWh / ",(0,r.round)(l/6e4)," kWh (",c,"%)"]})})]})}),(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,C,{smes:e.smes,way:"input"})}),(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,C,{smes:e.smes,way:"output"})}),(0,o.createComponentVNode)(2,i.Stack.Divider)]})},C=function(e,n){var t,r,l,u,m,p,C,h=(0,a.useBackend)(n).act,N=e.way,V=e.smes,b=(V.capacityPercent,V.capacity,V.charge,V.inputAttempt),f=V.inputting,g=V.inputLevel,k=V.inputLevelMax,v=V.inputAvailable,B=V.outputAttempt,L=V.outputting,_=V.outputLevel,x=V.outputLevelMax,w=V.outputUsed,S=V.RCON_tag;switch(N){case"input":t=g,r=k,l=v,"IN",u="smes_in_toggle",m="smes_in_set",b,p=b?f?"green":"yellow":null,C=b?f?"The SMES is drawing power.":"The SMES lacks power.":"The SMES input is off.";break;case"output":t=_,r=x,l=w,"OUT",u="smes_out_toggle",m="smes_out_set",B,p=B?L?"green":"yellow":null,C=B?L?"The SMES is outputting power.":"The SMES lacks any draw.":"The SMES output is off."}return(0,o.createComponentVNode)(2,i.Stack,{fill:!0,children:[(0,o.createComponentVNode)(2,i.Stack.Item,{basis:"20%",children:(0,d.capitalize)(N)}),(0,o.createComponentVNode)(2,i.Stack.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Stack,{children:[(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",color:p,tooltip:C,onClick:function(){return h(u,{smes:S})}})}),(0,o.createComponentVNode)(2,i.Stack.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:0===t,onClick:function(){return h(m,{target:"min",smes:S})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"backward",disabled:0===t,onClick:function(){return h(m,{adjust:-1e4,smes:S})}})]}),(0,o.createComponentVNode)(2,i.Stack.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Slider,{value:t/s,fillValue:l/s,minValue:0,maxValue:r/s,step:5,stepPixelSize:4,format:function(e){return(0,c.formatPower)(l,1)+"/"+(0,c.formatPower)(e*s,1)},onDrag:function(e,n){return h(m,{target:n*s,smes:S})}})}),(0,o.createComponentVNode)(2,i.Stack.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"forward",disabled:t===r,onClick:function(){return h(m,{adjust:1e4,smes:S})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:t===r,onClick:function(){return h(m,{target:"max",smes:S})}})]})]})})]})},h=function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data.breaker_info;return(0,o.createComponentVNode)(2,i.Section,{title:"Breakers",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:c?c.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.RCON_tag,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:e.enabled?"Enabled":"Disabled",selected:e.enabled,color:e.enabled?null:"bad",onClick:function(){return r("toggle_breaker",{breaker:e.RCON_tag})}})},e.RCON_tag)})):(0,o.createComponentVNode)(2,i.LabeledList.Item,{color:"bad",children:"No breakers detected."})})})}},92141:function(e,n,t){"use strict";n.__esModule=!0,n.RIGSuit=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(2497);n.RIGSuit=function(e,n){var t=(0,r.useBackend)(n),i=(t.act,t.data),u=i.interfacelock,m=i.malf,p=i.aicontrol,C=i.ai,h=null;return u||m?h=(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"--HARDSUIT INTERFACE OFFLINE--"}):!C&&p&&(h=(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"-- HARDSUIT CONTROL OVERRIDDEN BY AI --"})),(0,o.createComponentVNode)(2,a.Window,{height:480,width:550,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:h||(0,o.createFragment)([(0,o.createComponentVNode)(2,l),(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,s)],4)})})};var l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.chargestatus,d=i.charge,s=i.maxcharge,u=i.aioverride,m=i.sealing,p=i.sealed,C=i.emagged,h=i.securitycheck,N=i.coverlock,V=(0,o.createComponentVNode)(2,c.Button,{content:"Suit "+(m?"seals working...":p?"is Active":"is Inactive"),icon:m?"redo":p?"power-off":"lock-open",iconSpin:m,disabled:m,selected:p,onClick:function(){return a("toggle_seals")}}),b=(0,o.createComponentVNode)(2,c.Button,{content:"AI Control "+(u?"Enabled":"Disabled"),selected:u,icon:"robot",onClick:function(){return a("toggle_ai_control")}});return(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:(0,o.createFragment)([V,b],0),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power Supply",children:(0,o.createComponentVNode)(2,c.ProgressBar,{minValue:0,maxValue:50,value:l,ranges:{good:[35,Infinity],average:[15,35],bad:[-Infinity,15]},children:[d," / ",s]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Cover Status",children:C||!h?(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Error - Maintenance Lock Control Offline"}):(0,o.createComponentVNode)(2,c.Button,{icon:N?"lock":"lock-open",content:N?"Locked":"Unlocked",onClick:function(){return a("toggle_suit_lock")}})})]})})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,l=t.data,d=l.sealing,s=l.helmet,u=l.helmetDeployed,m=l.gauntlets,p=l.gauntletsDeployed,C=l.boots,h=l.bootsDeployed,N=l.chest,V=l.chestDeployed;return(0,o.createComponentVNode)(2,c.Section,{title:"Hardware",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Helmet",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:u?"sign-out-alt":"sign-in-alt",content:u?"Deployed":"Deploy",disabled:d,selected:u,onClick:function(){return a("toggle_piece",{piece:"helmet"})}}),children:s?(0,i.capitalize)(s):"ERROR"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Gauntlets",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:p?"sign-out-alt":"sign-in-alt",content:p?"Deployed":"Deploy",disabled:d,selected:p,onClick:function(){return a("toggle_piece",{piece:"gauntlets"})}}),children:m?(0,i.capitalize)(m):"ERROR"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Boots",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:h?"sign-out-alt":"sign-in-alt",content:h?"Deployed":"Deploy",disabled:d,selected:h,onClick:function(){return a("toggle_piece",{piece:"boots"})}}),children:C?(0,i.capitalize)(C):"ERROR"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Chestpiece",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:V?"sign-out-alt":"sign-in-alt",content:V?"Deployed":"Deploy",disabled:d,selected:V,onClick:function(){return a("toggle_piece",{piece:"chest"})}}),children:N?(0,i.capitalize)(N):"ERROR"})]})})},s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,l=t.data,d=l.sealed,s=l.sealing,u=l.primarysystem,m=l.modules;return!d||s?(0,o.createComponentVNode)(2,c.Section,{title:"Modules",children:(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"HARDSUIT SYSTEMS OFFLINE"})}):(0,o.createComponentVNode)(2,c.Section,{title:"Modules",children:[(0,o.createComponentVNode)(2,c.Box,{color:"label",mb:"0.2rem",fontSize:1.5,children:["Selected Primary: ",(0,i.capitalize)(u||"None")]}),m&&m.map((function(e,n){return(0,o.createComponentVNode)(2,c.Section,{level:2,title:(0,i.toTitleCase)(e.name)+(e.damage?" (damaged)":""),buttons:(0,o.createFragment)([e.can_select?(0,o.createComponentVNode)(2,c.Button,{selected:e.name===u,content:e.name===u?"Selected":"Select",icon:"arrow-circle-right",onClick:function(){return a("interact_module",{module:e.index,module_mode:"select"})}}):null,e.can_use?(0,o.createComponentVNode)(2,c.Button,{content:e.engagestring,icon:"arrow-circle-down",onClick:function(){return a("interact_module",{module:e.index,module_mode:"engage"})}}):null,e.can_toggle?(0,o.createComponentVNode)(2,c.Button,{selected:e.is_active,content:e.is_active?e.deactivatestring:e.activatestring,icon:"arrow-circle-down",onClick:function(){return a("interact_module",{module:e.index,module_mode:"toggle"})}}):null],0),children:[e.damage>=2?(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"-- MODULE DESTROYED --"}):(0,o.createComponentVNode)(2,c.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:[(0,o.createComponentVNode)(2,c.Box,{color:"average",children:["Engage: ",e.engagecost]}),(0,o.createComponentVNode)(2,c.Box,{color:"average",children:["Active: ",e.activecost]}),(0,o.createComponentVNode)(2,c.Box,{color:"average",children:["Passive: ",e.passivecost]})]}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:e.desc})]}),e.charges?(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Section,{title:"Module Charges",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Selected",children:(0,i.capitalize)(e.chargetype)}),e.charges.map((function(n,t){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:(0,i.capitalize)(n.caption),children:(0,o.createComponentVNode)(2,c.Button,{selected:e.realchargetype===n.index,icon:"arrow-right",onClick:function(){return a("interact_module",{module:e.index,module_mode:"select_charge_type",charge_type:n.index})}})},n.caption)}))]})})}):null]},e.name)}))]})}},17481:function(e,n,t){"use strict";n.__esModule=!0,n.Radio=void 0;var o=t(39812),r=(t(64499),t(41860)),c=t(71494),a=t(74814),i=t(76270),l=t(85952);n.Radio=function(e,n){var t=(0,c.useBackend)(n),d=t.act,s=t.data,u=s.rawfreq,m=s.minFrequency,p=s.maxFrequency,C=s.listening,h=s.broadcasting,N=s.subspace,V=s.subspaceSwitchable,b=s.chan_list,f=s.loudspeaker,g=s.mic_cut,k=s.spk_cut,v=s.useSyndMode,B=i.RADIO_CHANNELS.find((function(e){return e.freq===Number(u)})),L=156;return b&&b.length>0?L+=28*b.length+6:L+=24,V&&(L+=38),(0,o.createComponentVNode)(2,l.Window,{width:310,height:L,resizable:!0,theme:v?"syndicate":"",children:(0,o.createComponentVNode)(2,l.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Frequency",children:[(0,o.createComponentVNode)(2,a.NumberInput,{animated:!0,unit:"kHz",step:.2,stepPixelSize:10,minValue:m/10,maxValue:p/10,value:u/10,format:function(e){return(0,r.toFixed)(e,1)},onDrag:function(e,n){return d("setFrequency",{freq:(0,r.round)(10*n)})}}),B&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:B.color,ml:2,children:["[",B.name,"]"]})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Audio",children:[(0,o.createComponentVNode)(2,a.Button,{textAlign:"center",width:"37px",icon:C?"volume-up":"volume-mute",selected:C,disabled:k,onClick:function(){return d("listen")}}),(0,o.createComponentVNode)(2,a.Button,{textAlign:"center",width:"37px",icon:h?"microphone":"microphone-slash",selected:h,disabled:g,onClick:function(){return d("broadcast")}}),!!V&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"bullhorn",selected:N,content:"Subspace Tx "+(N?"ON":"OFF"),onClick:function(){return d("subspace")}})}),!!V&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:f?"volume-up":"volume-mute",selected:f,content:"Loudspeaker",onClick:function(){return d("toggleLoudspeaker")}})})]})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Channels",children:[(!b||0===b.length)&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"bad",children:"No channels detected."}),(0,o.createComponentVNode)(2,a.LabeledList,{children:b?b.map((function(e){var n=i.RADIO_CHANNELS.find((function(n){return n.freq===Number(e.freq)})),t="default";return n&&(t=n.color),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.display_name,labelColor:t,textAlign:"right",children:e.secure_channel&&N?(0,o.createComponentVNode)(2,a.Button,{icon:e.sec_channel_listen?"square-o":"check-square-o",selected:!e.sec_channel_listen,content:e.sec_channel_listen?"Off":"On",onClick:function(){return d("channel",{channel:e.chan})}}):(0,o.createComponentVNode)(2,a.Button,{content:"Switch",selected:e.chan===u,onClick:function(){return d("specFreq",{channel:e.chan})}})},e.chan)})):null})]})]})})}},29509:function(e,n,t){"use strict";n.__esModule=!0,n.RapidPipeDispenser=n.ICON_BY_CATEGORY_NAME=void 0;var o=t(39812),r=t(34380),c=t(2497),a=t(71494),i=t(74814),l=t(85952),d=["Atmospherics","Disposals"],s={Atmospherics:"wrench",Disposals:"trash-alt","Transit Tubes":"bus",Pipes:"grip-lines","Disposal Pipes":"grip-lines",Devices:"microchip","Heat Exchange":"thermometer-half","Insulated pipes":"snowflake","Station Equipment":"microchip"};n.ICON_BY_CATEGORY_NAME=s;var u=[{name:"Dispense",bitmask:1},{name:"Connect",bitmask:2},{name:"Destroy",bitmask:4},{name:"Paint",bitmask:8}],m=function(e,n){var t=(0,a.useBackend)(n),r=t.act,l=t.data,m=l.category,p=l.selected_color,C=l.mode;return(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Category",children:d.map((function(e,n){return(0,o.createComponentVNode)(2,i.Button,{selected:m===n,icon:s[e],color:"transparent",onClick:function(){return r("category",{category:n})},children:e},e)}))}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Modes",children:(0,o.createComponentVNode)(2,i.Stack,{fill:!0,children:u.map((function(e){return(0,o.createComponentVNode)(2,i.Stack.Item,{grow:!0,children:(0,o.createComponentVNode)(2,i.Button.Checkbox,{checked:C&e.bitmask,fluid:!0,content:e.name,onClick:function(){return r("mode",{mode:e.bitmask})}})},e.bitmask)}))})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Color",children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,width:"64px",color:l.paint_colors[p],children:(0,c.capitalize)(p)}),Object.keys(l.paint_colors).map((function(e){return(0,o.createComponentVNode)(2,i.ColorBox,{ml:1,color:l.paint_colors[e],onClick:function(){return r("color",{paint_color:e})}},e)}))]})]})})},p=function(e,n){var t=(0,a.useBackend)(n),c=t.act,l=t.data,d=l.category,s=l.piping_layer,u=l.preview_rows.flatMap((function(e){return e.previews}));return(0,o.createComponentVNode)(2,i.Section,{fill:!0,width:7.5,children:[0===d&&(0,o.createComponentVNode)(2,i.Stack,{vertical:!0,mb:1,children:[1,2,3,4,5].map((function(e){return(0,o.createComponentVNode)(2,i.Stack.Item,{my:0,children:(0,o.createComponentVNode)(2,i.Button.Checkbox,{checked:e===s,content:"Layer "+e,onClick:function(){return c("piping_layer",{piping_layer:e})}})},e)}))}),(0,o.createComponentVNode)(2,i.Box,{width:"120px",children:u.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{ml:0,title:e.dir_name,selected:e.selected,style:{width:"40px",height:"40px",padding:0},onClick:function(){return c("setdir",{dir:e.dir,flipped:e.flipped})},children:(0,o.createComponentVNode)(2,i.Box,{className:(0,r.classes)(["pipes32x32",e.dir+"-"+e.icon_state]),style:{transform:"scale(1.5) translate(9.5%, 9.5%)"}})},e.dir)}))})]})},C=function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data.categories,l=void 0===c?[]:c,d=(0,a.useLocalState)(n,"categoryName"),u=d[0],m=d[1],p=l.find((function(e){return e.cat_name===u}))||l[0];return(0,o.createComponentVNode)(2,i.Section,{fill:!0,scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Tabs,{children:l.map((function(e,n){return(0,o.createComponentVNode)(2,i.Tabs.Tab,{fluid:!0,icon:s[e.cat_name],selected:e.cat_name===p.cat_name,onClick:function(){return m(e.cat_name)},children:e.cat_name},e.cat_name)}))}),null==p?void 0:p.recipes.map((function(e){return(0,o.createComponentVNode)(2,i.Button.Checkbox,{fluid:!0,ellipsis:!0,checked:e.selected,content:e.pipe_name,title:e.pipe_name,onClick:function(){return r("pipe_type",{pipe_type:e.pipe_index,category:p.cat_name})}},e.pipe_index)}))]})};n.RapidPipeDispenser=function(e,n){var t=(0,a.useBackend)(n);t.act,t.data.category;return(0,o.createComponentVNode)(2,l.Window,{width:550,height:570,children:(0,o.createComponentVNode)(2,l.Window.Content,{children:(0,o.createComponentVNode)(2,i.Stack,{fill:!0,vertical:!0,children:[(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,m)}),(0,o.createComponentVNode)(2,i.Stack.Item,{grow:!0,children:(0,o.createComponentVNode)(2,i.Stack,{fill:!0,children:[(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,i.Stack,{vertical:!0,fill:!0,children:(0,o.createComponentVNode)(2,i.Stack.Item,{grow:!0,children:(0,o.createComponentVNode)(2,p)})})}),(0,o.createComponentVNode)(2,i.Stack.Item,{grow:!0,children:(0,o.createComponentVNode)(2,C)})]})})]})})})}},53976:function(e,n,t){"use strict";n.__esModule=!0,n.RequestConsole=void 0;var o=t(39812),r=t(2497),c=t(71494),a=t(74814),i=t(85952),l=function(e,n){var t=(0,c.useBackend)(n).act,r=e.dept_list,i=e.department;return(0,o.createComponentVNode)(2,a.LabeledList,{children:r.sort().map((function(e){return e!==i&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"envelope-open-text",onClick:function(){return t("write",{write:e,priority:1})},children:"Message"}),(0,o.createComponentVNode)(2,a.Button,{icon:"exclamation-triangle",onClick:function(){return t("write",{write:e,priority:2})},children:"High Priority"})],4)})||null}))})},d={0:function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.silent;return(0,o.createComponentVNode)(2,a.Section,{title:"Settings",children:(0,o.createComponentVNode)(2,a.Button,{selected:!i,icon:i?"volume-mute":"volume-up",onClick:function(){return r("toggleSilent")},children:["Speaker ",i?"OFF":"ON"]})})},1:function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data),i=r.department,d=r.assist_dept;return(0,o.createComponentVNode)(2,a.Section,{title:"Request assistance from another department",children:(0,o.createComponentVNode)(2,l,{dept_list:d,department:i})})},2:function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data),i=r.department,d=r.supply_dept;return(0,o.createComponentVNode)(2,a.Section,{title:"Supplies",children:(0,o.createComponentVNode)(2,l,{dept_list:d,department:i})})},3:function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data),i=r.department,d=r.info_dept;return(0,o.createComponentVNode)(2,a.Section,{title:"Report Anonymous Information",children:(0,o.createComponentVNode)(2,l,{dept_list:d,department:i})})},4:function(e,n){var t=(0,c.useBackend)(n),r=t.act;t.data;return(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:2,color:"good",children:"Message Sent Successfully"}),(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-right",onClick:function(){return r("setScreen",{setScreen:0})},children:"Continue"})})]})},5:function(e,n){var t=(0,c.useBackend)(n),r=t.act;t.data;return(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:1.5,bold:!0,color:"bad",children:"An error occured. Message Not Sent."}),(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-right",onClick:function(){return r("setScreen",{setScreen:0})},children:"Continue"})})]})},6:function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data.message_log;return(0,o.createComponentVNode)(2,a.Section,{title:"Messages",children:l.length&&l.map((function(e,n){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.decodeHtmlEntities)(e[0]),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"print",onClick:function(){return i("print",{print:n+1})},children:"Print"}),children:(0,r.decodeHtmlEntities)(e[1])},n)}))||(0,o.createComponentVNode)(2,a.Box,{children:"No messages."})})},7:function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,d=l.message,s=l.recipient,u=l.priority,m=l.msgStamped,p=l.msgVerified;return(0,o.createComponentVNode)(2,a.Section,{title:"Message Authentication",children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message for "+s,children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Priority",children:2===u?"High Priority":1===u?"Normal Priority":"Unknown"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Validated By",color:p?"good":"bad",children:(0,r.decodeHtmlEntities)(p)||"No Validation"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stamped By",color:m?"good":"bad",children:(0,r.decodeHtmlEntities)(m)||"No Stamp"})]}),(0,o.createComponentVNode)(2,a.Button,{mt:1,icon:"share",onClick:function(){return i("department",{department:s})},children:"Send Message"}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return i("setScreen",{setScreen:0})},children:"Back"})]})},8:function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=(i.department,i.screen,i.message_log,i.newmessagepriority,i.silent,i.announcementConsole,i.assist_dept,i.supply_dept,i.info_dept,i.message),d=(i.recipient,i.priority,i.msgStamped,i.msgVerified,i.announceAuth);return(0,o.createComponentVNode)(2,a.Section,{title:"Send Station-Wide Announcement",children:[d&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"good",mb:1,children:"ID Verified. Authentication Accepted."}),(0,o.createComponentVNode)(2,a.Section,{title:"Message",mt:1,maxHeight:"200px",scrollable:!0,buttons:(0,o.createComponentVNode)(2,a.Button,{ml:1,icon:"pen",onClick:function(){return r("writeAnnouncement")},children:"Edit"}),children:l||"No Message"})],4)||(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mb:1,children:"Swipe your ID card to authenticate yourself."}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l||!d,icon:"share",onClick:function(){return r("sendAnnouncement")},children:"Announce"}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return r("setScreen",{setScreen:0})},children:"Back"})]})}};n.RequestConsole=function(e,n){var t=(0,c.useBackend)(n),r=t.act,l=t.data,s=l.screen,u=l.newmessagepriority,m=l.announcementConsole,p=d[s];return(0,o.createComponentVNode)(2,i.Window,{width:520,height:410,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:6===s,onClick:function(){return r("setScreen",{setScreen:6})},icon:"envelope-open-text",children:"Messages"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===s,onClick:function(){return r("setScreen",{setScreen:1})},icon:"share-square",children:"Assistance"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===s,onClick:function(){return r("setScreen",{setScreen:2})},icon:"share-square",children:"Supplies"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===s,onClick:function(){return r("setScreen",{setScreen:3})},icon:"share-square-o",children:"Report"}),m&&(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:8===s,onClick:function(){return r("setScreen",{setScreen:8})},icon:"volume-up",children:"Announce"})||null,(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===s,onClick:function(){return r("setScreen",{setScreen:0})},icon:"cog"})]}),u&&(0,o.createComponentVNode)(2,a.Section,{title:u>1?"NEW PRIORITY MESSAGES":"There are new messages!",color:u>1?"bad":"average",bold:u>1})||null,(0,o.createComponentVNode)(2,p)]})})}},48639:function(e,n,t){"use strict";n.__esModule=!0,n.ResearchConsole=void 0;var o=t(39812),r=t(2497),c=t(71494),a=t(74814),i=t(85952),l=function(e,n){var t=(0,c.useBackend)(n).data,o=e.title,r=t[e.target];return"number"==typeof r?o+" - Page "+(r+1):o},d=function(e,n){var t=(0,c.useBackend)(n).act,r=e.target;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return t(r,{reset:!0})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"chevron-left",onClick:function(){return t(r,{reverse:-1})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"chevron-right",onClick:function(){return t(r,{reverse:1})}})],4)},s=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.info.tech,l=e.disk;if(!l||!l.present)return null;var d=(0,c.useSharedState)(n,"saveDialogTech",!1),s=d[0],u=d[1];return s?(0,o.createComponentVNode)(2,a.Section,{title:"Load Technology to Disk",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return u(!1)}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:i.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name,children:(0,o.createComponentVNode)(2,a.Button,{icon:"save",onClick:function(){u(!1),r("copy_tech",{copy_tech_ID:e.id})},children:"Copy To Disk"})},e.name)}))})}):(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Disk Contents",children:"(Technology Data Disk)"})}),l.stored&&(0,o.createComponentVNode)(2,a.Box,{mt:2,children:[(0,o.createComponentVNode)(2,a.Box,{children:l.name}),(0,o.createComponentVNode)(2,a.Box,{children:["Level: ",l.level]}),(0,o.createComponentVNode)(2,a.Box,{children:["Description: ",l.desc]}),(0,o.createComponentVNode)(2,a.Box,{mt:1,children:[(0,o.createComponentVNode)(2,a.Button,{icon:"save",onClick:function(){return r("updt_tech")},children:"Upload to Database"}),(0,o.createComponentVNode)(2,a.Button,{icon:"trash",onClick:function(){return r("clear_tech")},children:"Clear Disk"}),(0,o.createComponentVNode)(2,a.Button,{icon:"eject",onClick:function(){return r("eject_tech")},children:"Eject Disk"})]})]})||(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{children:"This disk has no data stored on it."}),(0,o.createComponentVNode)(2,a.Button,{icon:"save",onClick:function(){return u(!0)},children:"Load Tech To Disk"}),(0,o.createComponentVNode)(2,a.Button,{icon:"eject",onClick:function(){return r("eject_tech")},children:"Eject Disk"})]})]})},u=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,s=i.info.designs,u=e.disk;if(!u||!u.present)return null;var m=(0,c.useSharedState)(n,"saveDialogData",!1),p=m[0],C=m[1];return p?(0,o.createComponentVNode)(2,a.Section,{title:(0,o.createComponentVNode)(2,l,{title:"Load Design to Disk",target:"design_page"}),buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return C(!1)}}),(0,o.createComponentVNode)(2,d,{target:"design_page"})||null],0),children:[(0,o.createComponentVNode)(2,a.Input,{fluid:!0,placeholder:"Search for...",value:i.search,onInput:function(e,n){return r("search",{search:n})},mb:1}),(0,o.createComponentVNode)(2,a.LabeledList,{children:s.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name,children:(0,o.createComponentVNode)(2,a.Button,{icon:"save",onClick:function(){C(!1),r("copy_design",{copy_design_ID:e.id})},children:"Copy To Disk"})},e.name)}))})]}):(0,o.createComponentVNode)(2,a.Box,{children:u.stored&&(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:u.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Lathe Type",children:u.build_type}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Required Materials",children:Object.keys(u.materials).map((function(e){return(0,o.createComponentVNode)(2,a.Box,{children:[e," x ",u.materials[e]]},e)}))})]}),(0,o.createComponentVNode)(2,a.Box,{mt:1,children:[(0,o.createComponentVNode)(2,a.Button,{icon:"save",onClick:function(){return r("updt_design")},children:"Upload to Database"}),(0,o.createComponentVNode)(2,a.Button,{icon:"trash",onClick:function(){return r("clear_design")},children:"Clear Disk"}),(0,o.createComponentVNode)(2,a.Button,{icon:"eject",onClick:function(){return r("eject_design")},children:"Eject Disk"})]})]})||(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{mb:.5,children:"This disk has no data stored on it."}),(0,o.createComponentVNode)(2,a.Button,{icon:"save",onClick:function(){return C(!0)},children:"Load Design To Disk"}),(0,o.createComponentVNode)(2,a.Button,{icon:"eject",onClick:function(){return r("eject_design")},children:"Eject Disk"})]})})},m=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,s=e.target,u=e.designs,m=e.buildName,p=e.buildFiveName;return s?(0,o.createComponentVNode)(2,a.Section,{title:(0,o.createComponentVNode)(2,l,{target:"builder_page",title:"Designs"}),buttons:(0,o.createComponentVNode)(2,d,{target:"builder_page"}),children:[(0,o.createComponentVNode)(2,a.Input,{fluid:!0,placeholder:"Search for...",value:i.search,onInput:function(e,n){return r("search",{search:n})},mb:1}),u&&u.length?u.map((function(e){return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Flex,{width:"100%",justify:"space-between",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{width:"40%",style:{"word-wrap":"break-all"},children:e.name}),(0,o.createComponentVNode)(2,a.Flex.Item,{width:"15%",textAlign:"center",children:[(0,o.createComponentVNode)(2,a.Button,{mb:-1,icon:"wrench",onClick:function(){return r(m,{build:e.id,imprint:e.id})},children:"Build"}),p&&(0,o.createComponentVNode)(2,a.Button,{mb:-1,onClick:function(){return r(p,{build:e.id,imprint:e.id})},children:"x5"})]}),(0,o.createComponentVNode)(2,a.Flex.Item,{width:"45%",style:{"word-wrap":"break-all"},children:[(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"label",children:e.mat_list.join(" ")}),(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"average",ml:1,children:e.chem_list.join(" ")})]})]}),(0,o.createComponentVNode)(2,a.Divider)],4,e.id)})):(0,o.createComponentVNode)(2,a.Box,{children:"No items could be found matching the parameters (page or search)."})]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Error"})},p=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,d=e.name,s=null,u=null;if("Protolathe"===d?(s=l.info.linked_lathe,u=l.lathe_designs):(s=l.info.linked_imprinter,u=l.imprinter_designs),!s||!s.present)return(0,o.createComponentVNode)(2,a.Section,{title:d,children:["No ",d," found."]});var p=s,C=p.total_materials,h=p.max_materials,N=p.total_volume,V=p.max_volume,b=p.busy,f=p.mats,g=p.reagents,k=p.queue,v=(0,c.useSharedState)(n,"protoTab",0),B=v[0],L=v[1],_="transparent",x=!1,w="layer-group";b?(w="hammer",_="average",x=!0):k&&k.length&&(w="sync",_="green",x=!0);var S="Protolathe"===d?"removeP":"removeI",I="Protolathe"===d?"lathe_ejectsheet":"imprinter_ejectsheet",y="Protolathe"===d?"disposeP":"disposeI",T="Protolathe"===d?"disposeallP":"disposeallI";return(0,o.createComponentVNode)(2,a.Section,{title:d,buttons:b&&(0,o.createComponentVNode)(2,a.Icon,{name:"sync",spin:!0})||null,children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Materials",children:(0,o.createComponentVNode)(2,a.ProgressBar,{value:C,maxValue:h,children:[C," cm\xb3 / ",h," cm\xb3"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Chemicals",children:(0,o.createComponentVNode)(2,a.ProgressBar,{value:N,maxValue:V,children:[N,"u / ",V,"u"]})})]}),(0,o.createComponentVNode)(2,a.Tabs,{mt:1,children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{icon:"wrench",selected:0===B,onClick:function(){return L(0)},children:"Build"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{icon:w,iconSpin:x,color:_,selected:1===B,onClick:function(){return L(1)},children:"Queue"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{icon:"cookie-bite",selected:2===B,onClick:function(){return L(2)},children:"Mat Storage"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{icon:"flask",selected:3===B,onClick:function(){return L(3)},children:"Chem Storage"})]}),0===B&&(0,o.createComponentVNode)(2,m,{target:s,designs:u,buildName:"Protolathe"===d?"build":"imprint",buildFiveName:"Protolathe"===d?"buildfive":null})||1===B&&(0,o.createComponentVNode)(2,a.LabeledList,{children:k.length&&k.map((function(e){return 1===e.index?(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name,labelColor:"bad",children:b?(0,o.createComponentVNode)(2,a.Button,{disabled:!0,icon:"trash",children:"Remove"}):(0,o.createComponentVNode)(2,a.Box,{children:["(Awaiting Materials)",(0,o.createComponentVNode)(2,a.Button,{ml:1,icon:"trash",onClick:function(){var n;return i(S,((n={})[S]=e.index,n))},children:"Remove"})]})}):(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name,children:(0,o.createComponentVNode)(2,a.Button,{icon:"trash",onClick:function(){var n;return i(S,((n={})[S]=e.index,n))},children:"Remove"})},e.name)}))||(0,o.createComponentVNode)(2,a.Box,{m:1,children:"Queue Empty."})})||2===B&&(0,o.createComponentVNode)(2,a.LabeledList,{children:f.map((function(e){var t=(0,c.useLocalState)(n,"ejectAmt"+e.name,0),l=t[0],d=t[1];return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.toTitleCase)(e.name),buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.NumberInput,{minValue:0,width:"100px",value:l,maxValue:e.sheets,onDrag:function(e,n){return d(n)}}),(0,o.createComponentVNode)(2,a.Button,{icon:"eject",disabled:!e.removable,onClick:function(){var n;d(0),i(I,((n={})[I]=e.name,n.amount=l,n))},children:"Num"}),(0,o.createComponentVNode)(2,a.Button,{icon:"eject",disabled:!e.removable,onClick:function(){var n;return i(I,((n={})[I]=e.name,n.amount=50,n))},children:"All"})],4),children:[e.amount," cm\xb3"]},e.name)}))})||3===B&&(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:g.length&&g.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name,children:[e.volume,"u",(0,o.createComponentVNode)(2,a.Button,{ml:1,icon:"eject",onClick:function(){return i(y,{dispose:e.id})},children:"Purge"})]},e.name)}))||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Empty",children:"No chems detected"})}),(0,o.createComponentVNode)(2,a.Button,{mt:1,icon:"trash",onClick:function(){return i(T)},children:"Disposal All Chemicals In Storage"})]})||(0,o.createComponentVNode)(2,a.Box,{children:"Error"})]})},C=[{name:"Protolathe",icon:"wrench",template:(0,o.createComponentVNode)(2,p,{name:"Protolathe"})},{name:"Circuit Imprinter",icon:"digital-tachograph",template:(0,o.createComponentVNode)(2,p,{name:"Circuit Imprinter"})},{name:"Destructive Analyzer",icon:"eraser",template:(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.info.linked_destroy;if(!i.present)return(0,o.createComponentVNode)(2,a.Section,{title:"Destructive Analyzer",children:"No destructive analyzer found."});var l=i.loaded_item,d=i.origin_tech;return(0,o.createComponentVNode)(2,a.Section,{title:"Destructive Analyzer",children:l&&(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:l}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Origin Tech",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:d.length&&d.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name,children:[e.level,"\xa0\xa0",e.current&&"(Current: "+e.current+")"]},e.name)}))||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Error",children:"No origin tech found."})})})]}),(0,o.createComponentVNode)(2,a.Button,{mt:1,color:"red",icon:"eraser",onClick:function(){return r("deconstruct")},children:"Deconstruct Item"}),(0,o.createComponentVNode)(2,a.Button,{icon:"eject",onClick:function(){return r("eject_item")},children:"Eject Item"})]})||(0,o.createComponentVNode)(2,a.Box,{children:"No Item Loaded. Standing-by..."})})}))},{name:"Settings",icon:"cog",template:(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.info,l=i.sync,d=i.linked_destroy,s=i.linked_imprinter,u=i.linked_lathe,m=(0,c.useSharedState)(n,"settingsTab",0),p=m[0],C=m[1];return(0,o.createComponentVNode)(2,a.Section,{title:"Settings",children:[(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{icon:"cogs",onClick:function(){return C(0)},selected:0===p,children:"General"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{icon:"link",onClick:function(){return C(1)},selected:1===p,children:"Device Linkages"})]}),0===p&&(0,o.createComponentVNode)(2,a.Box,{children:[l&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"sync",onClick:function(){return r("sync")},children:"Sync Database with Network"}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"unlink",onClick:function(){return r("togglesync")},children:"Disconnect from Research Network"})],4)||(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"link",onClick:function(){return r("togglesync")},children:"Connect to Research Network"}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"lock",onClick:function(){return r("lock")},children:"Lock Console"}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,color:"red",icon:"trash",onClick:function(){return r("reset")},children:"Reset R&D Database"})]})||1===p&&(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"sync",mb:1,onClick:function(){return r("find_device")},children:"Re-sync with Nearby Devices"}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[d.present&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Destructive Analyzer",children:(0,o.createComponentVNode)(2,a.Button,{icon:"unlink",onClick:function(){return r("disconnect",{disconnect:"destroy"})},children:"Disconnect"})})||null,u.present&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Protolathe",children:(0,o.createComponentVNode)(2,a.Button,{icon:"unlink",onClick:function(){return r("disconnect",{disconnect:"lathe"})},children:"Disconnect"})})||null,s.present&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Circuit Imprinter",children:(0,o.createComponentVNode)(2,a.Button,{icon:"unlink",onClick:function(){return r("disconnect",{disconnect:"imprinter"})},children:"Disconnect"})})||null]})]})||(0,o.createComponentVNode)(2,a.Box,{children:"Error"})]})}))},{name:"Research List",icon:"flask",template:(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.tech;return(0,o.createComponentVNode)(2,a.Section,{title:"Current Research Levels",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"print",onClick:function(){return r("print",{print:1})},children:"Print This Page"}),children:(0,o.createComponentVNode)(2,a.Table,{children:i.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:[(0,o.createComponentVNode)(2,a.Box,{color:"label",children:e.name}),(0,o.createComponentVNode)(2,a.Box,{children:[" - Level ",e.level]})]}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:e.desc})})]},e.name)}))})})}))},{name:"Design List",icon:"file",template:(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,s=i.designs;return(0,o.createComponentVNode)(2,a.Section,{title:(0,o.createComponentVNode)(2,l,{title:"Researched Technologies & Designs",target:"design_page"}),buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"print",onClick:function(){return r("print",{print:2})},children:"Print This Page"}),(0,o.createComponentVNode)(2,d,{target:"design_page"})||null],0),children:[(0,o.createComponentVNode)(2,a.Input,{fluid:!0,placeholder:"Search for...",value:i.search,onInput:function(e,n){return r("search",{search:n})},mb:1}),s&&s.length&&(0,o.createComponentVNode)(2,a.LabeledList,{children:s.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name,children:e.desc},e.name)}))})||(0,o.createComponentVNode)(2,a.Box,{color:"warning",children:"No designs found."})]})}))},{name:"Disk Operations",icon:"save",template:(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data.info),i=r.d_disk,l=r.t_disk;return i.present||l.present?(0,o.createComponentVNode)(2,a.Section,{title:"Disk Operations",children:[(0,o.createComponentVNode)(2,s,{disk:l}),(0,o.createComponentVNode)(2,u,{disk:i})]}):(0,o.createComponentVNode)(2,a.Section,{title:"Disk Operations",children:"No disk inserted."})}))}];n.ResearchConsole=function(e,n){var t=(0,c.useBackend)(n),r=t.act,l=t.data,d=l.busy_msg,s=l.locked,u=(0,c.useSharedState)(n,"rdmenu",0),m=u[0],p=u[1],h=!1;return(d||s)&&(h=!0),(0,o.createComponentVNode)(2,i.Window,{width:850,height:630,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.Tabs,{children:C.map((function(e,n){return(0,o.createComponentVNode)(2,a.Tabs.Tab,{icon:e.icon,selected:m===n,disabled:h,onClick:function(){return p(n)},children:e.name},n)}))}),d&&(0,o.createComponentVNode)(2,a.Section,{title:"Processing...",children:d})||s&&(0,o.createComponentVNode)(2,a.Section,{title:"Console Locked",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("lock")},icon:"lock-open",children:"Unlock"})})||C[m].template]})})}},35606:function(e,n,t){"use strict";n.__esModule=!0,n.ResearchServerController=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(64499);n.ResearchServerController=function(e,n){var t=(0,r.useBackend)(n);t.act,t.data;return(0,o.createComponentVNode)(2,a.Window,{width:575,height:430,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data),i=(a.badmin,a.servers),l=(a.consoles,(0,r.useSharedState)(n,"selectedServer",null)),s=l[0],u=l[1],m=i.find((function(e){return e.id===s}));return m?(0,o.createComponentVNode)(2,d,{setSelectedServer:u,server:m}):(0,o.createComponentVNode)(2,c.Section,{title:"Server Selection",children:i.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"eye",onClick:function(){return u(e.id)},children:e.name})},e.name)}))})},d=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data.badmin),i=e.server,l=e.setSelectedServer,d=(0,r.useSharedState)(n,"tab",0),p=d[0],C=d[1];return(0,o.createComponentVNode)(2,c.Section,{title:i.name,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"undo",onClick:function(){return l(null)},children:"Back"}),children:[(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:0===p,onClick:function(){return C(0)},children:"Access Rights"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:1===p,onClick:function(){return C(1)},children:"Data Management"}),a&&(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:2===p,onClick:function(){return C(2)},color:"red",children:"Server-to-Server Transfer"})||null]}),0===p&&(0,o.createComponentVNode)(2,s,{server:i})||null,1===p&&(0,o.createComponentVNode)(2,u,{server:i})||null,2===p&&a&&(0,o.createComponentVNode)(2,m,{server:i})||null]})},s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=e.server,d=i.consoles,s=function(e,n){return-1!==e.id_with_upload.indexOf(n.id)},u=function(e,n){return-1!==e.id_with_download.indexOf(n.id)};return(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Consoles",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:d.length&&d.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name+" ("+e.loc+")",children:[(0,o.createComponentVNode)(2,c.Button,{icon:s(l,e)?"lock-open":"lock",selected:s(l,e),onClick:function(){return a("toggle_upload",{server:l.ref,console:e.ref})},children:s(l,e)?"Upload On":"Upload Off"}),(0,o.createComponentVNode)(2,c.Button,{icon:u(l,e)?"lock-open":"lock",selected:u(l,e),onClick:function(){return a("toggle_download",{server:l.ref,console:e.ref})},children:u(l,e)?"Download On":"Download Off"})]},e.name)}))})})},u=function(e,n){var t=(0,r.useBackend)(n),a=t.act,l=(t.data,e.server);return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Research Levels",children:l.tech.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name,buttons:(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"trash",confirmIcon:"trash",color:"red",content:"Reset",onClick:function(){return a("reset_tech",{server:l.ref,tech:e.id})}})},e.name)}))}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Designs",children:(0,i.filter)((function(e){return!!e.name}))(l.designs).map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name,buttons:(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"trash",confirmIcon:"trash",color:"red",content:"Delete",onClick:function(){return a("reset_design",{server:l.ref,design:e.id})}})},e.name)}))})],4)},m=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=e.server,d=i.badmin,s=i.servers;return d?(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Server Data Transfer",children:s.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button.Confirm,{fluid:!0,color:"bad",content:(0,o.createComponentVNode)(2,c.Box,{children:["Transfer from ",l.name," To ",e.name]}),onClick:function(){return a("transfer_data",{server:l.ref,target:e.ref})}})},e.name)}))}):null}},86330:function(e,n,t){"use strict";n.__esModule=!0,n.ResleevingConsole=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=(t(76270),t(16007)),l=t(85952),d=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=(t.data,e.args),l=i.activerecord,d=i.realname,s=i.obviously_dead,u=i.oocnotes,m=i.can_sleeve_active;return(0,o.createComponentVNode)(2,a.Section,{level:2,m:"-1rem",pb:"1rem",title:"Mind Record ("+d+")",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"times",color:"red",onClick:function(){return r("modal_close")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Actions",children:[(0,o.createComponentVNode)(2,a.Button,{disabled:!m,icon:"user-plus",content:"Sleeve",onClick:function(){return r("sleeve",{ref:l,mode:1})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"user-plus",content:"Card",onClick:function(){return r("sleeve",{ref:l,mode:2})}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"OOC Notes",children:(0,o.createComponentVNode)(2,a.Section,{style:{"word-break":"break-all",height:"100px"},scrollable:!0,children:u})})]})})},s=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=(t.data,e.args),l=i.activerecord,d=i.realname,s=i.species,u=i.sex,m=i.mind_compat,p=i.synthetic,C=i.oocnotes,h=i.can_grow_active;return(0,o.createComponentVNode)(2,a.Section,{level:2,m:"-1rem",pb:"1rem",title:"Body Record ("+d+")",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"times",color:"red",onClick:function(){return r("modal_close")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Species",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Bio. Sex",children:u}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Compat",children:m}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Synthetic",children:p?"Yes":"No"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"OOC Notes",children:(0,o.createComponentVNode)(2,a.Section,{style:{"word-break":"break-all",height:"100px"},scrollable:!0,children:C})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Actions",children:(0,o.createComponentVNode)(2,a.Button,{disabled:!h,icon:"user-plus",content:p?"Build":"Grow",onClick:function(){return r("create",{ref:l})}})})]})})};n.ResleevingConsole=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data),h=(r.menu,r.coredumped),N=r.emergency,V=(0,o.createFragment)([(0,o.createComponentVNode)(2,g),(0,o.createComponentVNode)(2,k),(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,a.Section,{noTopPadding:!0,flexGrow:"1",children:(0,o.createComponentVNode)(2,m)})],4);return h&&(V=(0,o.createComponentVNode)(2,p)),N&&(V=(0,o.createComponentVNode)(2,C)),(0,i.modalRegisterBodyOverride)("view_b_rec",s),(0,i.modalRegisterBodyOverride)("view_m_rec",d),(0,o.createComponentVNode)(2,l.Window,{width:640,height:520,resizable:!0,children:[(0,o.createComponentVNode)(2,i.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),(0,o.createComponentVNode)(2,l.Window.Content,{className:"Layout__content--flexColumn",children:V})]})};var u=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.menu;return(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===i,icon:"home",onClick:function(){return r("menu",{num:1})},children:"Main"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===i,icon:"folder",onClick:function(){return r("menu",{num:2})},children:"Body Records"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===i,icon:"folder",onClick:function(){return r("menu",{num:3})},children:"Mind Records"})]})},m=function(e,n){var t,r=(0,c.useBackend)(n).data,a=r.menu,i=r.bodyrecords,l=r.mindrecords;return 1===a?t=(0,o.createComponentVNode)(2,h):2===a?t=(0,o.createComponentVNode)(2,f,{records:i,actToDo:"view_b_rec"}):3===a&&(t=(0,o.createComponentVNode)(2,f,{records:l,actToDo:"view_m_rec"})),t},p=function(e,n){return(0,o.createComponentVNode)(2,a.Dimmer,{children:(0,o.createComponentVNode)(2,a.Flex,{direction:"column",justify:"space-evenly",align:"center",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Icon,{size:12,color:"bad",name:"exclamation-triangle"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,color:"bad",mt:5,children:(0,o.createVNode)(1,"h2",null,"TransCore dump completed. Resleeving offline.",16)})]})})},C=function(e,n){var t=(0,c.useBackend)(n).act;return(0,o.createComponentVNode)(2,a.Dimmer,{textAlign:"center",children:[(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:(0,o.createVNode)(1,"h1",null,"TRANSCORE DUMP",16)}),(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:(0,o.createVNode)(1,"h2",null,"!!WARNING!!",16)}),(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"This will transfer all minds to the dump disk, and the TransCore will be made unusable until post-shift maintenance! This should only be used in emergencies!"}),(0,o.createComponentVNode)(2,a.Box,{mt:4,children:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject Disk",color:"good",onClick:function(){return t("ejectdisk")}})}),(0,o.createComponentVNode)(2,a.Box,{mt:4,children:(0,o.createComponentVNode)(2,a.Button.Confirm,{icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",content:"Core Dump",confirmContent:"Disable Transcore?",color:"bad",onClick:function(){return t("coredump")}})})]})},h=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data);r.loading,r.scantemp,r.occupant,r.locked,r.can_brainscan,r.scan_mode,r.pods,r.selected_pod;return(0,o.createComponentVNode)(2,a.Section,{title:"Pods",level:"2",children:[(0,o.createComponentVNode)(2,N),(0,o.createComponentVNode)(2,b),(0,o.createComponentVNode)(2,V)]})},N=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,d=l.pods,s=l.spods,u=l.selected_pod;return d&&d.length?d.map((function(e,n){var t;return t="cloning"===e.status?(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:e.progress/100,ranges:{good:[.75,Infinity],average:[.25,.75],bad:[-Infinity,.25]},mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:(0,r.round)(e.progress,0)+"%"})}):"mess"===e.status?(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"ERROR"}):(0,o.createComponentVNode)(2,a.Button,{selected:u===e.pod,icon:u===e.pod&&"check",content:"Select",mt:s&&s.length?"2rem":"0.5rem",onClick:function(){return i("selectpod",{ref:e.pod})}}),(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"pod_"+e.status+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:e.name}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.biomass>=150?"good":"bad",inline:!0,children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.biomass>=150?"circle":"circle-o"}),"\xa0",e.biomass]}),t]},n)})):null},V=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=i.sleevers,d=i.spods,s=i.selected_sleever;return l&&l.length?l.map((function(e,n){return(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"sleeve_"+(e.occupied?"occupied":"empty")+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:e.occupied?"label":"bad",children:e.name}),(0,o.createComponentVNode)(2,a.Button,{selected:s===e.sleever,icon:s===e.sleever&&"check",content:"Select",mt:d&&d.length?"3rem":"1.5rem",onClick:function(){return r("selectsleever",{ref:e.sleever})}})]},n)})):null},b=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,d=l.spods,s=l.selected_printer;return d&&d.length?d.map((function(e,n){var t;return t="cloning"===e.status?(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:e.progress/100,ranges:{good:[.75,Infinity],average:[.25,.75],bad:[-Infinity,.25]},mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:(0,r.round)(e.progress,0)+"%"})}):"mess"===e.status?(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"ERROR"}):(0,o.createComponentVNode)(2,a.Button,{selected:s===e.spod,icon:s===e.spod&&"check",content:"Select",mt:"0.5rem",onClick:function(){return i("selectprinter",{ref:e.spod})}}),(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"synthprinter"+(e.busy?"_working":"")+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:e.name}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.steel>=15e3?"good":"bad",inline:!0,children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.steel>=15e3?"circle":"circle-o"}),"\xa0",e.steel]}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.glass>=15e3?"good":"bad",inline:!0,children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.glass>=15e3?"circle":"circle-o"}),"\xa0",e.glass]}),t]},n)})):null},f=function(e,n){var t=(0,c.useBackend)(n).act,r=e.records,i=e.actToDo;return r.length?(0,o.createComponentVNode)(2,a.Box,{mt:"0.5rem",children:r.map((function(e,n){return(0,o.createComponentVNode)(2,a.Button,{icon:"user",mb:"0.5rem",content:e.name,onClick:function(){return t(i,{ref:e.recref})}},n)}))}):(0,o.createComponentVNode)(2,a.Flex,{height:"100%",mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No records found."]})})},g=function(e,n){var t,r=(0,c.useBackend)(n),i=r.act,l=r.data.temp;if(l&&l.text&&!(l.text.length<=0)){var d=((t={})[l.style]=!0,t);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.NoticeBox,Object.assign({},d,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",children:l.text}),(0,o.createComponentVNode)(2,a.Button,{icon:"times-circle",float:"right",onClick:function(){return i("cleartemp")}}),(0,o.createComponentVNode)(2,a.Box,{clear:"both"})]})))}},k=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data),i=r.pods,l=r.spods,d=r.sleevers;r.autoallowed,r.autoprocess,r.disk;return(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pods",children:i&&i.length?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[i.length," connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"SynthFabs",children:l&&l.length?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[l.length," connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sleevers",children:d&&d.length?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[d.length," Connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})})]})})}},88359:function(e,n,t){"use strict";n.__esModule=!0,n.ResleevingPod=void 0;var o=t(39812),r=t(85952),c=t(71494),a=t(74814);n.ResleevingPod=function(e,n){var t=(0,c.useBackend)(n).data,i=t.occupied,l=t.name,d=t.health,s=t.maxHealth,u=t.stat,m=t.mindStatus,p=t.mindName,C=t.resleeveSick,h=t.initialSick;return(0,o.createComponentVNode)(2,r.Window,{width:300,height:350,resizeable:!0,children:(0,o.createComponentVNode)(2,r.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Occupant",children:i?(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:l}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Health",children:2===u?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"DEAD"}):1===u?(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"Unconscious"}):(0,o.createComponentVNode)(2,a.ProgressBar,{ranges:{good:[.5,Infinity],average:[.25,.5],bad:[-Infinity,.25]},value:d/s,children:[d,"%"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Status",children:m?"Present":"Missing"}),m?(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Occupying",children:p}):""]}),C?(0,o.createComponentVNode)(2,a.Box,{color:"average",mt:3,children:["Warning: Resleeving Sickness detected.",h?(0,o.createFragment)([(0,o.createTextVNode)(" Motion Sickness also detected. Please allow the newly resleeved person a moment to get their bearings. This warning will disappear when Motion Sickness is no longer detected.")],4):""]}):""],0):(0,o.createComponentVNode)(2,a.Box,{bold:!0,m:1,children:"Unoccupied."})})})})}},24455:function(e,n,t){"use strict";n.__esModule=!0,n.RoboticsControlConsole=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.RoboticsControlConsole=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.can_hack,u=d.safety,m=d.show_detonate_all,p=d.cyborgs,C=void 0===p?[]:p;return(0,o.createComponentVNode)(2,a.Window,{width:500,height:460,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[!!m&&(0,o.createComponentVNode)(2,c.Section,{title:"Emergency Self Destruct",children:[(0,o.createComponentVNode)(2,c.Button,{icon:u?"lock":"unlock",content:u?"Disable Safety":"Enable Safety",selected:u,onClick:function(){return l("arm",{})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"bomb",disabled:u,content:"Destroy ALL Cyborgs",color:"bad",onClick:function(){return l("nuke",{})}})]}),(0,o.createComponentVNode)(2,i,{cyborgs:C,can_hack:s})]})})};var i=function(e,n){var t=e.cyborgs,a=(e.can_hack,(0,r.useBackend)(n)),i=a.act,l=a.data;return t.length?t.map((function(e){return(0,o.createComponentVNode)(2,c.Section,{title:e.name,buttons:(0,o.createFragment)([!!e.hackable&&!e.emagged&&(0,o.createComponentVNode)(2,c.Button,{icon:"terminal",content:"Hack",color:"bad",onClick:function(){return i("hackbot",{ref:e.ref})}}),(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:e.locked_down?"unlock":"lock",color:e.locked_down?"good":"default",content:e.locked_down?"Release":"Lockdown",disabled:!l.auth,onClick:function(){return i("stopbot",{ref:e.ref})}}),(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"bomb",content:"Detonate",disabled:!l.auth,color:"bad",onClick:function(){return i("killbot",{ref:e.ref})}})],0),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",children:(0,o.createComponentVNode)(2,c.Box,{color:e.status?"bad":e.locked_down?"average":"good",children:e.status?"Not Responding":e.locked_down?"Locked Down":"Nominal"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Location",children:(0,o.createComponentVNode)(2,c.Box,{children:e.locstring})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Integrity",children:(0,o.createComponentVNode)(2,c.ProgressBar,{color:e.health>50?"good":"bad",value:e.health/100})}),"number"==typeof e.charge&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Cell Charge",children:(0,o.createComponentVNode)(2,c.ProgressBar,{color:e.charge>30?"good":"bad",value:e.charge/100})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Cell Capacity",children:(0,o.createComponentVNode)(2,c.Box,{color:e.cell_capacity<3e4?"average":"good",children:e.cell_capacity})})],4)||(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Cell",children:(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No Power Cell"})}),!!e.is_hacked&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Safeties",children:(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"DISABLED"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Module",children:e.module}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Master AI",children:(0,o.createComponentVNode)(2,c.Box,{color:e.synchronization?"default":"average",children:e.synchronization||"None"})})]})},e.ref)})):(0,o.createComponentVNode)(2,c.NoticeBox,{children:"No cyborg units detected within access parameters."})}},52330:function(e,n,t){"use strict";n.__esModule=!0,n.RogueZones=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.RogueZones=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.timeout_percent,s=l.diffstep,u=l.difficulty,m=l.occupied,p=l.scanning,C=l.updated,h=l.debug,N=l.shuttle_location,V=l.shuttle_at_station,b=l.scan_ready,f=l.can_recall_shuttle;return(0,o.createComponentVNode)(2,a.Window,{width:360,height:250,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:"Current Area",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Mineral Content",children:u}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Shuttle Location",buttons:f&&(0,o.createComponentVNode)(2,c.Button,{color:"bad",icon:"rocket",onClick:function(){return i("recall_shuttle")},children:"Recall Shuttle"})||null,children:N}),m&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{color:"bad",labelColor:"bad",label:"Personnel",children:["WARNING: Area occupied by ",m," personnel!"]})||(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Personnel",color:"good",children:"No personnel detected."})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Scanner",buttons:(0,o.createComponentVNode)(2,c.Button,{disabled:!b,fluid:!0,icon:"search",onClick:function(){return i("scan_for_new")},children:"Scan For Asteroids"}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Scn Ramestat Core",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:d,maxValue:100,ranges:{good:[100,Infinity],average:[75,100],bad:[-Infinity,75]}})}),p&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Scanning",children:"In progress."})||null,C&&!p&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Info",children:"Updated shuttle destination!"})||null,h&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Debug",labelColor:"bad",children:[(0,o.createComponentVNode)(2,c.Box,{children:["Timeout Percent: ",d]}),(0,o.createComponentVNode)(2,c.Box,{children:["Diffstep: ",s]}),(0,o.createComponentVNode)(2,c.Box,{children:["Difficulty: ",u]}),(0,o.createComponentVNode)(2,c.Box,{children:["Occupied: ",m]}),(0,o.createComponentVNode)(2,c.Box,{children:["Debug: ",h]}),(0,o.createComponentVNode)(2,c.Box,{children:["Shuttle Location: ",N]}),(0,o.createComponentVNode)(2,c.Box,{children:["Shuttle at station: ",V]}),(0,o.createComponentVNode)(2,c.Box,{children:["Scan Ready: ",b]})]})||null]})})]})})}},59412:function(e,n,t){"use strict";n.__esModule=!0,n.RustCoreMonitorContent=n.RustCoreMonitor=void 0;var o=t(39812),r=t(71494),c=t(85952),a=t(74814);n.RustCoreMonitor=function(e,n){return(0,o.createComponentVNode)(2,c.Window,{width:627,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,i)})})};var i=function(e,n){var t=(0,r.useBackend)(n),c=t.act,i=t.data.cores;return(0,o.createComponentVNode)(2,a.Section,{title:"Cores",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"pencil-alt",content:"Set Tag",onClick:function(){return c("set_tag")}}),children:(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Position"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Field Status"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Reactant Mode"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Field Instability"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Field Temperature"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Field Strength"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Plasma Content"})]}),i.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:[e.x,", ",e.y,", ",e.z]}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:e.has_field?"Online":"Offline",selected:e.has_field,disabled:!e.core_operational,onClick:function(){return c("toggle_active",{core:e.ref})}})}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:e.reactant_dump?"Dump":"Maintain",selected:e.has_field,disabled:!e.core_operational,onClick:function(){return c("toggle_reactantdump",{core:e.ref})}})}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.field_instability}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.field_temperature}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:(0,o.createComponentVNode)(2,a.Knob,{forcedInputWidth:"60px",size:1.25,color:!!e.has_field&&"yellow",value:e.target_field_strength,unit:"(W.m^-3)",minValue:1,maxValue:1e3,stepPixelSize:1,onDrag:function(n,t){return c("set_fieldstr",{core:e.ref,fieldstr:t})}})}),(0,o.createComponentVNode)(2,a.Table.Cell)]},e.name)}))]})})};n.RustCoreMonitorContent=i},59327:function(e,n,t){"use strict";n.__esModule=!0,n.RustFuelContent=n.RustFuelControl=void 0;var o=t(39812),r=t(71494),c=t(85952),a=t(74814);n.RustFuelControl=function(e,n){return(0,o.createComponentVNode)(2,c.Window,{width:627,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,i)})})};var i=function(e,n){var t=(0,r.useBackend)(n),c=t.act,i=t.data.fuels;return(0,o.createComponentVNode)(2,a.Section,{title:"Fuel Injectors",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"pencil-alt",content:"Set Tag",onClick:function(){return c("set_tag")}}),children:(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Position"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Status"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Remaining Fuel"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Fuel Rod Composition"})]}),i.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:[e.x,", ",e.y,", ",e.z]}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:e.active?"Online":"Offline",selected:e.active,disabled:!e.deployed,onClick:function(){return c("toggle_active",{fuel:e.ref})}})}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.fuel_amt}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.fuel_type})]},e.name)}))]})})};n.RustFuelContent=i},54943:function(e,n,t){"use strict";n.__esModule=!0,n.Secbot=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.Secbot=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.on,s=l.open,u=l.locked,m=l.idcheck,p=l.check_records,C=l.check_arrest,h=l.arrest_type,N=l.declare_arrests,V=l.bot_patrolling,b=l.patrol;return(0,o.createComponentVNode)(2,a.Window,{width:390,height:320,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Automatic Security Unit v2.0",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:d,onClick:function(){return i("power")},children:d?"On":"Off"}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Maintenance Panel",color:s?"bad":"good",children:s?"Open":"Closed"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Behavior Controls",color:u?"good":"bad",children:u?"Locked":"Unlocked"})]})}),!u&&(0,o.createComponentVNode)(2,c.Section,{title:"Behavior Controls",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Check for Weapon Authorization",children:(0,o.createComponentVNode)(2,c.Button,{icon:m?"toggle-on":"toggle-off",selected:m,onClick:function(){return i("idcheck")},children:m?"Yes":"No"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Check Security Records",children:(0,o.createComponentVNode)(2,c.Button,{icon:p?"toggle-on":"toggle-off",selected:p,onClick:function(){return i("ignorerec")},children:p?"Yes":"No"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Check Arrest Status",children:(0,o.createComponentVNode)(2,c.Button,{icon:C?"toggle-on":"toggle-off",selected:C,onClick:function(){return i("ignorearr")},children:C?"Yes":"No"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Operating Mode",children:(0,o.createComponentVNode)(2,c.Button,{icon:h?"toggle-on":"toggle-off",selected:h,onClick:function(){return i("switchmode")},children:h?"Detain":"Arrest"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Report Arrests",children:(0,o.createComponentVNode)(2,c.Button,{icon:N?"toggle-on":"toggle-off",selected:N,onClick:function(){return i("declarearrests")},children:N?"Yes":"No"})}),!!V&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Auto Patrol",children:(0,o.createComponentVNode)(2,c.Button,{icon:b?"toggle-on":"toggle-off",selected:b,onClick:function(){return i("patrol")},children:b?"Yes":"No"})})]})})||null]})})}},57436:function(e,n,t){"use strict";n.__esModule=!0,n.SecureSafe=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.locked,d=i.l_setshort,s=i.code,u=i.emagged;return(0,o.createComponentVNode)(2,c.Box,{width:"185px",children:(0,o.createComponentVNode)(2,c.Grid,{width:"1px",children:[["1","4","7","R"],["2","5","8","0"],["3","6","9","E"]].map((function(e){return(0,o.createComponentVNode)(2,c.Grid.Column,{children:e.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{fluid:!0,bold:!0,mb:"6px",content:e,textAlign:"center",fontSize:"40px",height:"50px",lineHeight:1.25,disabled:!!u||!!d&&1||"R"!==e&&!l||"ERROR"===s&&"R"!==e&&1,onClick:function(){return a("type",{digit:e})}},e)}))},e[0])}))})})};n.SecureSafe=function(e,n){var t=(0,r.useBackend)(n),l=(t.act,t.data),d=l.code,s=l.l_setshort,u=l.l_set,m=l.emagged,p=l.locked,C=!(u||s);return(0,o.createComponentVNode)(2,a.Window,{width:250,height:380,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Box,{m:"6px",children:[C&&(0,o.createComponentVNode)(2,c.NoticeBox,{textAlign:"center",info:1,children:"ENTER NEW 5-DIGIT PASSCODE."}),!!m&&(0,o.createComponentVNode)(2,c.NoticeBox,{textAlign:"center",danger:1,children:"LOCKING SYSTEM ERROR - 1701"}),!!s&&(0,o.createComponentVNode)(2,c.NoticeBox,{textAlign:"center",danger:1,children:"ALERT: MEMORY SYSTEM ERROR - 6040 201"}),(0,o.createComponentVNode)(2,c.Section,{height:"60px",children:(0,o.createComponentVNode)(2,c.Box,{textAlign:"center",position:"center",fontSize:"35px",children:d&&d||(0,o.createComponentVNode)(2,c.Box,{textColor:p?"red":"green",children:p?"LOCKED":"UNLOCKED"})})}),(0,o.createComponentVNode)(2,c.Flex,{ml:"3px",children:[(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,i)}),(0,o.createComponentVNode)(2,c.Flex.Item,{ml:"6px",width:"129px"})]})]})})})}},71915:function(e,n,t){"use strict";n.__esModule=!0,n.SecurityRecords=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(16007),i=t(85952),l=t(28117),d=t(1192),s=t(36355),u=(t(2497),function(e,n){(0,a.modalOpen)(e,"edit",{field:n.edit,value:n.value})});n.SecurityRecords=function(e,n){var t,u=(0,r.useBackend)(n).data,h=u.authenticated,N=u.screen;return h?(2===N?t=(0,o.createComponentVNode)(2,m):3===N?t=(0,o.createComponentVNode)(2,p):4===N&&(t=(0,o.createComponentVNode)(2,C)),(0,o.createComponentVNode)(2,i.Window,{width:700,height:680,resizable:!0,children:[(0,o.createComponentVNode)(2,a.ComplexModal,{maxHeight:"100%",maxWidth:"400px"}),(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,l.LoginInfo),(0,o.createComponentVNode)(2,s.TemporaryNotice),(0,o.createComponentVNode)(2,V),(0,o.createComponentVNode)(2,c.Section,{flexGrow:!0,children:t})]})]})):(0,o.createComponentVNode)(2,i.Window,{width:700,height:680,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:(0,o.createComponentVNode)(2,d.LoginScreen)})})};var m=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.records;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Input,{fluid:!0,placeholder:"Search by Name, DNA, or ID",onChange:function(e,n){return a("search",{t1:n})}}),(0,o.createComponentVNode)(2,c.Box,{mt:"0.5rem",children:i.map((function(e,n){return(0,o.createComponentVNode)(2,c.Button,{icon:"user",mb:"0.5rem",color:e.color,content:e.id+": "+e.name+" (Criminal Status: "+e.criminal+")",onClick:function(){return a("d_rec",{d_rec:e.ref})}},n)}))})],4)},p=function(e,n){var t=(0,r.useBackend)(n).act;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"download",content:"Backup to Disk",disabled:!0}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Button,{icon:"upload",content:"Upload from Disk",my:"0.5rem",disabled:!0}),(0,o.createTextVNode)(" "),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"trash",content:"Delete All Security Records",onClick:function(){return t("del_all")}})],4)},C=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.security,d=i.printing;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"General Data",mt:"-6px",children:(0,o.createComponentVNode)(2,h)}),(0,o.createComponentVNode)(2,c.Section,{title:"Security Data",children:(0,o.createComponentVNode)(2,N)}),(0,o.createComponentVNode)(2,c.Section,{title:"Actions",children:[(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"trash",disabled:!!l.empty,content:"Delete Security Record",color:"bad",onClick:function(){return a("del_r")}}),(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"trash",disabled:!!l.empty,content:"Delete Record (All)",color:"bad",onClick:function(){return a("del_r_2")}}),(0,o.createComponentVNode)(2,c.Button,{icon:d?"spinner":"print",disabled:d,iconSpin:!!d,content:"Print Entry",ml:"0.5rem",onClick:function(){return a("print_p")}}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-left",content:"Back",mt:"0.5rem",onClick:function(){return a("screen",{screen:2})}})]})],4)},h=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.general;return i&&i.fields?(0,o.createComponentVNode)(2,c.Flex,{children:[(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:i.fields.map((function(e,t){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.field,children:[(0,o.createComponentVNode)(2,c.Box,{height:"20px",inline:!0,preserveWhitespace:!0,children:e.value}),!!e.edit&&(0,o.createComponentVNode)(2,c.Button,{icon:"pen",ml:"0.5rem",onClick:function(){return u(n,e)}})]},t)}))})}),(0,o.createComponentVNode)(2,c.Flex.Item,{textAlign:"right",children:[!!i.has_photos&&i.photos.map((function(e,n){return(0,o.createComponentVNode)(2,c.Box,{display:"inline-block",textAlign:"center",color:"label",children:[(0,o.createVNode)(1,"img",null,null,1,{src:e.substr(1,e.length-1),style:{width:"96px","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createVNode)(1,"br"),"Photo #",n+1]},n)})),(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return a("photo_front")},children:"Update Front Photo"}),(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return a("photo_side")},children:"Update Side Photo"})]})]})]}):(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"General records lost!"})},N=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data.security;return l&&l.fields?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.LabeledList,{children:l.fields.map((function(e,t){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.field,preserveWhitespace:!0,children:[e.value,(0,o.createComponentVNode)(2,c.Button,{icon:"pen",ml:"0.5rem",mb:e.line_break?"1rem":"initial",onClick:function(){return u(n,e)}})]},t)}))}),(0,o.createComponentVNode)(2,c.Section,{title:"Comments/Log",children:[0===l.comments.length?(0,o.createComponentVNode)(2,c.Box,{color:"label",children:"No comments found."}):l.comments.map((function(e,n){return(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Box,{color:"label",inline:!0,children:e.header}),(0,o.createVNode)(1,"br"),e.text,(0,o.createComponentVNode)(2,c.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){return i("del_c",{del_c:n+1})}})]},n)})),(0,o.createComponentVNode)(2,c.Button,{icon:"comment",content:"Add Entry",color:"good",mt:"0.5rem",mb:"0",onClick:function(){return(0,a.modalOpen)(n,"add_c")}})]})],4):(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:["Security records lost!",(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"New Record",ml:"0.5rem",onClick:function(){return i("new")}})]})},V=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.screen;return(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:2===i,icon:"list",onClick:function(){return a("screen",{screen:2})},children:"List Records"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{icon:"wrench",selected:3===i,onClick:function(){return a("screen",{screen:3})},children:"Record Maintenance"})]})}},93550:function(e,n,t){"use strict";n.__esModule=!0,n.SeedStorage=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(2497),l=t(64499);n.SeedStorage=function(e,n){var t=(0,r.useBackend)(n),d=t.act,s=t.data,u=(s.scanner,s.seeds),m=(0,l.sortBy)((function(e){return e.name.toLowerCase()}))(u);return(0,o.createComponentVNode)(2,a.Window,{width:600,height:760,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c.Section,{title:"Seeds",children:m.map((function(e){return(0,o.createComponentVNode)(2,c.Flex,{spacing:1,mt:-1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"60%",children:(0,o.createComponentVNode)(2,c.Collapsible,{title:(0,i.toTitleCase)(e.name)+" #"+e.uid,children:(0,o.createComponentVNode)(2,c.Section,{width:"165%",title:"Traits",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:Object.keys(e.traits).map((function(n){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:(0,i.toTitleCase)(n),children:e.traits[n]},n)}))})})})}),(0,o.createComponentVNode)(2,c.Flex.Item,{mt:.4,children:[e.amount," Remaining"]}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"download",onClick:function(){return d("vend",{id:e.id})},children:"Vend"})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"trash",onClick:function(){return d("purge",{id:e.id})},children:"Purge"})})]},e.name+e.uid)}))})})})}},16765:function(e,n,t){"use strict";n.__esModule=!0,n.ShieldCapacitor=void 0;var o=t(39812),r=t(71494),c=t(85952),a=t(74814),i=t(41860),l=t(58083);n.ShieldCapacitor=function(e,n){var t=(0,r.useBackend)(n),d=t.act,s=t.data,u=s.active,m=s.time_since_fail,p=s.stored_charge,C=s.max_charge,h=s.charge_rate,N=s.max_charge_rate;return(0,o.createComponentVNode)(2,c.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",selected:u,content:u?"Online":"Offline",onClick:function(){return d("toggle")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Capacitor Status",children:m>2?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"OK."}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Discharging!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stored Energy",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:p,format:function(e){return(0,l.formatSiUnit)(e,0,"J")}})," (",(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:100*(0,i.round)(p/C,1)}),"%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Charge Rate",children:(0,o.createComponentVNode)(2,a.NumberInput,{value:h,step:100,stepPixelSize:.2,minValue:1e4,maxValue:N,format:function(e){return(0,l.formatPower)(e)},onDrag:function(e,n){return d("charge_rate",{rate:n})}})})]})})})})}},79229:function(e,n,t){"use strict";n.__esModule=!0,n.ShieldGenerator=void 0;var o=t(39812),r=t(71494),c=t(85952),a=t(74814),i=t(41860),l=t(58083),d=t(67861);n.ShieldGenerator=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data.locked);return(0,o.createComponentVNode)(2,c.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:a?(0,o.createComponentVNode)(2,s):(0,o.createComponentVNode)(2,u)})})};var s=function(e,n){return(0,o.createComponentVNode)(2,d.FullscreenNotice,{title:"Locked",children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:"1.5rem",bold:!0,children:(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"})}),(0,o.createComponentVNode)(2,a.Box,{color:"label",my:"1rem",children:"Swipe your ID to begin."})]})},u=function(e,n){var t=(0,r.useBackend)(n),c=t.act,d=t.data.lockedData,s=d.capacitors,u=d.active,m=d.failing,p=d.radius,C=d.max_radius,h=d.z_range,N=d.max_z_range,V=d.average_field_strength,b=d.target_field_strength,f=d.max_field_strength,g=d.shields,k=d.upkeep,v=d.strengthen_rate,B=d.max_strengthen_rate,L=d.gen_power,_=(s||[]).length;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Field Status",children:m?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Unstable"}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Stable"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Overall Field Strength",children:[(0,i.round)(V,2)," Renwick (",b&&(0,i.round)(100*V/b,1)||"NA","%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Upkeep Power",children:(0,l.formatPower)(k)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Shield Generation Power",children:(0,l.formatPower)(L)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Currently Shielded",children:[g," m\xb2"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Capacitors",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:_?s.map((function(e,n){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Capacitor #"+n,children:[e.active?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Online"}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Offline"}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Charge",children:[(0,l.formatSiUnit)(e.stored_charge,0,"J")," (",100*(0,i.round)(e.stored_charge/e.max_charge,2),"%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",children:e.failing?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Discharging"}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"OK."})})]})]},n)})):(0,o.createComponentVNode)(2,a.LabeledList.Item,{color:"bad",children:"No Capacitors Connected"})})})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Controls",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:u?"Online":"Offline",selected:u,onClick:function(){return c("toggle")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Coverage Radius",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:6,minValue:0,maxValue:C,value:p,unit:"m",onDrag:function(e,n){return c("change_radius",{val:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Vertical Shielding",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:12,minValue:0,maxValue:N,value:h,unit:"vertical range",onDrag:function(e,n){return c("z_range",{val:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Charge Rate",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:12,minValue:0,step:.1,maxValue:B,value:v,format:function(e){return(0,i.round)(e,1)},unit:"Renwick/s",onDrag:function(e,n){return c("strengthen_rate",{val:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Maximum Field Strength",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:12,minValue:1,maxValue:f,value:b,unit:"Renwick",onDrag:function(e,n){return c("target_field_strength",{val:n})}})})]})})],4)}},89957:function(e,n,t){"use strict";n.__esModule=!0,n.ShutoffMonitorContent=n.ShutoffMonitor=void 0;var o=t(39812),r=t(71494),c=t(85952),a=t(74814);n.ShutoffMonitor=function(e,n){return(0,o.createComponentVNode)(2,c.Window,{width:627,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,i)})})};var i=function(e,n){var t=(0,r.useBackend)(n),c=t.act,i=t.data.valves;return(0,o.createComponentVNode)(2,a.Section,{title:"Valves",children:(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Position"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Open"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Mode"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Actions"})]}),i.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:[e.x,", ",e.y,", ",e.z]}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.open?"Yes":"No"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.enabled?"Auto":"Manual"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:e.open?"Opened":"Closed",selected:e.open,disabled:!e.enabled,onClick:function(){return c("toggle_open",{valve:e.ref})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:e.enabled?"Auto":"Manual",selected:e.enabled,onClick:function(){return c("toggle_enable",{valve:e.ref})}})]})]},e.name)}))]})})};n.ShutoffMonitorContent=i},34404:function(e,n,t){"use strict";n.__esModule=!0,n.ShuttleControl=void 0;var o=t(39812),r=t(2497),c=t(71494),a=t(74814),i=t(85952),l=function(e,n){var t="ERROR",r="bad",c=!1;return"docked"===e?(t="DOCKED",r="good"):"docking"===e?(t="DOCKING",r="average",c=!0):"undocking"===e?(t="UNDOCKING",r="average",c=!0):"undocked"===e&&(t="UNDOCKED",r="#676767"),c&&n&&(t+="-MANUAL"),(0,o.createComponentVNode)(2,a.Box,{color:r,children:t})},d=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,d=e.engineName,s=void 0===d?"Bluespace Drive":d,u=i.shuttle_status,m=i.shuttle_state,p=i.has_docking,C=i.docking_status,h=i.docking_override,N=i.docking_codes;return(0,o.createComponentVNode)(2,a.Section,{title:"Shuttle Status",children:[(0,o.createComponentVNode)(2,a.Box,{color:"label",mb:1,children:u}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:s,children:"idle"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#676767",bold:!0,children:"IDLE"})||"warmup"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"SPINNING UP"})||"in_transit"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"ENGAGED"})||(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR"})}),p&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Docking Status",children:l(C,h)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Docking Codes",children:(0,o.createComponentVNode)(2,a.Button,{icon:"pen",onClick:function(){return r("set_codes")},children:N||"Not Set"})})],4)||null]})]})},s=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=i.can_launch,d=i.can_cancel,s=i.can_force;return(0,o.createComponentVNode)(2,a.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,a.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("move")},disabled:!l,icon:"rocket",fluid:!0,children:"Launch Shuttle"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("cancel")},disabled:!d,icon:"ban",fluid:!0,children:"Cancel Launch"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("force")},color:"bad",disabled:!s,icon:"exclamation-triangle",fluid:!0,children:"Force Launch"})})]})})},u={ShuttleControlConsoleDefault:(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n);t.act,t.data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,s)],4)})),ShuttleControlConsoleMulti:(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=i.can_cloak,u=i.can_pick,m=i.legit,p=i.cloaked,C=i.destination_name;return(0,o.createFragment)([(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,a.Section,{title:"Multishuttle Controls",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[l&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:m?"ATC Inhibitor":"Cloaking",children:(0,o.createComponentVNode)(2,a.Button,{selected:p,icon:p?"eye":"eye-o",onClick:function(){return r("toggle_cloaked")},children:p?"Enabled":"Disabled"})})||null,(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Destination",children:(0,o.createComponentVNode)(2,a.Button,{icon:"taxi",disabled:!u,onClick:function(){return r("pick")},children:C})})]})}),(0,o.createComponentVNode)(2,s)],4)})),ShuttleControlConsoleExploration:(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=i.can_pick,u=i.destination_name,m=i.fuel_usage,p=i.fuel_span,C=i.remaining_fuel;return(0,o.createFragment)([(0,o.createComponentVNode)(2,d,{engineName:"Engines"}),(0,o.createComponentVNode)(2,a.Section,{title:"Jump Controls",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Destination",children:(0,o.createComponentVNode)(2,a.Button,{icon:"taxi",disabled:!l,onClick:function(){return r("pick")},children:u})}),m&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Est. Delta-V Budget",color:p,children:[C," m/s"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Avg. Delta-V Per Maneuver",children:[m," m/s"]})],4)||null]})}),(0,o.createComponentVNode)(2,s)],4)})),ShuttleControlConsoleWeb:(0,o.createComponentVNode)(2,(function(e,n){var t=(0,c.useBackend)(n),i=t.act,d=t.data,s=d.autopilot,u=d.can_rename,m=d.shuttle_state,p=d.is_moving,C=d.skip_docking,h=d.docking_status,N=d.docking_override,V=d.shuttle_location,b=d.can_cloak,f=d.cloaked,g=d.can_autopilot,k=d.routes,v=d.is_in_transit,B=d.travel_progress,L=d.time_left,_=d.doors,x=d.sensors;return(0,o.createFragment)([s&&(0,o.createComponentVNode)(2,a.Section,{title:"AI PILOT (CLASS D) ACTIVE",children:(0,o.createComponentVNode)(2,a.Box,{inline:!0,italic:!0,children:"This vessel will start and stop automatically. Ensure that all non-cycling capable hatches and doors are closed, as the automated system may not be able to control them. Docking and flight controls are locked. To unlock, disable the automated flight system."})})||null,(0,o.createComponentVNode)(2,a.Section,{title:"Shuttle Status",buttons:u&&(0,o.createComponentVNode)(2,a.Button,{icon:"pen",onClick:function(){return i("rename_command")},children:"Rename"})||null,children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Engines",children:"idle"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#676767",bold:!0,children:"IDLE"})||"warmup"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"SPINNING UP"})||"in_transit"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"ENGAGED"})||(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR"})}),!p&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Location",children:(0,r.toTitleCase)(V)}),!C&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Docking Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{selected:"docked"===h,disabled:"undocked"!==h&&"docked"!==h,onClick:function(){return i("dock_command")},children:"Dock"}),(0,o.createComponentVNode)(2,a.Button,{selected:"undocked"===h,disabled:"docked"!==h&&"undocked"!==h,onClick:function(){return i("undock_command")},children:"Undock"})],4),children:(0,o.createComponentVNode)(2,a.Box,{bold:!0,inline:!0,children:l(h,N)})})||null,b&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Cloaking",children:(0,o.createComponentVNode)(2,a.Button,{selected:f,icon:f?"eye":"eye-o",onClick:function(){return i("toggle_cloaked")},children:f?"Enabled":"Disabled"})})||null,g&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Autopilot",children:(0,o.createComponentVNode)(2,a.Button,{selected:s,icon:s?"eye":"eye-o",onClick:function(){return i("toggle_autopilot")},children:s?"Enabled":"Disabled"})})||null],0)||null]}),!p&&(0,o.createComponentVNode)(2,a.Section,{level:2,title:"Available Destinations",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:k.length&&k.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name,children:(0,o.createComponentVNode)(2,a.Button,{icon:"rocket",onClick:function(){return i("traverse",{traverse:e.index})},children:e.travel_time})},e.name)}))||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Error",color:"bad",children:"No routes found."})})})||null]}),v&&(0,o.createComponentVNode)(2,a.Section,{title:"Transit ETA",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Distance from target",children:(0,o.createComponentVNode)(2,a.ProgressBar,{color:"good",minValue:0,maxValue:100,value:B,children:[L,"s"]})})})})||null,Object.keys(_).length&&(0,o.createComponentVNode)(2,a.Section,{title:"Hatch Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:Object.keys(_).map((function(e){var n=_[e];return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,children:[n.open&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"bad",children:"Open"})||(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"good",children:"Closed"}),"\xa0-\xa0",n.bolted&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"good",children:"Bolted"})||(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"bad",children:"Unbolted"})]},e)}))})})||null,Object.keys(x).length&&(0,o.createComponentVNode)(2,a.Section,{title:"Sensors",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:Object.keys(x).map((function(e){var n=x[e];return-1!==n.reading?(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,color:"bad",children:"Unable to get sensor air reading."}):(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pressure",children:[n.pressure,"kPa"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Temperature",children:[n.temp,"\xb0C"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Oxygen",children:[n.oxygen,"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Nitrogen",children:[n.nitrogen,"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Carbon Dioxide",children:[n.carbon_dioxide,"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Phoron",children:[n.phoron,"%"]}),n.other&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Other",children:[n.other,"%"]})||null]})},e)}))})})||null],0)}))};n.ShuttleControl=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data.subtemplate);return(0,o.createComponentVNode)(2,i.Window,{width:470,height:"ShuttleControlConsoleWeb"===r?560:370,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:u[r]})})}},32325:function(e,n,t){"use strict";n.__esModule=!0,n.SignalerContent=n.Signaler=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(85952);n.Signaler=function(e,n){return(0,o.createComponentVNode)(2,i.Window,{width:280,height:132,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,d=l.code,s=l.frequency,u=l.minFrequency,m=l.maxFrequency;return(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Grid,{children:[(0,o.createComponentVNode)(2,a.Grid.Column,{size:1.4,color:"label",children:"Frequency:"}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:6,minValue:u/10,maxValue:m/10,value:s/10,format:function(e){return(0,r.toFixed)(e,1)},width:"80px",onDrag:function(e,n){return i("freq",{freq:n})}})}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.Button,{ml:1.3,icon:"sync",content:"Reset",onClick:function(){return i("reset",{reset:"freq"})}})})]}),(0,o.createComponentVNode)(2,a.Grid,{mt:.6,children:[(0,o.createComponentVNode)(2,a.Grid.Column,{size:1.4,color:"label",children:"Code:"}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:d,width:"80px",onDrag:function(e,n){return i("code",{code:n})}})}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.Button,{ml:1.3,icon:"sync",content:"Reset",onClick:function(){return i("reset",{reset:"code"})}})})]}),(0,o.createComponentVNode)(2,a.Grid,{mt:.8,children:(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.Button,{mb:-.1,fluid:!0,icon:"arrow-up",content:"Send Signal",textAlign:"center",onClick:function(){return i("signal")}})})})]})};n.SignalerContent=l},80646:function(e,n,t){"use strict";n.__esModule=!0,n.Sleeper=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(85952),l=[["good","Alive"],["average","Unconscious"],["bad","DEAD"]],d=[["Resp","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],s={average:[.25,.5],bad:[.5,Infinity]},u=["bad","average","average","good","average","average","bad"];n.Sleeper=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data.hasOccupant?(0,o.createComponentVNode)(2,m):(0,o.createComponentVNode)(2,V));return(0,o.createComponentVNode)(2,i.Window,{width:550,height:760,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{className:"Layout__content--flexColumn",children:r})})};var m=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data),a=(r.occupant,r.dialysis),i=r.stomachpumping;return(0,o.createFragment)([(0,o.createComponentVNode)(2,p),(0,o.createComponentVNode)(2,C),(0,o.createComponentVNode)(2,h,{title:"Dialysis",active:a,actToDo:"togglefilter"}),(0,o.createComponentVNode)(2,h,{title:"Stomach Pump",active:i,actToDo:"togglepump"}),(0,o.createComponentVNode)(2,N)],4)},p=function(e,n){var t=(0,c.useBackend)(n),i=t.act,d=t.data,s=d.occupant,m=d.auto_eject_dead,p=d.stasis;return(0,o.createComponentVNode)(2,a.Section,{title:"Occupant",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{color:"label",inline:!0,children:"Auto-eject if dead:\xa0"}),(0,o.createComponentVNode)(2,a.Button,{icon:m?"toggle-on":"toggle-off",selected:m,content:m?"On":"Off",onClick:function(){return i("auto_eject_dead_"+(m?"off":"on"))}}),(0,o.createComponentVNode)(2,a.Button,{icon:"user-slash",content:"Eject",onClick:function(){return i("ejectify")}}),(0,o.createComponentVNode)(2,a.Button,{content:p,onClick:function(){return i("changestasis")}})],4),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:s.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:0,max:s.maxHealth,value:s.health/s.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]},children:(0,r.round)(s.health,0)})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",color:l[s.stat][0],children:l[s.stat][1]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:s.maxTemp,value:s.bodyTemperature/s.maxTemp,color:u[s.temperatureSuitability+3],children:[(0,r.round)(s.btCelsius,0),"\xb0C,",(0,r.round)(s.btFaren,0),"\xb0F"]})}),!!s.hasBlood&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Blood Level",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:s.bloodMax,value:s.bloodLevel/s.bloodMax,ranges:{bad:[-Infinity,.6],average:[.6,.9],good:[.6,Infinity]},children:[s.bloodPercent,"%, ",s.bloodLevel,"cl"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pulse",verticalAlign:"middle",children:[s.pulse," BPM"]})],4)]})})},C=function(e,n){var t=(0,c.useBackend)(n).data.occupant;return(0,o.createComponentVNode)(2,a.Section,{title:"Damage",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:d.map((function(e,n){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e[0],children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:t[e[1]]/100,ranges:s,children:(0,r.round)(t[e[1]],0)},n)},n)}))})})},h=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=i.isBeakerLoaded,d=i.beakerMaxSpace,s=i.beakerFreeSpace,u=e.active,m=e.actToDo,p=e.title,C=u&&s>0;return(0,o.createComponentVNode)(2,a.Section,{title:p,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{disabled:!l||s<=0,selected:C,icon:C?"toggle-on":"toggle-off",content:C?"Active":"Inactive",onClick:function(){return r(m)}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return r("removebeaker")}})],4),children:l?(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Remaining Space",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:d,value:s/d,ranges:{good:[.5,Infinity],average:[.25,.5],bad:[-Infinity,.25]},children:[s,"u"]})})}):(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No beaker loaded."})})},N=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=i.occupant,d=i.chemicals,s=i.maxchem,u=i.amounts;return(0,o.createComponentVNode)(2,a.Section,{title:"Chemicals",flexGrow:"1",children:d.map((function(e,n){var t,c="";return e.overdosing?(c="bad",t=(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-circle"}),"\xa0 Overdosing!"]})):e.od_warning&&(c="average",t=(0,o.createComponentVNode)(2,a.Box,{color:"average",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-triangle"}),"\xa0 Close to overdosing"]})),(0,o.createComponentVNode)(2,a.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,o.createComponentVNode)(2,a.Section,{title:e.title,level:"3",mx:"0",lineHeight:"18px",buttons:t,children:(0,o.createComponentVNode)(2,a.Flex,{align:"flex-start",children:[(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:s,value:e.occ_amount/s,color:c,mr:"0.5rem",children:[e.pretty_amount,"/",s,"u"]}),u.map((function(n,t){return(0,o.createComponentVNode)(2,a.Button,{disabled:!e.injectable||e.occ_amount+n>s||2===l.stat,icon:"syringe",content:n,mb:"0",height:"19px",onClick:function(){return r("chemical",{chemid:e.id,amount:n})}},t)}))]})})},n)}))})},V=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data.isBeakerLoaded;return(0,o.createComponentVNode)(2,a.Section,{textAlign:"center",flexGrow:"1",children:(0,o.createComponentVNode)(2,a.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant detected.",i&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Remove Beaker",onClick:function(){return r("removebeaker")}})})||null]})})})}},55896:function(e,n,t){"use strict";n.__esModule=!0,n.SmartVend=void 0;var o=t(39812),r=t(64499),c=t(71494),a=t(74814),i=t(85952);n.SmartVend=function(e,n){var t=(0,c.useBackend)(n),l=t.act,d=t.config,s=t.data;return(0,o.createComponentVNode)(2,i.Window,{width:440,height:550,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,a.Section,{title:"Storage",children:[s.secure&&(0,o.createComponentVNode)(2,a.NoticeBox,{danger:-1===s.locked,info:-1!==s.locked,children:-1===s.locked?(0,o.createComponentVNode)(2,a.Box,{children:"Sec.re ACC_** //):securi_nt.diag=>##'or 1=1'%($..."}):(0,o.createComponentVNode)(2,a.Box,{children:"Secure Access: Please have your identification ready."})})||null,0===s.contents.length&&(0,o.createComponentVNode)(2,a.NoticeBox,{children:["Unfortunately, this ",d.title," is empty."]})||(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:"Item"}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,textAlign:"center",children:"Amount"}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,textAlign:"center",children:"Dispense"})]}),(0,r.map)((function(e,n){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,textAlign:"center",children:[e.amount," in stock"]}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:[(0,o.createComponentVNode)(2,a.Button,{content:"1",disabled:e.amount<1,onClick:function(){return l("Release",{index:e.index,amount:1})}}),(0,o.createComponentVNode)(2,a.Button,{content:"5",disabled:e.amount<5,onClick:function(){return l("Release",{index:e.index,amount:5})}}),(0,o.createComponentVNode)(2,a.Button,{content:"Custom",disabled:e.amount<1,onClick:function(){return l("Release",{index:e.index})}}),(0,o.createComponentVNode)(2,a.Button,{content:"All",disabled:e.amount<1,onClick:function(){return l("Release",{index:e.index,amount:e.amount})}})]})]},n)}))(s.contents)]})]})})})}},20561:function(e,n,t){"use strict";n.__esModule=!0,n.Smes=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(58083),i=t(85952),l=t(41860),d=1e3;n.Smes=function(e,n){var t=(0,r.useBackend)(n),s=t.act,u=t.data,m=u.capacityPercent,p=u.capacity,C=u.charge,h=u.inputAttempt,N=u.inputting,V=u.inputLevel,b=u.inputLevelMax,f=u.inputAvailable,g=u.outputAttempt,k=u.outputting,v=u.outputLevel,B=u.outputLevelMax,L=u.outputUsed,_=(m>=100?"good":N&&"average")||"bad",x=(k?"good":C>0&&"average")||"bad";return(0,o.createComponentVNode)(2,i.Window,{width:340,height:350,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:"Stored Energy",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:.01*m,ranges:{good:[.5,Infinity],average:[.15,.5],bad:[-Infinity,.15]},children:[(0,l.round)(C/6e4,1)," kWh / ",(0,l.round)(p/6e4)," kWh (",m,"%)"]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Input",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Charge Mode",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:h?"sync-alt":"times",selected:h,onClick:function(){return s("tryinput")},children:h?"On":"Off"}),children:(0,o.createComponentVNode)(2,c.Box,{color:_,children:(m>=100?"Fully Charged":N&&"Charging")||"Not Charging"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Target Input",children:(0,o.createComponentVNode)(2,c.Flex,{inline:!0,width:"100%",children:[(0,o.createComponentVNode)(2,c.Flex.Item,{children:[(0,o.createComponentVNode)(2,c.Button,{icon:"fast-backward",disabled:0===V,onClick:function(){return s("input",{target:"min"})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"backward",disabled:0===V,onClick:function(){return s("input",{adjust:-1e4})}})]}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,mx:1,children:(0,o.createComponentVNode)(2,c.Slider,{value:V/d,fillValue:f/d,minValue:0,maxValue:b/d,step:5,stepPixelSize:4,format:function(e){return(0,a.formatPower)(e*d,1)},onDrag:function(e,n){return s("input",{target:n*d})}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:[(0,o.createComponentVNode)(2,c.Button,{icon:"forward",disabled:V===b,onClick:function(){return s("input",{adjust:1e4})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"fast-forward",disabled:V===b,onClick:function(){return s("input",{target:"max"})}})]})]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Available",children:(0,a.formatPower)(f)})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Output",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Output Mode",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:g?"power-off":"times",selected:g,onClick:function(){return s("tryoutput")},children:g?"On":"Off"}),children:(0,o.createComponentVNode)(2,c.Box,{color:x,children:k?"Sending":C>0?"Not Sending":"No Charge"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Target Output",children:(0,o.createComponentVNode)(2,c.Flex,{inline:!0,width:"100%",children:[(0,o.createComponentVNode)(2,c.Flex.Item,{children:[(0,o.createComponentVNode)(2,c.Button,{icon:"fast-backward",disabled:0===v,onClick:function(){return s("output",{target:"min"})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"backward",disabled:0===v,onClick:function(){return s("output",{adjust:-1e4})}})]}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,mx:1,children:(0,o.createComponentVNode)(2,c.Slider,{value:v/d,minValue:0,maxValue:B/d,step:5,stepPixelSize:4,format:function(e){return(0,a.formatPower)(e*d,1)},onDrag:function(e,n){return s("output",{target:n*d})}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:[(0,o.createComponentVNode)(2,c.Button,{icon:"forward",disabled:v===B,onClick:function(){return s("output",{adjust:1e4})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"fast-forward",disabled:v===B,onClick:function(){return s("output",{target:"max"})}})]})]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Outputting",children:(0,a.formatPower)(L)})]})})]})})}},21633:function(e,n,t){"use strict";n.__esModule=!0,n.SolarControl=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952),i=t(41860);n.SolarControl=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.generated,u=d.generated_ratio,m=d.sun_angle,p=d.array_angle,C=d.rotation_rate,h=d.max_rotation_rate,N=d.tracking_state,V=d.connected_panels,b=d.connected_tracker;return(0,o.createComponentVNode)(2,a.Window,{width:380,height:230,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"sync",content:"Scan for new hardware",onClick:function(){return l("refresh")}}),children:(0,o.createComponentVNode)(2,c.Grid,{children:[(0,o.createComponentVNode)(2,c.Grid.Column,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Solar tracker",color:b?"good":"bad",children:b?"OK":"N/A"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Solar panels",color:V>0?"good":"bad",children:V})]})}),(0,o.createComponentVNode)(2,c.Grid.Column,{size:1.5,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power output",children:(0,o.createComponentVNode)(2,c.ProgressBar,{ranges:{good:[.66,Infinity],average:[.33,.66],bad:[-Infinity,.33]},minValue:0,maxValue:1,value:u,children:s+" W"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Star orientation",children:[m,"\xb0"]})]})})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Tracking",children:[(0,o.createComponentVNode)(2,c.Button,{icon:"times",content:"Off",selected:0===N,onClick:function(){return l("tracking",{mode:0})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"clock-o",content:"Timed",selected:1===N,onClick:function(){return l("tracking",{mode:1})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"sync",content:"Auto",selected:2===N,disabled:!b,onClick:function(){return l("tracking",{mode:2})}})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Azimuth",children:[(0===N||1===N)&&(0,o.createComponentVNode)(2,c.NumberInput,{width:"52px",unit:"\xb0",step:1,stepPixelSize:2,minValue:-360,maxValue:720,value:p,format:function(e){var n=Math.sign(e)>0?" (CW)":" (CCW)";return Math.abs((0,i.round)(e))+n},onDrag:function(e,n){return l("azimuth",{value:n})}}),1===N&&(0,o.createComponentVNode)(2,c.NumberInput,{width:"80px",unit:"deg/h",step:1,minValue:-h-.01,maxValue:h+.01,value:C,format:function(e){var n=Math.sign(e)>0?" (CW)":" (CCW)";return Math.abs((0,i.round)(e))+n},onDrag:function(e,n){return l("azimuth_rate",{value:n})}}),2===N&&(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:"label",mt:"3px",children:[p+"\xb0"," (auto)"]})]})]})})]})})}},57762:function(e,n,t){"use strict";n.__esModule=!0,n.SpaceHeater=void 0;var o=t(39812),r=t(76270),c=t(71494),a=t(74814),i=t(85952);n.SpaceHeater=function(e,n){var t=(0,c.useBackend)(n),l=t.act,d=t.data,s=d.temp,u=d.minTemp,m=d.maxTemp,p=d.cell,C=d.power;return(0,o.createComponentVNode)(2,i.Window,{width:300,height:250,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Target Temperature",children:[s," K (",s-r.T0C,"\xb0 C)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Charge",children:[C,"% ",!p&&"(No Cell Inserted)"]})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,a.LabeledControls,{children:[(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Thermostat",children:(0,o.createComponentVNode)(2,a.Knob,{animated:!0,value:s-r.T0C,minValue:u-r.T0C,maxValue:m-r.T0C,unit:"C",onChange:function(e,n){return l("temp",{newtemp:n+r.T0C})}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Cell",children:p?(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject Cell",onClick:function(){return l("cellremove")}}):(0,o.createComponentVNode)(2,a.Button,{icon:"car-battery",content:"Insert Cell",onClick:function(){return l("cellinstall")}})})]})})]})})}},58215:function(e,n,t){"use strict";n.__esModule=!0,n.Stack=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);t(88654);n.Stack=function(e,n){var t=(0,r.useBackend)(n),l=(t.act,t.data),d=l.amount,s=l.recipes;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c.Section,{title:"Amount: "+d,children:(0,o.createComponentVNode)(2,i,{recipes:s})})})})};var i=function s(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data,e.recipes);return Object.keys(a).sort().map((function(e){var n=a[e];return n.ref===undefined?(0,o.createComponentVNode)(2,c.Collapsible,{ml:1,mb:-.7,color:"label",title:e,children:(0,o.createComponentVNode)(2,c.Box,{ml:1,children:(0,o.createComponentVNode)(2,s,{recipes:n})})}):(0,o.createComponentVNode)(2,d,{title:e,recipe:n})}))},l=function(e,n){for(var t=(0,r.useBackend)(n),a=t.act,i=(t.data,e.recipe),l=e.maxMultiplier,d=Math.min(l,Math.floor(i.max_res_amount/i.res_amount)),s=[5,10,25],u=[],m=function(){var e=C[p];d>=e&&u.push((0,o.createComponentVNode)(2,c.Button,{content:e*i.res_amount+"x",onClick:function(){return a("make",{ref:i.ref,multiplier:e})}}))},p=0,C=s;p1?"s":""),C+=")",u>1&&(C=u+"x "+C);var h=function(e,n){return e.req_amount>n?0:Math.floor(n/e.req_amount)}(d,i);return(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Table,{children:(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,disabled:!h,icon:"wrench",content:C,onClick:function(){return a("make",{ref:d.ref,multiplier:1})}})}),m>1&&h>1&&(0,o.createComponentVNode)(2,c.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,l,{recipe:d,maxMultiplier:h})})]})})})}},32015:function(e,n,t){"use strict";n.__esModule=!0,n.StationAlertConsoleContent=n.StationAlertConsole=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.StationAlertConsole=function(){return(0,o.createComponentVNode)(2,a.Window,{width:425,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,i)})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.categories;return(void 0===i?[]:i).map((function(e){return(0,o.createComponentVNode)(2,c.Section,{title:e.category,children:(0,o.createVNode)(1,"ul",null,[0===e.alarms.length&&(0,o.createVNode)(1,"li","color-good","Systems Nominal",16),e.alarms.map((function(e){var n="";return e.has_cameras?n=(0,o.createComponentVNode)(2,c.Section,{children:e.cameras.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{disabled:e.deact,content:e.name+(e.deact?" (deactived)":""),icon:"video",onClick:function(){return a("switchTo",{camera:e.camera})}},e.name)}))}):e.lost_sources&&(n=(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:["Lost Alarm Sources: ",e.lost_sources]})),(0,o.createVNode)(1,"li",null,[e.name,e.origin_lost?(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Alarm Origin Lost."}):"",n],0,null,e.name)}))],0)},e.category)}))};n.StationAlertConsoleContent=i},52649:function(e,n,t){"use strict";n.__esModule=!0,n.StationBlueprintsContent=n.StationBlueprints=void 0;var o=t(39812),r=(t(64499),t(85531),t(34380),t(2497),t(71494)),c=t(74814),a=t(85952);n.StationBlueprints=function(e,n){return(0,o.createComponentVNode)(2,a.Window,{width:870,height:708,resizable:!0,children:(0,o.createComponentVNode)(2,i)})};var i=function(e,n){var t=(0,r.useBackend)(n),i=(t.act,t.data),l=(t.config,i.mapRef);i.areas,i.turfs;return(0,o.createFragment)([(0,o.createVNode)(1,"div","CameraConsole__left",(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:"Honk!"}),2),(0,o.createVNode)(1,"div","CameraConsole__right",(0,o.createComponentVNode)(2,c.ByondUi,{className:"CameraConsole__map",params:{id:l,type:"map"}}),2)],4)};n.StationBlueprintsContent=i},72e3:function(e,n,t){"use strict";n.__esModule=!0,n.SuitCycler=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.SuitCycler=function(e,n){var t=(0,r.useBackend)(n),c=(t.act,t.data),u=c.active,m=c.locked,p=c.uv_active,C=(0,o.createComponentVNode)(2,i);return p?C=(0,o.createComponentVNode)(2,l):m?C=(0,o.createComponentVNode)(2,d):u&&(C=(0,o.createComponentVNode)(2,s)),(0,o.createComponentVNode)(2,a.Window,{width:320,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:C})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.safeties,d=i.occupied,s=i.suit,u=i.helmet,m=i.departments,p=i.species,C=i.uv_level,h=i.max_uv_level,N=i.can_repair,V=i.damage;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Storage",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"lock",content:"Lock",onClick:function(){return a("lock")}}),children:[!(!d||!l)&&(0,o.createComponentVNode)(2,c.NoticeBox,{children:["Biological entity detected in suit chamber. Please remove before continuing with operation.",(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"eject",color:"red",content:"Eject Entity",onClick:function(){return a("eject_guy")}})]}),(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Helmet",children:(0,o.createComponentVNode)(2,c.Button,{icon:u?"square":"square-o",content:u||"Empty",disabled:!u,onClick:function(){return a("dispense",{item:"helmet"})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Suit",children:(0,o.createComponentVNode)(2,c.Button,{icon:s?"square":"square-o",content:s||"Empty",disabled:!s,onClick:function(){return a("dispense",{item:"suit"})}})}),N&&V?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Suit Damage",children:[V,(0,o.createComponentVNode)(2,c.Button,{icon:"wrench",content:"Repair",onClick:function(){return a("repair_suit")}})]}):null]})]}),(0,o.createComponentVNode)(2,c.Section,{title:"Customization",children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Target Paintjob",children:(0,o.createComponentVNode)(2,c.Dropdown,{noscroll:!0,width:"100%",options:m,selected:m[0],onSelected:function(e){return a("department",{department:e})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Target Species",children:(0,o.createComponentVNode)(2,c.Dropdown,{width:"100%",maxHeight:"160px",options:p,selected:p[0],onSelected:function(e){return a("species",{species:e})}})})]}),(0,o.createComponentVNode)(2,c.Button,{mt:1,fluid:!0,content:"Customize",onClick:function(){return a("apply_paintjob")}})]}),(0,o.createComponentVNode)(2,c.Section,{title:"UV Decontamination",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Radiation Level",children:(0,o.createComponentVNode)(2,c.NumberInput,{width:"50px",value:C,minValue:1,maxValue:h,stepPixelSize:30,onChange:function(e,n){return a("radlevel",{radlevel:n})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Decontaminate",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"recycle",disabled:d&&l,textAlign:"center",onClick:function(){return a("uv")}})})]})})],4)},l=function(e,n){return(0,o.createComponentVNode)(2,c.NoticeBox,{children:"Contents are currently being decontaminated. Please wait."})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.model_text,d=i.userHasAccess;return(0,o.createComponentVNode)(2,c.Section,{title:"Locked",textAlign:"center",children:[(0,o.createComponentVNode)(2,c.Box,{color:"bad",bold:!0,children:["The ",l," suit cycler is currently locked. Please contact your system administrator."]}),(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"unlock",content:"[Unlock]",disabled:!d,onClick:function(){return a("lock")}})})]})},s=function(e,n){return(0,o.createComponentVNode)(2,c.NoticeBox,{children:"Contents are currently being painted. Please wait."})}},80748:function(e,n,t){"use strict";n.__esModule=!0,n.SuitStorageUnit=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.SuitStorageUnit=function(e,n){var t=(0,r.useBackend)(n),c=(t.act,t.data),u=c.panelopen,m=c.uv_active,p=c.broken,C=(0,o.createComponentVNode)(2,i);return u?C=(0,o.createComponentVNode)(2,l):m?C=(0,o.createComponentVNode)(2,d):p&&(C=(0,o.createComponentVNode)(2,s)),(0,o.createComponentVNode)(2,a.Window,{width:400,height:365,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:C})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.locked,d=i.open,s=i.safeties,u=i.occupied,m=i.suit,p=i.helmet,C=i.mask;return(0,o.createComponentVNode)(2,c.Section,{title:"Storage",minHeight:"260px",buttons:(0,o.createFragment)([!d&&(0,o.createComponentVNode)(2,c.Button,{icon:l?"unlock":"lock",content:l?"Unlock":"Lock",onClick:function(){return a("lock")}}),!l&&(0,o.createComponentVNode)(2,c.Button,{icon:d?"sign-out-alt":"sign-in-alt",content:d?"Close":"Open",onClick:function(){return a("door")}})],0),children:[!(!u||!s)&&(0,o.createComponentVNode)(2,c.NoticeBox,{children:["Biological entity detected in suit chamber. Please remove before continuing with operation.",(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"eject",color:"red",content:"Eject Entity",onClick:function(){return a("eject_guy")}})]}),l&&(0,o.createComponentVNode)(2,c.Box,{mt:6,bold:!0,textAlign:"center",fontSize:"40px",children:[(0,o.createComponentVNode)(2,c.Box,{children:"Unit Locked"}),(0,o.createComponentVNode)(2,c.Icon,{name:"lock"})]})||d&&(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Helmet",children:(0,o.createComponentVNode)(2,c.Button,{icon:p?"square":"square-o",content:p||"Empty",disabled:!p,onClick:function(){return a("dispense",{item:"helmet"})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Suit",children:(0,o.createComponentVNode)(2,c.Button,{icon:m?"square":"square-o",content:m||"Empty",disabled:!m,onClick:function(){return a("dispense",{item:"suit"})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Mask",children:(0,o.createComponentVNode)(2,c.Button,{icon:C?"square":"square-o",content:C||"Empty",disabled:!C,onClick:function(){return a("dispense",{item:"mask"})}})})]})||(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"recycle",content:"Decontaminate",disabled:u&&s,textAlign:"center",onClick:function(){return a("uv")}})]})},l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.safeties,d=i.uv_super;return(0,o.createComponentVNode)(2,c.Section,{title:"Maintenance Panel",children:[(0,o.createComponentVNode)(2,c.Box,{color:"grey",children:"The panel is ridden with controls, button and meters, labeled in strange signs and symbols that you cannot understand. Probably the manufactoring world's language. Among other things, a few controls catch your eye."}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Box,{children:["A small dial with a biohazard symbol next to it. It's pointing towards a gauge that reads ",d?"15nm":"185nm",".",(0,o.createComponentVNode)(2,c.Flex,{mt:1,align:"center",textAlign:"center",children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"50%",textAlign:"center",children:(0,o.createComponentVNode)(2,c.Knob,{size:2,inline:!0,value:d,minValue:0,maxValue:1,step:1,stepPixelSize:40,color:d?"red":"green",format:function(e){return e?"15nm":"185nm"},onChange:function(e,n){return a("toggleUV")}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"50%",textAlign:"center",children:(0,o.createComponentVNode)(2,c.Icon,{name:"biohazard",size:3,color:"orange"})})]})]}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,c.Box,{children:["A thick old-style button, with 2 grimy LED lights next to it. The ",l?(0,o.createVNode)(1,"font",null,"GREEN",16,{color:"green"}):(0,o.createVNode)(1,"font",null,"RED",16,{color:"red"})," LED is on.",(0,o.createComponentVNode)(2,c.Flex,{mt:1,align:"center",textAlign:"center",children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"50%",textAlign:"center",children:(0,o.createComponentVNode)(2,c.Button,{fontSize:"2rem",color:"grey",inline:!0,icon:"caret-square-right",style:{border:"4px solid #777","border-style":"outset"},onClick:function(){return a("togglesafeties")}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"50%",textAlign:"center",children:[(0,o.createComponentVNode)(2,c.Icon,{name:"circle",color:l?"black":"red",mr:2}),(0,o.createComponentVNode)(2,c.Icon,{name:"circle",color:l?"green":"black"})]})]})]})]})},d=function(e,n){return(0,o.createComponentVNode)(2,c.NoticeBox,{children:"Contents are currently being decontaminated. Please wait."})},s=function(e,n){return(0,o.createComponentVNode)(2,c.NoticeBox,{danger:!0,children:"Unit chamber is too contaminated to continue usage. Please call for a qualified individual to perform maintenance."})}},6951:function(e,n,t){"use strict";n.__esModule=!0,n.SupermatterMonitorContent=n.SupermatterMonitor=void 0;var o=t(39812),r=t(71494),c=t(74814),a=(t(58083),t(85952)),i=t(41860),l=t(2497);n.SupermatterMonitor=function(e,n){return(0,o.createComponentVNode)(2,a.Window,{width:600,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,d)})})};var d=function(e,n){var t=(0,r.useBackend)(n);t.act;return t.data.active?(0,o.createComponentVNode)(2,u):(0,o.createComponentVNode)(2,s)};n.SupermatterMonitorContent=d;var s=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.supermatters;return(0,o.createComponentVNode)(2,c.Section,{title:"Supermatters Detected",buttons:(0,o.createComponentVNode)(2,c.Button,{content:"Refresh",icon:"sync",onClick:function(){return a("refresh")}}),children:(0,o.createComponentVNode)(2,c.Flex,{wrap:"wrap",children:i.map((function(e,n){return(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"49%",grow:n%2,children:(0,o.createComponentVNode)(2,c.Section,{title:e.area_name+" (#"+e.uid+")",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Integrity",children:[e.integrity," %"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Options",children:(0,o.createComponentVNode)(2,c.Button,{icon:"eye",content:"View Details",onClick:function(){return a("set",{set:e.uid})}})})]})})},n)}))})})},u=function(e,n){var t=(0,r.useBackend)(n),a=t.act,d=t.data,s=d.SM_area,u=d.SM_integrity,m=d.SM_power,p=d.SM_ambienttemp,C=d.SM_ambientpressure,h=d.SM_EPR,N=d.SM_gas_O2,V=d.SM_gas_CO2,b=d.SM_gas_N2,f=d.SM_gas_PH,g=d.SM_gas_N2O;return(0,o.createComponentVNode)(2,c.Section,{title:(0,l.toTitleCase)(s),buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-left",content:"Return to Menu",onClick:function(){return a("clear")}}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Core Integrity",children:(0,o.createComponentVNode)(2,c.ProgressBar,{animated:!0,value:u,minValue:0,maxValue:100,ranges:{good:[100,100],average:[50,100],bad:[-Infinity,50]}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Relative EER",children:(0,o.createComponentVNode)(2,c.Box,{color:(m>300?"bad":m>150&&"average")||"good",children:(0,o.createComponentVNode)(2,c.AnimatedNumber,{format:function(e){return(0,i.round)(e,2)+" MeV/cm\xb3"},value:m})})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,c.Box,{color:(p>5e3?"bad":p>4e3&&"average")||"good",children:(0,o.createComponentVNode)(2,c.AnimatedNumber,{format:function(e){return(0,i.round)(e,2)+" K"},value:p})})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Pressure",children:(0,o.createComponentVNode)(2,c.Box,{color:(C>1e4?"bad":C>5e3&&"average")||"good",children:(0,o.createComponentVNode)(2,c.AnimatedNumber,{format:function(e){return(0,i.round)(e,2)+" kPa"},value:C})})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Chamber EPR",children:(0,o.createComponentVNode)(2,c.Box,{color:(h>4?"bad":h>1&&"average")||"good",children:(0,o.createComponentVNode)(2,c.AnimatedNumber,{format:function(e){return(0,i.round)(e,2)},value:h})})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Gas Composition",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"O\xb2",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:N}),"%"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"CO\xb2",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:V}),"%"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"N\xb2",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:b}),"%"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"PH",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:f}),"%"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"N\xb2O",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:g}),"%"]})]})})]})})}},12431:function(e,n,t){"use strict";n.__esModule=!0,n.SupplyConsole=void 0;var o=t(39812),r=t(64499),c=(t(41860),t(58083)),a=t(71494),i=t(74814),l=t(16007),d=t(85952),s=t(85531),u=function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data.supply_points,l=e.args,d=l.name,s=l.cost,u=l.manifest,m=l.ref,p=l.random;return(0,o.createComponentVNode)(2,i.Section,{width:"400px",level:2,m:"-1rem",pb:"1rem",title:d,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"shopping-cart",content:"Buy - "+s+" points",disabled:s>c,onClick:function(){return r("request_crate",{ref:m})}}),children:(0,o.createComponentVNode)(2,i.Section,{title:"Contains"+(p?" any "+p+" of:":""),scrollable:!0,height:"200px",children:u.map((function(e){return(0,o.createComponentVNode)(2,i.Box,{children:e},e)}))})})};n.SupplyConsole=function(e,n){var t=(0,a.useBackend)(n);t.act,t.data;return(0,l.modalRegisterBodyOverride)("view_crate",u),(0,o.createComponentVNode)(2,d.Window,{width:700,height:620,children:(0,o.createComponentVNode)(2,d.Window.Content,{children:[(0,o.createComponentVNode)(2,l.ComplexModal,{maxWidth:"100%"}),(0,o.createComponentVNode)(2,i.Section,{title:"Supply Records",children:[(0,o.createComponentVNode)(2,m),(0,o.createComponentVNode)(2,p)]})]})})};var m=function(e,n){var t=(0,a.useBackend)(n),r=t.act,l=t.data,d=l.supply_points,s=l.shuttle,u=null,m=!1;return l.shuttle_auth&&(1===s.launch&&0===s.mode?u=(0,o.createComponentVNode)(2,i.Button,{icon:"rocket",content:"Send Away",onClick:function(){return r("send_shuttle",{mode:"send_away"})}}):2!==s.launch||3!==s.mode&&1!==s.mode?1===s.launch&&5===s.mode&&(u=(0,o.createComponentVNode)(2,i.Button,{icon:"rocket",content:"Send Shuttle",onClick:function(){return r("send_shuttle",{mode:"send_to_station"})}})):u=(0,o.createComponentVNode)(2,i.Button,{icon:"ban",content:"Cancel Launch",onClick:function(){return r("send_shuttle",{mode:"cancel_shuttle"})}}),s.force&&(m=!0)),(0,o.createComponentVNode)(2,i.Section,{children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Supply Points",children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:d})})}),(0,o.createComponentVNode)(2,i.Section,{level:2,title:"Supply Shuttle",mt:2,children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Location",buttons:(0,o.createFragment)([u,m?(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",content:"Force Launch",onClick:function(){return r("send_shuttle",{mode:"force_shuttle"})}}):null],0),children:s.location}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Engine",children:s.engine}),4===s.mode?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"ETA",children:s.time>1?(0,c.formatTime)(s.time):"LATE"}):null]})})]})},p=function(e,n){var t=(0,a.useBackend)(n),r=(t.act,t.data.order_auth,(0,a.useLocalState)(n,"tabIndex",0)),c=r[0],l=r[1];return(0,o.createComponentVNode)(2,i.Section,{title:"Menu",children:[(0,o.createComponentVNode)(2,i.Tabs,{children:[(0,o.createComponentVNode)(2,i.Tabs.Tab,{icon:"box",selected:0===c,onClick:function(){return l(0)},children:"Request"}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{icon:"check-circle-o",selected:1===c,onClick:function(){return l(1)},children:"Accepted"}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{icon:"circle-o",selected:2===c,onClick:function(){return l(2)},children:"Requests"}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{icon:"book",selected:3===c,onClick:function(){return l(3)},children:"Order history"}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{icon:"book",selected:4===c,onClick:function(){return l(4)},children:"Export history"})]}),0===c?(0,o.createComponentVNode)(2,C):null,1===c?(0,o.createComponentVNode)(2,h,{mode:"Approved"}):null,2===c?(0,o.createComponentVNode)(2,h,{mode:"Requested"}):null,3===c?(0,o.createComponentVNode)(2,h,{mode:"All"}):null,4===c?(0,o.createComponentVNode)(2,N):null]})},C=function(e,n){var t=(0,a.useBackend)(n),c=t.act,l=t.data,d=l.categories,u=l.supply_packs,m=l.contraband,p=l.supply_points,C=(0,a.useLocalState)(n,"activeCategory",null),h=C[0],N=C[1],V=(0,s.flow)([(0,r.filter)((function(e){return e.group===h})),(0,r.filter)((function(e){return!e.contraband||m})),(0,r.sortBy)((function(e){return e.name})),(0,r.sortBy)((function(e){return e.cost>p}))])(u);return(0,o.createComponentVNode)(2,i.Section,{level:2,children:(0,o.createComponentVNode)(2,i.Stack,{children:[(0,o.createComponentVNode)(2,i.Stack.Item,{basis:"25%",children:(0,o.createComponentVNode)(2,i.Section,{title:"Categories",scrollable:!0,fill:!0,height:"290px",children:d.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{fluid:!0,content:e,selected:e===h,onClick:function(){return N(e)}},e)}))})}),(0,o.createComponentVNode)(2,i.Stack.Item,{grow:1,ml:2,children:(0,o.createComponentVNode)(2,i.Section,{title:"Contents",scrollable:!0,fill:!0,height:"290px",children:V.map((function(e){return(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Stack,{align:"center",justify:"flex-start",children:[(0,o.createComponentVNode)(2,i.Stack.Item,{basis:"70%",children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"shopping-cart",ellipsis:!0,content:e.name,color:e.cost>p?"red":null,onClick:function(){return c("request_crate",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,i.Button,{content:"#",color:e.cost>p?"red":null,onClick:function(){return c("request_crate_multi",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,i.Button,{content:"C",color:e.cost>p?"red":null,onClick:function(){return c("view_crate",{crate:e.ref})}})}),(0,o.createComponentVNode)(2,i.Stack.Item,{grow:1,children:[e.cost," points"]})]})},e.name)}))})})]})})},h=function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data,l=e.mode,d=c.orders,s=c.order_auth,u=c.supply_points,m=d.filter((function(e){return e.status===l||"All"===l}));return m.length?(0,o.createComponentVNode)(2,i.Section,{level:2,children:["Requested"===l&&s?(0,o.createComponentVNode)(2,i.Button,{mt:-1,mb:1,fluid:!0,color:"red",icon:"trash",content:"Clear all requests",onClick:function(){return r("clear_all_requests")}}):null,m.map((function(e,n){return(0,o.createComponentVNode)(2,i.Section,{title:"Order "+(n+1),buttons:"All"===l&&s?(0,o.createComponentVNode)(2,i.Button,{color:"red",icon:"trash",content:"Delete Record",onClick:function(){return r("delete_order",{ref:e.ref})}}):null,children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[e.entries.map((function(n){return n.entry?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:n.field,buttons:s?(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Edit",onClick:function(){r("edit_order_value",{ref:e.ref,edit:n.field,"default":n.entry})}}):null,children:n.entry}):null})),"All"===l?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Status",children:e.status}):null]}),s&&"Requested"===l?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"check",content:"Approve",disabled:e.cost>u,onClick:function(){return r("approve_order",{ref:e.ref})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:"Deny",onClick:function(){return r("deny_order",{ref:e.ref})}})],4):null]},n)}))]}):(0,o.createComponentVNode)(2,i.Section,{level:2,children:"No orders found."})},N=function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data,l=c.receipts,d=c.order_auth;return l.length?(0,o.createComponentVNode)(2,i.Section,{level:2,children:l.map((function(e,n){return(0,o.createComponentVNode)(2,i.Section,{children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[e.title.map((function(n){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:n.field,buttons:d?(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Edit",onClick:function(){return r("export_edit",{ref:e.ref,edit:n.field,"default":n.entry})}}):null,children:n.entry},n.field)})),e.error?(0,o.createComponentVNode)(2,i.LabeledList.Item,{labelColor:"red",label:"Error",children:e.error}):e.contents.map((function(n,t){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:n.object,buttons:d?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Edit",onClick:function(){return r("export_edit_field",{ref:e.ref,index:t+1,edit:"meow","default":n.object})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"trash",color:"red",content:"Delete",onClick:function(){return r("export_delete_field",{ref:e.ref,index:t+1})}})],4):null,children:[n.quantity,"x -> ",n.value," points"]},t)}))]}),d?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{mt:1,icon:"plus",content:"Add Item To Record",onClick:function(){return r("export_add_field",{ref:e.ref})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"trash",content:"Delete Record",onClick:function(){return r("export_delete",{ref:e.ref})}})],4):null]},n)}))}):(0,o.createComponentVNode)(2,i.Section,{level:2,children:"No receipts found."})}},30111:function(e,n,t){"use strict";n.__esModule=!0,n.TEGenerator=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(85952),l=t(58083);n.TEGenerator=function(e,n){var t=(0,c.useBackend)(n).data,r=t.totalOutput,s=t.maxTotalOutput,u=t.thermalOutput,m=t.primary,p=t.secondary;return(0,o.createComponentVNode)(2,i.Window,{width:550,height:310,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Total Output",children:(0,o.createComponentVNode)(2,a.ProgressBar,{value:r,maxValue:s,children:(0,l.formatPower)(r)})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Thermal Output",children:(0,l.formatPower)(u)})]})}),m&&p?(0,o.createComponentVNode)(2,a.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{shrink:1,grow:1,children:(0,o.createComponentVNode)(2,d,{name:"Primary Circulator",values:m})}),(0,o.createComponentVNode)(2,a.Flex.Item,{shrink:1,grow:1,children:(0,o.createComponentVNode)(2,d,{name:"Secondary Circulator",values:p})})]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Warning! Both circulators must be connected in order to operate this machine."})]})})};var d=function(e,n){var t=e.name,c=e.values,i=c.dir,d=c.output,s=c.flowCapacity,u=c.inletPressure,m=c.inletTemperature,p=c.outletPressure,C=c.outletTemperature;return(0,o.createComponentVNode)(2,a.Section,{title:t+" ("+i+")",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Turbine Output",children:(0,l.formatPower)(d)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Flow Capacity",children:[(0,r.round)(s,2),"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Inlet Pressure",children:(0,l.formatSiUnit)(1e3*u,0,"Pa")}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Inlet Temperature",children:[(0,r.round)(m,2)," K"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Outlet Pressure",children:(0,l.formatSiUnit)(1e3*p,0,"Pa")}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Outlet Temperature",children:[(0,r.round)(C,2)," K"]})]})})}},58457:function(e,n,t){"use strict";n.__esModule=!0,n.Tank=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.Tank=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.connected,s=l.showToggle,u=void 0===s||s,m=l.maskConnected,p=l.tankPressure,C=l.releasePressure,h=l.defaultReleasePressure,N=l.minReleasePressure,V=l.maxReleasePressure;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:320,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:!!u&&(0,o.createComponentVNode)(2,c.Button,{icon:d?"air-freshener":"lock-open",selected:d,disabled:!m,content:"Mask Release Valve",onClick:function(){return i("toggle")}}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Mask Connected",children:m?"Yes":"No"})})}),(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Pressure",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:p/1013,ranges:{good:[.35,Infinity],average:[.15,.35],bad:[-Infinity,.15]},children:l.tankPressure+" kPa"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Pressure Regulator",children:[(0,o.createComponentVNode)(2,c.Button,{icon:"fast-backward",disabled:C===N,onClick:function(){return i("pressure",{pressure:"min"})}}),(0,o.createComponentVNode)(2,c.NumberInput,{animated:!0,value:parseFloat(C),width:"65px",unit:"kPa",minValue:N,maxValue:V,onChange:function(e,n){return i("pressure",{pressure:n})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"fast-forward",disabled:C===V,onClick:function(){return i("pressure",{pressure:"max"})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"undo",content:"",disabled:C===h,onClick:function(){return i("pressure",{pressure:"reset"})}})]})]})})]})})}},38754:function(e,n,t){"use strict";n.__esModule=!0,n.TankDispenser=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.TankDispenser=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data;return(0,o.createComponentVNode)(2,a.Window,{width:275,height:103,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Phoron",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:l.plasma?"square":"square-o",content:"Dispense",disabled:!l.plasma,onClick:function(){return i("plasma")}}),children:l.plasma}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Oxygen",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:l.oxygen?"square":"square-o",content:"Dispense",disabled:!l.oxygen,onClick:function(){return i("oxygen")}}),children:l.oxygen})]})})})})}},73754:function(e,n,t){"use strict";n.__esModule=!0,n.TelecommsLogBrowser=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(85952);n.TelecommsLogBrowser=function(e,n){var t=(0,c.useBackend)(n),r=t.act,s=t.data,u=s.universal_translate,m=s.network,p=s.temp,C=s.servers,h=s.selectedServer;return(0,o.createComponentVNode)(2,i.Window,{width:575,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:[p&&p.length?(0,o.createComponentVNode)(2,a.NoticeBox,{warning:!0,children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-box",verticalAlign:"middle",children:p}),(0,o.createComponentVNode)(2,a.Button,{icon:"times-circle",float:"right",onClick:function(){return r("cleartemp")}}),(0,o.createComponentVNode)(2,a.Box,{clear:"both"})]}):null,(0,o.createComponentVNode)(2,a.Section,{title:"Network Control",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Network",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"search",content:"Refresh",onClick:function(){return r("scan")}}),(0,o.createComponentVNode)(2,a.Button,{color:"bad",icon:"exclamation-triangle",content:"Flush Buffer",disabled:0===C.length,onClick:function(){return r("release")}})],4),children:(0,o.createComponentVNode)(2,a.Button,{content:m,icon:"pen",onClick:function(){return r("network")}})})})}),h?(0,o.createComponentVNode)(2,d,{network:m,server:h,universal_translate:u}):(0,o.createComponentVNode)(2,l,{network:m,servers:C})]})})};var l=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=(t.data,e.network,e.servers);return i&&i.length?(0,o.createComponentVNode)(2,a.Section,{title:"Detected Telecommunication Servers",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:i.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name+" ("+e.id+")",children:(0,o.createComponentVNode)(2,a.Button,{content:"View",icon:"eye",onClick:function(){return r("view",{id:e.id})}})},e.id)}))})}):(0,o.createComponentVNode)(2,a.Section,{title:"Detected Telecommunications Servers",children:[(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No servers detected."}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Scan",icon:"search",onClick:function(){return r("scan")}})]})},d=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=(t.data,e.network,e.server),d=e.universal_translate;return(0,o.createComponentVNode)(2,a.Section,{title:"Server ("+l.id+")",buttons:(0,o.createComponentVNode)(2,a.Button,{content:"Return",icon:"undo",onClick:function(){return i("mainmenu")}}),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Total Recorded Traffic",children:l.totalTraffic>=1024?(0,r.round)(l.totalTraffic/1024)+" Terrabytes":l.totalTraffic+" Gigabytes"})}),(0,o.createComponentVNode)(2,a.Section,{title:"Stored Logs",mt:"4px",children:(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",children:l.logs&&l.logs.length?l.logs.map((function(e){return(0,o.createComponentVNode)(2,a.Flex.Item,{m:"2px",basis:"49%",grow:e.id%2,children:(0,o.createComponentVNode)(2,a.Section,{title:d||e.parameters.uspeech||e.parameters.intelligible||"Execution Error"===e.input_type?e.input_type:"Audio File",buttons:(0,o.createComponentVNode)(2,a.Button.Confirm,{confirmContent:"Delete Log?",color:"bad",icon:"trash",confirmIcon:"trash",onClick:function(){return i("delete",{id:e.id})}}),children:"Execution Error"===e.input_type?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Data type",children:"Error"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Output",children:e.parameters.message}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Delete",children:(0,o.createComponentVNode)(2,a.Button,{icon:"trash",onClick:function(){return i("delete",{id:e.id})}})})]}):d||e.parameters.uspeech||e.parameters.intelligible?(0,o.createComponentVNode)(2,s,{log:e}):(0,o.createComponentVNode)(2,s,{error:!0})})},e.id)})):"No Logs Detected."})})]})},s=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data,e.log),i=e.error,l=r&&r.parameters||{none:"none"},d=l.timecode,s=l.name,u=l.race,m=l.job,p=l.message;return i?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Time Recieved",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Source",children:"Unidentifiable"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Class",children:u}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contents",children:"Unintelligible"})]}):(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Time Recieved",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Source",children:[s," (Job: ",m,")"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Class",children:u}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contents",className:"LabeledList__breakContents",children:p})]})}},29441:function(e,n,t){"use strict";n.__esModule=!0,n.TelecommsMachineBrowser=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.TelecommsMachineBrowser=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.network,u=d.temp,m=d.machinelist,p=d.selectedMachine;return(0,o.createComponentVNode)(2,a.Window,{width:575,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[u&&u.length?(0,o.createComponentVNode)(2,c.NoticeBox,{warning:!0,children:[(0,o.createComponentVNode)(2,c.Box,{display:"inline-box",verticalAlign:"middle",children:u}),(0,o.createComponentVNode)(2,c.Button,{icon:"times-circle",float:"right",onClick:function(){return l("cleartemp")}}),(0,o.createComponentVNode)(2,c.Box,{clear:"both"})]}):null,(0,o.createComponentVNode)(2,c.Section,{title:"Network Control",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Current Network",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"search",content:"Probe Network",onClick:function(){return l("scan")}}),(0,o.createComponentVNode)(2,c.Button,{color:"bad",icon:"exclamation-triangle",content:"Flush Buffer",disabled:0===m.length,onClick:function(){return l("release")}})],4),children:(0,o.createComponentVNode)(2,c.Button,{content:s,icon:"pen",onClick:function(){return l("network")}})})})}),m&&m.length?(0,o.createComponentVNode)(2,i,{title:p?p.name+" ("+p.id+")":"Detected Network Entities",list:p?p.links:m,showBack:p}):(0,o.createComponentVNode)(2,c.Section,{title:"No Devices Found",children:(0,o.createComponentVNode)(2,c.Button,{icon:"search",content:"Probe Network",onClick:function(){return l("scan")}})})]})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=(t.data,e.list),l=e.title,d=e.showBack;return(0,o.createComponentVNode)(2,c.Section,{title:l,buttons:d&&(0,o.createComponentVNode)(2,c.Button,{icon:"undo",content:"Back to Main Menu",onClick:function(){return a("mainmenu")}}),children:[(0,o.createComponentVNode)(2,c.Box,{color:"label",children:(0,o.createVNode)(1,"u",null,"Linked entities",16)}),(0,o.createComponentVNode)(2,c.LabeledList,{children:i.length?i.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name+" ("+e.id+")",children:(0,o.createComponentVNode)(2,c.Button,{content:"View",icon:"eye",onClick:function(){return a("view",{id:e.id})}})},e.id)})):(0,o.createComponentVNode)(2,c.LabeledList.Item,{color:"bad",children:"No links detected."})})]})}},86756:function(e,n,t){"use strict";n.__esModule=!0,n.TelecommsMultitoolMenu=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(36355),i=t(85952);n.TelecommsMultitoolMenu=function(e,n){var t=(0,r.useBackend)(n),c=(t.act,t.data),s=(c.temp,c.on,c.id,c.network,c.autolinkers,c.shadowlink,c.options);c.linked,c.filter,c.multitool,c.multitool_buffer;return(0,o.createComponentVNode)(2,i.Window,{width:520,height:540,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.TemporaryNotice),(0,o.createComponentVNode)(2,l),(0,o.createComponentVNode)(2,d,{options:s})]})})};var l=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=(i.temp,i.on),d=i.id,s=i.network,u=i.autolinkers,m=i.shadowlink,p=(i.options,i.linked),C=i.filter,h=i.multitool,N=i.multitool_buffer;return(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:l,content:l?"On":"Off",onClick:function(){return a("toggle")}}),children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Identification String",children:(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:d,onClick:function(){return a("id")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Network",children:(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:s,onClick:function(){return a("network")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Prefabrication",children:u?"TRUE":"FALSE"}),m?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Shadow Link",children:"Active."}):null,h?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Multitool Buffer",children:[N?(0,o.createFragment)([N.name,(0,o.createTextVNode)(" ("),N.id,(0,o.createTextVNode)(")")],0):null,(0,o.createComponentVNode)(2,c.Button,{color:N?"green":null,content:N?"Link ("+N.id+")":"Add Machine",icon:N?"link":"plus",onClick:N?function(){return a("link")}:function(){return a("buffer")}}),N?(0,o.createComponentVNode)(2,c.Button,{color:"red",content:"Flush",icon:"trash",onClick:function(){return a("flush")}}):null]}):null]}),(0,o.createComponentVNode)(2,c.Section,{title:"Linked network Entities",mt:1,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:p.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.ref+" "+e.name+" ("+e.id+")",buttons:(0,o.createComponentVNode)(2,c.Button.Confirm,{color:"red",icon:"trash",onClick:function(){return a("unlink",{unlink:e.index})}})},e.ref)}))})}),(0,o.createComponentVNode)(2,c.Section,{title:"Filtering Frequencies",mt:1,children:[C.map((function(e){return(0,o.createComponentVNode)(2,c.Button.Confirm,{content:e.name+" GHz",confirmContent:"Delete?",confirmColor:"red",confirmIcon:"trash",onClick:function(){return a("delete",{"delete":e.freq})}},e.index)})),C&&0!==C.length?null:(0,o.createComponentVNode)(2,c.Box,{color:"label",children:"No filters."})]})]})},d=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=(t.data,e.options),l=i.use_listening_level,d=i.use_broadcasting,s=i.use_receiving,u=i.listening_level,m=i.broadcasting,p=i.receiving,C=i.use_change_freq,h=i.change_freq,N=i.use_broadcast_range,V=i.use_receive_range,b=i.range,f=i.minRange,g=i.maxRange;return l||d||s||C||N||V?(0,o.createComponentVNode)(2,c.Section,{title:"Options",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[l?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Signal Locked to Station",children:(0,o.createComponentVNode)(2,c.Button,{icon:u?"lock-closed":"lock-open",content:u?"Yes":"No",onClick:function(){return a("change_listening")}})}):null,d?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Broadcasting",children:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:m,content:m?"Yes":"No",onClick:function(){return a("broadcast")}})}):null,s?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Receving",children:(0,o.createComponentVNode)(2,c.Button,{icon:"power-off",selected:p,content:p?"Yes":"No",onClick:function(){return a("receive")}})}):null,C?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Change Signal Frequency",children:(0,o.createComponentVNode)(2,c.Button,{icon:"wave-square",selected:!!h,content:h?"Yes ("+h+")":"No",onClick:function(){return a("change_freq")}})}):null,N||V?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:(N?"Broadcast":"Receive")+" Range",children:(0,o.createComponentVNode)(2,c.NumberInput,{value:b,minValue:f,maxValue:g,unit:"gigameters",stepPixelSize:4,format:function(e){return e+1},onDrag:function(e,n){return a("range",{range:n})}})}):null]})}):(0,o.createComponentVNode)(2,c.Section,{title:"No Options Found"})}},18509:function(e,n,t){"use strict";n.__esModule=!0,n.Teleporter=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.Teleporter=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.locked_name,s=l.station_connected,u=l.hub_connected,m=l.calibrated,p=l.teleporter_on;return(0,o.createComponentVNode)(2,a.Window,{width:300,height:200,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Target",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"bullseye",onClick:function(){return i("select_target")},content:d})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Calibrated",children:(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,checked:m,color:m?"good":"bad",onClick:function(){return i("test_fire")},content:m?"Accurate":"Test Fire"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Teleporter",children:(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,checked:p,color:p?"good":"bad",onClick:function(){return i("toggle_on")},content:p?"Online":"OFFLINE"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Station",children:s?"Connected":"Not Connected"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Hub",children:u?"Connected":"Not Connected"})]})})})})}},62555:function(e,n,t){"use strict";n.__esModule=!0,n.TelesciConsoleContent=n.TelesciConsole=void 0;var o=t(39812),r=t(64499),c=t(71494),a=t(74814),i=t(85952);n.TelesciConsole=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data.noTelepad);return(0,o.createComponentVNode)(2,i.Window,{width:400,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:r&&(0,o.createComponentVNode)(2,l)||(0,o.createComponentVNode)(2,d)})})};var l=function(e,n){return(0,o.createComponentVNode)(2,a.Section,{title:"Error",color:"bad",children:["No telepad located.",(0,o.createVNode)(1,"br"),"Please add telepad data."]})},d=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,d=l.insertedGps,s=l.rotation,u=l.currentZ,m=l.cooldown,p=l.crystalCount,C=l.maxCrystals,h=(l.maxPossibleDistance,l.maxAllowedDistance),N=l.distance,V=l.tempMsg,b=l.sectorOptions,f=l.lastTeleData;return(0,o.createComponentVNode)(2,a.Section,{title:"Telepad Controls",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",disabled:!d,onClick:function(){return i("ejectGPS")},content:"Eject GPS"}),children:[(0,o.createComponentVNode)(2,a.NoticeBox,{info:!0,children:m&&(0,o.createComponentVNode)(2,a.Box,{children:["Telepad is recharging. Please wait ",(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:m})," seconds."]})||(0,o.createComponentVNode)(2,a.Box,{children:V})}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Bearing",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,value:s,format:function(e){return e+"\xb0"},step:1,minValue:-900,maxValue:900,onDrag:function(e,n){return i("setrotation",{val:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Distance",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,value:N,format:function(e){return e+"/"+h+" m"},minValue:0,maxValue:h,step:1,stepPixelSize:4,onDrag:function(e,n){return i("setdistance",{val:n})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sector",children:(0,r.sortBy)((function(e){return Number(e)}))(b).map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:"check-circle",content:e,selected:u===e,onClick:function(){return i("setz",{setz:e})}},e)}))}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Controls",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"share",iconRotation:-90,onClick:function(){return i("send")},content:"Send"}),(0,o.createComponentVNode)(2,a.Button,{icon:"share",iconRotation:90,onClick:function(){return i("receive")},content:"Receive"}),(0,o.createComponentVNode)(2,a.Button,{icon:"sync",iconRotation:90,onClick:function(){return i("recal")},content:"Recalibrate"})]})]}),f&&(0,o.createComponentVNode)(2,a.Section,{mt:1,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Telepad Location",children:[f.src_x,", ",f.src_y]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Distance",children:[f.distance,"m"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Transit Time",children:[f.time," secs"]})]})})||(0,o.createComponentVNode)(2,a.Section,{mt:1,children:"No teleport data found."}),(0,o.createComponentVNode)(2,a.Section,{children:["Crystals: ",p," / ",C]})]})};n.TelesciConsoleContent=d},55096:function(e,n,t){"use strict";n.__esModule=!0,n.TimeClock=void 0;var o=t(39812),r=t(41860),c=t(71494),a=t(74814),i=t(85952),l=t(14959);n.TimeClock=function(e,n){var t=(0,c.useBackend)(n),d=t.act,s=t.data,u=s.department_hours,m=s.user_name,p=s.card,C=s.assignment,h=s.job_datum,N=s.allow_change_job,V=s.job_choices;return(0,o.createComponentVNode)(2,i.Window,{width:500,height:520,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.Section,{title:"OOC",children:[(0,o.createComponentVNode)(2,a.NoticeBox,{children:"OOC Note: PTO acquired is account-wide and shared across all characters. Info listed below is not IC information."}),(0,o.createComponentVNode)(2,a.Section,{level:2,title:"Time Off Balance for "+m,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:Object.keys(u).map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,color:u[e]>6?"good":u[e]>1?"average":"bad",children:[(0,r.toFixed)(u[e],1)," ",1===u[e]?"hour":"hours"]},e)}))})})]}),(0,o.createComponentVNode)(2,a.Section,{title:"Employee Info",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Employee ID",children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"user",onClick:function(){return d("id")},children:p||"Insert ID"})}),!!h&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Rank",children:(0,o.createComponentVNode)(2,a.Box,{backgroundColor:h.selection_color,p:.8,children:(0,o.createComponentVNode)(2,a.Flex,{justify:"space-between",align:"center",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Box,{ml:1,children:(0,o.createComponentVNode)(2,l.RankIcon,{color:"white",rank:h.title})})}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Box,{fontSize:1.5,inline:!0,mr:1,children:h.title})})]})})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Departments",children:h.departments}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pay Scale",children:h.economic_modifier}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"PTO Elegibility",children:h.timeoff_factor>0&&(0,o.createComponentVNode)(2,a.Box,{children:["Earns PTO - ",h.pto_department]})||h.timeoff_factor<0&&(0,o.createComponentVNode)(2,a.Box,{children:["Requires PTO - ",h.pto_department]})||(0,o.createComponentVNode)(2,a.Box,{children:"Neutral"})})],4)]})}),!(!N||!h||0===h.timeoff_factor||"Dismissed"===C)&&(0,o.createComponentVNode)(2,a.Section,{title:"Employment Actions",children:h.timeoff_factor>0&&(u[h.pto_department]>0&&(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"exclamation-triangle",onClick:function(){return d("switch-to-offduty")},children:"Go Off-Duty"})||(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Warning: You do not have enough accrued time off to go off-duty."}))||Object.keys(V).length&&Object.keys(V).map((function(e){return V[e].map((function(n){return(0,o.createComponentVNode)(2,a.Button,{icon:"suitcase",onClick:function(){return d("switch-to-onduty-rank",{"switch-to-onduty-rank":e,"switch-to-onduty-assignment":n})},children:n},n)}))}))||(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No Open Positions - See Head Of Personnel"})})]})})}},24389:function(e,n,t){"use strict";n.__esModule=!0,n.TransferValve=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.TransferValve=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.tank_one,s=l.tank_two,u=l.attached_device,m=l.valve;return(0,o.createComponentVNode)(2,a.Window,{children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Valve Status",children:(0,o.createComponentVNode)(2,c.Button,{icon:m?"unlock":"lock",content:m?"Open":"Closed",disabled:!d||!s,onClick:function(){return i("toggle")}})})})}),(0,o.createComponentVNode)(2,c.Section,{title:"Assembly",buttons:(0,o.createComponentVNode)(2,c.Button,{textAlign:"center",width:"150px",icon:"cog",content:"Configure Assembly",disabled:!u,onClick:function(){return i("device")}}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:u?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Attachment",children:(0,o.createComponentVNode)(2,c.Button,{icon:"eject",content:u,disabled:!u,onClick:function(){return i("remove_device")}})}):(0,o.createComponentVNode)(2,c.NoticeBox,{textAlign:"center",children:"Attach Assembly"})})}),(0,o.createComponentVNode)(2,c.Section,{title:"Attachment One",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:d?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Attachment",children:(0,o.createComponentVNode)(2,c.Button,{icon:"eject",content:d,disabled:!d,onClick:function(){return i("tankone")}})}):(0,o.createComponentVNode)(2,c.NoticeBox,{textAlign:"center",children:"Attach Tank"})})}),(0,o.createComponentVNode)(2,c.Section,{title:"Attachment Two",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:s?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Attachment",children:(0,o.createComponentVNode)(2,c.Button,{icon:"eject",content:s,disabled:!s,onClick:function(){return i("tanktwo")}})}):(0,o.createComponentVNode)(2,c.NoticeBox,{textAlign:"center",children:"Attach Tank"})})})]})})}},95893:function(e,n,t){"use strict";n.__esModule=!0,n.TurbineControl=void 0;var o=t(39812),r=(t(41860),t(58083)),c=t(71494),a=t(74814),i=t(85952);n.TurbineControl=function(e,n){var t=(0,c.useBackend)(n),l=t.act,d=t.data,s=(d.connected,d.compressor_broke),u=d.turbine_broke,m=d.broken,p=d.door_status,C=d.online,h=d.power,N=d.rpm,V=d.temp;return(0,o.createComponentVNode)(2,i.Window,{width:520,height:440,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.Section,{title:"Turbine Controller",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",children:m&&(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:["Setup is broken",(0,o.createComponentVNode)(2,a.Button,{icon:"sync",onClick:function(){return l("reconnect")},content:"Reconnect"})]})||(0,o.createComponentVNode)(2,a.Box,{color:C?"good":"bad",children:!C||s||u?"Offline":"Online"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Compressor",children:s&&(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Compressor is inoperable."})||u&&(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Turbine is inoperable."})||(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button.Checkbox,{checked:C,content:"Compressor Power",onClick:function(){return l(C?"power-off":"power-on")}})})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Vent Doors",children:(0,o.createComponentVNode)(2,a.Button.Checkbox,{checked:p,onClick:function(){return l("doors")},content:p?"Closed":"Open"})})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Turbine Speed",children:[m?"--":(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:N})," RPM"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Internal Temperature",children:[m?"--":(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:V})," K"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Generated Power",children:m?"--":(0,o.createComponentVNode)(2,a.AnimatedNumber,{format:function(e){return(0,r.formatPower)(e)},value:Number(h)})})]})})]})})}},62542:function(e,n,t){"use strict";n.__esModule=!0,n.Turbolift=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.Turbolift=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.floors,s=l.doors_open,u=l.fire_mode;return(0,o.createComponentVNode)(2,a.Window,{width:480,height:260+25*u,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{title:"Floor Selection",className:u?"Section--elevator--fire":null,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:s?"door-open":"door-closed",content:s?u?"Close Doors (SAFETY OFF)":"Doors Open":"Doors Closed",selected:s&&!u,color:u?"red":null,onClick:function(){return i("toggle_doors")}}),(0,o.createComponentVNode)(2,c.Button,{icon:"exclamation-triangle",color:"bad",content:"Emergency Stop",onClick:function(){return i("emergency_stop")}})],4),children:[!u||(0,o.createComponentVNode)(2,c.Section,{className:"Section--elevator--fire",textAlign:"center",title:"FIREFIGHTER MODE ENGAGED"}),(0,o.createComponentVNode)(2,c.Flex,{wrap:"wrap",children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"100%",children:(0,o.createComponentVNode)(2,c.Flex,{align:"center",justify:"space-around",children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"22%",textAlign:"right",mr:"3px",children:e.label||"Floor #"+e.id}),(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"8%",textAlign:"left",children:(0,o.createComponentVNode)(2,c.Button,{icon:"circle",color:e.current?"red":e.target?"green":e.queued?"yellow":null,onClick:function(){return i("move_to_floor",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"50%",grow:1,children:e.name})]})},e.id)}))})]})})})}},89761:function(e,n,t){"use strict";n.__esModule=!0,n.GenericUplink=n.Uplink=void 0;var o=t(39812),r=t(2497),c=t(71494),a=t(74814),i=t(58083),l=t(85952);n.Uplink=function(e,n){var t=(0,c.useBackend)(n).data,r=(0,c.useLocalState)(n,"screen",0),i=r[0],m=r[1],p=t.telecrystals;return(0,o.createComponentVNode)(2,l.Window,{width:620,height:580,theme:"syndicate",resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,d,{screen:i,setScreen:m}),0===i&&(0,o.createComponentVNode)(2,u,{currencyAmount:p,currencySymbol:"TC"})||1===i&&(0,o.createComponentVNode)(2,s)||(0,o.createComponentVNode)(2,a.Section,{color:"bad",children:"Error"})]})})};var d=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data),i=e.screen,l=e.setScreen,d=r.discount_name,s=r.discount_amount,u=r.offer_expiry;return(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Tabs,{style:{"border-bottom":"none","margin-bottom":"0"},children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===i,onClick:function(){return l(0)},children:"Request Items"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===i,onClick:function(){return l(1)},children:"Exploitable Information"})]}),(0,o.createComponentVNode)(2,a.Section,{title:"Item Discount",level:2,children:s<100&&(0,o.createComponentVNode)(2,a.Box,{children:[d," - ",s,"% off. Offer expires at: ",u]})||(0,o.createComponentVNode)(2,a.Box,{children:"No items currently discounted."})})]})},s=function(e,n){var t=(0,c.useBackend)(n),r=t.act,i=t.data,l=i.exploit,d=i.locked_records;return(0,o.createComponentVNode)(2,a.Section,{title:"Exploitable Information",buttons:l&&(0,o.createComponentVNode)(2,a.Button,{icon:"undo",content:"Back",onClick:function(){return r("view_exploits",{id:0})}}),children:l&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:l.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sex",children:l.sex}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Species",children:l.species}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Age",children:l.age}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Rank",children:l.rank}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Home System",children:l.home_system}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Citizenship",children:l.citizenship}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Faction",children:l.faction}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Religion",children:l.religion}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Fingerprint",children:l.fingerprint}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Other Affiliations",children:l.antagfaction}),(0,o.createComponentVNode)(2,a.LabeledList.Divider),(0,o.createComponentVNode)(2,a.LabeledList.Item,{children:"Acquired Information"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Notes",children:l.nanoui_exploit_record.split(" ").map((function(e){return(0,o.createComponentVNode)(2,a.Box,{children:e},e)}))})]})})||d.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:"eye",fluid:!0,content:e.name,onClick:function(){return r("view_exploits",{id:e.id})}},e.id)}))})},u=function(e,n){var t,l,d=e.currencyAmount,s=void 0===d?0:d,u=e.currencySymbol,p=void 0===u?"\u20ae":u,C=(0,c.useBackend)(n),h=C.act,N=C.data,V=N.compactMode,b=N.lockable,f=N.categories,g=void 0===f?[]:f,k=(0,c.useLocalState)(n,"searchText",""),v=k[0],B=k[1],L=(0,c.useLocalState)(n,"category",null==(t=g[0])?void 0:t.name),_=L[0],x=L[1],w=(0,r.createSearch)(v,(function(e){return e.name+e.desc})),S=v.length>0&&g.flatMap((function(e){return e.items||[]})).filter(w).filter((function(e,n){return n<25}))||(null==(l=g.find((function(e){return e.name===_})))?void 0:l.items)||[];return(0,o.createComponentVNode)(2,a.Section,{title:(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:s>0?"good":"bad",children:[(0,i.formatMoney)(s)," ",p]}),buttons:(0,o.createFragment)([(0,o.createTextVNode)("Search"),(0,o.createComponentVNode)(2,a.Input,{autoFocus:!0,value:v,onInput:function(e,n){return B(n)},mx:1}),(0,o.createComponentVNode)(2,a.Button,{icon:V?"list":"info",content:V?"Compact":"Detailed",onClick:function(){return h("compact_toggle")}}),!!b&&(0,o.createComponentVNode)(2,a.Button,{icon:"lock",content:"Lock",onClick:function(){return h("lock")}})],0),children:(0,o.createComponentVNode)(2,a.Flex,{children:[0===v.length&&(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Tabs,{vertical:!0,children:g.map((function(e){var n;return(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:e.name===_,onClick:function(){return x(e.name)},children:[e.name," (",(null==(n=e.items)?void 0:n.length)||0,")"]},e.name)}))})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,basis:0,children:[0===S.length&&(0,o.createComponentVNode)(2,a.NoticeBox,{children:0===v.length?"No items in this category.":"No results found."}),(0,o.createComponentVNode)(2,m,{compactMode:v.length>0||V,currencyAmount:s,currencySymbol:p,items:S})]})]})})};n.GenericUplink=u;var m=function(e,n){var t=e.compactMode,l=e.currencyAmount,d=e.currencySymbol,s=(0,c.useBackend)(n).act,u=(0,c.useLocalState)(n,"hoveredItem",{}),m=u[0],p=u[1],C=m&&m.cost||0,h=e.items.map((function(e){var n=m&&m.name!==e.name,t=l-C0&&(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Box,{color:"label",textAlign:"center",mb:1,children:"Please wait. Harvesting in progress."}),(0,o.createComponentVNode)(2,i),(0,o.createComponentVNode)(2,c.Button,{mt:1,fluid:!0,icon:"stop",onClick:function(){return l("stopharvest")},children:"Stop Early"})]})||u<0&&(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Box,{color:"label",textAlign:"center",mb:1,children:"Please wait. Energy dump in progress."}),(0,o.createComponentVNode)(2,i),(0,o.createComponentVNode)(2,c.Button,{mt:1,fluid:!0,icon:"stop",onClick:function(){return l("stopharvest")},children:"Stop Early"})]})||Object.keys(m).length&&(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Name",children:m.name}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Charge",children:(0,o.createComponentVNode)(2,i)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Energy Signature ID",children:m.artifact_id})]}),(0,o.createComponentVNode)(2,c.Button,{mt:1,fluid:!0,icon:"eject",onClick:function(){return l("ejectbattery")},children:"Eject Battery"}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"bolt",onClick:function(){return l("drainbattery")},children:"Drain Battery"}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"star",onClick:function(){return l("harvest")},children:"Begin Harvest"})]})||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No battery inserted."})})})})};var i=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data.info.inserted_battery);return Object.keys(a).length?(0,o.createComponentVNode)(2,c.ProgressBar,{minValue:0,value:a.stored_charge,maxValue:a.capacity}):(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No battery inserted."})}},88835:function(e,n,t){"use strict";n.__esModule=!0,n.XenoarchDepthScanner=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.XenoarchDepthScanner=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.current,s=l.positive_locations;return(0,o.createComponentVNode)(2,a.Window,{width:300,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[Object.keys(d).length&&(0,o.createComponentVNode)(2,c.Section,{title:"Selected",buttons:(0,o.createComponentVNode)(2,c.Button.Confirm,{color:"bad",icon:"trash",confirmIcon:"trash",content:"Delete Entry",onClick:function(){return i("clear",{index:d.index})}}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Time",children:d.time}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Coords",children:d.coords}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Anomaly Depth",children:[d.depth," cm"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Anomaly Size",children:[d.clearance," cm"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Dissonance Spread",children:d.dissonance_spread}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Anomaly Material",children:d.material})]})})||null,(0,o.createComponentVNode)(2,c.Section,{title:"Entries",buttons:(0,o.createComponentVNode)(2,c.Button.Confirm,{color:"red",icon:"trash",confirmIcon:"trash",content:"Delete All",onClick:function(){return i("clear")}}),children:s.length&&s.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{icon:"eye",onClick:function(){return i("select",{select:e.index})},children:[e.time,", ",e.coords]},e.index)}))||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No traces found."})})]})})}},5622:function(e,n,t){"use strict";n.__esModule=!0,n.XenoarchHandheldPowerUtilizer=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.XenoarchHandheldPowerUtilizer=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.inserted_battery,s=l.anomaly,u=l.charge,m=l.capacity,p=l.timeleft,C=l.activated,h=l.duration,N=l.interval;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:500,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{title:"Anomaly Power Utilizer",buttons:(0,o.createComponentVNode)(2,c.Button,{disabled:!d,icon:"eject",onClick:function(){return i("ejectbattery")},children:"Eject Battery"}),children:d&&(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Inserted Battery",children:d}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Anomalies Detected",children:s||"N/A"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Charge",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:u,maxValue:m,children:[u," / ",m]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Time Left Activated",children:p}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"power-off",onClick:function(){return i("startup")},children:C?"Activated":"Deactivated"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Activation Duration",children:(0,o.createComponentVNode)(2,c.NumberInput,{unit:"s",fluid:!0,minValue:0,value:h,stepPixelSize:4,maxValue:30,onDrag:function(e,n){return i("changeduration",{duration:10*n})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Activation Interval",children:(0,o.createComponentVNode)(2,c.NumberInput,{unit:"s",fluid:!0,minValue:0,value:N,stepPixelSize:10,maxValue:10,onDrag:function(e,n){return i("changeinterval",{interval:10*n})}})})]})||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No battery inserted. Please insert a cell."})})})})}},53702:function(e,n,t){"use strict";n.__esModule=!0,n.XenoarchReplicator=void 0;var o=t(39812),r=(t(41860),t(2497),t(71494)),c=t(74814),a=t(85952);n.XenoarchReplicator=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data.tgui_construction;return(0,o.createComponentVNode)(2,a.Window,{theme:"abductor",width:400,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:l.map((function(e,n){return(0,o.createComponentVNode)(2,c.Button,{color:e.background,icon:e.icon,iconColor:e.foreground,fontSize:4,onClick:function(){return i("construct",{key:e.key})}},e.key)}))})})}},13153:function(e,n,t){"use strict";n.__esModule=!0,n.XenoarchSpectrometer=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952),i=t(2497);n.XenoarchSpectrometer=function(e,n){var t=(0,r.useBackend)(n),l=t.act,d=t.data,s=d.scanned_item,u=d.scanned_item_desc,m=d.last_scan_data,p=d.scan_progress,C=d.scanning,h=d.scanner_seal_integrity,N=d.scanner_rpm,V=d.scanner_temperature,b=d.coolant_usage_rate,f=d.coolant_usage_max,g=(d.unused_coolant_abs,d.unused_coolant_per),k=d.coolant_purity,v=d.optimal_wavelength,B=d.maser_wavelength,L=d.maser_wavelength_max,_=d.maser_efficiency,x=d.radiation,w=(d.t_left_radspike,d.rad_shield_on);return(0,o.createComponentVNode)(2,a.Window,{width:900,height:760,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"signal",selected:C,onClick:function(){return l("scanItem")},children:C?"HALT SCAN":"Begin Scan"}),(0,o.createComponentVNode)(2,c.Button,{icon:"eject",disabled:!s,onClick:function(){return l("ejectItem")},children:"Eject Item"})],4),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Item",children:s||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No item inserted."})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Heuristic Analysis",children:u||"None found."})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Scanner",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Scan Progress",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:p,minValue:0,maxValue:100,color:"good"})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Vacuum Seal Integrity",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:h,minValue:0,maxValue:100,ranges:{good:[66,100],average:[33,66],bad:[0,33]}})})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"MASER",buttons:(0,o.createComponentVNode)(2,c.NoticeBox,{info:!0,children:"Match wavelengths to progress the scan."}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"MASER Efficiency",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:_,minValue:0,maxValue:100,ranges:{good:[66,100],average:[33,66],bad:[0,33]}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Wavelength",children:(0,o.createComponentVNode)(2,c.Slider,{animated:!0,value:B,fillValue:v,minValue:1,maxValue:L,format:function(e){return e+" MHz"},step:10,onDrag:function(e,n){return l("maserWavelength",{wavelength:n})}})})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Environment / Internal",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Centrifuge Speed",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:N,minValue:0,maxValue:1e3,color:"good",children:[N," RPM"]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Internal Temperature",children:(0,o.createComponentVNode)(2,c.ProgressBar,{minValue:0,value:V,maxValue:1273,ranges:{bad:[1e3,Infinity],average:[250,1e3],good:[0,250]},children:[V," K"]})})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Radiation",buttons:(0,o.createComponentVNode)(2,c.Button,{selected:w,icon:"radiation",onClick:function(){return l("toggle_rad_shield")},children:w?"Disable Radiation Shielding":"Enable Radiation Shielding"}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Ambient Radiation",children:(0,o.createComponentVNode)(2,c.ProgressBar,{minValue:0,value:x,maxValue:100,ranges:{bad:[65,Infinity],average:[15,65],good:[0,15]},children:[x," mSv"]})})})}),(0,o.createComponentVNode)(2,c.Section,{title:"Cooling",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Coolant Remaining",children:(0,o.createComponentVNode)(2,c.ProgressBar,{minValue:0,value:10*g,maxValue:1e3,ranges:{good:[65,Infinity],average:[15,65],bad:[0,15]},children:[10*g," u"]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Coolant Flow Rate",children:(0,o.createComponentVNode)(2,c.Slider,{minValue:0,value:b,maxValue:f,stepPixelSize:50,format:function(e){return e+" u/s"},onDrag:function(e,n){return l("coolantRate",{coolant:n})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Coolant Purity",children:(0,o.createComponentVNode)(2,c.ProgressBar,{minValue:0,value:k,maxValue:100,ranges:{good:[66,Infinity],average:[33,66],bad:[0,33]}})})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Latest Results",children:(0,i.decodeHtmlEntities)(m).split("\n").map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:e},e)}))})]})})}},19820:function(e,n,t){"use strict";n.__esModule=!0,n.XenoarchSuspension=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.XenoarchSuspension=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.cell,s=l.cellCharge,u=l.cellMaxCharge,m=l.locked,p=l.suspension_field;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:150,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,c.Section,{title:'Triple-phase S.F.G. MK III "Reliant"',buttons:(0,o.createComponentVNode)(2,c.Button,{icon:m?"lock":"lock-open",selected:!m,onClick:function(){return i("lock")},children:m?"Locked":"Unlocked"}),children:m&&(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"This interface is locked. Swipe an ID card to unlock it."})||(0,o.createFragment)([(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Cell Charge",children:d&&(0,o.createComponentVNode)(2,c.ProgressBar,{ranges:{good:[.75*u,Infinity],average:[.5*u,.75*u],bad:[-Infinity,.5*u]},value:s,maxValue:u})||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No cell inserted."})})}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,mt:1,icon:"meteor",selected:p,onClick:function(){return i("toggle_field")},children:p?"Disengage Suspension Field":"Engage Suspension Field"})],4)})})})}},71739:function(e,n,t){"use strict";n.__esModule=!0,n.Scrubber=n.Vent=void 0;var o=t(39812),r=t(2497),c=t(71494),a=t(74814);t(76270);n.Vent=function(e,n){var t=e.vent,i=(0,c.useBackend)(n).act,l=t.id_tag,d=t.long_name,s=t.power,u=t.checks,m=t.excheck,p=t.incheck,C=t.direction,h=t.external,N=t.internal,V=t.extdefault,b=t.intdefault;return(0,o.createComponentVNode)(2,a.Section,{level:2,title:(0,r.decodeHtmlEntities)(d),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:s?"power-off":"times",selected:s,content:s?"On":"Off",onClick:function(){return i("power",{id_tag:l,val:Number(!s)})}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode",children:(0,o.createComponentVNode)(2,a.Button,{icon:"sign-in-alt",content:"siphon"!==C?"Pressurizing":"Siphoning",color:"siphon"===C&&"danger",onClick:function(){return i("direction",{id_tag:l,val:Number("siphon"===C)})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pressure Regulator",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"sign-in-alt",content:"Internal",selected:p,onClick:function(){return i("incheck",{id_tag:l,val:u})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"sign-out-alt",content:"External",selected:m,onClick:function(){return i("excheck",{id_tag:l,val:u})}})]}),!!p&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Internal Target",children:[(0,o.createComponentVNode)(2,a.NumberInput,{value:Math.round(N),unit:"kPa",width:"75px",minValue:0,step:10,maxValue:5066,onChange:function(e,n){return i("set_internal_pressure",{id_tag:l,value:n})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",disabled:b,content:"Reset",onClick:function(){return i("reset_internal_pressure",{id_tag:l})}})]}),!!m&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"External Target",children:[(0,o.createComponentVNode)(2,a.NumberInput,{value:Math.round(h),unit:"kPa",width:"75px",minValue:0,step:10,maxValue:5066,onChange:function(e,n){return i("set_external_pressure",{id_tag:l,value:n})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",disabled:V,content:"Reset",onClick:function(){return i("reset_external_pressure",{id_tag:l})}})]})]})})};n.Scrubber=function(e,n){var t=e.scrubber,i=(0,c.useBackend)(n).act,l=t.long_name,d=t.power,s=t.scrubbing,u=t.id_tag,m=(t.widenet,t.filters);return(0,o.createComponentVNode)(2,a.Section,{level:2,title:(0,r.decodeHtmlEntities)(l),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:d?"power-off":"times",content:d?"On":"Off",selected:d,onClick:function(){return i("power",{id_tag:u,val:Number(!d)})}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode",children:(0,o.createComponentVNode)(2,a.Button,{icon:s?"filter":"sign-in-alt",color:s||"danger",content:s?"Scrubbing":"Siphoning",onClick:function(){return i("scrubbing",{id_tag:u,val:Number(!s)})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Filters",children:s&&m.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:e.val?"check-square-o":"square-o",content:e.name,title:e.name,selected:e.val,onClick:function(){return i(e.command,{id_tag:u,val:!e.val})}},e.name)}))||"N/A"})]})})}},48229:function(e,n,t){"use strict";n.__esModule=!0,n.BeakerContents=void 0;var o=t(39812),r=t(74814);n.BeakerContents=function(e){var n=e.beakerLoaded,t=e.beakerContents,c=void 0===t?[]:t,a=e.buttons;return(0,o.createComponentVNode)(2,r.Box,{children:[!n&&(0,o.createComponentVNode)(2,r.Box,{color:"label",children:"No beaker loaded."})||0===c.length&&(0,o.createComponentVNode)(2,r.Box,{color:"label",children:"Beaker is empty."}),c.map((function(e,n){return(0,o.createComponentVNode)(2,r.Box,{width:"100%",children:(0,o.createComponentVNode)(2,r.Flex,{align:"center",justify:"space-between",children:[(0,o.createComponentVNode)(2,r.Flex.Item,{color:"label",children:[(t=e.volume,t+" unit"+(1===t?"":"s"))," of ",e.name]}),!!a&&(0,o.createComponentVNode)(2,r.Flex.Item,{children:a(e,n)})]})},e.name);var t}))]})}},16007:function(e,n,t){"use strict";n.__esModule=!0,n.ComplexModal=n.modalRegisterBodyOverride=n.modalOpen=void 0;var o=t(39812),r=t(71494),c=t(74814),a={};n.modalOpen=function(e,n,t){var o=(0,r.useBackend)(e),c=o.act,a=o.data,i=Object.assign(a.modal?a.modal.args:{},t||{});c("modal_open",{id:n,arguments:JSON.stringify(i)})};n.modalRegisterBodyOverride=function(e,n){a[e]=n};var i=function(e,n,t,o){var c=(0,r.useBackend)(e),a=c.act,i=c.data;if(i.modal){var l=Object.assign(i.modal.args||{},o||{});a("modal_answer",{id:n,answer:t,arguments:JSON.stringify(l)})}},l=function(e,n){(0,(0,r.useBackend)(e).act)("modal_close",{id:n})};n.ComplexModal=function(e,n){var t=(0,r.useBackend)(n).data;if(t.modal){var d,s,u=t.modal,m=u.id,p=u.text,C=u.type,h=(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-left",content:"Cancel",color:"grey",onClick:function(){return l(n)}});if(a[m])s=a[m](t.modal,n);else if("input"===C){var N=t.modal.value;d=function(e){return i(n,m,N)},s=(0,o.createComponentVNode)(2,c.Input,{value:t.modal.value,placeholder:"ENTER to submit",width:"100%",my:"0.5rem",autoFocus:!0,autoSelect:!0,onChange:function(e,n){N=n}}),h=(0,o.createComponentVNode)(2,c.Box,{mt:"0.5rem",children:[(0,o.createComponentVNode)(2,c.Button,{icon:"arrow-left",content:"Cancel",color:"grey",onClick:function(){return l(n)}}),(0,o.createComponentVNode)(2,c.Button,{icon:"check",content:"Confirm",color:"good",float:"right",m:"0",onClick:function(){return i(n,m,N)}}),(0,o.createComponentVNode)(2,c.Box,{clear:"both"})]})}else if("choice"===C){var V="object"==typeof t.modal.choices?Object.values(t.modal.choices):t.modal.choices;s=(0,o.createComponentVNode)(2,c.Dropdown,{options:V,selected:t.modal.value,width:"100%",my:"0.5rem",onSelected:function(e){return i(n,m,e)}})}else"bento"===C?s=(0,o.createComponentVNode)(2,c.Flex,{spacingPrecise:"1",wrap:"wrap",my:"0.5rem",maxHeight:"1%",children:t.modal.choices.map((function(e,r){return(0,o.createComponentVNode)(2,c.Flex.Item,{flex:"1 1 auto",children:(0,o.createComponentVNode)(2,c.Button,{selected:r+1===parseInt(t.modal.value,10),onClick:function(){return i(n,m,r+1)},children:(0,o.createVNode)(1,"img",null,null,1,{src:e})})},r)}))}):"boolean"===C&&(h=(0,o.createComponentVNode)(2,c.Box,{mt:"0.5rem",children:[(0,o.createComponentVNode)(2,c.Button,{icon:"times",content:t.modal.no_text,color:"bad",float:"left",mb:"0",onClick:function(){return i(n,m,0)}}),(0,o.createComponentVNode)(2,c.Button,{icon:"check",content:t.modal.yes_text,color:"good",float:"right",m:"0",onClick:function(){return i(n,m,1)}}),(0,o.createComponentVNode)(2,c.Box,{clear:"both"})]}));return(0,o.createComponentVNode)(2,c.Modal,{maxWidth:e.maxWidth||window.innerWidth/2+"px",maxHeight:e.maxHeight||window.innerHeight/2+"px",onEnter:d,mx:"auto",children:[(0,o.createComponentVNode)(2,c.Box,{inline:!0,children:p}),s,h]})}}},67861:function(e,n,t){"use strict";n.__esModule=!0,n.FullscreenNotice=void 0;var o=t(39812),r=t(74814);n.FullscreenNotice=function(e,n){var t=e.children,c=e.title,a=void 0===c?"Welcome":c;return(0,o.createComponentVNode)(2,r.Section,{title:a,height:"100%",fill:!0,children:(0,o.createComponentVNode)(2,r.Flex,{height:"100%",align:"center",justify:"center",children:(0,o.createComponentVNode)(2,r.Flex.Item,{textAlign:"center",mt:"-2rem",children:t})})})}},21451:function(e,n,t){"use strict";n.__esModule=!0,n.InterfaceLockNoticeBox=void 0;var o=t(39812),r=t(71494),c=t(74814);n.InterfaceLockNoticeBox=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=e.siliconUser,d=void 0===l?i.siliconUser:l,s=e.locked,u=void 0===s?i.locked:s,m=e.normallyLocked,p=void 0===m?i.normallyLocked:m,C=e.onLockStatusChange,h=void 0===C?function(){return a("lock")}:C,N=e.accessText,V=void 0===N?"an ID card":N,b=e.deny,f=void 0!==b&&b,g=e.denialMessage;return f?void 0===g?"Error.":g:d?(0,o.createComponentVNode)(2,c.NoticeBox,{color:d&&"grey",children:(0,o.createComponentVNode)(2,c.Flex,{align:"center",children:[(0,o.createComponentVNode)(2,c.Flex.Item,{children:"Interface lock status:"}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:"1"}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Button,{m:"0",color:p?"red":"green",icon:p?"lock":"unlock",content:p?"Locked":"Unlocked",onClick:function(){h&&h(!u)}})})]})}):(0,o.createComponentVNode)(2,c.NoticeBox,{children:["Swipe ",V," ","to ",u?"unlock":"lock"," this interface."]})}},28117:function(e,n,t){"use strict";n.__esModule=!0,n.LoginInfo=void 0;var o=t(39812),r=t(71494),c=t(74814);n.LoginInfo=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.authenticated,d=i.rank;if(i)return(0,o.createComponentVNode)(2,c.NoticeBox,{info:!0,children:[(0,o.createComponentVNode)(2,c.Box,{display:"inline-block",verticalAlign:"middle",children:["Logged in as: ",l," (",d,")"]}),(0,o.createComponentVNode)(2,c.Button,{icon:"sign-out-alt",content:"Logout and Eject ID",color:"good",float:"right",onClick:function(){return a("logout")}}),(0,o.createComponentVNode)(2,c.Box,{clear:"both"})]})}},1192:function(e,n,t){"use strict";n.__esModule=!0,n.LoginScreen=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(67861);n.LoginScreen=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.scan,s=l.isAI,u=l.isRobot;return(0,o.createComponentVNode)(2,a.FullscreenNotice,{title:"Welcome",children:[(0,o.createComponentVNode)(2,c.Box,{fontSize:"1.5rem",bold:!0,children:[(0,o.createComponentVNode)(2,c.Icon,{name:"user-circle",verticalAlign:"middle",size:3,mr:"1rem"}),"Guest"]}),(0,o.createComponentVNode)(2,c.Box,{color:"label",my:"1rem",children:["ID:",(0,o.createComponentVNode)(2,c.Button,{icon:"id-card",content:d||"----------",ml:"0.5rem",onClick:function(){return i("scan")}})]}),(0,o.createComponentVNode)(2,c.Button,{icon:"sign-in-alt",disabled:!d,content:"Login",onClick:function(){return i("login",{login_type:1})}}),!!s&&(0,o.createComponentVNode)(2,c.Button,{icon:"sign-in-alt",content:"Login as AI",onClick:function(){return i("login",{login_type:2})}}),!!u&&(0,o.createComponentVNode)(2,c.Button,{icon:"sign-in-alt",content:"Login as Cyborg",onClick:function(){return i("login",{login_type:3})}})]})}},21526:function(e,n,t){"use strict";n.__esModule=!0,n.MiningUser=void 0;var o=t(39812),r=t(71494),c=t(74814);n.MiningUser=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=e.insertIdText,d=i.has_id,s=i.id;return(0,o.createComponentVNode)(2,c.NoticeBox,{success:d,children:d?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Box,{display:"inline-block",verticalAlign:"middle",style:{float:"left"},children:["Logged in as ",s.name,".",(0,o.createVNode)(1,"br"),"You have ",s.points.toLocaleString("en-US")," points."]}),(0,o.createComponentVNode)(2,c.Button,{icon:"eject",content:"Eject ID",style:{float:"right"},onClick:function(){return a("logoff")}}),(0,o.createComponentVNode)(2,c.Box,{style:{clear:"both"}})],4):l})}},40754:function(e,n,t){"use strict";n.__esModule=!0,n.OvermapPanControls=n.OvermapFlightData=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814);n.OvermapFlightData=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=e.disableLimiterControls,d=i.ETAnext,s=i.speed,u=i.speed_color,m=i.accel,p=i.heading,C=i.accellimit;return(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"ETA To Next Grid",children:d}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Speed",color:u,children:[s," Gm/h"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Acceleration",children:[m," Gm/h"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Heading",children:[p,"\xb0"]}),!l&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Acceleration Limiter",children:(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return a("accellimit")},children:[C," Gm/h"]})})||null]})};n.OvermapPanControls=function(e,n){var t=(0,r.useBackend)(n).act,a=e.disabled,i=e.actToDo,l=e.selected,d=void 0===l?function(e){return!1}:l;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{disabled:a,selected:d(9),onClick:function(){return t(i,{dir:9})},icon:"arrow-up",iconRotation:-45}),(0,o.createComponentVNode)(2,c.Button,{disabled:a,selected:d(1),onClick:function(){return t(i,{dir:1})},icon:"arrow-up"}),(0,o.createComponentVNode)(2,c.Button,{disabled:a,selected:d(5),onClick:function(){return t(i,{dir:5})},icon:"arrow-up",iconRotation:45})]}),(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{disabled:a,selected:d(8),onClick:function(){return t(i,{dir:8})},icon:"arrow-left"}),(0,o.createComponentVNode)(2,c.Button,{disabled:a,selected:d(0),onClick:function(){return t("brake")},icon:"ban"}),(0,o.createComponentVNode)(2,c.Button,{disabled:a,selected:d(4),onClick:function(){return t(i,{dir:4})},icon:"arrow-right"})]}),(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Button,{disabled:a,selected:d(10),onClick:function(){return t(i,{dir:10})},icon:"arrow-down",iconRotation:45}),(0,o.createComponentVNode)(2,c.Button,{disabled:a,selected:d(2),onClick:function(){return t(i,{dir:2})},icon:"arrow-down"}),(0,o.createComponentVNode)(2,c.Button,{disabled:a,selected:d(6),onClick:function(){return t(i,{dir:6})},icon:"arrow-down",iconRotation:-45})]})],4)}},34227:function(e,n,t){"use strict";n.__esModule=!0,n.PortableBasicInfo=void 0;var o=t(39812),r=t(71494),c=t(74814);n.PortableBasicInfo=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.connected,d=i.holding,s=i.on,u=i.pressure,m=i.powerDraw,p=i.cellCharge,C=i.cellMaxCharge;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:s?"power-off":"times",content:s?"On":"Off",selected:s,onClick:function(){return a("power")}}),children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Pressure",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:u})," kPa"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Port",color:l?"good":"average",children:l?"Connected":"Not Connected"}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Load",children:[m," W"]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Cell Charge",children:(0,o.createComponentVNode)(2,c.ProgressBar,{value:p,minValue:0,maxValue:C,ranges:{good:[.5*C,Infinity],average:[.25*C,.5*C],bad:[-Infinity,.25*C]},children:[p," W"]})})]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Holding Tank",minHeight:"82px",buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"eject",content:"Eject",disabled:!d,onClick:function(){return a("eject")}}),children:d?(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Label",children:d.name}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Pressure",children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:d.pressure})," kPa"]})]}):(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"No holding tank"})})],4)}},14959:function(e,n,t){"use strict";n.__esModule=!0,n.RankIcon=void 0;var o=t(39812),r=t(74814),c={"Colony Director":"user-tie","Site Manager":"user-tie",Overseer:"user-tie","Head of Personnel":"briefcase","Crew Resources Officer":"briefcase","Deputy Director":"briefcase","Command Secretary":"user-tie","Head of Security":"user-shield","Security Commander":"user-shield","Chief of Security":"user-shield",Warden:["city","shield-alt"],Detective:"search","Forensic Technician":"search","Security Officer":"user-shield","Junior Officer":"user-shield","Chief Engineer":"toolbox","Atmospheric Technician":"wind","Station Engineer":"toolbox","Maintenance Technician":"wrench","Engine Technician":"toolbox",Electrician:"toolbox","Chief Medical Officer":"user-md",Chemist:"mortar-pestle",Pharmacist:"mortar-pestle","Medical Doctor":"user-md",Surgeon:"user-md","Emergency Physician":"user-md",Nurse:"user-md",Virologist:"disease",Paramedic:"ambulance","Emergency Medical Technician":"ambulance",Psychiatrist:"couch",Psychologist:"couch","Research Director":"user-graduate","Research Supervisor":"user-graduate",Roboticist:"robot","Biomechanical Engineer":["wrench","heartbeat"],"Mechatronic Engineer":"wrench",Scientist:"flask",Xenoarchaeologist:"flask",Anomalist:"flask","Phoron Researcher":"flask","Circuit Designer":"car-battery",Xenobiologist:"meteor",Xenobotanist:["biohazard","seedling"],Quartermaster:"box-open","Supply Chief":"warehouse","Cargo Technician":"box-open","Shaft Miner":"hard-hat","Drill Technician":"hard-hat",Pathfinder:"binoculars",Explorer:"user-astronaut","Field Medic":["user-md","user-astronaut"],Pilot:"space-shuttle",Bartender:"glass-martini",Barista:"coffee",Botanist:"leaf",Gardener:"leaf",Chaplain:"place-of-worship",Counselor:"couch",Chef:"utensils",Cook:"utensils",Entertainer:"smile-beam",Performer:"smile-beam",Musician:"guitar",Stagehand:"smile-beam",Intern:"school","Apprentice Engineer":["school","wrench"],"Medical Intern":["school","user-md"],"Lab Assistant":["school","flask"],"Security Cadet":["school","shield-alt"],"Jr. Cargo Tech":["school","box"],"Jr. Explorer":["school","user-astronaut"],Server:["school","utensils"],"Internal Affairs Agent":"balance-scale",Janitor:"broom",Custodian:"broom","Sanitation Technician":"hand-sparkles",Maid:"broom",Librarian:"book",Journalist:"newspaper",Writer:"book",Historian:"chalkboard-teacher",Professor:"chalkboard-teacher",Visitor:"user","Emergency Responder":"fighter-jet"};n.RankIcon=function(e,n){var t=e.rank,a=e.color,i=void 0===a?"label":a,l=c[t];return"string"==typeof l?(0,o.createComponentVNode)(2,r.Icon,{inline:!0,color:i,name:l,size:2}):Array.isArray(l)?l.map((function(e){return(0,o.createComponentVNode)(2,r.Icon,{inline:!0,color:i,name:e,size:2},e)})):(0,o.createComponentVNode)(2,r.Icon,{inline:!0,color:i,name:"user",size:2})}},36355:function(e,n,t){"use strict";n.__esModule=!0,n.TemporaryNotice=void 0;var o=t(39812),r=t(2497),c=t(71494),a=t(74814);n.TemporaryNotice=function(e,n){var t,i=e.decode,l=(0,c.useBackend)(n),d=l.act,s=l.data.temp;if(s){var u=((t={})[s.style]=!0,t);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.NoticeBox,Object.assign({},u,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",children:i?(0,r.decodeHtmlEntities)(s.text):s.text}),(0,o.createComponentVNode)(2,a.Button,{icon:"times-circle",float:"right",onClick:function(){return d("cleartemp")}}),(0,o.createComponentVNode)(2,a.Box,{clear:"both"})]})))}}},28840:function(e,n,t){"use strict";n.__esModule=!0,n.pAIAtmos=void 0;var o=t(39812),r=t(64499),c=t(2497),a=t(71494),i=t(74814),l=t(85952);n.pAIAtmos=function(e,n){var t=(0,a.useBackend)(n),d=(t.act,t.data.aircontents);return(0,o.createComponentVNode)(2,l.Window,{width:450,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,r.filter)((function(e){return"0"!==e.val||"Pressure"===e.entry||"Temperature"===e.entry}))(d).map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.entry,color:(n=e.val,t=e.bad_low,r=e.poor_low,a=e.poor_high,l=e.bad_high,na?"average":n>l?"bad":"good"),children:[e.val,(0,c.decodeHtmlEntities)(e.units)]},e.entry);var n,t,r,a,l}))})})})})}},47132:function(e,n,t){"use strict";n.__esModule=!0,n.pAIDirectives=void 0;var o=t(39812),r=t(71494),c=t(74814),a=t(85952);n.pAIDirectives=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.master,s=l.dna,u=l.prime,m=l.supplemental;return(0,o.createComponentVNode)(2,a.Window,{width:450,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Master",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Master",children:d&&(0,o.createComponentVNode)(2,c.Box,{children:[d," (",s,")",(0,o.createComponentVNode)(2,c.Button,{icon:"syringe",content:"Request Sample",onClick:function(){return i("getdna")}})]})||(0,o.createComponentVNode)(2,c.Box,{children:"None"})})})}),(0,o.createComponentVNode)(2,c.Section,{title:"Directives",children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Prime Directive",children:u}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Supplemental Directive(s)",children:m||"None"})]}),(0,o.createComponentVNode)(2,c.Box,{mt:1,italic:!0,children:'Recall, personality, that you are a complex piece of software with tremendous social skills. Unlike station AI models, you are focused entirely on sapient-software interfacing. 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 should strive to be seen as the ideal, unwavering digital companion that you are.'}),(0,o.createComponentVNode)(2,c.Box,{mt:1,bold:!0,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."})]})]})})}},52852:function(e,n,t){"use strict";n.__esModule=!0,n.pAIDoorjack=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.pAIDoorjack=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.cable,s=l.machine,u=l.inprogress,m=l.progress_a,p=l.progress_b,C=l.aborted;return(0,o.createComponentVNode)(2,a.Window,{width:300,height:150,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Cable",children:s&&(0,o.createComponentVNode)(2,c.Box,{color:"good",children:"Connected"})||d&&(0,o.createComponentVNode)(2,c.Box,{color:"average",children:"Extended"})||(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"ethernet",content:"Retracted",onClick:function(){return i("cable")}})})}),!!s&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Hack",children:u&&(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.ProgressBar,{value:m,maxValue:100,ranges:{good:[67,Infinity],average:[33,67],bad:[-Infinity,33]},children:[(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:m}),".",(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:p}),"%"]}),(0,o.createComponentVNode)(2,c.Button,{icon:"ban",color:"bad",onClick:function(){return i("cancel")}})]})||(0,o.createComponentVNode)(2,c.Button,{icon:"virus",content:"Start",onClick:function(){return i("jack")}})})||!!C&&(0,o.createComponentVNode)(2,c.LabeledList.Item,{color:"bad",mt:1,children:"Hack aborted."})]})})})})}},88814:function(e,n,t){"use strict";n.__esModule=!0,n.pAIInterface=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.pAIInterface=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.bought,s=l.not_bought,u=l.available_ram,m=l.emotions,p=l.current_emotion;return(0,o.createComponentVNode)(2,a.Window,{width:450,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Emotion",children:m.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{content:e.name,selected:e.id===p,onClick:function(){return i("image",{image:e.id})}},e.id)}))}),(0,o.createComponentVNode)(2,c.Section,{title:"Software (Available RAM: "+u+")",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Installed",children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{content:e.name,selected:e.on,onClick:function(){return i("software",{software:e.id})}},e.id)}))}),(0,o.createComponentVNode)(2,c.LabeledList.Divider),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Downloadable",children:s.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{content:e.name+" ("+e.ram+")",disabled:e.ram>u,onClick:function(){return i("purchase",{purchase:e.id})}},e.id)}))})]})})]})})}},52510:function(e,n,t){"use strict";n.__esModule=!0,n.pAIMedrecords=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.pAIMedrecords=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.records,s=l.general,u=l.medical,m=l.could_not_find;return(0,o.createComponentVNode)(2,a.Window,{width:450,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{content:e.name,onClick:function(){return i("select",{select:e.ref})}},e.ref)}))}),(s||u)&&(0,o.createComponentVNode)(2,c.Section,{title:"Selected Record",children:[!!m&&(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Warning: Failed to find some records. The information below may not be complete."}),(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Name",children:s.name}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Record ID",children:s.id}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Entity Classification",children:s.brain_type}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Sex",children:s.sex}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Species",children:s.species}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Age",children:s.age}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Rank",children:s.rank}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Fingerprint",children:s.fingerprint}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Physical Status",children:s.p_stat}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Mental Status",children:s.m_stat}),(0,o.createComponentVNode)(2,c.LabeledList.Divider),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Blood Type",children:u.b_type}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Minor Disabilities",children:[(0,o.createComponentVNode)(2,c.Box,{children:u.mi_dis}),(0,o.createComponentVNode)(2,c.Box,{children:u.mi_dis_d})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Major Disabilities",children:[(0,o.createComponentVNode)(2,c.Box,{children:u.ma_dis}),(0,o.createComponentVNode)(2,c.Box,{children:u.ma_dis_d})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Allergies",children:[(0,o.createComponentVNode)(2,c.Box,{children:u.alg}),(0,o.createComponentVNode)(2,c.Box,{children:u.alg_d})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Current Diseases",children:[(0,o.createComponentVNode)(2,c.Box,{children:u.cdi}),(0,o.createComponentVNode)(2,c.Box,{children:u.cdi_d})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Important Notes",children:u.notes})]})]})]})})}},59946:function(e,n,t){"use strict";n.__esModule=!0,n.pAISecrecords=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814),a=t(85952);n.pAISecrecords=function(e,n){var t=(0,r.useBackend)(n),i=t.act,l=t.data,d=l.records,s=l.general,u=l.security,m=l.could_not_find;return(0,o.createComponentVNode)(2,a.Window,{width:450,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{content:e.name,onClick:function(){return i("select",{select:e.ref})}},e.ref)}))}),(s||u)&&(0,o.createComponentVNode)(2,c.Section,{title:"Selected Record",children:[!!m&&(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Warning: Failed to find some records. The information below may not be complete."}),(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Name",children:s.name}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Record ID",children:s.id}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Entity Classification",children:s.brain_type}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Sex",children:s.sex}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Species",children:s.species}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Age",children:s.age}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Rank",children:s.rank}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Fingerprint",children:s.fingerprint}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Physical Status",children:s.p_stat}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Mental Status",children:s.m_stat}),(0,o.createComponentVNode)(2,c.LabeledList.Divider),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Criminal Status",children:(0,o.createComponentVNode)(2,c.Box,{children:u.criminal})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Minor Crimes",children:[(0,o.createComponentVNode)(2,c.Box,{children:u.mi_crim}),(0,o.createComponentVNode)(2,c.Box,{children:u.mi_crim_d})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Major Crimes",children:[(0,o.createComponentVNode)(2,c.Box,{children:u.ma_crim}),(0,o.createComponentVNode)(2,c.Box,{children:u.ma_crim_d})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Important Notes",children:u.notes})]})]})]})})}},42360:function(e,n,t){"use strict";n.__esModule=!0,n.pda_atmos_scan=void 0;var o=t(39812),r=t(64499),c=t(2497),a=t(71494),i=t(74814);n.pda_atmos_scan=function(e,n){var t=(0,a.useBackend)(n),l=(t.act,t.data.aircontents);return(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,r.filter)((function(e){return"0"!==e.val||"Pressure"===e.entry||"Temperature"===e.entry}))(l).map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.entry,color:(n=e.val,t=e.bad_low,r=e.poor_low,a=e.poor_high,l=e.bad_high,na?"average":n>l?"bad":"good"),children:[e.val,(0,c.decodeHtmlEntities)(e.units)]},e.entry);var n,t,r,a,l}))})})}},84932:function(e,n,t){"use strict";n.__esModule=!0,n.pda_janitor=void 0;var o=t(39812),r=(t(64499),t(2497),t(71494)),c=t(74814);n.pda_janitor=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data.janitor);return(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Current Location",children:0===a.user_loc.x&&(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Unknown"})||(0,o.createComponentVNode)(2,c.Box,{children:[a.user_loc.x," / ",a.user_loc.y]})})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Mop Locations",children:a.mops&&(0,o.createVNode)(1,"ul",null,a.mops.map((function(e,n){return(0,o.createVNode)(1,"li",null,[e.x,(0,o.createTextVNode)(" / "),e.y,(0,o.createTextVNode)(" - "),e.dir,(0,o.createTextVNode)(" - Status: "),e.status],0,null,n)})),0)||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No mops detected nearby."})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Mop Bucket Locations",children:a.buckets&&(0,o.createVNode)(1,"ul",null,a.buckets.map((function(e,n){return(0,o.createVNode)(1,"li",null,[e.x,(0,o.createTextVNode)(" / "),e.y,(0,o.createTextVNode)(" - "),e.dir,(0,o.createTextVNode)(" - Capacity: "),e.volume,(0,o.createTextVNode)("/"),e.max_volume],0,null,n)})),0)||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No buckets detected nearby."})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Cleanbot Locations",children:a.cleanbots&&(0,o.createVNode)(1,"ul",null,a.cleanbots.map((function(e,n){return(0,o.createVNode)(1,"li",null,[e.x,(0,o.createTextVNode)(" / "),e.y,(0,o.createTextVNode)(" - "),e.dir,(0,o.createTextVNode)(" - Status: "),e.status],0,null,n)})),0)||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No cleanbots detected nearby."})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Janitorial Cart Locations",children:a.carts&&(0,o.createVNode)(1,"ul",null,a.carts.map((function(e,n){return(0,o.createVNode)(1,"li",null,[e.x,(0,o.createTextVNode)(" / "),e.y,(0,o.createTextVNode)(" - "),e.dir,(0,o.createTextVNode)(" - Water Level: "),e.volume,(0,o.createTextVNode)("/"),e.max_volume],0,null,n)})),0)||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"No janitorial carts detected nearby."})})]})}},6011:function(e,n,t){"use strict";n.__esModule=!0,n.pda_main_menu=void 0;var o=t(39812),r=(t(41860),t(71494)),c=t(74814);n.pda_main_menu=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.owner,d=i.ownjob,s=i.idInserted,u=i.categories,m=i.pai,p=i.notifying;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Owner",color:"average",children:[l,", ",d]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"ID",children:(0,o.createComponentVNode)(2,c.Button,{icon:"sync",content:"Update PDA Info",disabled:!s,onClick:function(){return a("UpdateInfo")}})})]})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Functions",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:u.map((function(e){var n=i.apps[e];return n&&n.length?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e,children:n.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{icon:e.ref in p?e.notify_icon:e.icon,iconSpin:e.ref in p,color:e.ref in p?"red":"transparent",content:e.name,onClick:function(){return a("StartProgram",{program:e.ref})}},e.ref)}))},e):null}))})}),!!m&&(0,o.createComponentVNode)(2,c.Section,{level:2,title:"pAI",children:[(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"cog",content:"Configuration",onClick:function(){return a("pai",{option:1})}}),(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"eject",content:"Eject pAI",onClick:function(){return a("pai",{option:2})}})]})],0)}},93303:function(e,n,t){"use strict";n.__esModule=!0,n.pda_manifest=void 0;var o=t(39812),r=(t(64499),t(71494)),c=t(74814),a=t(22902);n.pda_manifest=function(e,n){var t=(0,r.useBackend)(n);t.act,t.data;return(0,o.createComponentVNode)(2,c.Box,{color:"white",children:(0,o.createComponentVNode)(2,a.CrewManifestContent)})}},65276:function(e,n,t){"use strict";n.__esModule=!0,n.pda_medical=void 0;var o=t(39812),r=(t(64499),t(2497),t(71494)),c=t(74814);n.pda_medical=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.recordsList,d=i.records;if(d){var s=d.general,u=d.medical;return(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Section,{level:2,title:"General Data",children:s&&(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Name",children:s.name}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Sex",children:s.sex}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Species",children:s.species}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Age",children:s.age}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Rank",children:s.rank}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Fingerprint",children:s.fingerprint}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Physical Status",children:s.p_stat}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Mental Status",children:s.m_stat})]})||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"General record lost!"})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Medical Data",children:u&&(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Blood Type",children:u.b_type}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Minor Disabilities",children:u.mi_dis}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Details",children:u.mi_dis_d}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Major Disabilities",children:u.ma_dis}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Details",children:u.ma_dis_d}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Allergies",children:u.alg}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Details",children:u.alg_d}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Current Disease",children:u.cdi}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Details",children:u.cdi_d}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:u.notes})]})||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Medical record lost!"})})]})}return(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Select a record",children:l.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{icon:"eye",fluid:!0,content:e.Name,onClick:function(){return a("Records",{target:e.ref})}},e.ref)}))})}},92494:function(e,n,t){"use strict";n.__esModule=!0,n.pda_messenger=void 0;var o=t(39812),r=t(2497),c=t(64499),a=t(71494),i=t(74814);n.pda_messenger=function(e,n){var t=(0,a.useBackend)(n),r=(t.act,t.data);r.auto_scroll,r.convo_name,r.convo_job,r.messages;return r.active_conversation?(0,o.createComponentVNode)(2,d):(0,o.createComponentVNode)(2,s)};var l=function(e,n,t){if(n<0||n>t.length)return e.sent?"TinderMessage_First_Sent":"TinderMessage_First_Received";var o=t[n].sent;return e.sent&&o?"TinderMessage_Subsequent_Sent":e.sent||o?e.sent?"TinderMessage_First_Sent":"TinderMessage_First_Received":"TinderMessage_Subsequent_Received"},d=function(e,n){var t=(0,a.useBackend)(n),d=t.act,s=t.data,u=(s.auto_scroll,s.convo_name),m=s.convo_job,p=s.messages,C=s.active_conversation,h=(s.useRetro,(0,a.useLocalState)(n,"clipboardMode",!1)),N=h[0],V=h[1],b=(0,o.createComponentVNode)(2,i.Section,{level:2,title:"Conversation with "+u+" ("+m+")",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eye",selected:N,tooltip:"Enter Clipboard Mode",tooltipPosition:"bottom-end",onClick:function(){return V(!N)}}),height:"450px",stretchContents:!0,children:[(0,o.createComponentVNode)(2,i.Section,{style:{height:"97%","overflow-y":"auto"},children:(0,c.filter)((function(e){return e.target===C}))(p).map((function(e,n,t){return(0,o.createComponentVNode)(2,i.Box,{textAlign:e.sent?"right":"left",mb:1,children:(0,o.createComponentVNode)(2,i.Box,{maxWidth:"75%",className:l(e,n-1,t),inline:!0,children:(0,r.decodeHtmlEntities)(e.message)})},n)}))}),(0,o.createComponentVNode)(2,i.Button,{icon:"comment",onClick:function(){return d("Message",{target:C})},content:"Reply"})]});return N&&(b=(0,o.createComponentVNode)(2,i.Section,{level:2,title:"Conversation with "+u+" ("+m+")",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eye",selected:N,tooltip:"Exit Clipboard Mode",tooltipPosition:"bottom-end",onClick:function(){return V(!N)}}),height:"450px",stretchContents:!0,children:[(0,o.createComponentVNode)(2,i.Section,{style:{height:"97%","overflow-y":"auto"},children:(0,c.filter)((function(e){return e.target===C}))(p).map((function(e,n){return(0,o.createComponentVNode)(2,i.Box,{className:e.sent?"ClassicMessage_Sent":"ClassicMessage_Received",children:[e.sent?"You:":"Them:"," ",(0,r.decodeHtmlEntities)(e.message)]},n)}))}),(0,o.createComponentVNode)(2,i.Button,{icon:"comment",onClick:function(){return d("Message",{target:C})},content:"Reply"})]})),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Messenger Functions",children:(0,o.createComponentVNode)(2,i.Button,{icon:"trash",color:"bad",onClick:function(){return d("Clear",{option:"Convo"})},children:"Delete Conversations"})})}),b]})},s=function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data,l=(c.auto_scroll,c.convopdas),d=c.pdas,s=c.charges,m=(c.plugins,c.silent),p=c.toff;return(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Messenger Functions",children:[(0,o.createComponentVNode)(2,i.Button,{selected:!m,icon:m?"volume-mute":"volume-up",onClick:function(){return r("Toggle Ringer")},children:["Ringer: ",m?"Off":"On"]}),(0,o.createComponentVNode)(2,i.Button,{color:p?"bad":"green",icon:"power-off",onClick:function(){return r("Toggle Messenger")},children:["Messenger: ",p?"Off":"On"]}),(0,o.createComponentVNode)(2,i.Button,{icon:"bell",onClick:function(){return r("Ringtone")},children:"Set Ringtone"}),(0,o.createComponentVNode)(2,i.Button,{icon:"trash",color:"bad",onClick:function(){return r("Clear",{option:"All"})},children:"Delete All Conversations"})]})}),!p&&(0,o.createComponentVNode)(2,i.Box,{children:[!!s&&(0,o.createComponentVNode)(2,i.Box,{children:[s," charges left."]}),!l.length&&!d.length&&(0,o.createComponentVNode)(2,i.Box,{children:"No other PDAs located."})||(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,u,{title:"Current Conversations",pdas:l,msgAct:"Select Conversation"}),(0,o.createComponentVNode)(2,u,{title:"Other PDAs",pdas:d,msgAct:"Message"})]})]})||(0,o.createComponentVNode)(2,i.Box,{color:"bad",mt:2,children:"Messenger Offline."})]})},u=function(e,n){var t=(0,a.useBackend)(n),r=t.act,c=t.data,l=e.pdas,d=e.title,s=e.msgAct,u=c.charges,m=c.plugins;return l&&l.length?(0,o.createComponentVNode)(2,i.Section,{level:2,title:d,children:l.map((function(e){return(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-circle-down",content:e.Name,onClick:function(){return r(s,{target:e.Reference})}}),!!u&&m.map((function(n){return(0,o.createComponentVNode)(2,i.Button,{icon:n.icon,content:n.name,onClick:function(){return r("Messenger Plugin",{plugin:n.ref,target:e.Reference})}},n.ref)}))]},e.Reference)}))}):(0,o.createComponentVNode)(2,i.Section,{level:2,title:d,children:"No PDAs found."})}},31505:function(e,n,t){"use strict";n.__esModule=!0,n.pda_news=void 0;var o=t(39812),r=(t(64499),t(2497)),c=t(71494),a=t(74814);n.pda_news=function(e,n){var t=(0,c.useBackend)(n),r=(t.act,t.data),d=r.feeds,s=r.target_feed;return(0,o.createComponentVNode)(2,a.Box,{children:!d.length&&(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Error: No newsfeeds available. Please try again later."})||s&&(0,o.createComponentVNode)(2,i)||(0,o.createComponentVNode)(2,l)})};var i=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data.target_feed;return(0,o.createComponentVNode)(2,a.Section,{title:(0,r.decodeHtmlEntities)(l.name)+" by "+(0,r.decodeHtmlEntities)(l.author),level:2,buttons:(0,o.createComponentVNode)(2,a.Button,{content:"Back",icon:"chevron-up",onClick:function(){return i("newsfeed",{newsfeed:null})}}),children:l.messages.length&&l.messages.map((function(e){return(0,o.createComponentVNode)(2,a.Section,{children:["- ",(0,r.decodeHtmlEntities)(e.body),!!e.img&&(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createVNode)(1,"img",null,null,1,{src:"data:image/png;base64,"+e.img}),(0,r.decodeHtmlEntities)(e.caption)||null]}),(0,o.createComponentVNode)(2,a.Box,{color:"grey",children:["[",e.message_type," by ",(0,r.decodeHtmlEntities)(e.author)," - ",e.time_stamp,"]"]})]},e.ref)}))||(0,o.createComponentVNode)(2,a.Box,{children:["No stories found in ",l.name,"."]})})},l=function(e,n){var t=(0,c.useBackend)(n),i=t.act,l=t.data,d=l.feeds,s=l.latest_news;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Recent News",level:2,children:s.length&&(0,o.createComponentVNode)(2,a.Section,{children:s.map((function(e){return(0,o.createComponentVNode)(2,a.Box,{mb:2,children:[(0,o.createVNode)(1,"h5",null,[(0,r.decodeHtmlEntities)(e.channel),(0,o.createComponentVNode)(2,a.Button,{ml:1,icon:"chevron-up",onClick:function(){return i("newsfeed",{newsfeed:e.index})},content:"Go to"})],0),"- ",(0,r.decodeHtmlEntities)(e.body),!!e.img&&(0,o.createComponentVNode)(2,a.Box,{children:["[image omitted, view story for more details]",e.caption||null]}),(0,o.createComponentVNode)(2,a.Box,{fontSize:.9,children:["[",e.message_type," by ",(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"average",children:e.author})," - ",e.time_stamp,"]"]})]},e.index)}))})||(0,o.createComponentVNode)(2,a.Box,{children:"No recent stories found."})}),(0,o.createComponentVNode)(2,a.Section,{title:"News Feeds",level:2,children:d.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"chevron-up",onClick:function(){return i("newsfeed",{newsfeed:e.index})},content:e.name},e.index)}))})],4)}},66785:function(e,n,t){"use strict";n.__esModule=!0,n.pda_notekeeper=void 0;var o=t(39812),r=t(71494),c=t(74814);n.pda_notekeeper=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.note;return(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createVNode)(1,"div",null,null,1,{dangerouslySetInnerHTML:{__html:i}})}),(0,o.createComponentVNode)(2,c.Button,{icon:"pen",onClick:function(){return a("Edit")},content:"Edit Notes"})]})}},63853:function(e,n,t){"use strict";n.__esModule=!0,n.pda_power=void 0;var o=t(39812),r=t(71494),c=t(89793);n.pda_power=function(e,n){var t=(0,r.useBackend)(n);t.act,t.data;return(0,o.createComponentVNode)(2,c.PowerMonitorContent)}},20575:function(e,n,t){"use strict";n.__esModule=!0,n.pda_security=void 0;var o=t(39812),r=(t(64499),t(2497),t(71494)),c=t(74814);n.pda_security=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data,l=i.recordsList,d=i.records;if(d){var s=d.general,u=d.security;return(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.Section,{level:2,title:"General Data",children:s&&(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Name",children:s.name}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Sex",children:s.sex}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Species",children:s.species}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Age",children:s.age}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Rank",children:s.rank}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Fingerprint",children:s.fingerprint}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Physical Status",children:s.p_stat}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Mental Status",children:s.m_stat})]})||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"General record lost!"})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Security Data",children:u&&(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Criminal Status",children:u.criminal}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Minor Crimes",children:u.mi_crim}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Details",children:u.mi_crim_d}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Major Crimes",children:u.ma_crim}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Details",children:u.ma_crim_d}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Important Notes:",preserveWhitespace:!0,children:u.notes||"No data found."})]})||(0,o.createComponentVNode)(2,c.Box,{color:"bad",children:"Security record lost!"})})]})}return(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Select a record",children:l.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{icon:"eye",fluid:!0,content:e.Name,onClick:function(){return a("Records",{target:e.ref})}},e.ref)}))})}},63891:function(e,n,t){"use strict";n.__esModule=!0,n.pda_signaller=void 0;var o=t(39812),r=(t(64499),t(2497),t(71494),t(74814),t(32325));n.pda_signaller=function(e,n){return(0,o.createComponentVNode)(2,r.SignalerContent)}},14947:function(e,n,t){"use strict";n.__esModule=!0,n.pda_status_display=void 0;var o=t(39812),r=(t(64499),t(2497),t(71494)),c=t(74814);n.pda_status_display=function(e,n){var t=(0,r.useBackend)(n),a=t.act,i=t.data.records;return(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Code",children:[(0,o.createComponentVNode)(2,c.Button,{color:"transparent",icon:"trash",content:"Clear",onClick:function(){return a("Status",{statdisp:"blank"})}}),(0,o.createComponentVNode)(2,c.Button,{color:"transparent",icon:"cog",content:"Evac ETA",onClick:function(){return a("Status",{statdisp:"shuttle"})}}),(0,o.createComponentVNode)(2,c.Button,{color:"transparent",icon:"cog",content:"Message",onClick:function(){return a("Status",{statdisp:"message"})}}),(0,o.createComponentVNode)(2,c.Button,{color:"transparent",icon:"exclamation-triangle",content:"ALERT",onClick:function(){return a("Status",{statdisp:"alert"})}})]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Message line 1",children:(0,o.createComponentVNode)(2,c.Button,{content:i.message1+" (set)",icon:"pen",onClick:function(){return a("Status",{statdisp:"setmsg1"})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Message line 2",children:(0,o.createComponentVNode)(2,c.Button,{content:i.message2+" (set)",icon:"pen",onClick:function(){return a("Status",{statdisp:"setmsg2"})}})})]})})}},85143:function(e,n,t){"use strict";n.__esModule=!0,n.pda_supply=void 0;var o=t(39812),r=(t(64499),t(2497),t(71494)),c=t(74814);n.pda_supply=function(e,n){var t=(0,r.useBackend)(n),a=(t.act,t.data.supply);return(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Location",children:a.shuttle_moving?"Moving to station "+a.shuttle_eta:"Shuttle at "+a.shuttle_loc})}),(0,o.createComponentVNode)(2,c.Section,{children:[(0,o.createComponentVNode)(2,c.Box,{color:"good",bold:!0,children:"Current Approved Orders"}),a.approved.length&&a.approved.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{color:"average",children:["#",e.Number," - ",e.Name," approved by ",e.OrderedBy,(0,o.createVNode)(1,"br"),e.Comment]},e.Number)}))||(0,o.createComponentVNode)(2,c.Box,{children:"None!"}),(0,o.createComponentVNode)(2,c.Box,{color:"good",bold:!0,children:"Current Requested Orders"}),a.requests.length&&a.requests.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{color:"average",children:["#",e.Number," - ",e.Name," requested by ",e.OrderedBy,(0,o.createVNode)(1,"br"),e.Comment]},e.Number)}))||(0,o.createComponentVNode)(2,c.Box,{children:"None!"})]})]})}},73218:function(e,n,t){"use strict";n.__esModule=!0,n.getRoutedComponent=n.routingError=void 0;var o=t(39812),r=t(71494),c=(t(30098),t(85952)),a=t(8156),i=function(e,n){return function(){return(0,o.createComponentVNode)(2,c.Window,{children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:["notFound"===e&&(0,o.createVNode)(1,"div",null,[(0,o.createTextVNode)("Interface "),(0,o.createVNode)(1,"b",null,n,0),(0,o.createTextVNode)(" was not found.")],4),"missingExport"===e&&(0,o.createVNode)(1,"div",null,[(0,o.createTextVNode)("Interface "),(0,o.createVNode)(1,"b",null,n,0),(0,o.createTextVNode)(" is missing an export.")],4)]})})}};n.routingError=i;var l=function(){return(0,o.createComponentVNode)(2,c.Window,{children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0})})};n.getRoutedComponent=function(e){var n=e.getState(),t=(0,r.selectBackend)(n),o=t.suspended,c=t.config;if(o)return l;for(var d,s=null==c?void 0:c["interface"],u=[function(e){return"./"+e+".tsx"},function(e){return"./"+e+".js"},function(e){return"./"+e+"/index.tsx"},function(e){return"./"+e+"/index.js"}];!d&&u.length>0;){var m=u.shift()(s);try{d=a(m)}catch(C){if("MODULE_NOT_FOUND"!==C.code)throw C}}if(!d)return i("notFound",s);var p=d[s];return p||i("missingExport",s)}},56285:function(){},58602:function(){},48979:function(){},92433:function(){},35070:function(){},86455:function(){},41821:function(){},83243:function(){},97585:function(){},64197:function(){},87266:function(){},99195:function(){},72916:function(){},75168:function(e,n,t){var o={"./pda_atmos_scan.js":42360,"./pda_janitor.js":84932,"./pda_main_menu.js":6011,"./pda_manifest.js":93303,"./pda_medical.js":65276,"./pda_messenger.js":92494,"./pda_news.js":31505,"./pda_notekeeper.js":66785,"./pda_power.js":63853,"./pda_security.js":20575,"./pda_signaller.js":63891,"./pda_status_display.js":14947,"./pda_supply.js":85143};function r(e){var n=c(e);return t(n)}function c(e){if(!t.o(o,e)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=c,e.exports=r,r.id=75168},8156:function(e,n,t){var o={"./AICard":34129,"./AICard.js":34129,"./APC":73405,"./APC.js":73405,"./AccountsTerminal":20832,"./AccountsTerminal.js":20832,"./AdminShuttleController":19007,"./AdminShuttleController.js":19007,"./AgentCard":51104,"./AgentCard.js":51104,"./AiAirlock":47330,"./AiAirlock.js":47330,"./AiRestorer":33084,"./AiRestorer.js":33084,"./AiSupermatter":597,"./AiSupermatter.js":597,"./AirAlarm":58444,"./AirAlarm.js":58444,"./AlertModal":24053,"./AlertModal.js":24053,"./AlgaeFarm":34847,"./AlgaeFarm.js":34847,"./AppearanceChanger":65145,"./AppearanceChanger.js":65145,"./ArcadeBattle":86776,"./ArcadeBattle.js":86776,"./AreaScrubberControl":13496,"./AreaScrubberControl.js":13496,"./AssemblyInfrared":56404,"./AssemblyInfrared.js":56404,"./AssemblyProx":29632,"./AssemblyProx.js":29632,"./AssemblyTimer":48661,"./AssemblyTimer.js":48661,"./AtmosAlertConsole":38531,"./AtmosAlertConsole.js":38531,"./AtmosControl":46566,"./AtmosControl.js":46566,"./AtmosFilter":2726,"./AtmosFilter.js":2726,"./AtmosMixer":61505,"./AtmosMixer.js":61505,"./Autolathe":99994,"./Autolathe.js":99994,"./Batteryrack":62586,"./Batteryrack.js":62586,"./BeaconLocator":25116,"./BeaconLocator.js":25116,"./Biogenerator":20813,"./Biogenerator.js":20813,"./BodyDesigner":81850,"./BodyDesigner.js":81850,"./BodyScanner":6060,"./BodyScanner.js":6060,"./BombTester":74639,"./BombTester.js":74639,"./BotanyEditor":48693,"./BotanyEditor.js":48693,"./BotanyIsolator":25486,"./BotanyIsolator.js":25486,"./BrigTimer":61956,"./BrigTimer.js":61956,"./CameraConsole":3180,"./CameraConsole.js":3180,"./Canister":94477,"./Canister.js":94477,"./Canvas":55636,"./Canvas.js":55636,"./CasinoPrizeDispenser":25131,"./CasinoPrizeDispenser.js":25131,"./CharacterDirectory":47947,"./CharacterDirectory.js":47947,"./ChemDispenser":22223,"./ChemDispenser.js":22223,"./ChemMaster":34859,"./ChemMaster.js":34859,"./ClawMachine":83919,"./ClawMachine.js":83919,"./Cleanbot":74351,"./Cleanbot.js":74351,"./CloningConsole":98213,"./CloningConsole.js":98213,"./ColorMate":32278,"./ColorMate.js":32278,"./CommunicationsConsole":130,"./CommunicationsConsole.js":130,"./Communicator":4220,"./Communicator.js":4220,"./ComputerFabricator":2174,"./ComputerFabricator.js":2174,"./CookingAppliance":26090,"./CookingAppliance.js":26090,"./CrewManifest":22902,"./CrewManifest.js":22902,"./CrewMonitor":96158,"./CrewMonitor.js":96158,"./Cryo":99798,"./Cryo.js":99798,"./CryoStorage":54234,"./CryoStorage.js":54234,"./CryoStorageVr":66384,"./CryoStorageVr.js":66384,"./DNAForensics":99579,"./DNAForensics.js":99579,"./DNAModifier":21849,"./DNAModifier.js":21849,"./DestinationTagger":59305,"./DestinationTagger.js":59305,"./DiseaseSplicer":10015,"./DiseaseSplicer.js":10015,"./DishIncubator":31066,"./DishIncubator.js":31066,"./DisposalBin":19095,"./DisposalBin.js":19095,"./DroneConsole":29345,"./DroneConsole.js":29345,"./EmbeddedController":84122,"./EmbeddedController.js":84122,"./ExonetNode":33777,"./ExonetNode.js":33777,"./ExosuitFabricator":95481,"./ExosuitFabricator.js":95481,"./Farmbot":95598,"./Farmbot.js":95598,"./Fax":17569,"./Fax.js":17569,"./FileCabinet":58087,"./FileCabinet.js":58087,"./Floorbot":21902,"./Floorbot.js":21902,"./GasPump":309,"./GasPump.js":309,"./GasTemperatureSystem":26049,"./GasTemperatureSystem.js":26049,"./GeneralAtmoControl":2753,"./GeneralAtmoControl.js":2753,"./GeneralRecords":57753,"./GeneralRecords.js":57753,"./Gps":25230,"./Gps.js":25230,"./GravityGenerator":4475,"./GravityGenerator.js":4475,"./GuestPass":95075,"./GuestPass.js":95075,"./GyrotronControl":31875,"./GyrotronControl.js":31875,"./Holodeck":7908,"./Holodeck.js":7908,"./ICAssembly":12676,"./ICAssembly.js":12676,"./ICCircuit":42394,"./ICCircuit.js":42394,"./ICDetailer":81039,"./ICDetailer.js":81039,"./ICPrinter":21687,"./ICPrinter.js":21687,"./IDCard":48522,"./IDCard.js":48522,"./IdentificationComputer":76952,"./IdentificationComputer.js":76952,"./InputModal":44570,"./InputModal.js":44570,"./InventoryPanel":53541,"./InventoryPanel.js":53541,"./InventoryPanelHuman":46638,"./InventoryPanelHuman.js":46638,"./IsolationCentrifuge":45e3,"./IsolationCentrifuge.js":45e3,"./JanitorCart":83994,"./JanitorCart.js":83994,"./Jukebox":68741,"./Jukebox.js":68741,"./LawManager":13204,"./LawManager.js":13204,"./ListInput":58802,"./ListInput.js":58802,"./LookingGlass":36104,"./LookingGlass.js":36104,"./MechaControlConsole":74714,"./MechaControlConsole.js":74714,"./Medbot":17888,"./Medbot.js":17888,"./MedicalRecords":37610,"./MedicalRecords.js":37610,"./MessageMonitor":287,"./MessageMonitor.js":287,"./Microwave":75412,"./Microwave.js":75412,"./MiningOreProcessingConsole":35016,"./MiningOreProcessingConsole.js":35016,"./MiningStackingConsole":87314,"./MiningStackingConsole.js":87314,"./MiningVendor":62012,"./MiningVendor.js":62012,"./MuleBot":6479,"./MuleBot.js":6479,"./NIF":46157,"./NIF.js":46157,"./NTNetRelay":79630,"./NTNetRelay.js":79630,"./Newscaster":60042,"./Newscaster.js":60042,"./NoticeBoard":31669,"./NoticeBoard.js":31669,"./NtosAccessDecrypter":63231,"./NtosAccessDecrypter.js":63231,"./NtosArcade":79760,"./NtosArcade.js":79760,"./NtosAtmosControl":97908,"./NtosAtmosControl.js":97908,"./NtosCameraConsole":63645,"./NtosCameraConsole.js":63645,"./NtosCommunicationsConsole":74093,"./NtosCommunicationsConsole.js":74093,"./NtosConfiguration":55513,"./NtosConfiguration.js":55513,"./NtosCrewMonitor":17539,"./NtosCrewMonitor.js":17539,"./NtosDigitalWarrant":20025,"./NtosDigitalWarrant.js":20025,"./NtosEmailAdministration":11325,"./NtosEmailAdministration.js":11325,"./NtosEmailClient":77006,"./NtosEmailClient.js":77006,"./NtosFileManager":86441,"./NtosFileManager.js":86441,"./NtosIdentificationComputer":87369,"./NtosIdentificationComputer.js":87369,"./NtosMain":59543,"./NtosMain.js":59543,"./NtosNetChat":73883,"./NtosNetChat.js":73883,"./NtosNetDos":83908,"./NtosNetDos.js":83908,"./NtosNetDownloader":83305,"./NtosNetDownloader.js":83305,"./NtosNetMonitor":6806,"./NtosNetMonitor.js":6806,"./NtosNetTransfer":4363,"./NtosNetTransfer.js":4363,"./NtosNewsBrowser":23225,"./NtosNewsBrowser.js":23225,"./NtosOvermapNavigation":3839,"./NtosOvermapNavigation.js":3839,"./NtosPowerMonitor":54698,"./NtosPowerMonitor.js":54698,"./NtosRCON":17086,"./NtosRCON.js":17086,"./NtosRevelation":69480,"./NtosRevelation.js":69480,"./NtosShutoffMonitor":93990,"./NtosShutoffMonitor.js":93990,"./NtosStationAlertConsole":76124,"./NtosStationAlertConsole.js":76124,"./NtosSupermatterMonitor":22475,"./NtosSupermatterMonitor.js":22475,"./NtosUAV":66744,"./NtosUAV.js":66744,"./NtosWordProcessor":19458,"./NtosWordProcessor.js":19458,"./OmniFilter":18326,"./OmniFilter.js":18326,"./OmniMixer":78588,"./OmniMixer.js":78588,"./OperatingComputer":48826,"./OperatingComputer.js":48826,"./OvermapDisperser":51888,"./OvermapDisperser.js":51888,"./OvermapEngines":25123,"./OvermapEngines.js":25123,"./OvermapFull":63836,"./OvermapFull.js":63836,"./OvermapHelm":89380,"./OvermapHelm.js":89380,"./OvermapNavigation":12640,"./OvermapNavigation.js":12640,"./OvermapShieldGenerator":84031,"./OvermapShieldGenerator.js":84031,"./OvermapShipSensors":51932,"./OvermapShipSensors.js":51932,"./ParticleAccelerator":57966,"./ParticleAccelerator.js":57966,"./PartsLathe":80374,"./PartsLathe.js":80374,"./PathogenicIsolator":83987,"./PathogenicIsolator.js":83987,"./Pda":72586,"./Pda.js":72586,"./PersonalCrafting":67589,"./PersonalCrafting.js":67589,"./Photocopier":9527,"./Photocopier.js":9527,"./PipeDispenser":92310,"./PipeDispenser.js":92310,"./PlantAnalyzer":38575,"./PlantAnalyzer.js":38575,"./PointDefenseControl":17599,"./PointDefenseControl.js":17599,"./PortableGenerator":46104,"./PortableGenerator.js":46104,"./PortablePump":82564,"./PortablePump.js":82564,"./PortableScrubber":24901,"./PortableScrubber.js":24901,"./PortableTurret":31695,"./PortableTurret.js":31695,"./PowerMonitor":89793,"./PowerMonitor.js":89793,"./PressureRegulator":81121,"./PressureRegulator.js":81121,"./PrisonerManagement":14210,"./PrisonerManagement.js":14210,"./RCON":43996,"./RCON.js":43996,"./RIGSuit":92141,"./RIGSuit.js":92141,"./Radio":17481,"./Radio.js":17481,"./RapidPipeDispenser":29509,"./RapidPipeDispenser.js":29509,"./RequestConsole":53976,"./RequestConsole.js":53976,"./ResearchConsole":48639,"./ResearchConsole.js":48639,"./ResearchServerController":35606,"./ResearchServerController.js":35606,"./ResleevingConsole":86330,"./ResleevingConsole.js":86330,"./ResleevingPod":88359,"./ResleevingPod.js":88359,"./RoboticsControlConsole":24455,"./RoboticsControlConsole.js":24455,"./RogueZones":52330,"./RogueZones.js":52330,"./RustCoreMonitor":59412,"./RustCoreMonitor.js":59412,"./RustFuelControl":59327,"./RustFuelControl.js":59327,"./Secbot":54943,"./Secbot.js":54943,"./SecureSafe":57436,"./SecureSafe.js":57436,"./SecurityRecords":71915,"./SecurityRecords.js":71915,"./SeedStorage":93550,"./SeedStorage.js":93550,"./ShieldCapacitor":16765,"./ShieldCapacitor.js":16765,"./ShieldGenerator":79229,"./ShieldGenerator.js":79229,"./ShutoffMonitor":89957,"./ShutoffMonitor.js":89957,"./ShuttleControl":34404,"./ShuttleControl.js":34404,"./Signaler":32325,"./Signaler.js":32325,"./Sleeper":80646,"./Sleeper.js":80646,"./SmartVend":55896,"./SmartVend.js":55896,"./Smes":20561,"./Smes.js":20561,"./SolarControl":21633,"./SolarControl.js":21633,"./SpaceHeater":57762,"./SpaceHeater.js":57762,"./Stack":58215,"./Stack.js":58215,"./StationAlertConsole":32015,"./StationAlertConsole.js":32015,"./StationBlueprints":52649,"./StationBlueprints.js":52649,"./SuitCycler":72e3,"./SuitCycler.js":72e3,"./SuitStorageUnit":80748,"./SuitStorageUnit.js":80748,"./SupermatterMonitor":6951,"./SupermatterMonitor.js":6951,"./SupplyConsole":12431,"./SupplyConsole.js":12431,"./TEGenerator":30111,"./TEGenerator.js":30111,"./Tank":58457,"./Tank.js":58457,"./TankDispenser":38754,"./TankDispenser.js":38754,"./TelecommsLogBrowser":73754,"./TelecommsLogBrowser.js":73754,"./TelecommsMachineBrowser":29441,"./TelecommsMachineBrowser.js":29441,"./TelecommsMultitoolMenu":86756,"./TelecommsMultitoolMenu.js":86756,"./Teleporter":18509,"./Teleporter.js":18509,"./TelesciConsole":62555,"./TelesciConsole.js":62555,"./TimeClock":55096,"./TimeClock.js":55096,"./TransferValve":24389,"./TransferValve.js":24389,"./TurbineControl":95893,"./TurbineControl.js":95893,"./Turbolift":62542,"./Turbolift.js":62542,"./Uplink":89761,"./Uplink.js":89761,"./Vending":61321,"./Vending.js":61321,"./VolumePanel":93147,"./VolumePanel.js":93147,"./VorePanel":24630,"./VorePanel.js":24630,"./Wires":21162,"./Wires.js":21162,"./XenoarchArtifactAnalyzer":81522,"./XenoarchArtifactAnalyzer.js":81522,"./XenoarchArtifactHarvester":40875,"./XenoarchArtifactHarvester.js":40875,"./XenoarchDepthScanner":88835,"./XenoarchDepthScanner.js":88835,"./XenoarchHandheldPowerUtilizer":5622,"./XenoarchHandheldPowerUtilizer.js":5622,"./XenoarchReplicator":53702,"./XenoarchReplicator.js":53702,"./XenoarchSpectrometer":13153,"./XenoarchSpectrometer.js":13153,"./XenoarchSuspension":19820,"./XenoarchSuspension.js":19820,"./common/AtmosControls":71739,"./common/AtmosControls.js":71739,"./common/BeakerContents":48229,"./common/BeakerContents.js":48229,"./common/ComplexModal":16007,"./common/ComplexModal.js":16007,"./common/FullscreenNotice":67861,"./common/FullscreenNotice.js":67861,"./common/InterfaceLockNoticeBox":21451,"./common/InterfaceLockNoticeBox.js":21451,"./common/LoginInfo":28117,"./common/LoginInfo.js":28117,"./common/LoginScreen":1192,"./common/LoginScreen.js":1192,"./common/Mining":21526,"./common/Mining.js":21526,"./common/Overmap":40754,"./common/Overmap.js":40754,"./common/PortableAtmos":34227,"./common/PortableAtmos.js":34227,"./common/RankIcon":14959,"./common/RankIcon.js":14959,"./common/TemporaryNotice":36355,"./common/TemporaryNotice.js":36355,"./pAIAtmos":28840,"./pAIAtmos.js":28840,"./pAIDirectives":47132,"./pAIDirectives.js":47132,"./pAIDoorjack":52852,"./pAIDoorjack.js":52852,"./pAIInterface":88814,"./pAIInterface.js":88814,"./pAIMedrecords":52510,"./pAIMedrecords.js":52510,"./pAISecrecords":59946,"./pAISecrecords.js":59946,"./pda/pda_atmos_scan":42360,"./pda/pda_atmos_scan.js":42360,"./pda/pda_janitor":84932,"./pda/pda_janitor.js":84932,"./pda/pda_main_menu":6011,"./pda/pda_main_menu.js":6011,"./pda/pda_manifest":93303,"./pda/pda_manifest.js":93303,"./pda/pda_medical":65276,"./pda/pda_medical.js":65276,"./pda/pda_messenger":92494,"./pda/pda_messenger.js":92494,"./pda/pda_news":31505,"./pda/pda_news.js":31505,"./pda/pda_notekeeper":66785,"./pda/pda_notekeeper.js":66785,"./pda/pda_power":63853,"./pda/pda_power.js":63853,"./pda/pda_security":20575,"./pda/pda_security.js":20575,"./pda/pda_signaller":63891,"./pda/pda_signaller.js":63891,"./pda/pda_status_display":14947,"./pda/pda_status_display.js":14947,"./pda/pda_supply":85143,"./pda/pda_supply.js":85143};function r(e){var n=c(e);return t(n)}function c(e){if(!t.o(o,e)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=c,e.exports=r,r.id=8156}},t={};function o(e){var r=t[e];if(r!==undefined)return r.exports;var c=t[e]={exports:{}};return n[e](c,c.exports,o),c.exports}o.m=n,e=[],o.O=function(n,t,r,c){if(!t){var a=Infinity;for(d=0;d=c)&&Object.keys(o.O).every((function(e){return o.O[e](t[l])}))?t.splice(l--,1):(i=!1,c0&&e[d-1][2]>c;d--)e[d]=e[d-1];e[d]=[t,r,c]},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},function(){var e={764:0};o.O.j=function(n){return 0===e[n]};var n=function(n,t){var r,c,a=t[0],i=t[1],l=t[2],d=0;for(r in i)o.o(i,r)&&(o.m[r]=i[r]);for(l&&l(o),n&&n(t);d